Routing question
pll at lanminds.com
pll at lanminds.com
Fri May 9 11:39:21 EDT 2003
Hi all,
I've got a system with 2 NICs in it on 2 separate subnets.
(Yes Ben, both networks have active routers on them for gateways :)
My config files look like this:
DEVICE=eth0 DEVICE=eth3
ONBOOT=yes ONBOOT=yes
BOOTPROTO=none BOOTPROTO=none
IPADDR=10.241.35.18 NETWORK=10.241.37.0
NETMASK=255.255.255.0 IPADDR=10.241.37.70
NETWORK=10.241.35.0 NETMASK=255.255.255.0
BROADCAST=10.241.35.255 BROADCAST=10.241.37.255
GATEWAY=10.241.35.1 GATEWAY=10.241.37.1
With my config files like this, I get:
# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
10.241.35.0 0.0.0.0 255.255.255.0 U 40 0 0 eth0
10.241.37.0 0.0.0.0 255.255.255.0 U 40 0 0 eth3
127.0.0.0 0.0.0.0 255.0.0.0 U 40 0 0 lo
0.0.0.0 10.241.35.1 0.0.0.0 UG 40 0 0 eth0
With this configuration, everything *should* route out eth3, however,
I can't seem to get this to work properly. One NIC responds, but not
the other. In this case, eth0 reponds to pings from off these subnets
(i.e. if I ping from 168.159.31.9), but not eth3.
If I add a second default route for the .37 subnet, like this:
# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
10.241.35.0 0.0.0.0 255.255.255.0 U 40 0 0 eth0
10.241.37.0 0.0.0.0 255.255.255.0 U 40 0 0 eth3
127.0.0.0 0.0.0.0 255.0.0.0 U 40 0 0 lo
0.0.0.0 10.241.37.1 0.0.0.0 UG 40 0 0 eth3
0.0.0.0 10.241.35.1 0.0.0.0 UG 40 0 0 eth0
I then get no response from either NIC.
Note, I am not trying to get this system to actually route, I just want to be able to get to either NIC from off those subnets.
Any idea what I'm missing?
Thanks,
--
Seeya,
Paul
--
Key fingerprint = 1660 FECC 5D21 D286 F853 E808 BB07 9239 53F1 28EE
It may look like I'm just sitting here doing nothing,
but I'm really actively waiting for all my problems to go away.
If you're not having fun, you're not doing it right!
More information about the gnhlug-discuss
mailing list