Quote:
# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
|
Welcome back diggs. Above is the output of route on one of my servers, maybe it will help.
Clearly I have 2 NICs, one is 192.168.0.2, and all traffic for addresses in the range 192.168.0.1-254 are routed through here (eth0). The other is 192.168.1.1, and all traffic in the range 192.168.1.1-254 gets routed through this one (eth1). Ignoreing the third entry, which as I understand it aids fault tolerance for dhcp, etc,any traffic not caught by the earlier routes gets routed through the default gatweway. Now my router/modem has an internal IP of 192.168.0.1, so I want any other traffic to route through that, hence the gateway address.
The attached link is a bit old, but look at chapter 4 - it gives a pretty good idea of what's going on.
http://linux-ip.net/html/
I think the routes you need are:
Code:
192.168.10.0 0.0.0.0 255.255.255.0 U 0 0 eth2
192.168.11.0 0.0.0.0 255.255.255.0 U 0 0 eth2:0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 eth2:1
169.254.0.0 0.0.0.0 255.255.255.0 U 0 0 eth2
default 2??.???.???.??? 0.0.0.0 UG 0 0 0 eth0
on the assumption that 2??.???.???.??? is directly connected to the internet (so note the comments above).
Do you not have
an eth1?