加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

如何将Linux绑定接口设置为千兆位

发布时间:2020-12-14 03:06:20 所属栏目:Linux 来源:网络整理
导读:我已启用 Linux主动备份模式绑定.每个接口都是一个千兆位接口,但绑定接口似乎最终达到100兆位: bonding: bond0: Warning: failed to get speed and duplex from eth1,assumed to be 100Mb/sec and Full....bnx2: eth0 NIC Link is Up,1000 Mbps full duplex
我已启用 Linux主动备份模式绑定.每个接口都是一个千兆位接口,但绑定接口似乎最终达到100兆位:
bonding: bond0: Warning: failed to get speed and duplex from eth1,assumed to be 100Mb/sec and Full.
...
bnx2: eth0 NIC Link is Up,1000 Mbps full duplex,receive & transmit flow control ON  
... 
bonding: bond0: backup interface eth1 is now up

ethtool显然无法提供债券信息:

sudo ethtool bond0
Settings for bond0:
No data available

那么这是否意味着我的运行速度为100或1000兆比特(我猜是1000)?如果它只有100,我需要设置ifcfg脚本或modprobe绑定选项中的哪些选项才能使其成为1000?

解决方法

看起来我在1000,开发人员邮件列表上的某个人对 explain it非常友好:
...
Later,when the slave device asserts carrier up,bonding will
receive a notifiation,and will update the speed and duplex information
(quietly).

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读