My ISP is doing an IPv6 trial for DSL customers. For this to work they require my DHCPv6 DUID. How can I find this out? My DSL connection works with PPPoE. Is this actually possible?
Topic: duid for pppoe?
The content of this topic has been archived on 26 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.
tried both dhcp6-client and dibbler but could not manage to set up DHCPv6 with PPPoE. Anybody done this before?
It's not in the trunk yet, but you can checkout the source for the WIDE DHCPv6 package at http://nativev6.googlecode.com/svn/wide … 0080615-2/
If your router is mipsel, you can install the packages located at http://code.google.com/p/nativev6/downloads/list
I tried wise and I get the same error as previously with dibbler:
Dec/26/2009 12:22:27: client6_init: failed initialize control message authentication
Dec/26/2009 12:22:27: client6_init: setsockopt(IPV6_RECVPKTINFO): Protocol not available
Do i need anything else than kmod-ipv6?
Ahh you're running the 2.4 kernel. There's a patch in the package that takes care of that, but it only takes effect if the package is compiled against the brcm-2.4 target.
If you can't compile it yourself, I will do it and put the package up when I get home in 2 days.
Thanks Andrew!
I'll try the 2.6 kernel first and let you know.
Thanks Andrew!
I'll try the 2.6 kernel first and let you know.
In case you didn't try 2.6 yet, the package compiled to work with the 2.4 kernel is now available at http://code.google.com/p/nativev6/downloads/list
Let me know how you go.
I have tried the 2.4 version and I am progressing. I managed to get it working, however it cannot seem to transmit on ppp0:
root@OpenWrt:~# dhcp6c -c /etc/dhcp6c.conf -Df ppp0
Jan/05/2010 00:25:54: get_duid: extracted an existing DUID from /var/dhcp6c_duid: 00:01:00:01:12:c8:c0:84:00:12:17:dd:fb:07
Jan/05/2010 00:25:54: dhcp6_ctl_authinit: failed to open /etc/dhcp6cctlkey: No such file or directory
Jan/05/2010 00:25:54: client6_init: failed initialize control message authentication
Jan/05/2010 00:25:54: client6_init: skip opening control port
Jan/05/2010 00:25:54: cfdebug_print: <3>[interface] (9)
Jan/05/2010 00:25:54: cfdebug_print: <5>[ppp0] (4)
Jan/05/2010 00:25:54: cfdebug_print: <3>begin of closure [{] (1)
Jan/05/2010 00:25:54: cfdebug_print: <3>[request] (7)
Jan/05/2010 00:25:54: cfdebug_print: <3>[domain-name-servers] (19)
Jan/05/2010 00:25:54: cfdebug_print: <3>end of sentence [;] (1)
Jan/05/2010 00:25:54: cfdebug_print: <3>end of closure [}] (1)
Jan/05/2010 00:25:54: cfdebug_print: <3>end of sentence [;] (1)
Jan/05/2010 00:25:54: configure_pool: called
Jan/05/2010 00:25:54: clear_poolconf: called
Jan/05/2010 00:25:54: dhcp6_reset_timer: reset a timer on ppp0, state=INIT, timeo=0, retrans=383
Jan/05/2010 00:25:54: client6_send: a new XID (7b23c6) is generated
Jan/05/2010 00:25:54: copy_option: set client ID (len 14)
Jan/05/2010 00:25:54: copy_option: set elapsed time (len 2)
Jan/05/2010 00:25:54: copy_option: set option request (len 2)
Jan/05/2010 00:25:54: client6_send: transmit failed: Network is unreachable
Jan/05/2010 00:25:54: dhcp6_reset_timer: reset a timer on ppp0, state=SOLICIT, timeo=0, retrans=1077
Jan/05/2010 00:25:55: copy_option: set client ID (len 14)
Jan/05/2010 00:25:55: copy_option: set elapsed time (len 2)
Jan/05/2010 00:25:55: copy_option: set option request (len 2)
Jan/05/2010 00:25:55: client6_send: transmit failed: Network is unreachable
Transmitting on eth0.1 works, however here there seems to be noone listening on the other end...
problem for the network error was that there is no link-local ipv6 address associated with ppp0. I gave it one with ip, now I see solicit packets going out on the ppp0 interface.
now I only need to solve these two:
- why isn't ppp0 getting a link-local address
- why is there no reply coming to the solicit messages
problem for the network error was that there is no link-local ipv6 address associated with ppp0. I gave it one with ip, now I see solicit packets going out on the ppp0 interface.
now I only need to solve these two:
- why isn't ppp0 getting a link-local address
- why is there no reply coming to the solicit messages
Your need to add the following to the /etc/config/network file for your WAN interface:
option 'ipv6' '1'
This will ensure that you and your ISP negotiate a link local IPv6 address when PPP comes up.
Also, why are you using a hand generated /etc/dhcp6c.conf file? If you installed my package, you should just edit the config file /etc/config/dhcp6c. The DHCPv6 client will start automatically when your WAN interface comes up due to the hotplug scripts in the package. It will auto-generate the config file /var/etc/dhcp6c.conf.
Your need to add the following to the /etc/config/network file for your WAN interface:
option 'ipv6' '1'
This will ensure that you and your ISP negotiate a link local IPv6 address when PPP comes up.
This is set. Turned out I need to use a different login with my ISP when wanting an IPv6 connection. Unfortunately I cannot get both v4 and v6. when using the v6 login, addresses are fine (even get a v6 global address without dhcpv6).
Also, why are you using a hand generated /etc/dhcp6c.conf file? If you installed my package, you should just edit the config file /etc/config/dhcp6c. The DHCPv6 client will start automatically when your WAN interface comes up due to the hotplug scripts in the package. It will auto-generate the config file /var/etc/dhcp6c.conf.
Will try it, but so far I didn't see it work.
Hi,
I have a similar problem, so I didn't open a new post. My case is a little different.
My ISP has native ipv6 support with pppoe. My router is running on Backfire 10.03.1-rc4 and ipv6 working fine with pppoe.
But I always get different ipv6 address, so it's dynamic. To make it static I have to register on my ISP's website and I have to add my DUID.
I have Linksys wrt54gl running on Backfire 10.03.1-rc4. But I don't have idea how should I find the DUID.
Regards,
up
The discussion might have continued from here.