Re: IPIP tunnel

Balazs Scheidler (bazsi@balabit.hu)
Fri, 13 Nov 1998 20:30:06 +0100 (CET)


On Tue, 10 Nov 1998, Tomas Buday wrote:

> this is how my tunnel works betwwen two machines:
>
> machine 1
> ---------
>
> ifconfig tunl0 192.168.1.2 pointopoint 15.188.34.122
> route add -net 192.168.1.0 tunl0

I have a small question about this in development kernels. If I set up
tunneling exactly the above way it doesn't work. I tried to tcpdump the
network, but encapsulated packets are not even sent. ifconfig-ing tunl0
up, adds a route entry, routing the destination pointopoint address
through the tunl0 device, which is obviously wrong. (or I am absolutely
clueless)

having a glance at the source, I thought I need a userspace program,
which uses the SIOCADDTUNNEL ioctl to set up destination address. If this
is true, where could I find this program?

--- Bazsi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/