DHCP "static" assignments
Chris Buxton
clists at buxtonfamily.us
Wed Aug 7 20:59:19 UTC 2013
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.
Regards,
Chris Buxton
More information about the dhcp-users
mailing list