two machines A and B with ip addresses A.1 and B.1 and gateways A.254 and B.254.
both kernel 2.2.12. i thought i could build a tunnel A<-> with the tunnel
ip addreses 192.168.0.1 for A and 192.168.1.1 for B. i tried this config:
(A) ifconfig eth0 A.1
(A) route add default gw A.254
(A) ifconfig tunl0 192.168.0.1 
(A) route add -host 192.168.1.1 gw B.1 tunl0
(B) ifconfig eth0 B.1
(B) route add default gw B.254
(B) ifconfig tunl0 192.168.1.1 
(B) route add -host 192.168.0.1 gw A.1 tunl0

doesn't work. the route always refuses "network unreachable" ...
what's wrong ?

thanks for your help.

regards, andreas
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to