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

Re: Downstream tunneling



On Wed, 20 Sep 2000, Jonathan Guthrie wrote:

> I have set up an upstream tunnel to the 6bone via sprint.  How do I set up
> downstream tunnels?  I've looked over some of the documentation (read the
> stuff on debian.org, for example, as well as the Linux IPv6 HOWTO) and
> couldn't find or didn't recognize that information.

The easiest way is to just use NBMA tunneling via sit0. You just do

ip -6 route add 3ffE:...../64 via ::1.1.1.1 

And traffic for that network will get routed to the given ipv4 address.
You can setup explicit tunnels using something like:

ip tunnel add sprint mode sit local <myIP> remote <theirIP> ttl64
ip link set sprint up
ip addr add <my V6 tunnel endpoint>/127 dev sprint
ip -6 route add 2000::/3 via <their v6 tunnel endpoint>

Generally /127 is used, they take the 0 and you get the 1... This is
excessively explicit but ensures that nobody else can send you packets.

You can also just do:
ip link set sit0 up
ip addr add <any V6 address routed to me> dev sit0
ip -6 route add 2000::/3 via ::<theirIP>

You can even toss the ip addr add if you are using radv - your ethernet
interface will have a valid address.

> When I do this sort of ip command on my tunnel, I get the message
> 
>   Cannot send dump request: Connection refused

Don't have netlink compiled in.

Jason



Reply to: