Pcornel
Virtualization · Virtual Networking

Bonding

Cheat sheet · https://pcornel.dk/topic.php?topic=3533

Back to the Topic

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 slaves
  • ip -d link show bond0 — bond details
  • cat /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

BoundaryMeaningEvidence limit
Bond modeRedundancy/distribution behaviorDesign
MemberPhysical interfacePer-link evidence
PeerStandalone or aggregateExternal dependency
VM flowEnd-to-end useFunctional proof

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3533

Confirmation

Confirm action

Continue?