Fast debian / ubuntu bonding

On debian : HOWTO

There is just one different thing on Ubuntu , aliases becomes modprobe.d/bonding.conf. (it should work anyway I guess. )

root@fbmgrid01:/home/sgeadmin# cat /etc/modprobe.d/bonding.conf
alias bond0 bonding
options bonding mode=0 miimon=100
root@fbmgrid01:/home/sgeadmin# cat /etc/network/interfaces|grep -v ^#

auto lo
iface lo inet loopback

auto bond0
iface bond0 inet static
pre-up ifconfig bond0 up
pre-up ifconfig eth1 up
pre-up ifconfig eth0 up
address 84.88.79.131
netmask 255.255.255.192
gateway 84.88.79.129
dns-nameservers 84.88.79.2 84.88.79.3
dns-search barcelonamedia.org
up ifenslave bond0 eth1 eth0
down ifconfig eth1 down
down ifconfig eth0 down
down ifenslave -d bond0 eth1 eth0

And then just restart the network.

Enjoy.

You must be logged in to post a comment.