ip tunnel add <name> mode ipip local <local-ip> remote <remote-ip>
ip link set <name> up
ip addr add <prefix> dev <name>
example: <name> could be tunl0, <local-ip> 10.2.3.4 <remote-ip> 10.5.6.8
and prefix could be 192.168.1.6/24.
if you need to route additional networks other than 192.168.1.*
simply add them with "ip route <prefix> dev <name>",
for example "ip route add 192.168.12/24 dev tunl0".
ifconfig, route and iptunnel do still work,
but IMO ip is easier to use.
andreas
-
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:10 EST