Networking Forums

Networking Forums > Computer Networking > Linux Networking > Host to host NIC bonding works only in one direction

Reply
Thread Tools Display Modes

Host to host NIC bonding works only in one direction

 
 
ricketts.s@gmail.com
Guest
Posts: n/a

 
      07-18-2007, 09:57 PM
I am trying to set up a host-to-host link (no switch) between two
ubuntu machines. I would like to use NIC bonding so that the link is
made of two (or more) wired ethernet channels. My NICs support 100 Mb/
s. In one direction (host a to host b), I can get about 190 Mb/s
measured with iperf. In the other, however, I am only getting about 95
Mb/s.

My setup is as follows. Host A has a Broadcom BCM4401-B0 and a US
Robotics USR997902. Host B has an Intel Pro 100 VE and a Realtek
RTL-8139. Each machine also has a third NIC installed that I am not
using. The Broadcom is wired directly to the Realtek, and the USR to
the Intel. To configure the bonding, I first run mii-tool to make sure
my links are ok. Then on each host I run

modprobe bonding miimon=100
ifconfig bond0 <addr>
ifenslave bond0 ethX ethY

where <addr> is the address of the other host and ethX and ethY are
the appropriate devices. These instructions come from an example in
Documentation/networking/bonding.txt.

To measure the performance, I use iperf. I have tried both TCP and
UDP. In both cases, the throughput is at 190 Mb/s when host a is the
client and host b is the server, but when the opposite is true, the
throughput is 95 Mb/s.

A quick check of ifconfig shows that the USR on host a has only
received 93 packets after running several performance tests, while the
Broadcom has received about 300,000. However, their TX levels are both
at about 350,000. So it seems the Intel->USR channel works only in one
direction under the bonding.

Any ideas? What other kind of output would help debug this problem?

Thanks,
S.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IPv4 host behind NAT talking to IPv6 host Noob Linux Networking 8 07-28-2011 10:34 PM
Host-to-host connection in wireless adhoc network? Tim Boneko Linux Networking 0 08-17-2005 05:28 PM
how does ftp on single host works Jaggu Linux Networking 7 08-04-2005 03:57 PM
Linux<->Windows connection using USB host-to-host cable =?iso-8859-2?Q?Rados=B3aw?= Grzanka Linux Networking 0 04-10-2004 03:23 PM
Access to public host from private host through Linux router Santanu Chatterjee Linux Networking 5 11-14-2003 11:57 PM



1 2 3 4 5 6 7 8 9 10 11