Is 802.3ad bonding broken in Ubuntu? This was the case on 15.10 and now 16.04
I have some serious strangeness going on. The bond is up and working, but i get errors on boot or when I try to restart networking:
Code:
❯ ping 10.0.2.1 -I bond0 -c2 root@mynas
PING 10.0.2.1 (10.0.2.1) from 10.0.2.35 bond0: 56(84) bytes of data.
64 bytes from 10.0.2.1: icmp_seq=1 ttl=64 time=0.268 ms
64 bytes from 10.0.2.1: icmp_seq=2 ttl=64 time=0.263 ms
--- 10.0.2.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
❯ cat /proc/net/bonding/bond0 root@nas
Etheet Chael 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): 100
Down Delay (ms): 100
802.3ad info
LACP rate: fast
Min links: 0
Aggregator selection policy (ad_select): stable
System priority: 65535
System MAC address: XXXXXX
Active Aggregator Info:
Aggregator ID: 1
Number of ports: 2
Actor Key: 9
Partner Key: 2
Partner Mac Address: XXXXX
Code:
❯ ifdown bond0 root@nas ifdown: interface bond0 not configured ~ ❯ ifup bond0 Waiting for a slave to join bond0 (will timeout after 60s) RTNETLINK answers: File exists Failed to bring up bond0.
Code:
#bond auto bond0 iface bond0 inet static metric 200 address 10.0.2.35 netmask 255.255.255.0 mtu 9000 bond-slaves enp4s0 enp5s7 auto enp4s0 iface enp4s0 inet manual bond-master bond0 auto enp5s7 iface enp5s7 inet manual bond-master bond0
Code:
options bonding mode=802.3ad miimon=100 lacp_rate=1 updelay=100 downdelay=100
Thanks for any insight.
برچسب:
نویسنده: استخدام کار