dhcp server not respoding with time server option
S Kalyanasundaram
skalyanasundaram at novell.com
Thu Dec 13 15:49:32 UTC 2007
DHCP server does respond only with the requested option?
In my dhcp configuration i have router and timerserver options. But when
i do a dhcpdump it shows only option 3 [router] has been received. The
dhcprequest sent by the client does not have option 4[timeserver] in its
parameter request list anyway. Looks like dhcp server only responds with
the requested options by the client.
I am not using dhclient, I am using the dhcpcd client and dhcpcd-test
tools.
Here are the request and ack packets.
TIME: 21:01:33.333481
IP: > (00:18:71:80:02:04) > BOOTP/DHCP (ff:ff:ff:ff:ff:ff)
OP: 1 (BOOTPREQUEST)
HTYPE: 1 (Ethernet)
HLEN: 6
HOPS: 0
XID: 3d59553d
SECS: 10
FLAGS: 0
CIADDR: 0.0.0.0
YIADDR: 0.0.0.0
SIADDR: 0.0.0.0
GIADDR: 0.0.0.0
CHADDR: 00:18:71:80:02:04:00:00:00:00:00:00:00:00:00:00
SNAME: .
FNAME: .
OPTION: 53 ( 1) DHCP message type 3 (DHCPREQUEST)
OPTION: 57 ( 2) Maximum DHCP message size 576
OPTION: 54 ( 4) Server identifier 16.99.15.94
OPTION: 50 ( 4) Request IP address 16.99.15.50
OPTION: 51 ( 4) IP address leasetime 86400 (24h)
OPTION: 55 ( 21) Parameter Request List 1 (Subnet mask)
3 (Routers)
6 (DNS server)
12 (Host name)
15 (Domainname)
17 (Root path)
23 (Default IP TTL)
28 (Broadcast address)
29 (Perform mask discovery)
31 (Perform router
discovery)
33 (Static route)
40 (NIS domain)
41 (NIS servers)
42 (NTP servers)
9 (LPR server)
7 (Log server)
44 (NetBIOS name server)
45 (NetBIOS datagram
distribution server)
46 (NetBIOS node type)
47 (NetBIOS scope)
119 (Domain Search)
OPTION: 60 ( 29) Vendor class identifier Linux 2.6.16.46-0.12-smp
i686
OPTION: 61 ( 7) Client-identifier 01:00:18:71:80:02:04
---------------------------------------------------------------------------
Error in packet: .
Error in packet: .
Error in packet: .
Error in packet: .
Error in packet: .
Error in packet: .
Error in packet: .
Error in packet: .
TIME: 21:01:33.335658
IP: > (00:11:25:57:59:30) > BOOTP/DHCP (00:18:71:80:02:04)
OP: 2 (BOOTPREPLY)
HTYPE: 1 (Ethernet)
HLEN: 6
HOPS: 0
XID: 3d59553d
SECS: 10
FLAGS: 0
CIADDR: 0.0.0.0
YIADDR: 16.99.15.50
SIADDR: 0.0.0.0
GIADDR: 0.0.0.0
CHADDR: 00:18:71:80:02:04:00:00:00:00:00:00:00:00:00:00
SNAME: .
FNAME: .
OPTION: 53 ( 1) DHCP message type 5 (DHCPACK)
OPTION: 54 ( 4) Server identifier 16.99.15.94
OPTION: 51 ( 4) IP address leasetime 86400 (24h)
OPTION: 1 ( 4) Subnet mask 255.255.255.0
OPTION: 3 ( 4) Routers 13.13.13.13
OPTION: 6 ( 8) DNS server 12.12.12.12,13.13.13.13
---------------------------------------------------------------------------
4 packets captured
8 packets received by filter
0 packets dropped by kernel
I dont know why the error in packet message comes. But i dont see any
proplem in getting a reply from dhcp server.
Is there a way I can force the dhcp server to send all the options
independent of what dhcp client asks?
Thanks,
-kalyan
More information about the dhcp-users
mailing list