标签: failover

Ubuntu:拔下并重新插入电缆后,ethX 接口未绑定

我正在尝试在绑定中设置故障回复配置,但我无法绕过接口配置。我的界面如下:

auto bond0
iface bond0 inet static
       address 192.168.1.39
       netmask 255.255.255.0
       up /sbin/ifenslave bond0 eth1 eth3
       down /sbin/ifenslave -d bond0 eth1 eth3
Run Code Online (Sandbox Code Playgroud)

我的 /etc/modprobe.d/bonding.conf 文件是:

alias bond0 bonding
options bonding mode=3
Run Code Online (Sandbox Code Playgroud)

我通过从其他系统运行 ping 来测试它。我的保单状态如下:

Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
Bonding Mode: fault-tolerance (broadcast)
MII Status: up
MII Polling Interval (ms): 0
Up Delay (ms): 0
Down Delay (ms): 0

Slave Interface: eth1
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: …
Run Code Online (Sandbox Code Playgroud)

high-availability failover network-bonding

2
推荐指数
1
解决办法
3508
查看次数