howto connect two single eth0 device linux boxes behind ADSL router with NAT/PAT|
"Mary well" <marywell988,AT,hotmail,DOT,com>|
Mon, 16 Jun 2003 19:46:27 +0000|
Hello.... it is my nighmare now and maybe anyone could help me...
I have two ADSL modem routers with NAT and PAT and two local networks behind
each of the routers, I try to configure CIPE on one linux box on each LAN
and connect them but I haven't succeed at the moment, a little diag may help
(A:linux/cipe)10.0.1.2 <----> (ADSL router NAT/PAT) 10.0.1.1/22.214.171.124
<--( internet )-->
126.96.36.199/10.0.0.1(ADSL router NAT/PAT)<---->10.0.0.2(B:linux/cipe)
So... the ADSL routers have who interfaces and the linux boxes only one
(eth0: x.x.x.2), the linux boxes have some services running (httpd) with
Port Address Traslation forwarded from the routers but neither of them have
two interfaces, just one and it is local, the default gateway on both nets
is the local IP of each router which also does masquerading...
how can I set up CIPE on each linux box to hace a virtual tunnel between
my initial guess is to setup:
route add -net 10.0.0.0 gw 10.0.0.2 cipcb0
route add -net 10.0.1.0 gw 10.0.1.2 cipcb0
and then each router have the port 3333 forwarded to each linux box
but ping does not seem to be working at all... can anyone help me ???
thank you, marywell...
Use MSN Messenger to send music and pics to your friends