• Welcome to Hurricane Electric's IPv6 Tunnel Broker Forums.

News:

Welcome to Hurricane Electric's Tunnelbroker.net forums!

Main Menu

IPv6 on DD-WRT

Started by Keiro, November 12, 2015, 03:14:07 PM

Previous topic - Next topic

Keiro

So... between the older revision for the TP-Link WDR-4300... and the newer revision of the DD-WRT firmware, which is now at build 25179...

The IPv6 configuration seems to have changed. I originally used this script for the original revision of the DD-WRT firmware here.

But now there's an entirely dedicated IPv6 screen much like TomatoUSB. It's found under Setup > IPv6 in DD-WRT.

Screenshot is as follows:



Is this about right? I do know I have a working IPv6 TomatoUSB configuration but obviously, TomatoUSB and DD-WRT are very different in terms of interface configuration.

Currently, IPv6 is working... but it seems some of my devices are unable to properly pick up an IPv6 IP that's globally visible from the outside. ie, http://ip6.me reveals 64.233.172.158. This is not our IP.

However, other sites such as http://whatismyip.com do show an IPv6 IP.

Either way though, I'd like to ensure that we have a working IPv6 connection on a consistent basis because I don't think I've got the right setup just yet... as evidenced by the occasional total stoppage of IPv6 flow, which is fixed by a reboot of the router.

cholzhauer

Picture didn't post...try again?

Keiro

#2
Actually, it did. For some reason though, it's not displaying the picture. Maybe a restriction in the forums?

So I'll just link it here: http://imgur.com/cC2QQTb

The picture works if you right click and open it in a tab. But that's basically my setup.

cholzhauer

I think you have a typo.  I haven't used DDWRT in some time, but "Router IPv6 address" and "tunnel client ipv6 address" shouldn't be the same.  "Tunnel client IPv6 address" is looking for a range; this should be your router /64, not your tunnel /64

Keiro

Quote from: cholzhauer on November 13, 2015, 05:07:03 AM
I think you have a typo.  I haven't used DDWRT in some time, but "Router IPv6 address" and "tunnel client ipv6 address" shouldn't be the same.  "Tunnel client IPv6 address" is looking for a range; this should be your router /64, not your tunnel /64

Looks like you're right. I'm not sure what the correct details would be for this particular range, though. I'd been making guesses based on what worked originally in the older revisions prior to the dedicated IPv6 screen. Prior to that, the script that I linked to in the OP wroked perfectly for picking up IPv6 IPs.

So far, as mentioned in the OP, some of my devices are able to pick up IPs for IPv6, some aren't. They work but occasionally things just come to a complete stop. I'm guessing because of the tunnel client IPv6 and router IPv6 IP being the same... I don't know what the router IPv6 IP would be in this case, though.

cholzhauer

Should be your routed /64 from your tunnel details page

Keiro

Quote from: cholzhauer on November 13, 2015, 09:28:42 AM
Should be your routed /64 from your tunnel details page

So... 2001:470:7c:37e::/64 then? Because that's listed as my routed /64. Which means I should probably list it as 2001:470:7c:37e::

cholzhauer


Keiro

#8
Thanks for the help.

I'll be writing a guide on this for others later on and providing sanitized screenshots... I'll replace the screenshot here with same sanitized screenshot later.

And the guide's been written, here!

Keiro

Ah... looks like that's a no-go, Captain.

I just rebooted the router and now all devices are not picking up the router gateway. Thus, the flow of IPv6 has failed. Looks like the router IP is incorrect.

I re-added the IPv6 script on the DD-WRT Wiki that I linked in the OP... and now everything's working again.

Hmm. I shouldn't have to do that, though... however, I did notice an interesting detail:

If I check my Windows PC that I have lying around for testing purposes and games, I see that it's picked up the router gateway as fe80:6666:b3ff:fec6:f197%13.

cholzhauer

That should be the link-local address of your router (the one that's doing RA)

Keiro

Quote from: cholzhauer on November 13, 2015, 11:02:14 AM
That should be the link-local address of your router (the one that's doing RA)

Ah, gotcha.

Hmm. Still wondering why it breaks IPv6 as soon as I remove the startup script... it shouldn't have had to lose connectivity totally on the IPv6 side... I can consistently reproduce this issue just by removing the startup script. As soon as I do, the IPv6 gateway that's picked up by Windows is totally lost.

This is annoying. Should I enable DHCP6s for DD-WRT to make this work?

JRMTL

ddwrt FW is currently in the v28000 range

in any event see http://www.dd-wrt.com/phpBB2/viewtopic.php?p=909299#909299 for config

Keiro

Quote from: JRMTL on November 14, 2015, 05:00:12 PM
ddwrt FW is currently in the v28000 range

in any event see http://www.dd-wrt.com/phpBB2/viewtopic.php?p=909299#909299 for config

Hmm, you don't have the Router IPv6 field filled. Why? Also, your linked thread basically has more or less identical configuration to mine, aside from having to have the script in Commands > Startup just to make it all work. :|

JRMTL

Router ip for 6in4 is not used / needed. router will get ::0 on lan interface / bridge ex. br0.

Also you need to enable either radvd or use dnsmasq for your RAs. Note windows machines will not pickup ipv6 dns from RA. I prefer dnsmasq myself as it will also send ipv6 dns via dhcpv6 other info. There is no need for any scripts.

note radvd was broken for a number of versions.