Bonding is a tool/technique in linux to implement network load balancing or fault tolerance.
Install module
apt-get install ifenslave-2.6
Load module with options
modprobe bonding mode=active-backup miimon=100 updelay=200 downdelay=200
active-backup or 1 mode for fault tolerance
balance-rr or 0 (default) mode for load balance
Enlist interfaces for balancing/fallback
ifenslave bond0 wlan0 eth0
Obtain ip on bond0
dhclient bond0
or
ifconfig bond0 192.168.1.5
Remove bond0 interface
rmmod bonding
Install module
apt-get install ifenslave-2.6
Load module with options
modprobe bonding mode=active-backup miimon=100 updelay=200 downdelay=200
active-backup or 1 mode for fault tolerance
balance-rr or 0 (default) mode for load balance
Enlist interfaces for balancing/fallback
ifenslave bond0 wlan0 eth0
Obtain ip on bond0
dhclient bond0
or
ifconfig bond0 192.168.1.5
Remove bond0 interface
rmmod bonding
No comments:
Post a Comment