Kernel/network Routing, Kernel/Network Routing
I have a question maybe someone can help with.
The O/S I am running is pretty much a vanilla install of Fedora Core 3.
I have two NIC's in the machine. Eth0 and Eth1
I am attempting to separate the two networks and its traffic.
Here is an image: http://www.xnote.com/~alan/web/routing_problem.jpg
ETH0 has a network of 126.96.36.199 mask 255.255.255.128 and gw 188.8.131.52
ETH1 has a network of 184.108.40.206 mask 255.255.255.224 and gw
Since I have to have a default gateway, I have it set to 220.127.116.11
However, all traffic from the ETH1 goes out the default gateway, which I guess makes sense.
I attempted to add a gw for that network through the route command, so I get
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt
18.104.22.168 22.214.171.124 255.255.255.224 UG 0 0 0
126.96.36.199 0.0.0.0 255.255.255.224 U 0 0 0
188.8.131.52 0.0.0.0 255.255.255.128 U 0 0 0
0.0.0.0 184.108.40.206 0.0.0.0 UG 0 0 0
However the outbound traffic from IP 220.127.116.11 still goes out the default gateway.
My goal is to essentially create a router or something that directs all traffic for each network to its proper gateway.
Thanks in advance for any help.