Bonding, one slave always down and does not come up
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Bonding Mode: fault-tolerance (active-backup)
Primary Slave: None
Currently Active Slave: eth2
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0
Slave Interface: eth0
MII Status: down
Speed: Unknown
Duplex: Unknown
Link Failure Count: 0
Permanent HW addr: 00:e0:ed:21:46:b0
Slave queue ID: 0
Slave Interface: eth2
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 3
Permanent HW addr: 00:e0:ed:2d:20:62
Slave queue ID: 0
this is in bonding.conf
cat /etc/modprobe.d/bonding.conf
alias bond0 bonding
This is in dmesg
Ethernet Channel Bonding Driver: v3.6.0 (September 26, 2009)
bonding: bond0: Setting MII monitoring interval to 100.
bonding: bond0: setting mode to active-backup (1).
bonding: bond0: Setting MII monitoring interval to 100.
bonding: bond0: setting mode to active-backup (1).
bonding: bond0: Setting MII monitoring interval to 100.
bonding: bond0: setting mode to active-backup (1).
ADDRCONF(NETDEV_UP): bond0: link is not ready
8021q: adding VLAN 0 to HW filter on device bond0
bonding: bond0: Setting MII monitoring interval to 100.
bonding: bond0: setting mode to active-backup (1).
bonding: bond0: Adding slave eth0.
8021q: adding VLAN 0 to HW filter on device eth0
(null): Dropping TSO features since no CSUM feature.
(null): Dropping TSO6 features since no CSUM feature.
bonding: bond0: enslaving eth0 as a backup interface with a down link.
bonding: bond0: Adding slave eth2.
8021q: adding VLAN 0 to HW filter on device eth2
(null): Dropping TSO features since no CSUM feature.
(null): Dropping TSO6 features since no CSUM feature.
bonding: bond0: enslaving eth2 as a backup interface with a down link.
ADDRCONF(NETDEV_UP): bond0: link is not ready
8021q: adding VLAN 0 to HW filter on device bond0
igb: eth2 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
ixgbe 0000:04:00.0: registered PHC device on eth6
Location: 1st hop-NYC/NewJersey shore,north....2nd hop-upstate....3rd hop-texas...4th hop-southdakota(sturgis)...5th hop-san diego.....6th hop-atlantic ocean! Final hop-resting in dreamland dreamwalking and meeting new people from past lives...gd' night.
Distribution: Siduction, the only way to do Debian Unstable
Posts: 506
Rep:
Pull the cable on the nic that is running, the other nic should come up automatically.
This is what the config looks like similar to raid 1. one drive fails the other mirrored
pops into play.
Is this what you want it to do, or do you want both to work at sametime?
Is NetworkManager running? If yes it can interfere in unpredictable ways, since you didn't specify NM_CONTROLLED=no in the ifcfg files.
Also, what happens when you set eth0 up manually? You could try three methods: service network restart ifup eth0 ip link set dev eth0 up
I tried your configuration in a virtual machine, and my result is different - both interfaces are up. However, I am a bit surprised to see ONBOOT=no in your config files. It might not matter, but /usr/share/doc/kernel-doc-2.6.32/Documentation/networking/bonding.txt sets ONBOOT to yes.
Network Manager doesn't cause things to act unpredictably, network Manager flat out does not work with bonds in RHEL 6.5. RHEL 7 is another story.
So put the nm_controlled=no key in all 3 files, stop network Manager, chkconfig it off, as well. Then run service network restart, but you may need to reboot it to get thing working right again.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.