OpenStack Guide

lp
rtc
bonding
If the bonding module is not there, add the bonding keyword word into /etc/modules file.
3. Configure the network interfaces as an active and slave to the bonding interface using the following command:
sudo vi /etc/network/interfaces
The following example shows you to associate eth4 and eth5 as slaves to the bonding interface bond0. In this
example, eth4 is the active interface; eth5 is the slave interface:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 172.16.14.119
netmask 255.255.255.0
network 172.16.14.0
broadcast 172.16.14.255
gateway 172.16.14.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 10.162.168.102
dns-search santanet.dell.com
#eth4 is manually configured, and slave to the "bond0" bonded NIC
#associated interface as a slave to the bonding0 interface.
auto eth4
iface eth4 inet manual
bond-master bond0
#eth5 ditto, thus creating a 2-link bond
# associated interface as a slave to the bonding interface
auto eth5
iface eth5 inet manual
bond-master bond0
#bond0 is the bonding NIC and vcan be used like any other normal NIC.
#bond0 is configured using static network information
auto bond0
iface bond0 inet static
address 192.168.1.10
gateway 192.168.1.1
16