A REAL setup guide for NIC bonding in Ubuntu Server 12.04/12.04.2 because everyone online sucks at actually posting the correct information, probably due to the current explosion of online “experts” plagiarizing other “experts” online…
This was tested on a HP DL380 with Dual Broadcom NICS.
enter root mode:
sudo bash
then install the bonding drivers:
apt-get install ifenslave-2.6
edit /etc/network/interfaces
vim /etc/network/interfaces
You can pretty much copy the following into interfaces after line 5 # The loopback network interface
################################################
auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp bond-master bond0 auto eth1 iface eth1 inet dhcp bond-master bond0 auto bond0 iface bond0 inet static address 192.168.1.xxx <----------( Enter Your Actual Server IP ) netmask 255.255.255.0 <----------( Enter Your Actual Subnet ) gateway 192.168.1.1 <----------( Enter Your Actual router/gateway IP ) bond-slaves none bond-miimon 100 bond-mode balance-rr ( Driver Mode )
################################################
edit /etc/modules
vim /etc/modules
and add bonding under rtc value
loop
lp
rtc
bonding
reboot your box or restart network services, Thats pretty much it… questions or comments? Use the comment functionality :)