Bonding
Cheat sheet · https://pcornel.dk/topic.php?topic=3533
Answer
Bonding is a host networking mechanism that combines multiple physical interfaces into one logical interface for redundancy and/or traffic distribution, commonly used beneath virtual bridges or switches.
Remember
- Bonding mode determines peer requirements and traffic-distribution behavior.
- A bond can report up while one member or one upstream path is impaired.
- LACP-based bonds require compatible negotiation and aggregation state on the peer.
- The bridge/switch above the bond can be healthy even when one physical member path is wrong.
First checks
cat /proc/net/bonding/bond0— bond mode and slavesip -d link show bond0— bond detailscat /etc/network/interfaces— config
Verify in this order
NICs → bond → bridge → VMs
Where it usually breaks
First mismatch in guest NIC → virtual switch/bridge → VLAN/port group/security policy → physical uplink → routed path → peer/workload; preserve identity/native error/pre-state before mutation.
Virtual Networking → Bonding reference map
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Bond mode | Redundancy/distribution behavior | Design |
| Member | Physical interface | Per-link evidence |
| Peer | Standalone or aggregate | External dependency |
| VM flow | End-to-end use | Functional proof |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3533