aboutsummaryrefslogtreecommitdiffstats
path: root/ipv6-tunnel.howto
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-07-11 05:23:56 +0000
committerBill Nottingham <notting@redhat.com>2001-07-11 05:23:56 +0000
commit3b86e2508b13f4bd6339f7be708a2cf1eab99a44 (patch)
tree9cab5aea5252b6fc072670e92fd2f07cede5ed9d /ipv6-tunnel.howto
parentd4b006581428be84473825bf5d31ed81f6c4a647 (diff)
downloadinitscripts-3b86e2508b13f4bd6339f7be708a2cf1eab99a44.tar
initscripts-3b86e2508b13f4bd6339f7be708a2cf1eab99a44.tar.gz
initscripts-3b86e2508b13f4bd6339f7be708a2cf1eab99a44.tar.bz2
initscripts-3b86e2508b13f4bd6339f7be708a2cf1eab99a44.tar.xz
initscripts-3b86e2508b13f4bd6339f7be708a2cf1eab99a44.zip
big ipv6 update from Pekka Savola (<pekkas@netcore.fi>)
Diffstat (limited to 'ipv6-tunnel.howto')
-rw-r--r--ipv6-tunnel.howto25
1 files changed, 15 insertions, 10 deletions
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 <pekkas@netcore.fi>
-
+v1.0 4th Mar 2001, Pekka Savola <pekkas@netcore.fi>
+v1.1 18th Apr 2001, Pekka Savola <pekkas@netcore.fi>
+v1.2 23th May 2001, Pekka Savola <pekkas@netcore.fi>
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
----------------