Use this when bundling links for storage bandwidth or redundancy.
Link Aggregation
flows → hash → member links
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Common mistakes Narrow the fault
- LACP for iSCSI expecting more bandwidth per session.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
cat /proc/net/bonding/bond0— bond/LACPswitch: show lacp neighbor— partnerGet-NetLbfoTeam / Get-VMSwitchTeam— Windows teams
ReferenceImportant terms & boundaries3 sections · depth on demand
In depth
Link aggregation adds redundancy; it rarely makes one stream faster
The Linux bonding documentation describes the modes:
| Mode | Behaviour | Switch support |
|---|---|---|
active-backup (1) | One active link, another takes over on failure | None needed |
802.3ad (4) | LACP; links must share speed and duplex | LACP on the switch |
balance-xor (2) | Transmit hash policy chooses the link | Static aggregation |
balance-tlb / balance-alb (5/6) | Adaptive load balancing | None needed |
balance-rr (0) | Round-robin; can stripe one TCP stream but may reorder packets | Static aggregation |
xmit_hash_policy decides how flows are spread. layer2 (the default) uses MAC addresses, so all traffic to one peer uses one link. layer3+4 adds IPs and ports, but the documentation states that a single connection will not span multiple links.
# cat /proc/net/bonding/bond0
Bonding Mode: IEEE 802.3ad Dynamic link aggregation
Transmit Hash Policy: layer3+4 (1)
MII Polling Interval (ms): 100
Slave Interface: ens1f0
MII Status: up
Link Failure Count: 0
Slave Interface: ens1f1
MII Status: up
Link Failure Count: 2
The file shows the mode, active links, MII polling and per-link failure counts.
Storage protocols and bonding
| Protocol | Recommendation |
|---|---|
| iSCSI | Prefer separate interfaces and subnets with multipath instead of a bond |
| NVMe/TCP | Same: multiple paths at the storage layer |
| NFS | Bond for redundancy; one NFS connection uses one link (unless nconnect) |
| SMB | SMB Multichannel can use several NICs without a bond |
| Ceph | Bonds common for redundancy; many OSD connections spread across links |
Checks
miimon=100(or ARP monitoring, not both) so a dead link is detected.- Switch side: LACP configured on the same ports, and an MLAG pair for switch redundancy.
- A rising
Link Failure Counton one link usually points to a cable, optic or switch port.
Documented example, not captured output.
How it works
Reference
For iSCSI, prefer multipath (MPIO) over LACP — iSCSI sessions do not spread across LAG members well. LACP fits NFS/SMB with many clients and Ceph public networks.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Storage Networking → Link Aggregation. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.snia.org/education/storage_networking_primer · confidence 94%