Pcornel
Virtualization · Virtualization Troubleshooting

Network Connectivity

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

Back to the Topic

Answer

Trace the packet path rather than trusting link state: application/socket → guest IP/route/neighbor → vNIC → virtual switching/policy → host uplink → physical network → destination and return path.

Remember

  • vNIC Connected/Link Up ≠ end-to-end connectivity.
  • Virtual switch or bridge forwarding ≠ physical uplink or upstream switch health.
  • Successful ping ≠ application protocol/port health and can miss asymmetric return-path problems.
  • One VM working ≠ another VM has identical VLAN, policy, MAC, route or security state.

First checks

  • ip -br a; ip r — guest IP and route
  • virsh domiflist <vm> — vNIC bridge/model
  • tcpdump -e -i <tap> — frames at the tap

Commands

ip a
show mac address-table

Verify in this order

guest → vNIC → vSwitch → uplink → network

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.

Virtualization Troubleshooting → Network Connectivity troubleshooting map

BoundaryWhat to verifyEvidence limit
Symptom/scopeExact failing test, affected VM/host/cluster and incident time are definedSymptom classification does not identify root cause
Observed boundaryConfiguration, runtime and counters/logs for this Virtualization Troubleshooting → Network Connectivity boundary are time-correlatedOne healthy or failed status does not prove adjacent dependencies
Adjacent dependencyThe next host, storage, network, device, guest or cluster dependency is tested independentlyLocal success does not prove end-to-end health
VerificationThe original workload test succeeds after one controlled change and remains healthy in regression checksTemporary recovery alone is not durable proof

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

Confirmation

Confirm action

Continue?