Bonding: Difference between revisions

From DWIKI
mNo edit summary
Line 8: Line 8:
*[https://docs.bisdn.de/network_configuration/link_aggregation.html Link Aggregation]
*[https://docs.bisdn.de/network_configuration/link_aggregation.html Link Aggregation]


=Debug info=
=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 /proc/net/bonding/bond0  
Line 19: Line 34:
only works when the interfaces are down (slaves or bond??)
only works when the interfaces are down (slaves or bond??)
  ip link set dev bond0 type bond mode active-backup
  ip link set dev bond0 type bond mode active-backup
==MII Status: down==




[[Category:Network]]
[[Category:Network]]

Revision as of 13:53, 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*/


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