2 bonded ethernet cards only transferring 10mbit/s
Posted on 2004-08-02
I've read a number of papers, including the provided bonding.txt. I appear to HAVE everything working... the ifconfig -a returns the proper values in bond0, eth0 and eth1.
My Routing table shows Bond0 with all the appropiate traffic.
mii-tool on both eth0 and eth1 show 100baseTx-FD. So those are good. But when I ran iperf to test I noticed I was only getting between 8-13mbit/s bandwidth.
So on a whim I did mii-tool bond0:
bond0: 10 Mbit, half duplex, link ok
That only shows on all my Fedora Core 1 machines. On the 1 Mandrake machine I have it returns:
SIOCGMIIPHY on 'bond0' failed: No such device
That is what I am sure is SUPPOSED to happen, since Bond0 is not an ACTUAL device. But on all the Fedora Machines I get the message above. That is telling me that my Fedora Machines are forcing a Bottleneck of 10 MBit, half duplex. Which corresponds to me getting between 8-13 mbit/s using iperf. (each interface giving around 5 mbit/s).
I can't do mii-tool bond0 -F 100baseTx-FD ... it Says No such device, obviously.
I have added the following in modules.conf:
alias bond0 bonding
options bond0 mode=0 miimon=100
probeall bond0 eth0 eth1 bonding
And when I boot up my exact commands to get the network started is :
ifconfig bond0 xxx.xxx.xxx.xxx netmask 255.255.255.0 broadcast xxx.xxx.xxx.255 up
ifenslave bond0 eth0 eth1
It enslaves the network cards, reports both of the cards auto-negotiated (or were forced, depending on machine) to 100 MBit Full Duplex.
I attempted to Assign eth0 a IP Address and network, and NOT assign bond0 anything via ifconfig, but when i run
ifconfig bond0 eth0 eth1
It reports with a bunch of errors saying unable to get IP Address/MAC Address/Broadcast address etc. from Master Device
then says interface 'bond0' not up.
I am running a Migshm patched Openmosix 2.4.24 kernel.. All machines Mandrake and Fedora alike are running the exact same kernel with the same drivers.