Re: Off-Topic: IPIP Tunneling configuration

From: Bernd Eckenfels (ecki@lina.inka.de)
Date: Mon May 01 2000 - 20:34:44 EST


In article <Pine.LNX.4.10.10004281252470.788-100000@localhost.localdomain> you wrote:
> insmod ipip
> ifconfig 192.168.100.254 tunl0 up
> ip route add -net 192.168.200.0/24 gw 444.333.222.111 tunl0

you have to set the route to the tunnels local interface (192.168.100.254)
and give the destination for the tunnel in addtition:

ifconfig 192.168.100.254 pointopoint <public remote ip> tunl0 up
route add -net 192.168.200.0 netmask 255.,255.255.0 dev tunl0

(i am not sure if pointipoint works with ifconfig, otherwise u have to use
iptunnel to configure tha target address of the tunnel)

Greetings
Bernd

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



This archive was generated by hypermail 2b29 : Sun May 07 2000 - 21:00:09 EST