[LARTC] 2 gateways - routing based in source address

Pablo Fernandes Yahoo fernandes_pablo at yahoo.com.br
Sun May 27 06:21:30 CEST 2007


Hello,

 

I have a linux router, 2 internet access, 2 IP /24 ranges (as source
computers) and 3 interfaces cards.

 

 

(internet 2) 192.168.0.1 on eth0 [LINUX COMPUTER] 192.168.1.1 on eth1
(internet 1)

                                                10.1.0.1 on eth2 (customers)

 

The Sources (customers) are:

 

10.20.0.0/24 

10.30.0.0/24

 

I don't have IP on this ranges in my linux box. There is another router
under my linux box in my topology. But this customers arrives in my eth2
interface. I make SNAT fort his networks in my linux box.

 

The Gateways for internet access are:

 

192.168.0.254 on eth0

192.168.1.254 on eth1

 

I would like to have my customers of 10.20.0.0/24 going out for the internet
2 and the customers on 10.30.0.0/24 going out by the internet 1 (Eth1). 

 

 

Thanks for any help in advance.

 

 

Pablo Fernandes

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ds9a.nl/pipermail/lartc/attachments/20070527/71b51942/attachment.html


More information about the LARTC mailing list