Can't send DHCP options

James jmsliang at
Fri Feb 22 08:15:00 UTC 2008


On ubuntu linux, I use dhclient to get IP address.

I add the following statements in the default configuration file


# DHCP option 125

option option-125 code 125 = string;


send option-125


request subnet-mask, broadcast-address, time-offset, routers, domain-name,
domain-name-servers, host-name, netbios-name-servers, netbios-scope,


I use [tcpdump -i eth0 -s 2000 -w /tmp/dhcp.dump &] to dump the dhcp
packets. The file is at []. I use
Wireshark to see the result.

I find:

1. The option-125 data isn't sent .

2. The requests of netbios-name-servers, netbios-scope and option-125
options aren't sent.

I also create a execute file 'dumpenv' in
'/etc/dhcp3/dhclient-enter-hooks.d' directory, and its content is [env >

I expect that I can get a 'variables.txt' in /tmp directory, but I don't
find this file.

What shuld I do?

Thank you.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the dhcp-users mailing list