New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
IPv6 on online.net?
linuxthefish
Member
in General
Does anyone know how to get ipv6 working at online.net? I've tried dibbler-client, and the logs say I'm assigned my /48 but it doesn't actually work. Sometimes it works when I add the address manually, however it always dies after a few hours.
2014.07.08 17:28:59 Client Debug PD: Adding 2001:bc8:33c0:: prefix to PD (iaid=1) to addrDB. 2014.07.08 17:28:59 Client Notice PD: Adding prefix 2001:bc8:33c0::/48 to all interfaces (prefix will be split to /56 prefixes if necessary).
This discussion has been closed.
Comments
Does that help?
http://forum.online.net/index.php?/topic/4546-ipv6/
Seems dibbler is not the best choice for online.net.
Do not use dibbler, try the WIDE client (wide-dhcpv6-client package).
Thanks, this works perfectly! Topic solved
Do you use debian?
If so, I suggest you to to use dibbler to only broadcast the duid.
Therefore, add your duid in /var/lib/dibbler/client-duid. Create the file if it does not exist.
In /etc/dibbler/client.conf only add:
Restart dibbler. Check the logs to make sure everything is fine.
Then add the prefix like this:
ip -6 addr add 2001:bc8:33c0::cafe/48 dev eth0
The default next-hop is automatically retrieved via RA packets sent by online's router so you don't have to worry about adding a default route.
Please let me know if this helped.
I would recommend contacting there support or checking the faqs.
Thanks, but
Well it says your interface is down. You should have this interface up first, do you get a link-local address when you up it?
Oh, also you should remove autoconf, add this in /etc/sysctl.conf:
Then,
@SASP I think I broke something big, I'll try reinstalling! Thanks.
Works fully now with that solution, thanks for your help.
Yey for IPv6!
i am also having debian. could you please share what you did without breaking stuff
I've 2 servers, ipv6 is ok with one using dhclient, waiting to see if it remains so. While configuring using ifdown and ifup didn't always work as expected, it worked as expected after a reboot.
The other server worked ok initially with dhclient, then no ipv6. Now trying dibbler, although while I have a 2001:bc8:: subnet, the dibbler log shows
PD: Adding prefix 2001:db8:3333::2164:0:0/96 to all interfaces (prefix will be split to /104 prefixes if necessary). with an 2001:db8:1111::/64 address also. Support ticket sent in for that one.
@ahmiq step by step IPv6 setup for Debian with dibbler:
http://www.lowendtalk.com/discussion/comment/706713/#Comment_706713
I compile and use odhcp6c in CentOS 7 to negotiate PD but configure interface manually.
Wait to see if it remains working too.
ipv6 now working, with a blocked spoofer.
@Keith, I just run dibbler only now - dhclient seemed unstable for me. Not dropped out on irc to ipv6 servers for a month now.
@linuxthefish dhclient had stopped running on the other server, changed to dibbler.
@Keith
How did you solve getting wrong prefix assigned?
@Kupol support ticket
It turns out Dibbler is not reliable (fails to work after some time, while still technically running; also the shutdown script sometimes hangs), so I am trying out the WIDE DHCPv6 client now. Wrote a small script to quickly install and configure it on a server.
Thank you for the script , the wide client is running but cannot seem to ping6 ipv6 addresses. it says:
no idea what i am doing wrong. would appreciate a little help if possible. Should i be adding gateway in my /etc/network/interfaces?
Change nameservers in /etc/resolv.conf to the following:
nameserver 8.8.8.8
nameserver 8.8.4.4
looks the same. Network is unreachable. my ifconfig shows:
ipv6 sucks.
Missed that bit, ignore what I said above!
Looks like ipv6 is not being routed, check /var/lib/dhcpv6/dhcp6c_duid contains your duid and run "/etc/init.d/wide-dhcpv6-client restart".
Also it can take up to 10 mins for DHCP to 'work', so try waiting a bit!
there was some weired things in /var/lib/dhcpv6/dhcp6c_duid , i changed it to duid to my duid and when restart it didnt work. Ran @rm_ script with ./setup-dhcpv6.sh duid and it seems to restart fine.
Is there any log or something for the wide to check what is going on.
That's because the WIDE client stores this file in a binary format.
my netstat -r:
root@online:~# ip -6 route
2001:myipv6::/48 dev eth0 proto kernel metric 256
fe80::/64 dev eth0 proto kernel metric 256
root@online:~# traceroute6 ipv6.google.com
traceroute to ipv6.google.com (2a00:1450:4010:c03::71), 30 hops max, 80 byte packets
connect: Network is unreachable
looks like no route
ahh looks like. it will never work.. Would put it down .. i think i have broken something
Okay it works now. I just had to add gateway in my /etc/network/interfaces and boom:
thanks everyone for help
Thanks @rm_ for the script, though I can get it working with dibbler-client too.
I'd like to know what do you guys add to your ip6tables to let the ra defines the route?
Adding the gateway in the interfaces file like @ahmiq did works fine, but if they change it it won't work..
Thx