Bonding in linux
Bonding in RHEL5
In many circumstances, we require stable network connectivity with servers,We have two network cards and we have to use both without disabling network services, there comes 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.
Procedure to configure NIC bonding in Linux
Edit the Files as follows,
- vi /etc/modprobe.conf
alias bond0 bonding
options bonding miimon=100 mode=1
- vi /etc/sysconfig/network-scripts/ifcfg-eth0
- vi /etc/sysconfig/network-scripts/ifcfg-eth1
And create new file as below,
- vi /etc/sysconfig/network-scripts/ifcfg-bond0
Restart the server. Give ifconfig, you will find bond0 is up with configured IP Address and eth0 and eth1 will be as slave.
No comments yet.