DHCP "static" assignments
Gruher, Joseph R
joseph.r.gruher at intel.com
Wed Aug 7 21:07:59 UTC 2013
-----Original Message-----
From: dhcp-users-bounces+joseph.r.gruher=intel.com at lists.isc.org [mailto:dhcp-users-bounces+joseph.r.gruher=intel.com at lists.isc.org] On Behalf Of Chris Buxton
On Aug 7, 2013, at 1:53 PM, "Gruher, Joseph R" <joseph.r.gruher at intel.com> wrote:
>> Sounds like you're overcomplicating it. I just do it like below. Here .10 through .99 will be handed out dynamically to whoever comes along, and MAC 00:1e:67:38:de:69 will always get .201. Add additional host entries as needed. The host name needs to _not_ be in the range of the pool or I get an error and a fail when I try to start DHCP services, IIRC.
>>
>> subnet 12.12.12.0 netmask 255.255.255.0 {
>> option subnet-mask 255.255.255.0;
>> option domain-name "joedomain.org";
>> range 12.12.12.10 12.12.12.99;
>>
>> host node01 {
>> hardware ethernet 00:1e:67:38:de:69;
>> fixed-address 12.12.12.201;
>> option subnet-mask 255.255.255.0;
>> }
>>
>> }
>
>It is bad practice to put host entries inside subnet entries.
It wouldn't have been my instinct but I thought I received an error starting the service when I had the host entries outside the subnet entry. However, I just changed it back to being outside and it worked, so I guess the error was due to something else. Thanks!
More information about the dhcp-users
mailing list