On 7 Apr 2006, in the Usenet newsgroup comp.os.linux.networking, in article
<(E-Mail Removed) .com>,
(E-Mail Removed)
wrote:
>I run a Fedora Core 4 system with two network devices eth0 (assigned
>10.10.10.30) and eth1 (assigned 10.10.10.31). The local network is
>10.10.10.0, the gateway is 10.10.10.1
What is the purpose of having two NICs on the same network? Increased
speed? Only possible on a switched network when connecting to different
hosts at the same time (and a real bear to set up). Redundancy for when
one link fails? See the advanced routing howto.
>Although rules to 10.10.10.0 exists for both eth interfaces, It seems
>that traffic going to the local network at 10.10.10.* goes thru eth0 if
>no interface specified. If I pull out the network cable at eth0,
>ping 10.10.10.100 -> Destination Host Unreachable
>ping 10.10.10.100 -I eth0 -> Destination Host Unreachable
>ping 10.10.10.100 -I eth1 -> Works fine!
Yes - the kernel is assuming you changed your mind, and only uses the last
link configured when they go to the same place. (Honestly, this "problem"
gets posted very frequently because of a lack of understanding of basic
network concepts.)
>How do I add the routes properly so that the machine will look at which
>interface is working or sort of, and choose the correct route?
It is working properly. Perhaps the HOWTO can help if you want to try
something different.
-rw-rw-r-- 1 gferg ldp 297491 Sep 4 2003 Adv-Routing-HOWTO
Old guy