October 30, 2014
 
 
RSSRSS feed

Boost Reliability with Ethernet Bonding and Linux - page 4

Recycling the Ethernet

  • August 30, 2007
  • By Carla Schroder

To load the module with the options you want at boot, edit /etc/modprobe.d/arch/i386 and add these lines. Ignore any documentation that tells you to use a different file because that is wrong:

alias bond0 bonding

options bond0 mode=balance-alb miimon=100

Then enshrine your settings in /etc/network/interfaces, using your own addresses of course:

auto bond0
iface bond0 inet static
        address 192.168.1.101
        netmask 255.255.255.0
        network 192.168.1.0
        broadcast 192.168.1.255

        gateway 192.168.1.50
        up /sbin/ifenslave bond0 eth0 eth1
        down ifenslave -d bond0 eth0 eth1
Sitemap | Contact Us