Even though bonding has been configured for mode 1 [active backup], it still shows as Mode 0 [Round-

博客围绕Red Hat Enterprise Linux系统展开,指出即便在/etc/modprobe.conf中配置为模式1绑定,运行cat /proc/net/bonding/bond0仍显示为模式0。给出两种解决办法,一是重新加载绑定驱动或重启系统,二是更新initscripts及其依赖版本。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

https://access.redhat.com/solutions/117203

 SOLUTION 已验证 - 已更新 2016年八月15日15:13 - 

English 

环境

  • Red Hat Enterprise Linux, all versions

问题

  • Although the system has been configured with mode 1 bonding in /etc/modprobe.conf, running cat /proc/net/bonding/bond0 still shows the bonding to be configured as mode 0 [round-robin]:

    Raw

      Ethernet Channel Bonding Driver: v2.6.3-rh (June 8, 2005)
    
      Bonding Mode: load balancing (round-robin)
      MII Status: up
      MII Polling Interval (ms): 100
      Up Delay (ms): 0
      Down Delay (ms): 0
    
      Slave Interface: eth0
      MII Status: up
      Link Failure Count: 0
      Permanent HW addr: 00:0c:29:40:be:67
    
      Slave Interface: eth1
      MII Status: up
      Link Failure Count: 0
      Permanent HW addr: 00:0c:29:40:be:71
    

决议

  • Reload the bonding driver or reboot the system. To reload the bonding driver:

    Raw

     # service network stop
     # modprobe -r -v bonding     -- or # modprobe -r -v bonding -o bond0
     # service network start
    
  • Running cat /proc/net/bonding/bond0 now shows mode 1:

    Raw

     Ethernet Channel Bonding Driver: v2.6.3-rh (June 8, 2005)
    
     Bonding Mode: fault-tolerance (active-backup)
     Primary Slave: None
     Currently Active Slave: eth0
     MII Status: up
     MII Polling Interval (ms): 100
     Up Delay (ms): 0
     Down Delay (ms): 0
    
     Slave Interface: eth0
     MII Status: up
     Link Failure Count: 0
     Permanent HW addr: 00:0c:29:40:be:67
    
     Slave Interface: eth1
     MII Status: up
     Link Failure Count: 0
     Permanent HW addr: 00:0c:29:40:be:71
    
  • Another possible resolution that can be applied is to update the version of initscripts and its dependencies.
    Previous version such as initscripts-9.03.31-2.el6.x86_64 on Rhel 6.3 has been known to cause this issue.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值