Pcornel
Virtualization · Virtual Networking

Access Port

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

Back to the Topic

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 VLAN
  • qm set <vmid> --net0 virtio,bridge=vmbr0,tag=20 — Proxmox tag
  • bridge 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

BoundaryMeaningEvidence limit
Guest frameNormally untaggedGuest-facing
Access VLANSingle VLAN associationVirtual policy
UplinkMay be tagged trunkTransport representation
PeerSame VLAN reachabilityFunctional proof

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

Confirmation

Confirm action

Continue?