Page 1 of 1

Round-robin "crossover" bonded connection

Posted: 2007/10/23 19:09:32
by ssedlmeyer
I have a round-robin (mode=0) bonded connection using 3 direct NIC to NIC (gig-e) connections between 2 servers. The connection comes up fine and all three interfaces on both sides seem to be working but if I ping one machine from the other it looks like only 1 out of 3 replies make it back... this, of course, could also mean that only one out of three echo requests made it across to begin with.

My configuration looks like the following:

modprobe.conf:

alias bond0 bonding
options bond0 mode=0 miimon=100

ifcfg-eth(2-4):

DEVICE=ethx
MASTER=bond0
SLAVE=yes
ONBOOT=yes
USERCTL=no
BOOTPROTO=none

ifcfg-bond0:

DEVICE=bond0
BOOTPROTO=none
# address is 192.168.2.30 on 2nd machine
IPADDR=192.168.2.10
NETWORK=192.168.2.0
NETMASK=255.255.255.0
ONBOOT=yes
USERCTL=no

The same configuration works fine through a Dell PowerConnect 2724 switch but only does load balancing on the transmit side, with all traffic arriving at it's destination over a single connection. The goal here is to bond the three channels to maximize the network bandwidth for a single tcp session between them as opposed to load balancing multiple connections across the nics.

Anyone have any idea if this should work and, if so, what I'm doing incorrectly?

sps

Re: Round-robin "crossover" bonded connection

Posted: 2007/10/23 19:28:54
by pjwelsh
Does the forum info from this help:
http://www.centos.org/modules/newbb/viewtopic.php?topic_id=10641&forum=40