From 3b86e2508b13f4bd6339f7be708a2cf1eab99a44 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 11 Jul 2001 05:23:56 +0000 Subject: big ipv6 update from Pekka Savola () --- ipv6-tunnel.howto | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) (limited to 'ipv6-tunnel.howto') diff --git a/ipv6-tunnel.howto b/ipv6-tunnel.howto index 0b79855b..0f5bb7a3 100644 --- a/ipv6-tunnel.howto +++ b/ipv6-tunnel.howto @@ -1,5 +1,6 @@ -4th Mar 2001, Pekka Savola - +v1.0 4th Mar 2001, Pekka Savola +v1.1 18th Apr 2001, Pekka Savola +v1.2 23th May 2001, Pekka Savola HOW TO SET UP AN IPV6 TUNNEL ---------------------------- @@ -17,6 +18,8 @@ ASSUMPTIONS 3. Protocol 41 (IPv6) is not being filtered in any firewall. +4. 'iproute' package is installed. This is used by default for a lot + more powerful tunneling capabilities. INFORMATION NEEDED ------------------ @@ -57,9 +60,8 @@ Now, set up the configuration as follows: echo "NETWORKING_IPV6=yes" >> /etc/sysconfig/network -2. Add static routes to IPv6 Internet: +2. Add static routes to IPv6 Internet (this includes 6bone): - echo "sit1 3ffe::/16" >> /etc/sysconfig/static-routes-ipv6 echo "sit1 2000::/3" >> /etc/sysconfig/static-routes-ipv6 3. Create /etc/sysconfig/network-scripts/ifcfg-sit1, with the following: @@ -70,13 +72,14 @@ BOOTPROTO=none ONBOOT=yes IPV6INIT=yes IPV6TUNNELIPV4=206.123.31.102 -IPV6ADDR=3ffe:b00:c18:1fff:0:0:0:7f5/0 +IPV6ADDR=3ffe:b00:c18:1fff:0:0:0:7f5/128 --- NOTE: You must use _sit1_. sit0 should not be used. -NOTE: You must use prefix /0, else you may not be able to ping your P-t-P -peer without tweaking. +NOTE: Some tunnel endpoints might require a different kind of prefix length; +for example, Cisco's usually favour /126. Using /0 creates a default route +through that interface. NOTE: If you're not directly connected to the Internet, you may want to use ONBOOT=no instead. @@ -89,9 +92,11 @@ Tunnel can be brought up and down with: ifup sit1 ifdown sit1 -NOTE: Even though sit1 is used, 'ifconfig' sees the tunnel as sit0. This -is due to an "interesting" implementation of tunneling -- else multiple -tunnels couldn't be used extensibly. +NOTE: In initscripts <= 5.83 (ie. IPV6_TUNNELMODE=NBMA), even though sit1 is used, +'ifconfig' sees the tunnel as sit0. This is due to an "interesting" implementation +of tunneling -- else multiple tunnels couldn't be used extensibly. + +NOTE: iproute tools give more reliable data, try e.g. '/sbin/ip addr ls'. MORE INFORMATION ---------------- -- cgit v1.2.1