Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

VLAN · VMware vSphere

Direct answer

Validate VLAN end-to-end across guest expectation, port group mode/ID, virtual switch handling, host uplink and physical switch trunk/access configuration.

When to use this

Use it when configuring, checking or troubleshooting VLAN in VMware vSphere.

First 30 seconds

1. VLAN modes: EST (physical switch), VST (port group tag), VGT (4095 / trunk to guest).

2. Physical ports trunk the VLANs.

3. Check native VLAN.

4. Capture with pktcap-uw.

5. Document VLAN map.

Operational verification

guest → port group VLAN → uplink trunk → switch

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

Configured VLAN state shows intent at the virtual layer; only packet evidence shows effective tagging and forwarding across the full path.

Platform / version applicability
vmware-vsphere
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.

Platformvmware-vsphere
Scope / prerequisiteUse it when configuring, checking or troubleshooting VLAN in VMware vSphere.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

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

4 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

Guest/vmk frame → port group VLAN policy → vSwitch/vDS → vmnic → physical switch VLAN domain → destination → return

Step 2 Effective-state and workload closure Verify boundary

Correlate guest counters/routes with virtual-port and uplink counters for the same test, validate VLAN/policy on the exact path, then repeat the original guest transaction.

Local intent: VLAN configuration in vSphere determines how VM and VMkernel traffic is tagged or presented at virtual switch/port-group boundaries before reaching the physical network.

Step 3 Branching troubleshooting Narrow the fault

Concrete boundaries: guest socket/route → virtual NIC → host/hypervisor queue → bridge/vSwitch/port group → VLAN/security policy → physical uplink → external network → return → guest workload.

Path: Virtualization → VMware vSphere → VLAN. Local intent: VLAN configuration in vSphere determines how VM and VMkernel traffic is tagged or presented at virtual switch/port-group boundaries before reaching the physical network.

Step 4 Where it fails Narrow the fault

Common failure classes are stale inventory, asynchronous task overlap, lock conflict, capacity pressure, guest-agent lag, inaccessible dependency, placement mismatch or management/runtime divergence. Also consider stale management inventory, asynchronous task overlap, host capability mismatch, guest-agent/driver lag, CPU feature masking, NUMA pressure, backing-store latency, bridge/VLAN mismatch, MTU mismatch, snapshot chains, lock ownership and partial cluster membership.

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
  • VLAN ID configured ≠ frames are correctly forwarded end-to-end.
  • A working management VLAN ≠ VM or vMotion VLAN works.
  • Port group connectivity ≠ physical trunk allows the VLAN.
  • Same VLAN number ≠ same Layer-2 domain across disconnected fabrics.
Key checks
  • Get-VDPortgroup | ft Name,VlanConfiguration — VLAN per port group
  • esxcli network vswitch standard portgroup list — vSS VLANs
  • pktcap-uw --uplink vmnic0 --dir 1 -o - | tcpdump-uw -enr - — capture tags on uplink
ReferenceWhat it is1 section · depth on demand

In depth

In VMware vSphere, VLANs are configured on port groups. A standard switch (vSS) or distributed switch (vDS) port group with a VLAN ID tags VM traffic on the uplinks; VLAN 4095 (vSS) or VLAN trunking (vDS) passes tags through to the guest.

SettingMeaning
VLAN ID 1–4094Virtual switch tagging
VLAN 0 / NoneNo tagging (external switch tagging)
4095 (vSS) / VLAN trunking (vDS)Guest tagging
Private VLAN (vDS)Isolated/community secondary VLANs
esxcli network vswitch standard portgroup list
esxcli network vswitch dvs vmware list
esxcli network nic list

Documented example, not captured output.

vDS health check can verify that the physical switch ports carry the VLANs and MTU configured on the distributed switch — enable it when troubleshooting, then disable it again.

ReferenceWhy it matters1 section · depth on demand

Internals and state

A guest packet leaves the guest IP stack through a virtual NIC, is processed by hypervisor/host tap or synthetic device queues, traverses a bridge/vSwitch/port-group and VLAN/security policy, then reaches a physical uplink and external network.

Management-plane “connected” state does not show VLAN admission, host forwarding, offload behavior or return traffic.

Local intent: VLAN configuration in vSphere determines how VM and VMkernel traffic is tagged or presented at virtual switch/port-group boundaries before reaching the physical network.

ReferenceImportant terms & boundaries2 sections · depth on demand

What this shows and what it does not

Configured VLAN state shows intent at the virtual layer; only packet evidence shows effective tagging and forwarding across the full path.

Networking owns 802.1Q fundamentals; this topic owns VMware vSphere VLAN implementation boundaries.

A guest packet leaves the guest IP stack through a virtual NIC, is processed by hypervisor/host tap or synthetic device queues, traverses a bridge/vSwitch/port-group and VLAN/security policy, then reaches a physical uplink and external network. Management-plane “connected” state does not show VLAN admission, host forwarding, offload behavior or return traffic. Close with Correlate guest counters/routes with virtual-port and uplink counters for the same test, validate VLAN/policy on the exact path, then repeat the original guest transaction. and state what the evidence does not show.

Mechanics

Follow the path in order: management intent → host/cluster capability → hypervisor runtime/task → virtual resource/device → guest state → workload-visible read-back. It can coexist with stale placement, missing guest drivers, wrong VLAN/bridge mapping, inaccessible backing storage, CPU incompatibility or a workload that cannot use the resource.

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 docvmware-vsphere current

Authoritative/upstream documentation reviewed for bounded claims in VMware vSphere → VLAN. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://techdocs.broadcom.com/us/en/vmware-cis/vsphere.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
vsphere vlanvmware vlanport group vlanesxi vlan
Embedded reference data

Quick lookup tables

VMware vSphere → VLAN reference map

Fast operational boundaries and evidence limits for VMware vSphere → VLAN.

BoundaryWhat to verifyEvidence limit
Inventory/configExpected VMware vSphere → VLAN object, policy or configuration is presentConfigured state does not prove effective runtime behavior
Runtime/control planeRelevant vCenter/ESXi object, service or task state matches the intended conditionManagement state does not prove storage/network/guest outcome
Dependency/data pathRequired compute, storage, network, device and guest dependencies are healthyLocal success does not prove the next boundary
AcceptanceOriginal guest/application test succeeds after observation or changeRequired for end-to-end closure
Confirmation

Confirm action

Continue?