AP Networking • Troubleshooting

VLAN Troubleshooting Guide

Troubleshoot VLAN problems using access-port assignments, trunk tagging, allowed VLAN lists, native VLANs, MAC tables, DHCP, gateway/SVI state, and inter-VLAN routing evidence.

Independent AP Networking resource • Updated 2026-10-01 • Built for students and teachers
AP Networking Premium: Add guided practice, answer explanations, artifact work, and structured review to the free study system.
Explore Premium Resources
Mental model

A VLAN problem is really a boundary problem

Students troubleshoot VLANs faster when they stop treating “the VLAN” as one device or one setting. A successful flow can cross several boundaries: endpoint link → access-port VLAN → Layer 2 forwarding → trunk carriage → gateway/SVI → Layer 3 routing → security policy. Your job is to find the first boundary where expected behavior stops being supported by evidence.

What a VLAN provesA VLAN creates a Layer 2 broadcast domain and gives switches a forwarding context for MAC learning and frame delivery.
What a VLAN does not proveVLAN existence alone does not prove that an endpoint is assigned correctly, trunks carry it, DHCP works, a gateway is up, or inter-VLAN policy permits traffic.
Fast isolation

Classify the failure before changing configuration

Inside one VLAN

Two intended same-VLAN hosts cannot communicate. Start with endpoint link, access VLAN, subnet configuration, MAC learning, and local Layer 2 path.

Across a trunk

Hosts work on the same switch, but the VLAN fails when traffic must cross an uplink. Inspect trunk state, VLAN allowance, VLAN existence, and tagging consistency.

Between VLANs

Same-VLAN traffic works but another subnet fails. Move the investigation toward gateway/SVI state, routing, ACL/firewall policy, and return path.

Decision logic

A repeatable VLAN troubleshooting sequence

Define the exact failed flow. Record source IP/VLAN, destination IP/VLAN, protocol/port, and whether the endpoints are on the same or different switches.
Prove endpoint placement. Verify link state, switchport mode, access VLAN, and host IP/prefix. Compare with a known-good port when possible.
Prove Layer 2 learning. Generate traffic and inspect the MAC table. Ask whether the source MAC appears in the expected VLAN and on the expected port.
Prove every required trunk hop. If the flow crosses switches, verify the VLAN exists and is permitted/tagged consistently along the path.
Only then move to Layer 3. If same-VLAN delivery works, test the VLAN gateway/SVI and inspect routing/security for inter-VLAN traffic.
Verify the smallest correction. Repeat the original failed test and a control test that should remain unchanged.
Access ports

Wrong access VLAN: a classic failure signature

Expected design PC-A → access VLAN 20 → 10.20.20.0/24 Gateway → 10.20.20.1 Observed PC-A switchport access VLAN: 30 PC-A static IP: 10.20.20.25/24 Gateway ping: FAIL MAC table: PC-A MAC learned in VLAN 30

The strongest evidence is not merely the failed ping. The MAC table places the endpoint in VLAN 30 while the addressing plan expects VLAN 20. The narrow correction is the access-port assignment—not changing DNS, replacing the router, or adding a route.

Exam trap: A host can have a perfectly formatted IP address and still be attached to the wrong Layer 2 broadcast domain.
MAC evidence

The MAC table tells you where the switch actually sees the endpoint

If the endpoint MAC is absent after generating traffic, investigate whether the host is transmitting, the port is operational, or the path is different from your assumed topology. If the MAC appears in the wrong VLAN, investigate access/tagging configuration. If it appears on an unexpected port, your physical/logical map may be wrong.

Evidence boundary: Correct MAC learning supports Layer 2 presence at that point. It does not prove IP configuration, DHCP, gateway health, routing, or application success.

Review the underlying artifact in MAC Address Table Explained.

Trunks

One working VLAN is a powerful control

Switch A uplink Mode: trunk Allowed VLANs: 10,20,30 Switch B uplink Mode: trunk Allowed VLANs: 10,30 Observed VLAN 10 across uplink: PASS VLAN 20 across uplink: FAIL VLAN 30 across uplink: PASS

Because VLANs 10 and 30 successfully use the same physical uplink, a complete cable or uplink failure is a weak hypothesis. The difference between working and failing traffic is VLAN 20, and the artifact shows VLAN 20 missing from one side's allowed set.

What this provesThe shared physical path can carry at least some trunk traffic, and VLAN 20 has a configuration difference.
What this does not proveIt does not prove every trunk parameter is correct or that VLAN 20 will have working Layer 3 services after the trunk issue is fixed.
Native VLAN

Native-VLAN mismatch changes the meaning of untagged traffic

On trunk technologies/configurations where a native VLAN is used, untagged frames are associated with that native VLAN. If the two ends disagree, the same untagged frame can be classified into different VLANs at opposite ends. That can produce confusing partial connectivity and control-plane warnings.

Do not memorize “native VLAN mismatch = trunk down.” The more precise reasoning is that untagged traffic may be placed into inconsistent Layer 2 domains. Tagged VLAN behavior may differ.
DHCP dependency

DHCP failure on one VLAN does not automatically mean the DHCP server failed

★ Layer 2 Review • VLAN Troubleshooting Guide

A five-minute warm-up for VLAN Troubleshooting Guide

Tomorrow’s opening question can pick up where this page leaves off: have students trace the connection and explain why traffic takes that path. The 300 Bell Ringers give you short questions and teacher answers you can use without preparing a new starter each morning.

300 AP Networking Bell Ringers
$74.99
BUY TEACHER PACK → See what is included in the 300 Bell Ringers →
Instant Access • Full-Year Teacher Resource
VLAN 10 clients: leases succeed VLAN 20 clients: no lease Central DHCP server: serves VLAN 10 VLAN 20 gateway/SVI: 10.20.20.1 DHCP server: remote network

The working VLAN is a control showing the DHCP service is not completely unavailable. For VLAN 20, inspect whether broadcasts reach the gateway/relay function, whether relay configuration is present, whether the routed path reaches the server, and whether an appropriate scope exists.

Continue with the DHCP Troubleshooting Guide.

Gateway / SVI

Same-VLAN success can coexist with a dead Layer 3 gateway

Switching & VLAN Lab • 120 Missions

Let students try VLAN Troubleshooting Guide for themselves

Reading the explanation is a start. In the browser simulator, students work through a broken network, choose what to test and see whether their fix worked. It gives them another chance to use what they learned about VLAN Troubleshooting Guide.

AP Networking Browser Troubleshooting Simulator
$29.99
120 Missions • 60 Failure Patterns • Offline Copy
GET THE SIMULATOR → See all 120 missions & features

Hosts in one VLAN can switch frames directly without using their default gateway. Therefore, two same-VLAN hosts successfully communicating does not prove that the SVI/router interface is operational.

Scenario: PC-A and PC-B in VLAN 40 communicate. Neither can reach 10.40.40.1 or any remote subnet. This pattern shifts attention toward the VLAN 40 gateway/SVI, its address/state, or upstream Layer 3 dependencies rather than ordinary same-VLAN switching.
Inter-VLAN routing

A route and an allow policy answer different questions

Layer 2 Exam Practice • VLAN Troubleshooting Guide

Check whether VLAN Troubleshooting Guide has really stuck

Once students have worked through this topic, give them questions mixed in with the rest of the course. The Exam Prep Vault includes practice exams, multiple-choice questions and artifact labs so they cannot rely on a chapter heading to tell them what to do.

AP Networking Complete Exam Prep Vault
$39.99
GET THE EXAM PREP VAULT → See the Exam Prep Vault contents →
4 Practice Exams • 320 MCQs • 60 Artifact Labs

Routing decides where Layer 3 traffic should go. Security policy decides whether the defined flow is permitted. A routing-table entry can be correct while an ACL/firewall intentionally denies TCP/443 from VLAN 20 to VLAN 50.

Source: 10.20.20.25 (VLAN 20) Destination: 10.50.50.10 (VLAN 50) Route to 10.50.50.0/24: present Firewall log: DENY tcp 10.20.20.25 → 10.50.50.10:443

The route supports reachability in principle; the deny log explains why this specific flow does not pass. “Inter-VLAN routing is broken” is too broad.

Failure signatures

Use the symptom pattern to choose the next artifact

Premium Switching Feedback

Spend less time marking explanations about VLAN Troubleshooting Guide

When students explain their answer, it takes more than a right-or-wrong check to see what they understand. The Grading Copilot helps you review how they used the clues, where their explanation falls short and what feedback to give next. You make the final grading decision.

AP Networking Artifact Analysis Grading Copilot
$49.99
8 Criteria • 5 Task Modes • Offline Premium Copy
GET THE GRADING COPILOT → See the free Copilot preview
Observed patternStronger hypothesesBest next evidenceWeak first move
One host fails; peers in same VLAN workHost link, access VLAN, IP/prefix, endpoint issuePort config + MAC learning + host configRebuild the trunk
One VLAN fails across uplink; others workAllowed VLAN/tagging/VLAN existenceTrunk state on both endsReplace uplink cable immediately
Same-VLAN works; all remote networks failGateway/SVI, routing, policyGateway reachability + interface/route stateChange access VLAN
DHCP fails only in one remote VLANRelay, scope, VLAN path, gatewayRelay config + DHCP transaction evidenceAssume DHCP server is globally down
Inter-VLAN ping works; one application port failsACL/firewall/service listenerPolicy log/counter + port testChange subnet mask

Swipe horizontally to see the complete troubleshooting table.

Falsifying tests

Strong troubleshooting tries to disprove the favorite hypothesis

Hypothesis: trunk is physically down

Falsifier: another VLAN successfully crosses the same uplink. That strongly weakens a total physical-down explanation.

Hypothesis: DHCP server is down

Falsifier: clients in another relayed VLAN receive leases from the same server.

NEW • COMPLETE 180-DAY TEACHER CURRICULUM

Teach VLAN Troubleshooting Guide as part of a planned school year

This page gives you one topic. The 180-Day Teacher Curriculum puts it into a full course plan, with daily teaching notes, student activities and checks for understanding. Use it when you need to know what comes before this lesson and what to teach next.

AP Networking Complete 180-Day Teacher Curriculum
$199.99
180 Lessons • 180 Daily Simulators • 36 Teaching Weeks
GET THE 180-DAY CURRICULUM → See 3 free curriculum examples

Hypothesis: VLAN routing is absent

Falsifier: the source reaches a host in the destination VLAN on one protocol while only a different port is denied.

Hypothesis: endpoint is in correct VLAN

Falsifier: its source MAC is learned under a different VLAN than the design requires.

Changed-fact reasoning

One changed fact can completely change the best answer

Original scenarioChanged factHow reasoning changes
VLAN 20 fails across trunk; VLANs 10/30 workNow all VLANs failA shared trunk/physical failure becomes much more plausible.
PC MAC learned in wrong VLANMAC now learned in intended VLANAccess placement is supported; move to IP/gateway/path evidence.
Same-VLAN peers work, gateway failsGateway now respondsMove outward toward routing, policy, destination, or application.
DHCP fails only VLAN 20Static IP in VLAN 20 reaches remote networksBasic VLAN/routed path is supported; DHCP-specific dependencies become stronger.

Swipe horizontally to use the changed-fact table.

Exam-transfer method

Answer VLAN troubleshooting questions in four moves

  1. State the boundary: “The failure appears VLAN-specific across the trunk.”
  2. Name the evidence: “Other VLANs cross the same uplink, but VLAN 20 is missing from the allowed set.”
  3. Choose the narrow action: “Correct VLAN 20 carriage rather than replacing the entire uplink.”
  4. Verify both sides: “Retest VLAN 20 and confirm the previously working VLANs remain healthy.”
High-value habit: Always separate observation, inference, and verification. That prevents a plausible guess from being treated as proof.
Free digital flashcards

24 VLAN troubleshooting flashcards

These cards emphasize diagnosis, evidence boundaries, failure signatures, and changed-fact reasoning—not just vocabulary.

All VLAN cards
Click or press Enter/Space to reveal.
Explain why the evidence supports this answer.
0 seen•24 cards

Related troubleshooting deep dive

For a narrower evidence-based scenario, use VLAN Access Port vs. Trunk Port Mismatch Troubleshooting. It includes a free interactive reasoning activity and step-by-step diagnostic evidence.