A bonding's primary setting in /etc/sysconfig/network-scripts/ifcfg-bond0 is not effective

Solution Verified - Updated -

Issue

A bonding's primary setting in /etc/sysconfig/network-scripts/ifcfg-bond0 is not effective.

Setting BONDING_OPTS as below, you may see "Primary Slave: None" on /proc/net/bonding/bond0.

For example:

     # grep BONDING_OPTS   /etc/sysconfig/network-scripts/ifcfg-bond0
     BONDING_OPTS='mode=1 miimon=100 primary=eth0'

     # cat /proc/net/bonding/bond0
     Bonding Mode: fault-tolerance (active-backup)
     Primary Slave: None          <----- here
     Currently Active Slave: eth3
     MII Status: up
     MII Polling Interval (ms): 100
     Up Delay (ms): 0
     Down Delay (ms): 0

     Slave Interface: eth3
     MII Status: up
     Link Failure Count: 0
     Permanent HW addr: XX:XX:XX:XX:XX:XX

     Slave Interface: eth0
     MII Status: up
     Link Failure Count: 0
     Permanent HW addr: XX:XX:XX:XX:XX:XX

Environment

Red Hat Enterprise Linux 5.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.