host name

Hai Tao taoh666 at yahoo.com
Fri Jan 12 19:11:19 UTC 2007


but I still don't understand what is the hostname. for your example, laptop1a and laptop1b are actually the same computer, right? becuase they have the same mac address.
   
  for the same computer, the hostname (the hostname of the computer itselft) is the same, be either laptop1a or laptop1b, or whatever something else. when this computer send a request, which statement will apply?
   
  can you explain clearly what hostname is? is it the hostname of the requestor? no matter it is a windows, unix, printer or router? or it only has a meaning in the dhcpd.conf file? thanks!
Simon Hobson <dhcp1 at thehobsons.co.uk> wrote:
  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" ; }






Sincerely, 

Hai Tao 


taoh666 at yahoo.com
 










More information about the dhcp-users mailing list