Virtualization · Virtual Networking
Access Port
Cheat sheet · https://pcornel.dk/topic.php?topic=3526
Answer
An Access Port in virtual networking associates a VM-facing port with one VLAN while normally presenting untagged Ethernet frames to the guest.
Remember
- 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.
First checks
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
Verify in this order
untagged guest frame → vSwitch tags VLAN → trunk
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 → Access Port reference map
| 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 |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3526