CompTIA Network+ N10-009 · Network Security · medium
An attacker attempts a VLAN Hopping (Double-Tagging) attack by sending an Ethernet frame with two 802.1Q VLAN tags (an outer tag matching the trunk's untagged Native VLAN 1 and an inner tag for the restricted Finance VLAN 50). When the first switch strips the outer Native VLAN 1 tag and forwards the frame across the trunk link, the second switch reads the inner tag and delivers the frame into VLAN 50. Which best practice mitigates Double-Tagging VLAN Hopping?
Published · Last updated · checked before publication — how we verify questions
Options
Answer: C. Change the trunk Native VLAN to an unused VLAN ID and force user ports to access mode
Double-tagging VLAN hopping only works when the attacker's access port belongs to the same VLAN ID as the trunk link's untagged Native VLAN (by default, VLAN 1). To prevent it: (B) change the Native VLAN on all trunk ports to an unused, dedicated dummy VLAN ID (e.g., VLAN 999) that has no access ports assigned to it, (C) prune VLAN 1 from trunks, and (D) explicitly configure user ports as switchport mode access with switchport nonegotiate (or tag the native VLAN on trunks).
Why the other options are wrong
- A. Assign all user workstations and servers to VLAN 1 and leave the trunk Native VLAN as 1 — Putting users in the same VLAN as the trunk Native VLAN (VLAN 1) is the exact precondition that enables double-tagging VLAN hopping.
- B. Enable Dynamic Trunking Protocol (DTP) in desirable mode on all conference room wall jacks — Enabling DTP on user ports allows an attacker to negotiate a full 802.1Q trunk directly (Switch Spoofing).
- D. Reduce the switch's 802.1Q tag EtherType field from 0x8100 to 0x0806 (ARP) — Changing the IEEE 802.1Q EtherType (0x8100) to 0x0806 breaks all VLAN trunking.
More Network Security questions
- A penetration tester plugs a laptop into an access switch port and floods the switch with thousands of Ethernet frames…
- A hospital network segments its devices into VLAN 10 (Electronic Health Records), VLAN 30 (Infusion Pumps / IoMT), and…
- A network security architect is choosing between RADIUS and TACACS+ for two distinct use cases: Use Case 1 is…
- A penetration tester plugs a single workstation into switch port Gi1/0/8 and runs the macof utility, generating 50,000…
CompTIA and Security+ are trademarks of the Computing Technology Industry Association. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by CompTIA.