Andreas Jellinghaus wrote:

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

take a peek at http://stuph.org/, the rc.networking, and rc.vpn* files.

i use rc.networking to run two GRE tunnels from home to office and spread traffic
over both of them.  one is a dsl modem, the other cable modem.

-d


--
 This is Linux Country. On a quiet night, you can hear Windows NT reboot!
  Do you remember how to -think- ? Do you remember how to experiment? Linux
__ is an operating system that brings back the fun and adventure in computing.
\/  for linux-kernel: please read linux/Documentation/* before posting problems



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

Reply via email to