<< | Thread Index | >> ]    [ << | Date Index | >> ]

To: cipe-l,AT,inka,DOT,de
Subject: howto connect two single eth0 device linux boxes behind ADSL router with NAT/PAT
From: "Mary well" <marywell988,AT,hotmail,DOT,com>
Date: 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/80.124.123.124
      <--( internet )-->
80.123.122.23/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 them???

my initial guess is to setup:

(A):

device         cipcb0
ptpaddr        10.0.0.2
ipaddr         10.0.1.2
me              80.124.123.12:3333
peer            80.123.122.23:3333
key             KEY

route add -net 10.0.0.0 gw 10.0.0.2 cipcb0

(B):

device         cipcb0
ptpaddr        10.0.1.2
ipaddr         10.0.0.2
me              80.123.122.23:3333
peer            80.124.123.12:3333
key             KEY

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 http://www.msn.co.uk/messenger



<< | Thread Index | >> ]    [ << | Date Index | >> ]