Messages in this thread | | | Date | Mon, 16 Nov 1998 22:47:34 -0600 | From | David Fries <> | Subject | Re: IPIP tunnel |
| |
On Mon, Nov 16, 1998 at 03:46:37PM +0100, Jan Kasprzak wrote: > 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 > > -Yenya
The reason should be fairly obvious, to use an address as a gateway on an interface (tunl0) you must have a route to the gateway first wheater that is a network route or a specific host.
My question is how do you set it up without the trick? Between the time you add the host and remove it, you essentially have a backhole or a loop or something for that host. While it might be the hack way I don't see it as the right way.
-- +---------------------------------+ | David Fries | | dfries@umr.edu | +---------------------------------+
- 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/
| |