- Install ifenslave
- Load up the driver for bonding (will add in info later, check reference link as for now)
- Locate "interface" /etc/network
- Change the content accordingly based on this sample:
=============================================
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
# Adaptive Load Balancing Teaming
auto eth0
iface eth0 inet manual
bond-master bond0
auto eth1
iface eth1 inet manual
bond-master bond0
auto eth2
iface eth2 inet manual
bond-master bond0
auto eth3
iface eth3 inet manual
bond-master bond0
auto bond0
iface bond0 inet static
address 192.168.0.11
gateway 192.168.0.1
netmask 255.255.255.0
bond-mode balance-alb
bond-miimon 100
bond-slaves eth0 eth1 eth2 eth3
=============================================
- then use command sudo ifdown XXX to bring down all your existing network connection
- next, sudo ifup bond0
- in certain circumstance, you might need to do sudo -s, then bring up all the four Gbe LAN by using ifup eth0, ifup eth1, etc
- to check whether the bonded network loaded up properly, you can go /proc/net/bonding/ and check the bond0
- http://www.cyberciti.biz/tips/debian-ubuntu-teaming-aggregating-multiple-network-connections.html
- http://blog.secaserver.com/2011/11/centos-bonding-multiple-network-interface-card-nics/
- http://www.softpanorama.net/Net/Linux_networking/bonding_multiple_network_interfaces.shtml
- http://www.linux-corner.info/bonding.html
No comments:
Post a Comment