ipv6 tunnel config with ip ?

From: Andreas Jellinghaus (Andreas.Jellinghaus@cip.wiwi.uni-karlsruhe.de)
Date: Tue Jan 11 2000 - 13:03:01 EST


machine ipv4 ipv6
local 129.13.126.154/24 3ffe:400:20:1:210:5aff:fec5:169c/64
remote 129.13.35.16 3ffe:400:20:0:200:f8ff:fe23:8272/64

how do i set up an sit tunnel with this ?
what is the use of the "sit0" device created at boot time ?

regards, andreas

----
my current /etc/init.d/network script:
#! /bin/sh
set -x
# loopback
/root/ip link set lo up
/root/ip addr add 127.0.0.1/8 dev lo

# ethernet (ipv4) /root/ip link set eth0 up /root/ip addr add 129.13.126.154/24 dev eth0 /root/ip route add 0/0 via 129.13.126.254 # ethernet (ipv6) /root/ip addr add 3ffe:400:20:1:210:5aff:fec5:169c/64 dev eth0

# ipv6/sit tunnel from me to 129.13.35.6 /root/ip tunnel add sit1 mode sit remote 129.13.35.16 local 129.13.126.154 /root/ip link set sit1 up /root/ip route add 3ffe:400:20:0::0/64 dev sit1

# ipv6: default route /root/ip route add 3000::/8 dev sit1

# start route advertisement daemon. radvd -d 4 -m logfile &

# enable ipv6 forwarding. echo 1 > /proc/sys/net/ipv6/conf/all/forwarding - To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.rutgers.edu



This archive was generated by hypermail 2b29 : Sat Jan 15 2000 - 21:00:29 EST