Command To check Network Bonding / NIC Teaming in Centos/RHEL

0
6468

Network Bonding / NIC Teaming  is creation of a single bonded interface by combining 2 or more Ethernet interfaces. This helps in high availability and performance improvement.

Step:1 Check the  bond interface using ifconfig Command as shown below :

[root@localhost ~]# ifconfig | grep -i bond

bonding

 Step:2  Bond interface files

[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-bond0
BONDING_OPTS="mode=1 primary=eth0 miimon=100"
ONBOOT=yes
DEVICE=bond0
BOOTPROTO=none
BRIDGE=br0
TYPE=BOND

Step:3 Status of Bond interfaces

[root@localhost ~]# cat /proc/net/bonding/bond0

bond-status

According to the above Output , Active Passive Bonding is configured , where eth0 and eth4 are bonded together and form the bond interface(i.e bond0) . Lan cards eth0 & eth4 both are up and eth0 is active

LEAVE A REPLY