[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problems when setting up tunnel,



On Sat, Sep 02, 2000 at 12:36:47AM +0200, Dariush Pietrzak wrote:
> I am having really strange problems when trying to set up ipv6 tunnel,
>  i got a tunnel from a site near-by and to check what's wrong
>  I have also tried to set up freenet6's tunnel.
> My setup is something like this:
>  ifconfig sit0 up
>  ifconfig sit0 tunnel ::206.123.31.102
>  ifconfig sit1 up
>  ifconfig sit1 add 3ffe:b00:c18:1fff:0:0:0:2c1
>  route -A inet6 add 2000::0/3 gw fe80::206.123.31.102 dev sit1

I think you need iptunnel like this:

wget http://user:password@1.2.3.4/tunnelbroker/auto_anmeldung.php3
ifconfig sit0 down
ifconfig sit1 down
iptunnel del sit1
if ifconfig eth0 | grep -sq '3ffe:400:280:10::66' ; then
  ifconfig eth0 del 3ffe:400:280:10::66/126
fi
ifconfig eth0 add 3ffe:400:280:10::66/126
iptunnel add sit1 remote 1.2.3.4 mode sit ttl 64
ifconfig sit1 up
ifconfig sit0 up # this will add a "route add -A inet6 ::/96 dev sit0" route
route add -A inet6 2000::/3 dev sit1

note that in the above setup sit0 is not correctly set up, but I dont use
that IPv4 auto tunneling anyway. The 2000::/3 is another way of saying you
want to set up a defalt route ("default" does not work for all net-tools
versions).

Greetings
Bernd



Reply to: