Penguin

Differences between version 29 and previous revision of MetaNetIPv6.

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

Newer page: version 29 Last edited on Sunday, June 15, 2003 1:40:25 am by PerryLorier Revert
Older page: version 28 Last edited on Sunday, June 15, 2003 1:37:48 am by PerryLorier Revert
@@ -42,34 +42,19 @@
  inet addr:10.1.12.254 Bcast:10.1.12.255 Mask:255.255.255.0 
  inet6 addr: fe80::205:1cff:fe10:41c8/10 Scope:Link 
  inet6 addr: 3ffe:b80:1f16:1::1/64 Scope:Global 
 First are your standard IPv4 address(es) followed by your IPv6 addresses. Ignore the first address (it is a special link-local address used for configuration) the second address is what we are concerned with. It has global scope and is routable from anywhere on the 6bone! This address has been allocated from your /48 and you can see that the freenet scripts have been clever and have placed your internal network on a further subnet inside this to give an IP address with a /64 netmask. So for example the /48 shown in the example is 3ffe:b80:1f16 and the subnet is 1. 
+  
+!! Configure 6to4 addressing (optional)  
+See [6to4]  
  
 !! Check your connectivity 
  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