Attempting
to bond two hosts through a cisco WS-C3750X-24T-S and then do a transfer test. I wanted to
see the differnces and caveats of mode 0 round robin vs mode 4 LACP and modes 5
TLB and 6 ALB.
I've
tried both and my results are identical to a single NIC no bond.
I;ve
been using nc (netcat to test)
time
cat test_500mb | nc 192.168.0.125 7778 #on host 1
nc
-l -p 7778 > /dev/null #on host 2
LACP
is routed by mac addresses, so a point to point transfer test or using
a
gateway will only use 1 slave device!!!
LACP
1 transfer 2 slaves active:
112MB/s
900mbs
LACP
1 transfer 1 slave active:
112MB/s
900mbs
LACP
2 transfers 2 slaves active:
112MB/s
900mbs
LACP
2 transfers 1 slave active:
112MB/s
898mbs
Round
Robin 2 transfers 2 slaves active:
112MB/s
900mbs
Round
Robin 2 transfers 1 slave active:
112MB/s
898mbs
Hosts
Config.
[root@nps26006
~]# cat /proc/net/bonding/bond1
Ethernet
Channel Bonding Driver: v2.6.1 (October 29, 2004)
Bonding
Mode: load balancing (round-robin)
MII
Status: up
MII
Polling Interval (ms): 100
Up
Delay (ms): 0
Down
Delay (ms): 0
Slave
Interface: eth5
MII
Status: up
Link
Failure Count: 0
Permanent
HW addr: 00:10:18:2c:b6:54
Slave
Interface: eth6
MII
Status: up
Link
Failure Count: 0
Permanent
HW addr: 00:10:18:2c:b6:55
cisco
config
Switch#show
running-config
Building
configuration...
Current
configuration : 2075 bytes
!
version
12.2
no
service pad
service
timestamps debug uptime
service
timestamps log uptime
no
service password-encryption
!
hostname
Switch
!
no
aaa new-model
switch
1 provision ws-c3750g-24t
vtp
domain ciscovtp
vtp
mode transparent
ip
subnet-zero
!
port-channel
load-balance src-dst-mac
no
file verify auto
spanning-tree
mode pvst
spanning-tree
extend system-id
!
vlan
internal allocation policy ascending
!
interface
Port-channel1
switchport
trunk allowed vlan 1-3
!
interface
Port-channel2
no
switchport
no
ip address
!
interface
Port-channel3
no
switchport
no
ip address
interface
Port-channel4
switchport
trunk allowed vlan 1-3
interface
Port-channel5
interface
Port-channel6
interface
GigabitEthernet1/0/1
switchport
trunk allowed vlan 1-3
channel-group
5 mode auto
!
interface
GigabitEthernet1/0/2
switchport
trunk allowed vlan 1-3
channel-group
5 mode auto
interface
GigabitEthernet1/0/3
interface
GigabitEthernet1/0/4
interface
GigabitEthernet1/0/5
interface
GigabitEthernet1/0/6
interface
GigabitEthernet1/0/7
interface
GigabitEthernet1/0/8
interface
GigabitEthernet1/0/9
interface
GigabitEthernet1/0/10
interface
GigabitEthernet1/0/11
interface
GigabitEthernet1/0/12
interface
GigabitEthernet1/0/13
switchport
trunk allowed vlan 1-3
channel-group
6 mode auto
interface
GigabitEthernet1/0/14
switchport
trunk allowed vlan 1-3
channel-group
6 mode auto
interface
GigabitEthernet1/0/15
interface
GigabitEthernet1/0/16
interface
GigabitEthernet1/0/17
interface
GigabitEthernet1/0/18
interface
GigabitEthernet1/0/19
interface
GigabitEthernet1/0/20
interface
GigabitEthernet1/0/21
inteface
GigabitEthernet1/0/22
interface
GigabitEthernet1/0/23
interface
GigabitEthernet1/0/24
interface
Vlan1
ip
address 192.168.0.1 255.255.255.0
interface
Vlan2
no
ip address
interface
Vlan3
no
ip address
ip
classless
control-plane