What DHCP Option Tells the DHCP Server the Client's Host name?

Ruben Rios ruben_roller at yahoo.es
Sat Jan 19 10:32:35 UTC 2008

If what you want is to create a class depending on the client's host name I think the option you're looking for is option number 12 (Host Name).

I hope this helps,

Martin McCormick <martin at dc.cis.okstate.edu> escribió:  This question falls under the category of things I
thought I knew but found out I didn't.

 I thought it was the dhcp-client-identifier but I am not
sure because I haven't made anything work that one might expect
to work.

 The question is whether it isn't working because I am
looking at the wrong option for a value that will never appear
there or is it not working because the logic of the conditional
expression is wrong.

 Is there a statement that will make dhcpd essentially
"echo" the contents of a variable when running so one can see if
the option being worked with even contains the desired

 I want to set a class based upon the client's host name
so that client can be put in a booting class if the name
contains a certain substring.

 When watching the syslog, the host name doesn't appear
until after the DHCPDISCOVER-offer-request-ack sequence, but
DHCPD obviously receives it because one sees the FQDN after the
default domain name is appended.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Network Operations Group


Web Revelación Yahoo! 2007:
 Premio Favorita del Público - ¡Vota tu preferida!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20080119/a84c38ff/attachment.html>

More information about the dhcp-users mailing list