Network bonding refers to the combination of network interfaces on one host for redundancy and/or increased throughput. Redundancy is the key factor: we want to protect our virtualized environment from loss of service due to failure of a single physical link.
We will configure our network cards in “active/backup” configuration. This is a network bonding fallback configuration which means if one of your network cards fails all of the traffic will be instantly switched to the other, still working network card.
1. Install required packages
root@foo1:~# apt-get update
root@foo1:~# apt-get install ifenslave
2. Edit /etc/modules file
Edit /etc/modules file and add “bonding” at the end of it.
root@foo1:~# cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with “#” are ignored.
loop
lp
bonding
3. Stop networking
root@foo1:~# /etc/init.d/networking stop
Continue reading “Ubuntu Network Bonding”