Reservation best practices?

Joshua Beard josh at hewbert.com
Wed Jul 13 18:08:51 UTC 2011


On Jul 13, 2011, at 10:51 AM, Joshua Beard wrote:

> 
> On Jul 12, 2011, at 2:53 PM, Joshua Beard wrote:
> 
>> 
>> On Jul 12, 2011, at 12:17 PM, Joshua Beard wrote:
>> 
>>> Greetings,
>>> 
>>> This is likely a rookie question, but I thought I'd ask the list.
>>> 
>>> The scenario:
>>> We've received many new printers on our network this week, which already had hostnames preset to conform to our standards and were setup for DHCP.  My plan was to let them get DHCP and then reserve the address for them by using the MAC.
>>> 
>>> After reading around, it looks like reservations don't work that way in ISC DHCP.  My understanding is that the reserved address cannot be in the lease pool.  Unfortunately, these printers have already received addresses in the pools of their respective subnets.
>>> 
>>> Additionally, some of the folks setting them up may have already added these printers via their IP addresses to client machines.
>>> 
>>> What's recommendations are there to handle this?  I'm thinking I'll have to set aside a block of addresses in each subnet that's not in the pool and reserve them in that and wait for them to make a new request, then adjust any client machines that are talking to them via IP.  Is this my best option?  Is there a clean way to do this with ddns in mind?
>>> 
>>> Thanks in advance,
>>> Josh
>> 
>> 
>> Thanks for all the responses.  I ended up just setting aside a range from each subnet's non-pooled addresses and designating them for reservations and hacking together a couple of scripts to bulk import them into BIND and DHCP's configs.
>> 
>> 
> 
> GAH!  I spoke too soon.  They're getting their reservations and talking - but only on their subnet.  They aren't getting the router/default gw from the DHCP server.  I have "option routers 172.30.xxx.xxx" for each subnet.  I tried doing the same on the reservation definition, but no dice.
> 
> I hate to do this, and I hope it's not too much to ask, but I'd like to post part of my config to get any input.
> 
> Thanks,
> Josh
> 
> 

<-- snip -->

I keep doing this, but I figured it out after posting.

I had the options for router and the like inside of a specific range in each subnet.  I moved it out of that and into the subnets' options and it works.

Thanks,
Josh





More information about the dhcp-users mailing list