On 8/2/07, Ramang G mailramang@yahoo.com wrote:
Hi all,
I have 2 nic's in my machine with FC6 loaded....... iam assinging two same range ip's i.e 10.0.10.1 & 10.0.10.2 with all the subnet mask and gateway address being the same for each of the interfaces......
If you have both interfaces with identical configuration, only one of the gateway entries is used.
Do `/sbin/route -n` and you'll see two entries for UG -- one each for eth0 and eth1. Only one of them is used in practice, even if both show up. For example, if your gateway is reachable from eth0 then it will never be reachable from eth1 till the time that the eth0 interface is configured. Only when you deconfigure eth0, will you be able to use the eth1 gateway. In fact, I suspect you'll have to refresh eth1 as well.
It is generally not very good practice to have two identically configured interfaces active from the same machine at the same time; it will be a debugging hell. Make it such that at any given time, one of the two devices is de-configured and the other is configured.