ipv6 tunnel
Wojtek Bojdo/l
wojboj@lp.net.pl
Mon, 15 May 2000 18:54:35 +0200 (CEST)
On Mon, 15 May 2000, Radu Malica wrote:
> I got my IPv6 address and class from UUNet and they are ready to setup a
> tunnel. I use a Linux Box (redhat 6.1) and i'm a bit confused about
> setting up tunnels (sit0 devices) and routing...i tried it before with
> freenet6 and i had same routes on 2 different devices, eth0 and sit1
>
> Can you tell me step-by-step how to setup a tunneling for IPv6 in Linux?
/sbin/ip tun add icm mode sit local 195.205.178.226 remote 193.219.28.246
ttl 64
/sbin/ip link set icm up
/sbin/ip addr add 3ffe:8010:16::2/126 dev icm
echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
and you can also:
/sbin/ip route add 3000::/3 dev icm
if you don't use bgp.
--
Wojciech Bojdo/l
Linux & Unix Magazine