Bonding: Difference between revisions

From DWIKI
Line 2: Line 2:


=Links=
=Links=
*https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/networking_guide/sec-using_channel_bonding RHEL doc about bonding]
*[https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/networking_guide/sec-using_channel_bonding RHEL doc about bonding]
*[https://wiki.linuxfoundation.org/networking/bonding bonding]
*[https://wiki.linuxfoundation.org/networking/bonding bonding]
*[https://wiki.centos.org/TipsAndTricks/BondingInterfaces Bonding interfaces]
*[https://wiki.centos.org/TipsAndTricks/BondingInterfaces Bonding interfaces]

Revision as of 15:48, 2 March 2022

Ethernet bonding (trunking), Links Aggregation

Links

Commands and tools

ifenslave

ip link

ip link set dev bond0 etc etc

ethtool

ethtool bond0

mii-tool

mii-tool SIOCGMIIPHY on eth0 failed: Operation not supported

manpage: The interface in question does not support MII queries. Most likely, it does not have MII transceivers, at all.


Debugging

cat /proc/net/bonding/bond0 
cat /sys/devices/virtual/net/bond*/
cat /sys/class/net/bond0/bonding/miimon

FAQ

change bonding type

only works when the interfaces are down (slaves or bond??)

ip link set dev bond0 type bond mode active-backup


MII Status: down

bond0: link status definitely down for interface ens1f0, disabling it