查看建立的bond的状态

来源:互联网 发布:外汇新闻网站 知乎 编辑:程序博客网 时间:2024/06/05 15:34

查看建立的bond信息,大致信息如下:
cat /proc/net/bonding/eth1
Ethernet Channel Bonding Driver: v3.4.0 (October 7, 2008)

Bonding Mode: fault-tolerance (active-backup)
Primary Slave: eth2
Currently Active Slave: eth2
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0

Slave Interface: eth2
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:0c:29:db:30:5a

Slave Interface: eth3
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:0c:29:db:30:64

若建立的bond没有起来,使用
nmcli dev disconnect eth1
nmcli dev connect eth1
service restart network

原创粉丝点击