help with dhcpv6 over pppv6 on linux

Ums ums_17 at yahoo.com
Fri Jan 29 00:31:56 UTC 2010


Hi

I have a ppp0 interface created which is a dual stack interface

i want to run the dhcpv6 client on this interface 

but i get the following error

can anyone help me?

 dhcpv6-1.2.0 # ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:30:48:43:87:0e
          inet addr:10.13.130.91  Bcast:10.13.135.255  Mask:255.255.248.0
          inet6 addr: fe80::230:48ff:fe43:870e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:99179 errors:0 dropped:0 overruns:0 frame:0
          TX packets:22322
 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:9578040 (9.1 MiB)  TX bytes:4234241 (4.0 MiB)

eth1      Link encap:Ethernet  HWaddr 00:30:48:43:87:0f
          inet addr:2.2.2.2  Bcast:2.2.2.255  Mask:255.255.255.0
          inet6 addr: fe80::230:48ff:fe43:870f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1752 errors:0 dropped:0 overruns:0 frame:0
          TX packets:917 errors:0 dropped:0 overruns:0
 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:114526 (111.8 KiB)  TX bytes:33423 (32.6 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:4854 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4854 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX
 bytes:337524 (329.6 KiB)  TX bytes:337524 (329.6 KiB)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:10.1.0.0  P-t-P:10.1.1.1  Mask:255.255.255.255
          inet6 addr: 7001:a:b:6::dead:beef/64 Scope:Global
          inet6 addr: fe80::dead:beef/10 Scope:Link
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:67 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX
 bytes:2822 (2.7 KiB)  TX bytes:113 (113.0 B)

dhcpv6-1.2.0 # /usr/local/sbin/dhcp6c  -p /var/run/dhcpd6.pid -c /usr/local/etc/dhcp6c.conf  -I -f ppp0 -v
Jan/28/2010 16:13:31 <3>comment [#] (1)
Jan/28/2010 16:13:31 <3>comment [# See dhcp6c.conf(5) man page for details.] (42)
Jan/28/2010 16:13:31 <3>comment [#] (1)
Jan/28/2010 16:13:31 <3>comment [#interface eth0 {] (17)
Jan/28/2010 16:13:31 <3>comment [#    #information-only;] (23)
Jan/28/2010 16:13:31 <3>comment [#    send rapid-commit;] (23)
Jan/28/2010 16:13:31 <3>comment [#    request prefix-delegation;] (31)
Jan/28/2010 16:13:31 <3>comment [#    #request temp-address;] (27)
Jan/28/2010 16:13:31 <3>comment [#};] (3)
Jan/28/2010 16:13:31 <3>comment [#] (1)
Jan/28/2010 16:13:31 <3>[interface] (9)
Jan/28/2010 16:13:31
 <5>[eth1] (4)
Jan/28/2010 16:13:31 <3>begin of closure [{] (1)
Jan/28/2010 16:13:31 <3>comment [#information-only;] (18)
Jan/28/2010 16:13:31 <3>comment [#    send rapid-commit;] (23)
Jan/28/2010 16:13:31 <3>[request] (7)
Jan/28/2010 16:13:31 <3>[prefix-delegation] (17)
Jan/28/2010 16:13:31 <3>end of sentence [;] (1)
Jan/28/2010 16:13:31 <3>comment [#    #request temp-address;] (27)
Jan/28/2010 16:13:31 <3>end of closure [}] (1)
Jan/28/2010 16:13:31 <3>end of sentence [;] (1)
Jan/28/2010 16:13:31 <3>[interface] (9)
Jan/28/2010 16:13:31 <5>[ppp0] (4)
Jan/28/2010 16:13:31 <3>begin of closure [{] (1)
Jan/28/2010 16:13:31 <3>comment [#    #information-only;] (23)
Jan/28/2010 16:13:31 <3>comment [#send rapid-commit;] (19)
Jan/28/2010 16:13:31 <3>[request] (7)
Jan/28/2010
 16:13:31 <3>[prefix-delegation] (17)
Jan/28/2010 16:13:31 <3>end of sentence [;] (1)
Jan/28/2010 16:13:31 <3>comment [# request domain-name-servers;] (30)
Jan/28/2010 16:13:31 <3>comment [#    send prefix-delegation;] (28)
Jan/28/2010 16:13:31 <3>comment [#    #request temp-address;] (27)
Jan/28/2010 16:13:31 <3>comment [#address {] (10)
Jan/28/2010 16:13:31 <3>comment [#           2002:db8:4:1:9656:3:4:56/64;] (40)
Jan/28/2010 16:13:31 <3>comment [#        };] (11)
Jan/28/2010 16:13:31 <3>end of closure [}] (1)
Jan/28/2010 16:13:31 <3>end of sentence [;] (1)
Jan/28/2010 16:13:31 extracted an existing DUID from /var/lib/dhcpv6/dhcp6c_duid: 00:01:00:01:12:f4:d9:d2
Jan/28/2010 16:13:31 saved generated DUID to /var/lib/dhcpv6/dhcp6c_duid
Jan/28/2010
 16:13:31 link local addr is fe80::dead:beef
Jan/28/2010 16:13:31 res addr is fe80::dead:beef%ppp0/28
Jan/28/2010 16:13:31 found an interface eth0 harware 00:30:48:43:87:0e
Jan/28/2010 16:13:31  create iaid 243745608 for interface eth0
Jan/28/2010 16:13:31 found an interface eth1 harware 00:30:48:43:87:0f
Jan/28/2010 16:13:31  create iaid 260522824 for interface eth1
Jan/28/2010 16:13:31  create iaid 27 for interface ppp0
Jan/28/2010 16:13:31 found an interface eth0 harware 00:30:48:43:87:0e
Jan/28/2010 16:13:31  create iaid 243745608 for interface eth0
Jan/28/2010 16:13:31 found an interface eth1 harware 00:30:48:43:87:0f
Jan/28/2010 16:13:31  create iaid 260522824 for interface eth1
Jan/28/2010 16:13:31  create iaid 27 for interface ppp0
Jan/28/2010 16:13:31 found an interface eth0 harware 00:30:48:43:87:0e
Jan/28/2010 16:13:31  create iaid 243745608 for interface
 eth0
Jan/28/2010 16:13:31 found an interface eth1 harware 00:30:48:43:87:0f
Jan/28/2010 16:13:31  create iaid 260522824 for interface eth1
Jan/28/2010 16:13:31  create iaid 27 for interface ppp0
Jan/28/2010 16:13:31  create iaid 27 for interface ppp0
Jan/28/2010 16:13:31 interface ppp0 iaid failed to be created
dhcpv6-1.2.0 #                                            



here is my dhcp6c.conf
interface eth1 {
    #information-only;
    #    send rapid-commit;
        request prefix-delegation;
        #    #request
 temp-address;
        };

interface ppp0 {
       #    #information-only;
            #send rapid-commit;
            request prefix-delegation;
           # request domain-name-servers;
                  #    send prefix-delegation;
                  #    #request temp-address;
                  #address
 {
                  #           2002:db8:4:1:9656:3:4:56/64;
                  #        };
              };


Thanks much




      


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20100128/c68bdd5b/attachment.html>


More information about the dhcp-users mailing list