multiple gateways in linux

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

 



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


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux