Could not start a DHCPV6 client successfully

Ian Brown ianbrn at gmail.com
Sun Mar 30 08:24:37 UTC 2008


Hello,
 I tried to install a DHCPV6 server and client from rpms
 on Fedora Core. When staring the client I got many
"enter checking link ..." messages, one after the other, and the IPv6
address was *not* set on the client side.

Any ideas what can it be ?

I am using DHCPV6 from fedora:
https://fedorahosted.org/dhcpv6/wiki

Here are more details:

I have on one machine the dhcpv6 client rpm and on a
second machine the dhcpv6 server.

 I acted according to the instructions and copied the dhcp6s.conf and
the /etc/dhcp6c.conf as they are.

log in the DHCPV6 client side:
dhcp6c -dDf eth0
 <3>[interface] (9)
 <5>[eth0] (4)
 <3>begin of closure [{] (1)
 <3>comment [#      information-only;] (19)
 <3>[send] (4)
 <3>[rapid-commit] (12)
 <3>end of sentence [;] (1)
 <3>[request] (7)
 <3>[prefix-delegation] (17)
 <3>end of sentence [;] (1)
 <3>comment [#      request temp-address;] (23)
 <3>end of closure [}] (1)
 <3>end of sentence [;] (1)
 found an interface eth0 harware 00:40:95:30:b0:a3
 generated a new DUID: 00:01:00:01:0f:82:08:7f:00:40:95:30:b0:a3
 saved generated DUID to /var/lib/dhcpv6/dhcp6c_duid
 link local addr is fe80::240:95ff:fe30:b0a3
 res addr is fe80::240:95ff:fe30:b0a3%eth0/28
 found an interface eth0 harware 00:40:95:30:b0:a3
  create iaid 815087616 for interface eth0
 found an interface eth1 harware 00:0d:61:10:b8:ac
  create iaid 274795776 for interface eth1
 found an interface eth0 harware 00:40:95:30:b0:a3
  create iaid 815087616 for interface eth0
 found an interface eth1 harware 00:0d:61:10:b8:ac
  create iaid 274795776 for interface eth1
 found an interface eth0 harware 00:40:95:30:b0:a3
  create iaid 815087616 for interface eth0
 found an interface eth0 harware 00:40:95:30:b0:a3
  create iaid 815087616 for interface eth0
 found an interface eth0 harware 00:40:95:30:b0:a3
  found interface eth0 iaid 815087616
 interface eth0 iaid is 815087616
 open_netlink_socket called
 netlink_send_rtmsg called
 netlink_recv_rtgenmsg called
 netlink_send_rtgenmsg called
 netlink_recv_rtgenmsg called
 get_if_flags called
 get_if_flags called
 get_if_flags called
 create an event 0x8745338 xid 0 for state 0
 reset a timer on eth0, state=INIT, timeo=0, retrans=898
 ifp 0x8741008 event 0x8745338 a new XID (60620f) is generated
 set client ID
 set opt_8
 set rapid commit
 set opt_28
 set IA_PD iaidinfo: iaid 815087616 renewtime 0 rebindtime 0
 set opt_30
 send dst if eth0 addr is ff02::1:2%eth0 scope id is 2
 send solicit to ff02::1:2%eth0
 DUID is 00:01:00:01:0f:82:08:7f:00:40:95:30:b0:a3, DUID_LEN is 14
 removing ID (ID: 00:01:00:01:0f:82:08:7f:00:40:95:30:b0:a3)
 DUID is , DUID_LEN is 0
 reset a timer on eth0, state=SOLICIT, timeo=0, retrans=1069
 set client ID
 set opt_8
 set rapid commit
 set opt_28
 set IA_PD iaidinfo: iaid 815087616 renewtime 0 rebindtime 0
 set opt_30
 send dst if eth0 addr is ff02::1:2%eth0 scope id is 2
 send solicit to ff02::1:2%eth0
 DUID is 00:01:00:01:0f:82:08:7f:00:40:95:30:b0:a3, DUID_LEN is 14
 removing ID (ID: 00:01:00:01:0f:82:08:7f:00:40:95:30:b0:a3)
 DUID is , DUID_LEN is 0
 reset a timer on eth0, state=SOLICIT, timeo=1, retrans=2204
 set client ID
 set opt_8
 set rapid commit
 set opt_28
 set IA_PD iaidinfo: iaid 815087616 renewtime 0 rebindtime 0
 set opt_30
 send dst if eth0 addr is ff02::1:2%eth0 scope id is 2
 send solicit to ff02::1:2%eth0
 DUID is 00:01:00:01:0f:82:08:7f:00:40:95:30:b0:a3, DUID_LEN is 14
 removing ID (ID: 00:01:00:01:0f:82:08:7f:00:40:95:30:b0:a3)
 DUID is , DUID_LEN is 0
 reset a timer on eth0, state=SOLICIT, timeo=2, retrans=4475
 set client ID
 set opt_8
 set rapid commit
 set opt_28
 set IA_PD iaidinfo: iaid 815087616 renewtime 0 rebindtime 0
 set opt_30
 send dst if eth0 addr is ff02::1:2%eth0 scope id is 2
 send solicit to ff02::1:2%eth0
 DUID is 00:01:00:01:0f:82:08:7f:00:40:95:30:b0:a3, DUID_LEN is 14
 removing ID (ID: 00:01:00:01:0f:82:08:7f:00:40:95:30:b0:a3)
 DUID is , DUID_LEN is 0
 reset a timer on eth0, state=SOLICIT, timeo=3, retrans=8934
 receive packet info ifname eth0, addr is fe80::240:95ff:fe30:b0a3 scope id is 2
 receive reply from fe80::230:48ff:fe61:e5e0%eth0 scope id 2 eth0
 get DHCP option client ID, len 14
   DUID: 00:01:00:01:0f:82:08:7f:00:40:95:30:b0:a3
 get DHCP option server ID, len 14
   DUID: 00:01:00:01:0f:82:08:4d:00:30:48:61:e5:e0
 get DHCP option rapid commit, len 0
 get DHCP option opt_30, len 47
 get option iaid is 815087616, renewtime 60, rebindtime 90
   IA address option: opt_31, len 31
   get IAPREFIX prefix information: 3ffe:501:ffff::/48 preferlifetime
130 validlifetime 200
 status code for this prefix is: success
 get DHCP option preference, len 1
 get option preferrence is ff
 get DHCP option status code, len 2
   this message status code: success
 reply message XID is (60620f)
 ifp 0x8741008 event 0x8745338 id is 60620f
 serverID is 00:01:00:01:0f:82:08:4d:00:30:48:61:e5:e0 len is 14
 new server DUID 00:01:00:01:0f:82:08:4d:00:30:48:61:e5:e0, len 14
 status code: success
 open_netlink_socket called
 netlink_send_rtmsg called
 netlink_recv_rtgenmsg called
 netlink_send_rtgenmsg called
 netlink_recv_rtgenmsg called
 get_if_flags called
 get_if_flags called
 get_if_flags called
 try to add address 3ffe:501:ffff::
 request prefix is 3ffe:501:ffff::/48
 renew time 60, rebind time 90
 set timer for checking link ...
 set timer for syncing file ...
 removing an event 0x8745338 on eth0, state=1, xid=60620f
 got an expected reply, sleeping.
 DUID is 00:01:00:01:0f:82:08:7f:00:40:95:30:b0:a3, DUID_LEN is 14
 removing ID (ID: 00:01:00:01:0f:82:08:7f:00:40:95:30:b0:a3)
 DUID is 00:01:00:01:0f:82:08:4d:00:30:48:61:e5:e0, DUID_LEN is 14
 removing ID (ID: 00:01:00:01:0f:82:08:4d:00:30:48:61:e5:e0)
 enter checking link ...
 enter checking link ...
 enter checking link ...
 enter checking link ...
 enter checking link ...
 enter checking link ...


log in the DHCPV6 server side:
dhcp6s -dDf eth0
 extracted an existing DUID from /var/lib/dhcpv6/dhcp6s_duid:
00:01:00:01:0f:82:08:4d:00:30:48:61:e5:e0
 set timer for syncing file ...
 configure duid is 00:01:00:01:05:c8:8c:7e:00:10:a4:8d:30:7f
 interface definition for eth0 is ok
 received message packet info addr is ff02::1:2, scope id (2)
 received solicit from fe80::240:95ff:fe30:b0a3%eth0
 get DHCP option client ID, len 14
   DUID: 00:01:00:01:0f:82:08:7f:00:40:95:30:b0:a3
 get DHCP option opt_8, len 2
  this message elapsed time is: 775
 get DHCP option rapid commit, len 0
 get DHCP option opt_28, len 0
 get DHCP option opt_30, len 12
 get option iaid is 815087616, renewtime 0, rebindtime 0
 client ID 00:01:00:01:0f:82:08:7f:00:40:95:30:b0:a3
 server preference is ff
 option type is 2
 iaid 815087616 iaidaddr for client duid
00:01:00:01:0f:82:08:7f:00:40:95:30:b0:a3 doesn't exists
 DUID is 00:01:00:01:0f:82:08:7f:00:40:95:30:b0:a3, DUID_LEN is 14
 removing ID (ID: 00:01:00:01:0f:82:08:7f:00:40:95:30:b0:a3)
  preferlifetime 130, validlifetime 200
  renewtime 60, rebindtime 90
  get prefix 3ffe:501:ffff::/48, preferlifetime 130, validlifetime 200
 start date is 1206864904
 write lease 3ffe:501:ffff::/48 to lease file
 add lease for 3ffe:501:ffff::/48 iaid 815087616 with preferlifetime
130 with validlifetime 200
 hash_add an iaidaddr 815087616 for client duid
00:01:00:01:0f:82:08:7f:00:40:95:30:b0:a3
  status code: success
 set client ID
 set server ID
 set rapid commit
 set IA_PD iaidinfo: iaid 815087616 renewtime 60 rebindtime 90
 set IAPREFIX option len 31: 3ffe:501:ffff::/48 preferlifetime 130
validlifetime 200
   this address status code: success
 set opt_30
 server preference ff
 set preference
 set status code
 send destination address is fe80::240:95ff:fe30:b0a3%eth0, scope id is 2
 transmit reply to fe80::240:95ff:fe30:b0a3%eth0
 DUID is 00:01:00:01:0f:82:08:7f:00:40:95:30:b0:a3, DUID_LEN is 14
 removing ID (ID: 00:01:00:01:0f:82:08:7f:00:40:95:30:b0:a3)
 DUID is 00:01:00:01:0f:82:08:4d:00:30:48:61:e5:e0, DUID_LEN is 14
 removing ID (ID: 00:01:00:01:0f:82:08:4d:00:30:48:61:e5:e0)
 DUID is 00:01:00:01:0f:82:08:7f:00:40:95:30:b0:a3, DUID_LEN is 14
 removing ID (ID: 00:01:00:01:0f:82:08:7f:00:40:95:30:b0:a3)
 DUID is , DUID_LEN is 0



On the client side:
more /etc/dhcp6c.conf
interface eth0 {
#       information-only;
        send rapid-commit;
        request prefix-delegation;
#       request temp-address;
};


On the server side:
 more /etc/dhcp6s.conf
interface eth0 {
        server-preference 255;
        renew-time 60;
        rebind-time 90;
        prefer-life-time 130;
        valid-life-time 200;
        allow rapid-commit;
        #option dns_servers 2000::2 ibm.com;
        link AAA {
                pool{
                        range 3ffe:501:ffff:0::1 to 3ffe:501:ffff:0::10/64;
                        prefix 3ffe:501:ffff:0001::/48;
                };
        #       range 3ffe:501:ffff:1::1 to 3ffe:501:ffff:1::10/64;
        };
        host BBB {
                duid 00:01:00:01:05:c8:8c:7e:00:10:a4:8d:30:7f;
                iaidinfo {
                        iaid  8335501;
                        renew-time 30;
                        rebind-time 40;
                };
                prefix {
                        fecc::/24;
                        prefer-life-time 90;
                        valid-life-time 120;
                };
                prefix {
                        3000::/64;
                        prefer-life-time 100;
                        valid-life-time 120;
                };
                address {
                        fecc::1/34;
                        prefer-life-time 60;
                        valid-life-time 90;
                };
        };
};

Regards,
Ian




More information about the fedora-list mailing list