LACP e Debian NIC bonding não estão funcionando corretamente

0

Estou usando o Debian 9.5 e estou tentando configurar uma interface de ligação. O problema é que Ι ver o tráfego apenas da interface eno2d1 Alguma ideia do que poderia estar errado?

/etc/network.interface:

auto eno1
iface eno1 inet manual
bond-master bond0

auto eno2d1
iface eno2d1 inet manual
bond-master bond0

auto bond0
iface bond0 inet static
address 192.168.100.140/24
gateway 192.168.100.1
netmask 255.255.255.0
dns-nameserver 192.168.100.41 192.168.100.42
dns-search xx.mydomain.com
bond-mode 4
bond-miimon 100
bond-downdelay 1000
bond-lacp-rate 1
xmit_hash_policy 0

cat / proc / net / ligação / ligação0:

Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)

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): 1000

802.3ad info
LACP rate: fast
Min links: 0
Aggregator selection policy (ad_select): stable
System priority: 65535
System MAC address: 00:0a:f7:be:e5:88
Active Aggregator Info:
        Aggregator ID: 19
        Number of ports: 2
        Actor Key: 13
        Partner Key: 32818
        Partner Mac Address: 00:23:04:ee:be:0a

Slave Interface: eno1
MII Status: up
Speed: 10000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 00:0a:f7:be:e5:88
Slave queue ID: 0
Aggregator ID: 19
Actor Churn State: none
Partner Churn State: none
Actor Churned Count: 0
Partner Churned Count: 0
details actor lacp pdu:
    system priority: 65535
    system mac address: 00:0a:f7:be:e5:88
    port key: 13
    port priority: 255
    port number: 1
    port state: 63
details partner lacp pdu:
    system priority: 32667
    system mac address: 00:23:04:ee:be:0a
    oper key: 32818
    port priority: 32768
    port number: 26654
    port state: 61

Slave Interface: eno2d1
MII Status: up
Speed: 10000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 00:0a:f7:be:e5:89
Slave queue ID: 0
Aggregator ID: 19
Actor Churn State: none
Partner Churn State: none
Actor Churned Count: 0
Partner Churned Count: 0
details actor lacp pdu:
    system priority: 65535
    system mac address: 00:0a:f7:be:e5:88
    port key: 13
    port priority: 255
    port number: 2
    port state: 63
details partner lacp pdu:
    system priority: 32667
    system mac address: 00:23:04:ee:be:0a
    oper key: 32818
    port priority: 32768
    port number: 10270
    port state: 61

# ifstat

       eno1               eno2d1              bond0       
 KB/s in  KB/s out   KB/s in  KB/s out   KB/s in  KB/s out
    0.12      0.00      1.63      0.99      1.75      0.99
    0.12      0.00      0.56      0.19      0.68      0.19
    0.12      0.00      0.90      0.62      1.02      0.62
    0.12      0.00      0.47      0.19      0.59      0.19
    0.12      0.00      0.36      0.19      0.48      0.19

Configuração do switch. É um Cisco LACP:

interface Ethernet107/1/30
  switchport access vlan 111
  channel-group 50 mode active

interface port-channel50
  switchport access vlan 111
  speed 10000
  vpc 50
    
por amprantino 09.10.2018 / 10:56

0 respostas