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

Martin McCormick martin at dc.cis.okstate.edu
Fri Jan 18 21:17:22 UTC 2008


	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
information?

	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


More information about the dhcp-users mailing list