When all of your interfaces are in the same subnet, your machine will send
everything through the same interface unless you specify otherwise using
iproute2 and procedures from the Advanced Routing Howto. This is standard
routing behavior, because the machine only needs one interface/route to the
subnet to communicate.
"Xyerp" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) om...
> a <(E-Mail Removed)1> wrote in message
news:<(E-Mail Removed)1>...
> > I have three network cards in a server with
> > two of them acting as bond0 interface -- bonding kernel
> > module
> >
> > The trouble is that no traffic "seems" to go through
> > a third interface, eth2.
> >
> > I have done lots to data transfer via eth2 by connecting via
> > 192.168.1.28. But while the connection is made and
> > data transfer is proceeding no light blinks at
> > the corresponding card. In addition ifconfig
> > tells me that zero byte has been transferred
> > via eth2. While data is being transferred via "eth2"
> > lights blink at two other cards?????
> >
> > Please see below.
> >
> > What gives?
> >
>
> can you ping the IP address bound to eth2? locally? from a remote machine?
> >
> > ---------------
> >
> > $ ifconfig
> > bond0 Link encap:Ethernet HWaddr 00:50:BA:5C:1E:F5
> > inet addr:192.168.1.118 Bcast:192.168.1.255
Mask:255.255.255.0
> > UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
> > RX packets:52059820 errors:0 dropped:0 overruns:0 frame:0
> > TX packets:48409241 errors:0 dropped:0 overruns:38 carrier:0
> > collisions:0 txqueuelen:0
> > RX bytes:1203214730 (1147.4 Mb) TX bytes:4039401576 (3852.2
Mb)
> >
> > eth0 Link encap:Ethernet HWaddr 00:50:BA:5C:1E:F5
> > inet addr:192.168.1.118 Bcast:192.168.1.255
Mask:255.255.255.0
> > UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
> > RX packets:26033646 errors:0 dropped:0 overruns:0 frame:0
> > TX packets:24204621 errors:0 dropped:0 overruns:19 carrier:0
> > collisions:0 txqueuelen:100
> > RX bytes:602206210 (574.3 Mb) TX bytes:2008267855 (1915.2
Mb)
> > Interrupt:5 Base address:0x8000
> >
> > eth1 Link encap:Ethernet HWaddr 00:50:BA:5C:1E:F5
> > inet addr:192.168.1.118 Bcast:192.168.1.255
Mask:255.255.255.0
> > UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
> > RX packets:26026174 errors:0 dropped:0 overruns:0 frame:0
> > TX packets:24204620 errors:0 dropped:0 overruns:19 carrier:0
> > collisions:0 txqueuelen:100
> > RX bytes:601008520 (573.1 Mb) TX bytes:2031133721 (1937.0
Mb)
> > Interrupt:12 Base address:0xa000
> >
> > eth2 Link encap:Ethernet HWaddr 00:E0:4C:A1:65:94
> > inet addr:192.168.1.28 Bcast:192.168.1.255
Mask:255.255.255.0
> > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> > RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> > collisions:0 txqueuelen:100
> > RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
> > Interrupt:10
> >
> > lo Link encap:Local Loopback
> > inet addr:127.0.0.1 Mask:255.0.0.0
> > UP LOOPBACK RUNNING MTU:16436 Metric:1
> > RX packets:228130 errors:0 dropped:0 overruns:0 frame:0
> > TX packets:228130 errors:0 dropped:0 overruns:0 carrier:0
> > collisions:0 txqueuelen:0
> > RX bytes:12082252 (11.5 Mb) TX bytes:12082252 (11.5 Mb)
> >
> > $ 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
> > bond0
> > 192.168.1.0 * 255.255.255.0 U 0 0 0
eth0
> > 192.168.1.0 * 255.255.255.0 U 0 0 0
eth1
> > 192.168.1.0 * 255.255.255.0 U 0 0 0
eth2
> > 127.0.0.0 * 255.0.0.0 U 0 0 0
lo
> > default gw.a 0.0.0.0 UG 0 0 0
> > bond0
|