Virtual Network Troubleshooting
Cheat sheet · https://pcornel.dk/topic.php?topic=3541
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.
Remember
- 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.
First checks
virsh domifstat <vm> <vnet>— VM NIC counterstcpdump -e -i <tap|bridge>— see frames at each hopbridge fdb show | grep <mac>— MAC learned
Commands
bridge link- Operational command for Inspect Linux bridge port state. Focus fields: interface, bridge master, state, flags and forwa…
ip addrip routeip neighip aip resxcli network vm port list -w <world>show mac address-table address <mac>
Verify in this order
guest → vNIC → vSwitch → uplink → physical switch
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 → Virtual Network Troubleshooting reference map
| 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 |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3541