From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Bau, Flavien" Date: Tue, 01 Oct 2002 15:28:10 +0000 Subject: [LARTC] RE: IP routing MIME-Version: 1 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C2695F.26629640" Message-Id: List-Id: To: lartc@vger.kernel.org This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C2695F.26629640 Content-Type: text/plain Hi all, 1- I have a CIPE Linux Box (10.73.0.254) which is in the LAN (10.73/16) and which has access to other LANs (10.78/16 , 10.60/16 etc..) thru tunnels I built with CIPE tool. 2- My users on the LAN 10.73/16 have 10.73.0.1 as the default gateway, In this default gateway, I have setup routes to go 10.78/16, 10.60.16 network using the CIPE box (10.73.0.254). This default gateway has also other routes for others internal network (198.162... etc...) The pb: When users from remote LANs try to reach a windows server in 10.73 they cannot because, the IP packet is forwarded by the CIPE Box directly to the windows server without going thru 10.73.0.1. To reply the server will try to use it s default gateway: 10.73.0.1 and not the 10.73.0.254. Of course I could add a static route on my desktops and servers but, it as painful process. The funny thing is that when from my windows server, I ping a remote LAN desktop, it creates a dynamic route and starting from here the remote desktop will be able to ping my windows server Is there any way to avoid that using IP routing: For instance on my CIPE box I would like to say: For source packet which are not from 10.73/16 and which want to reach 10.73/16 the go thru 10.73.0.1 ??? Any suggestions Enclosed a little drawing to explain. NB: I use Linux 7.0 and Linux 7.1 ------_=_NextPart_001_01C2695F.26629640 Content-Type: text/html

 

Hi all,

 

1- I have a CIPE Linux Box (10.73.0.254) which is in the LAN

(10.73/16) and which has access to other LANs (10.78/16 , 10.60/16

etc..) thru tunnels I built with CIPE tool.

2- My users on the LAN 10.73/16 have 10.73.0.1 as the default gateway,

In this default gateway, I have setup routes to go 10.78/16, 10.60.16

network using the CIPE box (10.73.0.254). This default gateway has

also other routes for others internal network (198.162... etc...)

 

The pb:

 

When users from remote LANs try to reach a windows server in 10.73

they cannot because, the IP packet is forwarded by the CIPE Box

directly to the windows server without going thru 10.73.0.1.  To reply

the server will try to use it s default gateway: 10.73.0.1 and not the

10.73.0.254.

 

Of course I could add a static route on my desktops and servers but,

it as painful process.

 

The funny thing is that when from my windows server, I ping a remote

LAN desktop, it creates a dynamic route and starting from here the

remote desktop will be able to ping my windows server

 

Is there any way to avoid that using IP routing: For instance on my

CIPE box I would like to say: For source packet which are not from

10.73/16 and which want to reach 10.73/16 the go thru 10.73.0.1

 

 ??? Any suggestions

 

Enclosed a little drawing to explain.

 

 

NB: I use Linux 7.0 and Linux 7.1

 

------_=_NextPart_001_01C2695F.26629640-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/