Best practice for defining static IP addresses?

Ryan McCain Ryan.McCain at dss.state.la.us
Tue Aug 5 20:54:43 UTC 2008


Lets assume this is my DHCP scope:

subnet 10.119.14.0 netmask 255.255.255.0 {
  range 10.119.14.1 10.119.14.179 ;
  option routers 10.119.14.254 ;

If I wanted to assign a static IP address, would I do?

host Black {
  hardware ethernet 00:19:5B:EC:A7:11;
  fixed-address 10.119.14.100;
}

or

host Heart {
  hardware ethernet 00:19:5B:EC:A7:12;
  fixed-address 10.119.14.200;
}

..Notice that 'Black' is within the defined range while 'Heart' is not.

I've always assume I could assign a static IP within the defined range and the MAC address would act as a 'key' to prevent it from being handed out  (even though it's in a defined range).   

Thanks for the clarification..








More information about the dhcp-users mailing list