我有ubuntu20.04运行netplan版本的0.102-0ubuntu1~20.04.2,我正在尝试使用选项arp-ip-target配置active-backup键
bonds:
bond0:
dhcp4: no
interfaces:
- eno49
- eno50
parameters:
mode: active-backup
arp-ip-targets: [ 10.64.0.1 ]
arp-interval: 3000这是我的债券产出
# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
Bonding Mode: fault-tolerance (active-backup)
Primary Slave: None
Currently Active Slave: eno49
MII Status: up
MII Polling Interval (ms): 0
Up Delay (ms): 0
Down Delay (ms): 0
Peer Notification Delay (ms): 0
ARP Polling Interval (ms): 3000
ARP IP target/s (n.n.n.n form): 10.64.0.1
Slave Interface: eno50
MII Status: down
Speed: 10000 Mbps
Duplex: full
Link Failure Count: 1
Permanent HW addr: 5c:b9:01:9d:ac:ad
Slave queue ID: 0
Slave Interface: eno49
MII Status: up
Speed: 10000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 5c:b9:01:9d:ac:ac
Slave queue ID: 0为了进行测试,我禁用了上游交换机端口,以查看我的债券故障转移,但它看起来不工作。我还有什么要排除的吗?
发布于 2021-11-04 02:03:06
在添加arp_validate: all之后,它就能工作了!
parameters:
mode: active-backup
arp-ip-targets: [ 10.64.0.1 ]
arp-interval: 3000
arp-validate: allhttps://unix.stackexchange.com/questions/676029
复制相似问题