Hi,
On ubuntu linux, I use dhclient to get IP address.
I add the following statements in the default configuration file (/etc/dhcp3/dhclient.conf).
------------------------------------
----------
----------
----------
---
# DHCP option 125
option option-125 code 125 = string;
send option-125 00:00:0d:e9:26:01:06:30:30:31:41:32:
41:02:0a:4
1:30:30:30
:30:30:30:
30:30:31:0
3:10:53:70
:65:65:64:
73:74:72:6
5:61:6d:20
:33:36:31:
30;
request subnet-mask, broadcast-address, time-offset, routers, domain-name, domain-name-servers, host-name, netbios-name-servers, netbios-scope, option-125;
------------------------------------
----------
----------
----------
---
I use [tcpdump -i eth0 -s 2000 -w /tmp/dhcp.dump &] to dump the dhcp packets. The file is at [
http://www.badongo.com/file/7925128]. 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 > /tmp/variables.txt].
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.