Use it when a guest should not manage VLAN tags and the virtualization layer should place its traffic into a single VLAN.
Access Port
An Access Port in virtual networking associates a VM-facing port with one VLAN while normally presenting untagged Ethernet frames to the guest.
1. An access port puts untagged guest frames into one VLAN.
2. The vSwitch adds/removes the tag.
3. Most VMs should use access mode.
4. Check PVID on Linux bridges.
5. Guest sees no tags.
untagged guest frame → vSwitch tags VLAN → trunk
Verify the gateway/return path only after same-VLAN behavior is proven.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
It does not show routed connectivity, every peer or alternate uplink state.
Next check: Verify the gateway/return path only after same-VLAN behavior is confirmed.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
untagged guest frame → virtual access VLAN classification → virtual switch → tagged/untagged uplink representation → VLAN peer
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.
- The guest usually sends and receives untagged frames on an access-style virtual port.
- The configured access VLAN is metadata/policy inside the virtual switch until a tagged trunk boundary is reached.
- An access VLAN mismatch can preserve link state while completely isolating L2 reachability.
- Guest-side VLAN tagging on top of an access port can cause unexpected or double-tag behavior.
Set-VMNetworkAdapterVlan -VMName <vm> -Access -VlanId 20— Hyper-V access VLANqm set <vmid> --net0 virtio,bridge=vmbr0,tag=20— Proxmox tagbridge vlan show— Linux PVID untagged
ReferenceImportant terms & boundaries3 sections · depth on demand
What this shows and what it does not
Guest link-up and untagged frames show the local interface works; they do not show the virtualization layer classified them into the intended VLAN.
Physical switch access-port theory remains in Networking; this Topic focuses on VM-facing virtual access semantics.
Configuration
| Platform | Access (untagged to VM) |
|---|---|
| vSphere | Port group with VLAN ID 10 |
| Hyper-V | Set-VMNetworkAdapterVlan -VMName vm01 -Access -VlanId 10 |
| Proxmox | NIC tag=10 on a VLAN-aware bridge |
| Linux bridge | bridge vlan add dev tap101i0 vid 10 pvid untagged |
In depth
An access port delivers one untagged VLAN to an endpoint. In virtual networking, a vNIC with a VLAN tag set at the switch/port-group level behaves like an access port: the vSwitch adds the tag on egress to the uplink and removes it towards the VM, so the guest sees plain untagged Ethernet.
Hyper-V: Set-VMNetworkAdapterVlan -VMName vm1 -Access -VlanId 20. Proxmox: tag=20 on the vNIC. VMware: port group VLAN 20.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Virtual Networking → Access Port. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://libvirt.org/formatnetwork.html · confidence 94%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.
Quick lookup tables
Virtual Networking → Access Port reference map
Fast virtual-network boundaries for Virtual Networking → Access Port.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Guest frame | Normally untagged | Guest-facing |
| Access VLAN | Single VLAN association | Virtual policy |
| Uplink | May be tagged trunk | Transport representation |
| Peer | Same VLAN reachability | Functional proof |