Quibank app: now on the App Store — free, works offline. Get the app ↗

Chapters0/30 ▾
  1. 1.Models, Media & Topologies0/5
    1. The OSI and TCP/IP models: layers, data units and devices
    2. Copper and fiber: categories, distances and connectors
    3. Installing cable: plenum ratings and Power over Ethernet
    4. Wireless basics: channels, bonding, antennas and identifiers
    5. Topologies and network types: domains, mesh, spine and leaf, SAN
  2. 2.IP Addressing, Subnetting & Routing0/5
    1. IPv4 subnetting with the block-size method
    2. Private, loopback and APIPA ranges, and traffic types
    3. How routers choose a path: prefix, distance, metric and summaries
    4. IPv6: shortening, address types, SLAAC and NAT64
    5. VLANs, inter-VLAN routing and NAT
  3. 3.Ports, Protocols & Services0/5
    1. Well-known ports: secure and cleartext pairs
    2. TCP and UDP: handshake, flow control and real-time traffic
    3. DNS and DHCP: transports, records, relays and reservations
    4. Time and monitoring protocols: NTP and SNMP
    5. Tunnels, IPsec and QoS markings
  4. 4.Network Operations0/5
    1. Network documentation and the device lifecycle
    2. Monitoring with baselines, SNMP and syslog
    3. Seeing traffic: flow data, TAPs, mirror ports and availability checks
    4. Disaster recovery and high availability
    5. Change management and configuration baselines
  5. 5.Network Security0/5
    1. Core security terms: CIA, risk vocabulary and zero trust
    2. Identity and access: AAA, 802.1X, RADIUS, TACACS+, MFA and RBAC
    3. Filtering and segmentation: ACLs, screened subnets and IDS
    4. Recognizing network attacks from their symptoms
    5. Hardening, wireless authentication and physical security
  6. 6.Network Troubleshooting0/5
    1. The troubleshooting methodology, step by step
    2. Cable faults, distance limits, PoE budgets and the right tester
    3. Reading interface counters and port states
    4. Addressing and service failures: masks, DHCP, duplicates, loops, ACLs, DNS
    5. Wireless and voice quality problems
Saved in this browser. Move it to another device →
← IP Addressing, Subnetting & Routing

Chapter 2 · Lesson 5 of 5

VLANs, inter-VLAN routing and NAT

1 min read

An 802.1Q tag is 4 bytes inserted right after the source MAC address. It holds a priority field, a drop-eligible bit and a 12-bit VLAN ID. Twelve bits give 4,096 values, but 0 and 4095 are reserved, so usable VLANs are 1 to 4094, and the tag raises the maximum frame from 1,518 to 1,522 bytes.

On a trunk, the native VLAN is the one VLAN sent untagged. If the two ends disagree on the native VLAN, two broadcast domains merge, and double-tagging attacks abuse the same untagged behavior.

Each VLAN is its own subnet, and a Layer 2 switch never moves traffic between VLANs. To connect them you need a routed hop with a gateway address in each subnet: router-on-a-stick subinterfaces over a trunk, or an SVI on a multilayer switch.

NAT comes in several forms. Static NAT maps one inside address to one public address. Dynamic NAT leases public addresses from a pool. PAT, or NAT overload, lets hundreds of inside hosts share one public address by also rewriting source ports.

Port forwarding is destination NAT that publishes one inside service, such as TCP 443 on one server. NAT hides inside hosts only as a side effect; filtering still comes from a firewall or ACL.

Check yourself

1. About 200 internal hosts using RFC 1918 addresses share one public IPv4 address for outbound internet access, all at the same time. Which translation method makes that possible, and how does it work?

2. Which statement accurately describes IEEE 802.1Q VLAN tagging on an Ethernet frame?

Facts checked 2026-11-16 · Sources: CompTIA Network+ certification overview, RFC 1918: Address Allocation for Private Internets, RFC 4291: IP Version 6 Addressing Architecture

CompTIA Network+ cheat sheet: every key fact on one page →