Using a tunnel/Linux

Asbjørn Sannes ace@datafax.no
Thu, 11 Feb 1999 17:56:30 -0000


Hi! I got so much respons (which helped me out quite a lot of trouble,
thanks!) here last time I asked a question so.. here is another one :

I've got a tunnel to my Linux box, I just can't get it working..

This the info I got :

Tunnel end (their side) : 195.159.0.16
IPv6 address I should use on my IPv6 tunnel interface:
3ffe:1108:403:7005::2/64

I looked around and tought this script would start it up correctly:

# Your IPv6 prefix
PREFIX=3FFE:1108:403:7005
# The host-part of the IPv6 address for this machine
ADDRESS=2
# The IPv4 address of the far side of your tunnel
TUNNEL=195.159.0.16

echo 0 > /proc/sys/net/ipv6/conf/all/autoconf
echo 0 > /proc/sys/net/ipv6/conf/all/accept_ra
echo 0 > /proc/sys/net/ipv6/conf/all/accept_redirects
echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
echo 0 > /proc/sys/net/ipv6/conf/all/router_solicitations

ifconfig eth0 add $PREFIX::$ADDRESS/64
route -A inet6 add $PREFIX::0/64 dev eth0
ifconfig sit0 up tunnel ::$TUNNEL
ifconfig sit1 up
route -A inet6 add 3ffe::0/15 gw fe80::$TUNNEL dev sit1

--

I would appricate it if someone told me what was wrong with it, since I am
quite unexperienced with this.

Greetings
Asbjørn Sannes
ace @ Efnet

BTW: Thanks for all the respons on my last question, it worked out great! :)