NSAS Wiki

Network System Access Solutions

User Tools

Site Tools


Sidebar

Contact

linux:bonding

The Linux bonding driver provides a method for aggregating multiple network interfaces into a single logical “bonded” interface. The behavior of the bonded interfaces depends upon the mode; generally speaking, modes provide either hot standby or load balancing services. Additionally, link integrity monitoring may be performed.

README BONDING

Required

apt-get install ifenslave-2.6

Current Mode

cat /sys/class/net/bond0/bonding/mode

Network Settings

/etc/network/interfaces
# The loopback network interface
auto lo
iface lo inet loopback
 
auto bond0
iface bond0 inet static
#    hwaddress ether 90:e6:ba:36:88:1a
    address 192.168.41.145
    netmask 255.255.255.0
    network 192.168.41.0
    broadcast 192.168.41.255
    gateway 192.168.41.254
    slaves eth0 eth1
    bond_mode 0
    bond_miimon 100
    bond_updelay 200
    bond_downdelay 200
    up ifenslave bond0 eth0 eth1
    down ifenslave -d bond0 eth0 eth1
linux/bonding.txt · Last modified: 2013/05/23 11:36 (external edit)