SO: CentOS 6.6 / 64bit / Kernel 2.6.32-504.30.3.el6.x86_64
Eu tenho bond0
interface com a seguinte configuração.
Ethernet Channel Bonding Driver: v3.6.0 (September 26, 2009)
Bonding Mode: IEEE 802.3ad Dynamic link aggregation
Transmit Hash Policy: layer2 (0)
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0
802.3ad info
LACP rate: slow
Aggregator selection policy (ad_select): stable
Active Aggregator Info:
Aggregator ID: 7
Number of ports: 2
Actor Key: 17
Partner Key: 3
Partner Mac Address: a4:56:30:c6:0d:00
Slave Interface: eth0
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 2
Permanent HW addr: 9c:8e:99:0d:1a:f2
Aggregator ID: 7
Slave queue ID: 0
Slave Interface: eth1
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 2
Permanent HW addr: 9c:8e:99:0d:1a:f4
Aggregator ID: 7
Slave queue ID: 0
modprobe.conf
alias bond0 bonding
options bond0 mode=4 miimon=100
Configuração do switch Cisco:
interface Port-channel1
description Linux-bond0
switchport access vlan 10
interface GigabitEthernet0/7
switchport access vlan 10
spanning-tree portfast
spanning-tree guard root
channel-protocol lacp
channel-group 1 mode active
!
interface GigabitEthernet0/8
switchport access vlan 10
spanning-tree portfast
spanning-tree guard root
channel-protocol lacp
channel-group 1 mode active
!
Problema
Estou recebendo o pacote RX em bond0
e eth0
interface no Linux (mas não na eth1)
bond0 : RX packets:575214161 errors:0 dropped:6407 overruns:0 frame:0
eth0 : RX packets:573623915 errors:0 dropped:6410 overruns:0 frame:0
eth1 : RX packets:1590356 errors:0 dropped:0 overruns:0 frame:0
Eu verifico o MRTG para ver o fluxo de tráfego e sua taxa de ~ 30mbps
Mas coisa interessante. Estou vendo todo o tráfego de 30mbps em eth0, eth1 tem pouco tráfego de kbps. Isso significa que meu link não está fazendo balanceamento de carga, certo?
cactos que relatam os dados a seguir. O LACP deve compartilhar o tráfego nos dois links certos?
eth0: 30mbps
eth1: 600kbps