Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

Tagged Traffic

Direct answer

Tagged traffic carries an IEEE 802.1Q VLAN tag in each Ethernet frame, so a virtual switch, host uplink or physical switch knows which VLAN the frame belongs to. Trunk ports carry tagged frames for many VLANs over one link.

When to use this

Use this Topic to determine whether VLAN tags should be created by the guest, virtual switch/bridge or upstream network and whether they remain intact across each required trunk boundary.

First 30 seconds

1. Tagged traffic carries an 802.1Q header.

2. Both ends must agree on VLAN IDs.

3. MTU: tags add 4 bytes.

4. Capture to verify.

5. Double tagging only by design.

Operational verification

frame + 802.1Q tag → trunk → untag at access

Evidence · next step

Inspect the reverse direction and another critical VLAN.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

It does not show untagged/native behavior, other VLAN IDs or return traffic.

Next check: Inspect the reverse direction and another critical VLAN.

Platform / version applicability
virtualization-network
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.

Platformvirtualization-network
Scope / prerequisiteUse this Topic to determine whether VLAN tags should be created by the guest, virtual switch/bridge or upstream network…
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.

1 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

frame creation → 802.1Q tag insertion → virtual port admission → virtual forwarding → uplink → peer

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
  • A VLAN tag is observable packet evidence; a configured VLAN value is only intent until the frame is inspected.
  • Tags may be added, removed or translated at different virtualization boundaries depending on port mode.
  • Guest VLAN interfaces require the vNIC/virtual port to permit those tags.
  • Unexpectedly stripped tags often look like generic L2 failure.
Key checks
  • tcpdump -e -n -i <uplink> vlan 20 — tagged frames on uplink
  • ip -d link show eth0.20 — guest VLAN subinterface
  • bridge vlan show — tagged port membership
ReferenceWhy it matters1 section · depth on demand

In depth

Tagged traffic carries an 802.1Q header (4 bytes: TPID 0x8100, priority, VLAN ID). In virtualization, tags are added either by the vSwitch (VST), by the guest (VGT) or by the physical switch (EST).

Debugging tags:

tcpdump -e -n -i eno1 vlan 20            # on the host uplink: see tags
tcpdump -e -n -i tap120i0                # VM tap: should be untagged for access-style vNICs

MTU: the tag adds 4 bytes on the wire; physical switches handle this, but nested encapsulation (VXLAN over VLAN) needs MTU headroom.

ReferenceImportant terms & boundaries2 sections · depth on demand

What this shows and what it does not

Observing the intended tag at one capture point shows tag presence there, not that the next hop accepts or preserves it.

Packet/header semantics belong to Networking; this Topic is the virtualization location/handling model.

Guest tagging (trunk to VM)

PlatformConfiguration
vSphereVLAN 4095 (standard) or VLAN trunk range (vDS)
Hyper-VSet-VMNetworkAdapterVlan -Trunk -AllowedVlanIdList 10-20 -NativeVlanId 1
ProxmoxNIC without tag + trunks=10;20

The guest then creates VLAN sub-interfaces itself.

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 docvirtualization-network current

Authoritative/upstream documentation reviewed for bounded claims in Virtual Networking → Tagged Traffic. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://libvirt.org/formatnetwork.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
802.1q tagged vm traffictagged frames virtualizationvlan tagged guestvm vlan tag
Embedded reference data

Quick lookup tables

Virtual Networking → Tagged Traffic reference map

Fast virtual-network boundaries for Virtual Networking → Tagged Traffic.

BoundaryMeaningEvidence limit
Tag present802.1Q header visiblePacket evidence
VLAN ID12-bit VLAN identifierMust match design
AdmissionVirtual port permits tagPolicy evidence
PreservationTag reaches uplink/peerPath evidence
Confirmation

Confirm action

Continue?