TrickAndTweak

Linux Tricks Bonding Interface

auto bond0 iface bond0 inet static

   address 192.168.100.254
   netmask 255.255.255.0
   slaves eth2 eth3
   bond_mode active-backup
   bond_miimon 100
   bond_downdelay 200
   bond_updelay 2000

/etc/modprobe.d/bonding.conf : alias bond0 bonding options bonding mode=1 miimon=100 downdelay=200 updelay=200

/etc/network/interfaces : auto bond0 iface bond0 inet static

        address 192.168.100.254
        netmask 255.255.255.0
        network 192.168.100.0
        broadcast 192.168.100.255
        up /sbin/ifenslave bond0 eth2 eth3

auto eth2 iface eth2 inet manual

        mtu 9000
        up ifconfig eth2 up
        up ifconfig eth2 mtu 9000

auto eth3 iface eth3 inet manual

        mtu 9000
        up ifconfig eth3 up
        up ifconfig eth3 mtu 9000

Trick and tweaks

Other

Certification materials

edit SideBar

Blix theme adapted by David Gilbert, powered by PmWiki