host name

Simon Hobson dhcp1 at thehobsons.co.uk
Fri Jan 12 18:54:59 UTC 2007


Hai Tao wrote:
>how can mac address be "not unique"? mac address is global identical, right?
>    in my example host statement, if the mac address come from a 
>certain subnet, it will get a fixed ip, no matter what the hostname 
>is. I really do not see anytime that hostname will be looked up.

But you can have more than one host statement with the same mac 
address. You might do this to provide different non-standard options 
in different subnets - eg :

host laptop1a { hardware ethernet 11:22:33:44:55:66 ;
                 fixed address 192.168.1.57 ; }
host laptop1b { hardware ethernet 11:22:33:44:55:66 ;
                 fixed address 192.168.10.21 ;
                 option domain-name "visiting.somedomain.com" ; }




More information about the dhcp-users mailing list