Re: How to setup a IPv6 in IPv4 tunnel?
Op ma, 24-01-2005 te 05:04 +0800, schreef Wang Xu:
> Hello all,
>
> I am trying to set up a tunnel reference to
> http://www.tldp.org/HOWTO/Linux
> +IPv6-HOWTO/configuring-ipv6to4-tunnels.html
>
> but when I try to add route with a gateway, it is said that
>
> APTITUDE:/home/gnawux# ip -6 route add 2000::/3 via ::134.83.31.254
> dev sit1 metric 1
> RTNETLINK answers: No route to host
You're confused here. "ip route" expects a route in the same family;
i.e., "ip route add 192.168.0.0/24 via 192.168.1.1" or "ip route add
2000::/3 via 2001:ab8:37f::1"; you can't mix that.
What you want is to set up a tunnel, rather than a route. That is done
slightly different:
ip tunnel add sit1 mode sit remote 134.83.31.254 local <your local IP> ttl 128
Once that is done, you'll have a new interface called "sit1", which you
need to assign an IP address and possibly a route to.
--
EARTH
smog | bricks
AIR -- mud -- FIRE
soda water | tequila
WATER
-- with thanks to fortune
Reply to: