Nic bonding (Ubuntu specific)

home | blog | Teh Internet | guest blog |rants | placeholder | political | projects | Gwen and Liam | Citadel patched | Tools | Scouts


- Careful Chrome users, this search box might be "Not secure"



Here is some info on changes to get nic bonding in Ubuntu
Edit /etc/modprobe.d/aliases.conf
(create if not there).  Swap out your eth modules for the card you use and change the nic designations to be the ones you wish to bond.

alias bond0 bonding
alias eth0 igb
alias eth1 igb
options bond0 mode=0 miimon=100 downdelay=200 updelay=200

Pick the mode that best works for you.

Install ifenslave

Change your /etc/network/interfaces
(remove old cruft from autoconfigured ethx, y or z that you are bonding:

iface eth0 inet manual
iface eth1 inet manual
auto bond0
iface bond0 inet static
bond_miimon 100
bond_mode balance-rr
address w.x.y.z
netmask z.z.z.z
gateway p.q.r.s
up /sbin/ifenslave bond0 eth0 eth1
down /sbin/ifenslave -d bond0 eth0 eth1

You might want to disable ipv6 in /etc/sysctl.conf (if you are not using it) so you don't end up with the same ipv6 auto assigned to 2 cards:
#disable ipv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1



[æ]