Hurricane Electric's IPv6 Tunnel Broker Forums

General IPv6 Topics => IPv6 on Routing Platforms => Topic started by: Mangix on August 29, 2011, 08:45:28 PM

Title: 6in4 with dd-wrt
Post by: Mangix on August 29, 2011, 08:45:28 PM
i'm using the script found on this page.

http://www.dd-wrt.com/wiki/index.php/IPv6_setup_Hurricane_Electric_Tunnel_Broker

my problem is that i can't seem to get the settings correct. these are mine currently.

#basic connection settings
SERVER_IPV4_ADDR="72.52.104.74"
CLIENT_IPV6_ADDR="2001:470:1f04:1ef4::1337"
ROUTED_64_ADDR="2001:470:1f05:1ef3::0"

i think my problem is with the last one. since the example syntax on the bottom shows an actual ipv6 address instead of an ipv6 prefix, i'm confused as to what it should be.

edit: ok figured it out. i deleted the 0 and added /64 at the end. it was the prefix after all. however i still have issues as the tunnel does not appear to work. doing "ip -6 route show" yields this result.

2001:470:1f04:1ef4::/64 via :: dev he-ipv6  metric 256  expires -121sec mtu 1472 advmss 1412 hoplimit 4294967295
2001:470:1f05:1ef3::/64 dev br0  metric 256  expires -121sec mtu 1500 advmss 1440 hoplimit 4294967295
2000::/3 dev he-ipv6  metric 1024  expires -120sec mtu 1472 advmss 1412 hoplimit 4294967295
fe80::/64 dev eth0  metric 256  expires -148sec mtu 1500 advmss 1440 hoplimit 4294967295
fe80::/64 dev vlan1  metric 256  expires -146sec mtu 1500 advmss 1440 hoplimit 4294967295
fe80::/64 dev eth1  metric 256  expires -146sec mtu 1500 advmss 1440 hoplimit 4294967295
fe80::/64 dev br0  metric 256  expires -146sec mtu 1500 advmss 1440 hoplimit 4294967295
fe80::/64 dev vlan2  metric 256  expires -144sec mtu 1500 advmss 1440 hoplimit 4294967295
fe80::/64 via :: dev he-ipv6  metric 256  expires -120sec mtu 1472 advmss 1412 hoplimit 4294967295
ff00::/8 dev eth0  metric 256  expires -148sec mtu 1500 advmss 1440 hoplimit 4294967295
ff00::/8 dev vlan1  metric 256  expires -146sec mtu 1500 advmss 1440 hoplimit 4294967295
ff00::/8 dev eth1  metric 256  expires -146sec mtu 1500 advmss 1440 hoplimit 4294967295
ff00::/8 dev br0  metric 256  expires -146sec mtu 1500 advmss 1440 hoplimit 4294967295
ff00::/8 dev vlan2  metric 256  expires -144sec mtu 1500 advmss 1440 hoplimit 4294967295
ff00::/8 dev he-ipv6  metric 256  expires -120sec mtu 1472 advmss 1412 hoplimit 4294967295
default dev he-ipv6  metric 1024  expires -120sec mtu 1472 advmss 1412 hoplimit 4294967295
unreachable default dev lo  proto none  metric -1  error -128 hoplimit 255
i believe there is supposed to be one more entry beginning with 2001 that's missing.
Title: Re: 6in4 with dd-wrt
Post by: johnpoz on August 30, 2011, 05:12:34 AM
Ok I highly doubt this is the client ipv6 address on your tunnel

CLIENT_IPV6_ADDR="2001:470:1f04:1ef4::1337"

Every tunnel I have ever seen ends with 2 for the client endpoint

Title: Re: 6in4 with dd-wrt
Post by: cholzhauer on August 30, 2011, 06:12:04 AM
Agreed with John.

Furthermore

Quote
CLIENT_IPV6_ADDR="2001:470:1f04:1ef4::1337"
ROUTED_64_ADDR="2001:470:1f05:1ef3::0"

The networks only differ on the third group and the two you've listed differ on both the third and fourth.
Title: Re: 6in4 with dd-wrt
Post by: Mangix on August 30, 2011, 01:07:18 PM
i added /64 to the client ipv6 addr and it started working...

as for 1337 at the end, i remember i could change it to that and still have it work when i set the tunnel up directly on my windows 7 machine. since it's a /64 i should be able to change the last 4 fields.