Pcornel
Virtualization · Virtualization Troubleshooting

VLAN Problems

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

Back to the Topic

Answer

Define exactly one tagging contract for the path: guest frame tagging state → virtual port policy → virtual switch/bridge handling → host uplink/trunk/native VLAN → upstream switching → destination VLAN.

Remember

  • VLAN ID configured ≠ packets are tagged correctly on the wire.
  • Guest tagging and hypervisor port tagging can double-tag or strip unexpectedly if both are assumed to own the same boundary.
  • An access/native VLAN concept on one platform may not map one-to-one to another hypervisor implementation.
  • Link Up and MAC learning ≠ correct VLAN membership or bidirectional forwarding.

First checks

  • bridge vlan show — VLAN membership
  • Get-VMNetworkAdapterVlan -VMName <vm> — Hyper-V VLAN
  • tcpdump -e -i <uplink> vlan — tags on uplink

Commands

tcpdump -e -i eno1 vlan

Verify in this order

VM VLAN → vSwitch tag → trunk → switch VLAN

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 → VLAN Problems 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 → VLAN Problems 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=3824

Confirmation

Confirm action

Continue?