Pcornel
Virtualization · KVM / QEMU

Linux Bridge

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

Back to the Topic

Answer

Trace guest vNIC → tap/vnet interface → Linux bridge forwarding/VLAN state → host uplink → external switch/network → return path.

Remember

  • Bridge UP ≠ forwarding path healthy.
  • Tap interface present ≠ guest NIC/driver healthy.
  • MAC learned ≠ VLAN or upstream reachability correct.
  • Host connectivity ≠ guest connectivity through the same bridge.

First checks

  • bridge link — ports
  • ip -d link show br0 — bridge
  • nmcli con show / cat /etc/netplan/* — persistent config

Verify in this order

tap → br0 → NIC

Where it usually breaks

First mismatch in management intent → host/cluster capability → hypervisor runtime/task → virtual resource/device → guest state → workload-visible read-back; preserve identity/native error/pre-state before mutation.

KVM / QEMU → Linux Bridge reference map

BoundaryWhat to verifyEvidence limit
Definition/configExpected KVM / QEMU → Linux Bridge definition or configuration is presentConfigured state does not prove runtime behavior
RuntimeRelevant KVM/QEMU/libvirt object or process is active without matching errorsRuntime state does not prove dependencies or guest outcome
DependencyHost CPU/memory, storage, network or device backend required by this path is healthyLocal success does not prove the next boundary
AcceptanceOriginal guest/application test succeeds after the change or observationRequired for end-to-end closure

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

Confirmation

Confirm action

Continue?