Use this topic when the symptom or planned change has been narrowed to KVM / QEMU → Linux Bridge. Establish effective host/runtime state before changing configuration.
Linux Bridge · KVM / QEMU
Trace guest vNIC → tap/vnet interface → Linux bridge forwarding/VLAN state → host uplink → external switch/network → return path.
1. Linux bridge connects VM taps to the LAN.
2. Create with NetworkManager, netplan or ifupdown.
3. libvirt <interface type='bridge'>.
4. VLAN filtering optional.
5. Check host IP on bridge.
tap → br0 → NIC
Context & applicabilityCommon mistakes · platform/version boundaries
A bridge and attached tap show local topology only; they do not show upstream VLAN, routing, return path or guest application health.
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 Verification path Verify boundary
Guest stack → virtual NIC → tap/vnet → Linux bridge → host uplink → physical network → destination → return path
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.
- 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.
bridge link— portsip -d link show br0— bridgenmcli con show / cat /etc/netplan/*— persistent config
ReferenceWhat it is1 section · depth on demand
Linux bridge for KVM
nmcli con add type bridge ifname br0 con-name br0
nmcli con add type bridge-slave ifname eno1 master br0
nmcli con modify br0 ipv4.method auto
virsh net-list --all
bridge link ; bridge fdb show br br0
Documented example, not captured output. VMs attach with --network bridge=br0. Each running vNIC appears as a vnetN tap interface on the bridge.
ReferenceImportant terms & boundaries3 sections · depth on demand
What this shows and what it does not
A bridge and attached tap show local topology only; they do not show upstream VLAN, routing, return path or guest application health.
Platform, version and operating-envelope scope
KVM/Proxmox, Hyper-V and VMware semantics differ; bridge/vSwitch names, offloads and counters are platform/version specific.
In depth
Linux bridge for KVM on a plain Linux host (NetworkManager example):
nmcli con add type bridge ifname br0 con-name br0 ipv4.method manual ipv4.addresses 10.0.10.21/24 ipv4.gateway 10.0.10.1 ipv4.dns 10.0.0.53
nmcli con add type bridge-slave ifname eno1 master br0
nmcli con up br0
bridge link
VMs attach with <interface type='bridge'><source bridge='br0'/>. Disable netfilter on bridges unless you need host firewalling of bridged traffic (net.bridge.bridge-nf-call-iptables=0), otherwise host iptables rules may silently drop VM traffic.
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 KVM / QEMU → Linux Bridge. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.qemu.org/docs/master/ · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
KVM / QEMU → Linux Bridge reference map
Fast operational boundaries and evidence limits for KVM / QEMU → Linux Bridge.
| Boundary | What to verify | Evidence limit |
|---|---|---|
| Definition/config | Expected KVM / QEMU → Linux Bridge definition or configuration is present | Configured state does not prove runtime behavior |
| Runtime | Relevant KVM/QEMU/libvirt object or process is active without matching errors | Runtime state does not prove dependencies or guest outcome |
| Dependency | Host CPU/memory, storage, network or device backend required by this path is healthy | Local success does not prove the next boundary |
| Acceptance | Original guest/application test succeeds after the change or observation | Required for end-to-end closure |