Two network cards = network problem
I am having an issue with a server, which was working before I made a couple of changes. The server is a RH 9 machine and has two NICs in it. Originally, both of these NICs were on the same subnet or segment so there was no issue. But, for a few reasons, I had to change one of the NICs to a different network segment. So, eth0 (which works fine) has a default gateway address, a broadcast address and a network address. eth1 (which does not seem to work) has it's own default gateway and broadcast and network addresses. I have edited the ifcfg-eth1 file to reflect the new settings and I get no error messages when I restart the NIC. I can ping the new IP from the server itself and I can ping hosts on the internet (Google) from the machine (although I suspect that the machine is using eth0 to route out to the internet). However, I cannot ping this new NIC from any other hosts, including hosts on the same segment. I do have a firewall but have tried temporarily disabling it but it still does not function. I suspect this has something to go with a routing issue where eth1 is trying to use the eth0 default gateway to route packets and of course, this is not reachable because it is on a different segment.
So, does anyone see any solutions to this? Anyway to force eth1 to use a different default gateway than eth0?