Bonding: Difference between revisions
From DWIKI
mNo edit summary |
m (→Debugging) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
Ethernet bonding (trunking), Link Aggregation | Ethernet bonding (trunking), Link Aggregation (lagg) | ||
=Links= | =Links= | ||
Line 29: | Line 29: | ||
cat /sys/devices/virtual/net/bond*/ | cat /sys/devices/virtual/net/bond*/ | ||
link monitoring frequency in milliseconds | |||
cat /sys/class/net/bond0/bonding/miimon | cat /sys/class/net/bond0/bonding/miimon | ||
Latest revision as of 11:41, 10 October 2023
Ethernet bonding (trunking), Link Aggregation (lagg)
Links
- RHEL doc about bonding
- bonding
- Bonding interfaces
- Bonding on Debian
- Link Aggregation and High Availability with Bonding
- Link Aggregation
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*/
link monitoring frequency in milliseconds
cat /sys/class/net/bond0/bonding/miimon
FAQ
change bonding type
only works when the bonding interface is down
ip link set dev bond0 type bond mode active-backup
or
echo 6 > /sys/class/net/bond0/bonding/mode
or
echo balance-alb > /sys/class/net/bond0/bonding/mode