NIC bonding info
This is a simple one. If you have ever needed to know information about the individual NICs in a bond but didn’t want to have to break the bond to find out, you can “cat /proc/net/bonding/bond0″.
This file will tell you what type of bond you have, who the members are and their current state. See the example below.
If you have more then one bonded group just look in the corresponding file such as bond1 for the second bonded group.
Ethernet Channel Bonding Driver: v3.4.0-1 (October 7, 2008) Bonding Mode: fault-tolerance (active-backup) Primary Slave: eth0 (primary_reselect always) Currently Active Slave: eth0 MII Status: up MII Polling Interval (ms): 100 Up Delay (ms): 1000 Down Delay (ms): 0 Slave Interface: eth0 MII Status: up Speed: 100 Mbps Duplex: full Link Failure Count: 0 Permanent HW addr: 84:2b:2b:f9:47:20 Slave Interface: eth4 MII Status: up Speed: 100 Mbps Duplex: full Link Failure Count: 0 Permanent HW addr: 00:15:17:95:3e:28