Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

Virtual Network Troubleshooting

Direct answer

Virtual Network Troubleshooting isolates faults by following the actual guest traffic path from the workload and guest stack through the vNIC, virtual port/switch/bridge, host uplink or overlay/NAT function, external network and return path.

When to use this

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.

First 30 seconds

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.

Operational verification

guest → vNIC → vSwitch → uplink → physical switch

Evidence · next step

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
Common mistakes
Common traps

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.

Platform / version applicability
virtualization-network
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformvirtualization-network · Linux bridge / KVM
Key commandbridge link
Scope / prerequisiteUse it when a VM has partial or failed connectivity and the symptom could originate in guest configuration, virtualizat…
Reference · 1
What next?3 suggested next steps
Catalog command links1
Evidence1
On this pageJump to a specific section
Virtualization command reference

Primary Commands

Configuration and operational commands for this Topic.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

problem definition → guest evidence → virtual-port evidence → switch/bridge evidence → host uplink/overlay/NAT evidence → external network → return path → application

Evidence references

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.

observation · 1
Key points
  • 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.
Key checks
  • virsh domifstat <vm> <vnet> — VM NIC counters
  • tcpdump -e -i <tap|bridge> — see frames at each hop
  • bridge 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

SymptomLikely cause
No traffic at all after migrationTarget node's bridge name differs, or VLAN not trunked to that node's switch port
ARP works, TCP failsProxmox firewall (firewall=1) or guest firewall; check pve-firewall status and iptables-save \| grep 101
Works until MAC movesSwitch port security / MAC limits on host uplinks
Bond flappingLACP mismatch: cat /proc/net/bonding/bond0 vs switch port-channel
Large packets droppedMTU 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.*

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

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
Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docvirtualization-network current

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%
Terminology layer

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.

Aliases that resolve here
vm network troubleshootingvirtual network connectivityhypervisor network troubleshootingvm no network
Embedded reference data

Quick lookup tables

Virtual Networking → Virtual Network Troubleshooting reference map

Fast virtual-network boundaries for Virtual Networking → Virtual Network Troubleshooting.

BoundaryMeaningEvidence limit
GuestLink/IP/route/neighborStart boundary
VirtualizationvNIC/port/VLAN/switchHypervisor boundary
Hostuplink/team/bond/tunnel/NATHost boundary
Externalswitch/router/service/returnEnd-to-end boundary
Confirmation

Confirm action

Continue?