Re: IPIP tunnel

Mihai Ibanescu (misa@dntis.ro)
Tue, 17 Nov 1998 09:36:01 +0200 (EET)


On Mon, 16 Nov 1998, Balazs Scheidler 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)
> >
> > You need to do the following trick (don't ask me why :-)
> >
> > ifconfig tunl0 192.168.1.2 netmask 255.255.255.255
> > route add -host 15.188.34.122 dev tunl0
> > route add -net 192.168.1.0 gw 15.188.34.122
> > route del -host 15.188.34.122
>
> someone already pointed me to the iproute2 package, which contains "ip",
> which - among other things - is able to set up tunnel devices. it works
> great.

Hello

Do you have an URL for iproute2? I don't seem to find it at
sunsite.

TIA,

Mihai

Mihai Ibanescu Dynamic Network Technologies
http://sysadm.dntis.ro/~misa Moara de Foc 35, et. 7, 6600 Iasi
misa@dntis.ro tel. +40-32-252936

-
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/