Reservation best practices?
glenn.satchell at uniq.com.au
Wed Jul 13 04:21:58 UTC 2011
On 07/13/11 06:53, Joshua Beard wrote:
> On Jul 12, 2011, at 12:17 PM, Joshua Beard wrote:
>> 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,
> 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.
That's the "correct" way to do it for ISC dhcpd.
As an alternative to a reserved lease you can set a long lease time, say
a month or more. It is unlikely that it will ever be switched off for
that long, so the address is pretty much guaranteed to never be reassigned.
Glenn Satchell | Miss 9: What do you
Uniq Advances Pty Ltd, Sydney Australia | do at work Dad?
mailto:glenn.satchell at uniq.com.au | Miss 6: He just
http://www.uniq.com.au tel:0409-458-580 | types random stuff.
More information about the dhcp-users