Greetings,
I'm having some problems setting up ethernet bonding on a couple of
rh9 boxes. Both boxes have 2 intel eepro100 cards and they connect to
a 3com 4300 switch which I set up for 2 groups of 2 trunked ports
(port 1/2 for box A, port 7/8 for box B). I set up both boxes as per
the instructions in /usr/src/linux/Documentation/networking/bonding.txt
- everything looks OK - bond0, eth0 and eth1 interfaces all come up
with a shared MAC address and correct settings for master/slave etc.
However, it's not sharing the load across both interfaces. As ifconfig
below shows, the TX bytes/packets are being shared equally but the RX
is only using 1 interface.
[root@gw root]# ifconfig
bond0 Link encap:Ethernet HWaddr 00:A0:C9:0D:4C:18
inet addr:192.168.0.100 Bcast:192.168.255.255
Mask:255.255.0.0
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:289394 errors:0 dropped:0 overruns:0 frame:0
TX packets:441619 errors:0 dropped:0 overruns:4250 carrier:0
collisions:0 txqueuelen:0
RX bytes:66821395 (63.7 Mb) TX bytes:626920777 (597.8 Mb)
eth0 Link encap:Ethernet HWaddr 00:A0:C9:0D:4C:18
inet addr:192.168.0.100 Bcast:192.168.255.255
Mask:255.255.0.0
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:997 errors:0 dropped:0 overruns:0 frame:0
TX packets:220810 errors:0 dropped:0 overruns:2153 carrier:0
collisions:0 txqueuelen:100
RX bytes:70210 (68.5 Kb) TX bytes:313496175 (298.9 Mb)
Interrupt:11 Base address:0xd800 Memory:ef000000-ef000038
eth1 Link encap:Ethernet HWaddr 00:A0:C9:0D:4C:18
inet addr:192.168.0.100 Bcast:192.168.255.255
Mask:255.255.0.0
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:288397 errors:0 dropped:0 overruns:0 frame:0
TX packets:220809 errors:0 dropped:0 overruns:2097 carrier:0
collisions:0 txqueuelen:100
RX bytes:66751913 (63.6 Mb) TX bytes:313426724 (298.9 Mb)
Interrupt:9 Base address:0xd400 Memory:ee000000-ee000038
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:58 errors:0 dropped:0 overruns:0 frame:0
TX packets:58 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4020 (3.9 Kb) TX bytes:4020 (3.9 Kb)
[root@gw root]# cat /proc/net/bond0/info
Bonding Mode: load balancing (round-robin)
MII Status: up
MII Polling Interval (ms): 0
Up Delay (ms): 0
Down Delay (ms): 0
Multicast Mode: all slaves
Slave Interface: eth1
MII Status: up
Link Failure Count: 0
Slave Interface: eth0
MII Status: up
Link Failure Count: 0
Apart from the packet/byte count, the other box says the same as
above.
Anyone have any ideas about this or what I can do to troubleshoot
further?
Many thanks,
--RR
|