network routing and tunneling...

Carlos Barros (cbf@redlider.com.uy)
Wed, 26 May 1999 16:43:13 -0300


In one box exists 2 interfaces: eth0 and eth1, with it's own ip's(IP0 and
IP1). Also those IP's are from diferent networks (NET0 and NET1). There is a
gateway in the NET0. That gateway routes all trafic out to internet.

How can I make that all packets from linux box that go thru gateway has it's
IP from IP1 instead of IP0 ?

+---------+
|linux box|
+---------+
| |eth0 IP0 +-------+
|eth1 +-------- ... ... NET0 ... ------------ |gateway|----> internet
| IP1 +-------+
+------------ ... ... NET1 ... ------------.

The other question:
Is the IP_IP tunneling of 2.0.36 compatible with cisco routers?
In the documentation of the kernel and NET3 couldn't find nothing.

-- 
Bye
    Carlos Barros.
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu