View Single Post

  #1 (permalink)  
Old 01-14-2004
Rafa
 
Posts: n/a
Default 2 DSL connections and 1 ROUTER

Hi, I need your appreciate Help.

I have one linux box with 3.0 redhat and 3 network cards:

eth0=10.0.0.1/24 ---- connected to private LAN
eth1=192.168.10.1/24 ---- connected to router DSL1 (IP
192.168.10.2/24)
eth2=192.168.20.1/24 ---- connected to router DSL2 (IP
192.128.20.2/24)


I want the following:

Range between 10.0.0.10 to 10.0.0.127 connect to Internet using DSL1 mask
=/24
Range between 10.0.0.128 to 10.0.0.254 connect to Internet using DSL2.
mask=/24

¿How can I do that?
¿using iptables and iproute2?
¿any example?

Thank you very much.




Reply With Quote