Comments on How to configure failover and high availability network bonding on Linux

This tutorial explains how to configure network bonding on Linux server. Before I start, let me explain what network bonding is and what it does. In a Windows environment, network bonding is called network teaming, this is a feature that helps any server architecture to provide high availability and failover in scenarios were one of the main ethernet cable has a malfunction or is misconfigured.

6 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Matthew Lenz

Debian based OSes are a piece of cake

$ apt-get install ifenslave

$ zcat /usr/share/doc/ifenslave/README.Debian.gz

$ vi /etc/network/interfaces

## Relavent lines

auto bond0

iface bond0 inet static

.

.

.

bond_mode active-backup

bond_miimon 100

bond_downdelay 200

bond_updelay 200

bond_primary eth0

slaves eth0 eth1

$ systemctl restart networking

By: Kparker

Can this bonding configuration also be used with multiple vlan interfaces?

For example:

ifcfg-eth0ifcfg-eth1

ifcfg-eth0.888ifcfg-eth1.888

 

By: Karthi99

Hi... Does this works with SuSE too? Because i tried with SLES11 and its failing.

By: Lance

Awesome example & instructions! Thanks for sharing.

By: Khairul

Thanks for documents .. Speciallly for test case ....

By: LInux Guy

So, what are you connecting the other ends of the cables to?  Probably worth a discussion, no?