From 33801bb8a9bc982197372490e4cd4dd7086eee07 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sat, 24 Apr 2010 19:53:15 -0700 Subject: [PATCH] Add 6in4 information to 6to4 article --- docs/6to4.xml | 139 +++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 137 insertions(+), 2 deletions(-) diff --git a/docs/6to4.xml b/docs/6to4.xml index 9bb84b9a0..217cfd643 100644 --- a/docs/6to4.xml +++ b/docs/6to4.xml @@ -5,7 +5,7 @@ - 6to4 Tunnels + 6to4 and 6in4 Tunnels @@ -507,6 +507,141 @@ Ping(ACCEPT) all all +
+ 6in4 Tunnel + + 6in4 is very similar to 6to4: + + + + Both Tunnel IPv6 traffic over IPv4 using Protocol 41 + + + + Both allow you access to the IPv6 network even though your ISP + doesn't offer native IPv6 connectivity. + + + + The differences are: + + + + 6in4 gives you a /64 prefix outside of the 2002::0/16 + network + + + + You have a dedicated fixed endpoint for the tunnel rather than + the nebulous anycast endpoint 192.88.99.1. This is: + + + + Much more reliable + + + + Much easier to troubleshoot (there is ONE host and one + company to call on the other end of the tunnel rather than an + indefinite cloud with noone in charge) + + + + + + I converted to a 6in4 Tunnel from Hurricane Electric in April of + 2010. Converting from the 6to4 tunnel configuration above to a 6in4 tunnel + from HE took less than an hour. + + When I signed up for a tunnel with HE, I received these + assignments: + +
+ Server IPv4 address: 216.218.226.238 + + Server IPv6 address: 2001:470:a:227::1/64 + + Client IPv4 address: 206.124.146.180 (Same as the 6to4 + tunnel) + + Client IPv6 address: 2001:470:a:227::2/64 +
+ + I also took advantage of their offer for a /48 prefix routed via + 2001:470:a:227::2. The prefix I was assigned is + +
+ 2001:470:e857::/48 +
+ + Here are the key changes: + + /etc/network/interfaces: + + iface eth1 inet6 static + address 2001:470:e857:1::1 + netmask 64 + +auto eth2 +... +iface eth2 inet6 static + address 2001:470:e857:2::1 + netmask 64 + +auto sit1 +iface sit1 inet6 v4tunnel + address 2001:470:a:227::2 + netmask 64 + endpoint 216.218.226.238 + local 206.124.146.180 + gateway 2001:470:a:227::1 + post-up echo 1 > /proc/sys/net/ipv6/conf/all/forwarding + + + + /etc/radvd.conf (I'm currently not using RDNSS so I've + simply commented out the existing entries): + + interface eth1 { + AdvSendAdvert on; + MinRtrAdvInterval 60; + MaxRtrAdvInterval 600; + AdvDefaultLifetime 9000; + prefix 2001:470:e857:1::/64 { + AdvOnLink on; + AdvAutonomous on; + AdvRouterAddr off; + }; + + route ::/0 { + AdvRouteLifetime infinity; + }; + +# RDNSS 2002:ce7c:92b4:2:221:5aff:fe22:ace0 { +# AdvRDNSSOpen on; +# AdvRDNSSPreference 2; +# }; +}; + +interface eth2 { + AdvSendAdvert on; + MinRtrAdvInterval 60; + MaxRtrAdvInterval 600; + prefix 2001:470:e857:2::/64 { + AdvOnLink on; + AdvAutonomous on; + AdvRouterAddr off; + }; + +# RDNSS 2002:ce7c:92b4:2:221:5aff:fe22:ace0 { +# AdvRDNSSOpen on; +# AdvRDNSSPreference 2; +# }; +}; + +
+
Connecting two IPv6 Networks, by Eric de Thouars @@ -564,4 +699,4 @@ Ping(ACCEPT) all all commands as listed above. The systems in both IPv6 subnetworks can now talk to each other using IPv6.
- \ No newline at end of file +