Can't send DHCP options
James
jmsliang at iii.org.tw
Fri Feb 22 09:31:06 UTC 2008
I delete the dhclient.conf in /etc/dhcp3/ directory, and I find the dhclient
still CAN work.
Why? If I don't provide the dhclient.conf file, how does dhclient know what
to do?
-----Original Message-----
From: dhcp-users-bounce at isc.org [mailto:dhcp-users-bounce at isc.org] On Behalf
Of James
Sent: Friday, February 22, 2008 4:15 PM
To: dhcp-users at isc.org
Subject: Can't send DHCP options
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:41:30:30:30:30:30:30:30:30:31:0
3:10:53:70:65:65:64:73:74:72:65: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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20080222/8ad3dd69/attachment.html>
More information about the dhcp-users
mailing list