Hi again!

> Does anyone know how to get this all going under 2.2.x kernels, i
> looked around the /usr/doc area for howto's ../linux/Doc*/networking
> etc, but i cant seem to find any info at all.

Took a quick look at the doc under /usr/doc/iproute and found the
following in ip-tunnels.ps

In 2.0.36:
ifconfig tunl0 10.0.0.1 
route add -net 10.0.0.0 gw 193.233.7.65 dev tunl0

In 2.2:
ifconfig tunl0 10.0.0.1 netmask 255.255.255.255
ip route add 10.0.0.0/8 via 193.233.7.65 dev tunl0 onlink

or (cheating the kernel)
ifconfig tunl0 10.0.0.1 netmask 255.255.255.255
route add -host 193.233.7.65 dev tunl0
route add -net 10.0.0.0 netmask 255.0.0.0 gw 193.233.7.65
route del -host 193.233.7.65 dev tunl0

73 de Lars, sm6rpz
-- 
Lars E Pettersson        |  Chalmers University of Technology
[EMAIL PROTECTED]  |  Gothenburg, SWEDEN

Reply via email to