[nzlug] DHCP Options

Terence Grey terence.grey at gmail.com
Thu May 22 09:40:54 NZST 2008


Greetings,

Calling DHCP experts ...

I am seeking some help with a DHCP related problem. I am running an ISC DHCP
server with a number of dumb hosts (not pc's) that only send limited
information in the DISCOVER packet. I am supplied with an option 61 value
that is unique and a dummy mac address from the router. The mac address is
always the same so I cannot use it to bind a dhcp lease. What I am looking
for is a way to use the option 61 client-identifier to generate a unique mac
address. One useful thing is that the client-identifier is already 12
numeric digits long.

I am already picking out the option 61 host-identifier and using to update
the DNS like this:

if exists dhcp-client-identifier {
  ddns-hostname = substring (option dhcp-client-identifier,1,12);
}

The dhcp-options(5) man pages does not tell me what I need to know.

Thank you,
Terence


More information about the NZLUG mailing list