[Wide-dhcpv6-developers] Dhcp6 server doesn't receive SOLICIT message from client
Brought to you by:
suzsuz
From: <Raj...@in...> - 2009-02-20 09:49:23
|
Hi All I am using wide-dhcpv6-20080615 release. I ran dhcpv6 client on linux 2.4.31 and dhcp6 server on linux 2.6.25. >From the debug/log messages, I inferred that dhcp6 client sent SOLICIT packets to the server, but the dhcp6 server didn't receive the same. The tcpdump on the m/c where the dhcp6 server was running showed that the m/c indeed received SOLICIT messages from the client, but some how the dhcp6 server didn't receive the same. netstat o/p showed that dhcp6 server was listening on udp socket, port number 547 and had joined multicast groups (ff05::1:3 and ff02::1:2). Could you please help me to figure out the issue? Please find the dhcp6 server and client configuration below. dhcp server configuration interface eth1 { address-pool pool1 infinity; }; pool pool1 { range 2001:db8:1:2::1000 to 2001:db8:1:2::2000; }; dhcp client configuration interface br0 { send ia-na 0; }; id-assoc na { }; dhcp6s debug/log messages [root@cpe03 dhcpv6]# ./dhcp6s -c dhcp6s.conf -Df eth1 Feb/20/2009 15:13:52: cfdebug_print: <3>[interface] (9) Feb/20/2009 15:13:52: cfdebug_print: <5>[eth1] (4) Feb/20/2009 15:13:52: cfdebug_print: <3>begin of closure [{] (1) Feb/20/2009 15:13:52: cfdebug_print: <3>[address-pool] (12) Feb/20/2009 15:13:52: cfdebug_print: <3>[pool1] (5) Feb/20/2009 15:13:52: cfdebug_print: <3>[infinity] (8) Feb/20/2009 15:13:52: cfdebug_print: <3>end of sentence [;] (1) Feb/20/2009 15:13:52: cfdebug_print: <3>end of closure [}] (1) Feb/20/2009 15:13:52: cfdebug_print: <3>end of sentence [;] (1) Feb/20/2009 15:13:52: cfdebug_print: <3>[pool] (4) Feb/20/2009 15:13:52: cfdebug_print: <21>[pool1] (5) Feb/20/2009 15:13:52: cfdebug_print: <3>begin of closure [{] (1) Feb/20/2009 15:13:52: cfdebug_print: <3>[range] (5) Feb/20/2009 15:13:52: cfdebug_print: <3>[2001:db8:1:2::1000] (18) Feb/20/2009 15:13:52: cfdebug_print: <3>[to] (2) Feb/20/2009 15:13:52: cfdebug_print: <3>[2001:db8:1:2::2000] (18) Feb/20/2009 15:13:52: cfdebug_print: <3>end of sentence [;] (1) Feb/20/2009 15:13:52: cfdebug_print: <3>end of closure [}] (1) Feb/20/2009 15:13:52: cfdebug_print: <3>end of sentence [;] (1) Feb/20/2009 15:13:52: configure_pool: called Feb/20/2009 15:13:52: create_pool: name=pool1, range=2001:db8:1:2::1000->2001:db8:1:2::2000 Feb/20/2009 15:13:52: configure_interface: pool 'pool1' is specified to the interface 'eth1' Feb/20/2009 15:13:52: clear_poolconf: called Feb/20/2009 15:13:52: lease_init: called Feb/20/2009 15:13:52: get_duid: extracted an existing DUID from /var/db/dhcp6s_duid: 00:01:00:01:11:30:f0:45:00:0b:db:52:b6:5f Feb/20/2009 15:13:52: dhcp6_ctl_authinit: failed to open /usr/local/etc/dhcp6sctlkey: No such file or directory Feb/20/2009 15:13:52: server6_init: failed to initialize control message authentication Feb/20/2009 15:13:52: server6_init: skip opening control port dhcp6c debug/log messages # dhcp6c -c dhcp6c.conf -Df br0 Jan/01/2000 03:09:51: get_duid: extracted an existing DUID from /var/db/dhcp6c_duid: 00:01:00:01:00:00:00:9c:00:03:19:11:11:11 Jan/01/2000 03:09:51: dhcp6_ctl_authinit: failed to open /usr/local/etc/dhcp6cctlkey: No such file or directory Jan/01/2000 03:09:51: client6_init: failed initialize control message authentication Jan/01/2000 03:09:51: client6_init: skip opening control port Jan/01/2000 03:09:51: cfdebug_print: <3>[interface] (9) Jan/01/2000 03:09:51: cfdebug_print: <5>[br0] (3) Jan/01/2000 03:09:51: cfdebug_print: <3>begin of closure [{] (1) Jan/01/2000 03:09:51: cfdebug_print: <3>[send] (4) Jan/01/2000 03:09:51: cfdebug_print: <3>[ia-na] (5) Jan/01/2000 03:09:51: cfdebug_print: <3>[0] (1) Jan/01/2000 03:09:51: cfdebug_print: <3>end of sentence [;] (1) Jan/01/2000 03:09:51: cfdebug_print: <3>end of closure [}] (1) Jan/01/2000 03:09:51: cfdebug_print: <3>end of sentence [;] (1) Jan/01/2000 03:09:51: cfdebug_print: <3>[id-assoc] (8) Jan/01/2000 03:09:51: cfdebug_print: <13>[na] (2) Jan/01/2000 03:09:51: cfdebug_print: <13>begin of closure [{] (1) Jan/01/2000 03:09:51: cfdebug_print: <3>end of closure [}] (1) Jan/01/2000 03:09:51: cfdebug_print: <3>end of sentence [;] (1) Jan/01/2000 03:09:51: configure_pool: called Jan/01/2000 03:09:51: clear_poolconf: called Jan/01/2000 03:09:51: dhcp6_reset_timer: reset a timer on br0, state=INIT, timeo=0, retrans=108 Jan/01/2000 03:09:51: client6_send: a new XID (8de4cb) is generated Jan/01/2000 03:09:51: copy_option: set client ID (len 14) Jan/01/2000 03:09:51: copyout_option: set identity association Jan/01/2000 03:09:51: copy_option: set elapsed time (len 2) Jan/01/2000 03:09:51: client6_send: send solicit to ff02::1:2 Jan/01/2000 03:09:51: dhcp6_reset_timer: reset a timer on br0, state=SOLICIT, timeo=0, retrans=1001 Jan/01/2000 03:09:52: copy_option: set client ID (len 14) Jan/01/2000 03:09:52: copyout_option: set identity association Jan/01/2000 03:09:52: copy_option: set elapsed time (len 2) Jan/01/2000 03:09:52: client6_send: send solicit to ff02::1:2 Jan/01/2000 03:09:52: dhcp6_reset_timer: reset a timer on br0, state=SOLICIT, timeo=1, retrans=2044 Jan/01/2000 03:09:54: copy_option: set client ID (len 14) Jan/01/2000 03:09:54: copyout_option: set identity association Jan/01/2000 03:09:54: copy_option: set elapsed time (len 2) Jan/01/2000 03:09:54: client6_send: send solicit to ff02::1:2 Jan/01/2000 03:09:54: dhcp6_reset_timer: reset a timer on br0, state=SOLICIT, timeo=2, retrans=3892 Jan/01/2000 03:09:58: copy_option: set client ID (len 14) Jan/01/2000 03:09:58: copyout_option: set identity association Jan/01/2000 03:09:58: copy_option: set elapsed time (len 2) Jan/01/2000 03:09:58: client6_send: send solicit to ff02::1:2 Jan/01/2000 03:09:58: dhcp6_reset_timer: reset a timer on br0, state=SOLICIT, timeo=3, retrans=7631 Jan/01/2000 03:10:06: copy_option: set client ID (len 14) Jan/01/2000 03:10:06: copyout_option: set identity association Jan/01/2000 03:10:06: copy_option: set elapsed time (len 2) Jan/01/2000 03:10:06: client6_send: send solicit to ff02::1:2 Jan/01/2000 03:10:06: dhcp6_reset_timer: reset a timer on br0, state=SOLICIT, timeo=4, retrans=14585 Jan/01/2000 03:10:20: copy_option: set client ID (len 14) Jan/01/2000 03:10:20: copyout_option: set identity association Jan/01/2000 03:10:20: copy_option: set elapsed time (len 2) netstat o/p [dhcp6s] Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name udp 0 0 0.0.0.0:678 0.0.0.0:* 0 4088 1775/rpcbind udp 0 0 192.168.122.1:53 0.0.0.0:* 0 5783 2217/dnsmasq udp 0 0 0.0.0.0:41783 0.0.0.0:* 0 4170 1799/rpc.statd udp 0 0 0.0.0.0:46268 0.0.0.0:* 498 5661 2164/avahi-daemon: udp 0 0 0.0.0.0:703 0.0.0.0:* 0 4155 1799/rpc.statd udp 0 0 0.0.0.0:67 0.0.0.0:* 0 5777 2217/dnsmasq udp 0 0 0.0.0.0:69 0.0.0.0:* 0 1923769 24247/xinetd udp 0 0 0.0.0.0:54349 0.0.0.0:* 0 5790 2217/dnsmasq udp 0 0 0.0.0.0:5353 0.0.0.0:* 498 5660 2164/avahi-daemon: udp 0 0 0.0.0.0:111 0.0.0.0:* 0 4084 1775/rpcbind udp 0 0 0.0.0.0:631 0.0.0.0:* 0 5857 2231/cupsd udp 0 0 :::547 :::* 0 2220390 2221/dhcp6s IPv6/IPv4 Group Memberships Interface RefCnt Group --------------- ------ --------------------- lo 1 224.0.0.1 eth0 1 224.0.0.251 eth0 1 224.0.0.1 eth1 1 224.0.0.251 eth1 1 224.0.0.1 eth2 1 224.0.0.1 virbr0 1 224.0.0.251 virbr0 1 224.0.0.1 lo 1 ff02::1 eth0 1 ff02::1:ff00:0 eth0 1 ff02::2 eth0 1 ff02::1:ff52:b65f eth0 1 ff02::1 eth1 1 ff05::1:3 eth1 1 ff02::1:2 eth1 1 ff02::1:ff00:1 eth1 2 ff02::1:ff00:0 eth1 1 ff02::2 eth1 1 ff02::1:ff84:b9a9 eth1 1 ff02::1 eth2 1 ff02::1:ff00:0 eth2 1 ff02::2 eth2 1 ff02::1:ff41:d757 eth2 1 ff02::1 virbr0 1 ff02::1:ff00:0 virbr0 1 ff02::2 virbr0 1 ff02::1:ff9e:63ab virbr0 1 ff02::1 tcpdump o/p [dhcp6s] tcpdump: listening on eth1, link-type EN10MB (Ethernet), capture size 1280 bytes 14:56:29.916161 IP6 (hlim 1, next-header UDP (17) payload length: 52) fe80::203:19ff:fe11:1111.dhcpv6-client > ff02::1:2.dhcpv6-server: [udp sum ok] dhcp6 solicit (xid=8de4cb (client ID hwaddr/time type 1 time 156 000319111111) (IA_NA IAID:0 T1:0 T2:0) (elapsed time 0)) 0x0000: 3333 0001 0002 0003 1911 1111 86dd 6000 0x0010: 0000 0034 1101 fe80 0000 0000 0000 0203 0x0020: 19ff fe11 1111 ff02 0000 0000 0000 0000 0x0030: 0000 0001 0002 0222 0223 0034 c151 018d 0x0040: e4cb 0001 000e 0001 0001 0000 009c 0003 0x0050: 1911 1111 0003 000c 0000 0000 0000 0000 0x0060: 0000 0000 0008 0002 0000 14:56:30.960699 IP6 (hlim 1, next-header UDP (17) payload length: 52) fe80::203:19ff:fe11:1111.dhcpv6-client > ff02::1:2.dhcpv6-server: [udp sum ok] dhcp6 solicit (xid=8de4cb (client ID hwaddr/time type 1 time 156 000319111111) (IA_NA IAID:0 T1:0 T2:0) (elapsed time 104)) 0x0000: 3333 0001 0002 0003 1911 1111 86dd 6000 0x0010: 0000 0034 1101 fe80 0000 0000 0000 0203 0x0020: 19ff fe11 1111 ff02 0000 0000 0000 0000 0x0030: 0000 0001 0002 0222 0223 0034 c0e9 018d 0x0040: e4cb 0001 000e 0001 0001 0000 009c 0003 0x0050: 1911 1111 0003 000c 0000 0000 0000 0000 0x0060: 0000 0000 0008 0002 0068 14:56:33.050697 IP6 (hlim 1, next-header UDP (17) payload length: 52) fe80::203:19ff:fe11:1111.dhcpv6-client > ff02::1:2.dhcpv6-server: [udp sum ok] dhcp6 solicit (xid=8de4cb (client ID hwaddr/time type 1 time 156 000319111111) (IA_NA IAID:0 T1:0 T2:0) (elapsed time 313)) 0x0000: 3333 0001 0002 0003 1911 1111 86dd 6000 0x0010: 0000 0034 1101 fe80 0000 0000 0000 0203 0x0020: 19ff fe11 1111 ff02 0000 0000 0000 0000 0x0030: 0000 0001 0002 0222 0223 0034 c018 018d 0x0040: e4cb 0001 000e 0001 0001 0000 009c 0003 0x0050: 1911 1111 0003 000c 0000 0000 0000 0000 0x0060: 0000 0000 0008 0002 0139 14:56:36.980927 IP6 (hlim 1, next-header UDP (17) payload length: 52) fe80::203:19ff:fe11:1111.dhcpv6-client > ff02::1:2.dhcpv6-server: [udp sum ok] dhcp6 solicit (xid=8de4cb (client ID hwaddr/time type 1 time 156 000319111111) (IA_NA IAID:0 T1:0 T2:0) (elapsed time 706)) 0x0000: 3333 0001 0002 0003 1911 1111 86dd 6000 0x0010: 0000 0034 1101 fe80 0000 0000 0000 0203 0x0020: 19ff fe11 1111 ff02 0000 0000 0000 0000 0x0030: 0000 0001 0002 0222 0223 0034 be8f 018d 0x0040: e4cb 0001 000e 0001 0001 0000 009c 0003 0x0050: 1911 1111 0003 000c 0000 0000 0000 0000 0x0060: 0000 0000 0008 0002 02c2 Please let me know, if you need more information. Thanks Sundar |