Use it when a VM has partial or failed connectivity and the symptom could originate in guest configuration, virtualization policy, host networking or the external network.
Virtual Network Troubleshooting
1. Check guest IP, link and VLAN first.
2. Capture on tap, bridge and uplink.
3. Check MAC learning and security policies.
4. Check MTU.
5. Check physical switch VLAN/trunk.
guest → vNIC → vSwitch → uplink → physical switch
Run a regression check on representative adjacent traffic and preserve before/after evidence.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
It does not show unrelated VMs, VLANs, paths, failover states or workloads are healthy.
Next check: Run a regression check on representative adjacent traffic and preserve before/after evidence.
Operational reference
Fast context before you go deeper.
bridge linkPrimary Commands
Configuration and operational commands for this Topic.
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.
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.
- Start with the exact failing source, destination, protocol and time; “network down” is too broad.
- Prove each boundary in order and stop at the first point where expected traffic/state diverges.
- Local link/port success does not prove VLAN, routing, NAT, MTU, DNS or application success.
- Make one controlled change at a time and retest the original workload, not only a substitute ping.
virsh domifstat <vm> <vnet>— VM NIC counterstcpdump -e -i <tap|bridge>— see frames at each hopbridge fdb show | grep <mac>— MAC learned
ReferenceImportant terms & boundaries3 sections · depth on demand
What this shows and what it does not
A successful test at one boundary shows only that boundary for that traffic; it must not be promoted into evidence that the entire virtual network or application is healthy.
Once the first failing step is identified, continue in the specialist branch: VLAN/trunk, teaming/bonding, overlay, Networking routing/DNS, platform-specific virtual switch, etc.
In depth
Follow one packet from the guest to the wire
guest eth0 → tap101i0 → (fwbr101i0 if firewall) → vmbr0 → bond0 → eno1/eno2 → physical switch.
root@pve1:~# ip -br link | grep -E 'tap101|fwbr101|vmbr0|bond0'
tap101i0 UNKNOWN ...
fwbr101i0 UP ...
vmbr0 UP ...
bond0 UP ...
root@pve1:~# bridge link show | grep -E 'tap101|fwpr101'
root@pve1:~# bridge vlan show dev tap101i0
port vlan-id
tap101i0 20 PVID Egress Untagged
The Proxmox host administration chapter documents the default vmbr0 bridge, VLAN-aware bridges (bridge-vlan-aware yes, bridge-vids) and Linux bonds.
Capture at each hop
tcpdump -eni tap101i0 arp or icmp # does the guest send?
tcpdump -eni bond0 vlan 20 and icmp # does it leave the host tagged?
Traffic visible on the tap but not on the bond: bridge/VLAN/firewall on the host. Visible on the bond but no reply: switch port, VLAN trunk or upstream.
Common causes by symptom
| Symptom | Likely cause |
|---|---|
| No traffic at all after migration | Target node's bridge name differs, or VLAN not trunked to that node's switch port |
| ARP works, TCP fails | Proxmox firewall (firewall=1) or guest firewall; check pve-firewall status and iptables-save \| grep 101 |
| Works until MAC moves | Switch port security / MAC limits on host uplinks |
| Bond flapping | LACP mismatch: cat /proc/net/bonding/bond0 vs switch port-channel |
| Large packets dropped | MTU mismatch between guest, bridge, bond and switch (VXLAN/SDN adds overhead) |
Inside the guest
ip addr, ip route, ip neigh — a missing default route or a wrong VLAN inside the guest (tagging twice: tag on net0 and a VLAN sub-interface in the guest) looks like a host problem but is not.
Fix the layer where the packet disappears; do not change several layers at once.
*The virtual bridge inspection and packet-capture commands above are illustrative examples, not captured from a lab or production host.*
Method
Trace VM connectivity from inside out:
1. Guest: IP/mask/gateway, interface up, firewall (ip a, ip r, Get-NetIPConfiguration).
2. vNIC: connected, right bridge/port group and VLAN tag.
3. Host: tap/port forwarding (bridge fdb, esxcli network vm port list -w <world>, Get-VMNetworkAdapter vm1 | fl).
4. Uplink: link state, VLAN allowed on trunk, teaming policy vs switch config.
5. Physical switch: MAC learned on the right port and VLAN (show mac address-table address <mac>).
pktcap-uw --vmk vmk0 / --switchport <id> -o /tmp/cap.pcap # ESXi
tcpdump -ni tap120i0 arp or icmp
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 Virtual Networking → Virtual Network Troubleshooting. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://libvirt.org/formatnetwork.html · 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
Virtual Networking → Virtual Network Troubleshooting reference map
Fast virtual-network boundaries for Virtual Networking → Virtual Network Troubleshooting.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Guest | Link/IP/route/neighbor | Start boundary |
| Virtualization | vNIC/port/VLAN/switch | Hypervisor boundary |
| Host | uplink/team/bond/tunnel/NAT | Host boundary |
| External | switch/router/service/return | End-to-end boundary |