IT lexicon › Networking › Double tagging

Double tagging

Networking På svenska → Updated: 2026-05-29

A VLAN-hopping technique where the attacker puts two 802.1Q tags on a frame. The first switch strips the outer (native-VLAN) tag and forwards the frame with the inner tag still on — so it lands in a target VLAN the attacker otherwise can't reach.

Mechanic: a switch removes exactly one tag when it sends traffic out on a trunk where the VLAN is native. The attacker exploits this: outer tag = native VLAN (gets stripped), inner tag = target VLAN. When the frame reaches the next switch it only sees the inner tag and delivers it into the target VLAN. Limitation: it's one-way (the reply can't take the same path back), so it's mostly used to inject traffic (e.g. a DoS or an attack against a server in another segment). Defense: don't use the native VLAN for any actual traffic, or force tagging of everything on the trunk. Distinct from Q-in-Q (802.1ad), which is the same double-tagging idea but legitimately used by operators to carry customer VLANs. Related to VLAN hopping and native VLAN.

← Back to the lexicon