Tagged Traffic
Cheat sheet · https://pcornel.dk/topic.php?topic=3527
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.
Remember
- 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.
First checks
tcpdump -e -n -i <uplink> vlan 20— tagged frames on uplinkip -d link show eth0.20— guest VLAN subinterfacebridge vlan show— tagged port membership
Verify in this order
frame + 802.1Q tag → trunk → untag at access
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 → Tagged Traffic reference map
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Tag present | 802.1Q header visible | Packet evidence |
| VLAN ID | 12-bit VLAN identifier | Must match design |
| Admission | Virtual port permits tag | Policy evidence |
| Preservation | Tag reaches uplink/peer | Path evidence |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3527