2 gateways - routing based in source address

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

 

_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux