Skip to contentSkip to conversation

multiple gateways in linux

DISCUSSION umar draz 3 participants 3 messages Jun 30, 2005 – Jul 5, 2005

lore
Share & tools
lore

umar draz

author
#0 lore raw

hi dear members!

i have 2 DSL connection from diffrent companies. i
attached both DSL modem in my Linux Machine with different ethernet.

i have 4 enternet devices in my linux machine

local network
eth0 = 192.168.1.1
eth1 = 10.0.0.1

DSL network
eth2 = 202.147.167.6 & gateway 202.147.167.1 eth3 = 202.157.170.3 & gateway 202.157.170.1

this machine work as a router now i want when a request come from 192.168.1.0/24 network it should out through my eth2 gateway (202.147.167.1)

and if request from 10.0.0.0/24 network should out through eth3 gateway (202.157.170.1)

regards

Umar Draz

____________________________________________________
Yahoo! Sports
Rekindle the Rivalries. Sign up for Fantasy Football
http://football.fantasysports.yahoo.com

#1 lore raw
Quoted 3 lines · umar draz

i have 2 DSL connection from diffrent companies. i
attached both DSL modem in my Linux Machine with different ethernet.

http://www.ssi.bg/~ja/
http://www.ssi.bg/~ja/nano.txt

Signature · 2 lines
    mail to this address is discarded unless "/dev/rob0"
    or "not-spam" is in Subject: header
#2 lore raw
Quoted 7 lines
Quoted 4 lines

i have 2 DSL connection from diffrent companies. i
attached both DSL modem in my Linux Machine with different ethernet.

http://www.ssi.bg/~ja/
http://www.ssi.bg/~ja/nano.txt

Using -j ROUTE, it's a lot simpler. At least in theory, as I have not yet tried ROUTE.

Jan Engelhardt

Signature · 1 line
| Alphagate Systems, http://alphagate.hopto.org/