ETHERNET CHANNEL BONDING CONFIGURATION IN LINUX ?
How to create Ethernet channel bonding in Linux ?
- vi /etc/modprobe.conf
alias bond0 bonding options bond0 mode=1 miimon=100 use_carrier=0Save the file
mode=0|balanced_rr provides load balancing and fault tolerance mode=1|active-ackup provides fault tolerance primary= Specify which NIC is primary (eg:eth0) use_carrier= How to dittermine link status miimon - Link monitoring frquency in milliseconds
BONDING INTERFACE CONFIGURATIONS FILE ( /etc/sysconfig/network-scripts )
# cd /etc/sysconfig/network-scripts
# vi ifcfg-bond0 DEVICE=bond0 IPADDR=192.168.56.3 BOOTPROTO=none NETMASK=255.255.255.0 GATEWAY=192.168.56.1 ONBOOT=yes TYPE=Ethernet
# cat /etc/sysconfig/network-scripts/ifcg-eth0
DEVICE=eth0 MASTER=bond0 SLAVE=yes BOOTPRO=static ONBOOT=yes
# cat /etc/sysconfig/network-scripts/ifcg-eth1 DEVICE=eth1 MASTER=bond0 SLAVE=yes BOOTPRO=static ONBOOT=yes
No comments:
Post a Comment