Penguin

Differences between version 28 and predecessor to the previous major change of MetaNetIPv6.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 28 Last edited on Sunday, June 15, 2003 1:37:48 am by PerryLorier Revert
Older page: version 27 Last edited on Tuesday, June 10, 2003 8:24:24 pm by CraigBox Revert
@@ -48,8 +48,28 @@
  ping6 2001:458:20:100::1 
  traceroute6 2001:458:20:100::1 
  
 ''Note - Debian packages ping6/traceroute6 as iputils-ping and iputils-tracepath.'' 
+  
+!! Configure 6to4 addressing (optional)  
+Figure out your 6to4 address based on your ipv4 address. For instance if your ipv4 address is 192.0.2.23 then your 6to4 address is  
+ printf "2002:%02x%02x:%02x%02x::1/16\n" `echo 192.0.2.23 | tr . ' '`  
+ 2002:c000:0217::1/16  
+then run these commands:  
+ ip tunnel add tun6to4 mode sit remote any local ''your-ipv4-address''  
+ ip link set dev tun6to4 up  
+ ip -6 addr add ''your-6to4-address'' dev tun6to4  
+  
+If you don't have the 6bone configured (as above) and/or want to use seperate connectivity for 6in4 addresses (why would you?) do:  
+ /sbin/ip -6 route add 2000::/3 via ::192.88.99.1 dev tun6to4 metric 1  
+192.88.99.1 is an AnyCast address for places that provide connectivity to non-6to4 addresses to 6to4 hosts.  
+  
+To take the tunnel down again, run  
+ /sbin/ip -6 route flush dev tun6to4  
+ /sbin/ip link set dev tun6to4 down  
+ /sbin/ip tunnel del tun6to4  
+  
+This can be put into your ip-up and ip-down scripts if you're on dynamic IP.  
  
 !! Configuring zebra for your local network 
 Now you need to give your internal machines IPv6 addresses. This can be easily accomplised using zebra add the lines to your zebra.conf 
  interface eth0