AP Networking • Course Unit

AP Networking Unit 3: Managing Many Connections

Master switching, VLANs, trunks, configuration verification, segmentation, firewall policy, packet paths, and segmented-LAN troubleshooting by following the exact dependency chain traffic uses.

Independent AP Networking resource • Updated 2026-09-12 • Includes 24 free digital flashcards
Unit 3 rule: controlled connectivity matters more than universal connectivity—prove both allowed and denied paths.
Practice with Flashcards
Unit 3 big idea

Managing many connections means controlling where traffic can go—and proving that the design works

Unit 3 is where the LAN stops being a simple shared network and becomes an intentional system. Switches, trunks, VLANs, Layer 3 gateways, DHCP, firewalls, and verification all work together. The goal is not “everything can reach everything.” The goal is that required paths work, prohibited paths do not, and the network produces evidence that explains both outcomes.

Unit 3 reasoning chain: Device role → Layer 2 path → VLAN/trunk → IP subnet/gateway → routing → firewall policy → application → verification.
The six topics

Each Unit 3 topic adds one more layer of control

3.1 Devices & Connections

Identify switches, routers, APs, firewalls, NICs, media, and link roles.

3.2 Switching Topologies

Understand MAC learning and Layer 2 forwarding.

3.3 Configuration Verification

Compare intended, configured, and operational state.

3.4 Segmentation & Security

Create logical boundaries using VLANs and subnets.

3.5 Firewalls & Filtering

Apply policy between trust zones and services.

3.6 Segmented-LAN Troubleshooting

Trace failures across the whole dependency chain.

Layer 2 vs Layer 3

Switches and routers make different forwarding decisions

A switch forwards Ethernet frames inside a Layer 2 domain using MAC-address information. A router forwards IP packets between networks using destination prefixes and routing decisions. A Layer 3 switch can do both, but the reasoning boundary still matters.

Same subnet/VLAN: Host → switch → destination MAC Different subnet: Host → switch → default gateway MAC Gateway → route lookup → next network

When troubleshooting, ask first whether the failure is inside the local Layer 2 domain or at the Layer 3 boundary.

MAC learning

A switch learns from source MAC addresses, then forwards based on destination MAC addresses

As frames arrive, a switch records the source MAC and ingress port. When the destination MAC is already known, the switch forwards toward that port. When it is unknown, the switch may flood within the VLAN.

Frame arrives Gi1/0/8 Source: AA:AA:AA:AA:AA:AA Switch learns: AA... → Gi1/0/8 Destination: BB:BB:BB:BB:BB:BB If BB known: forward to learned port If BB unknown: flood within VLAN
VLAN boundaries

Physical proximity does not determine logical membership

Two endpoints connected to the same physical switch can be in different VLANs and therefore separate Layer 2 broadcast domains. Conversely, one VLAN can span several switches when trunks carry it across the infrastructure.

Critical distinction: a link light proves physical connectivity, not correct VLAN membership.
Access vs trunk

Endpoint links and infrastructure links solve different problems

Access port

Typically associates endpoint traffic with one VLAN.

Trunk

Typically carries multiple VLANs across infrastructure.

Failure clue

One VLAN failing while others work points toward VLAN-specific state.

If VLAN 30 is missing from a trunk, devices in VLAN 30 may work locally on one switch but fail to reach same-VLAN resources across the trunk.

Trunk differential diagnosis

Working VLANs become controls for the failed VLAN

Same uplink: VLAN 10 works ✓ VLAN 20 works ✓ VLAN 30 fails ✕ Shared physical link: working to a useful degree Inspect: VLAN 30 allowed/tagged state VLAN 30 membership VLAN 30 SVI/gateway VLAN-specific policy

This is much stronger than treating the trunk as simply “up” or “down.”

Configuration verification

Entered commands are intent, not proof

A technician can configure VLAN 30 on a port and still have an operational failure. Verify the VLAN exists, the port is operationally in VLAN 30, the trunk carries it, the client receives the expected subnet, the gateway is reachable, and policy permits the required path.

Best artifact depends on the claim: interface state, VLAN table, MAC table, DHCP lease, route table, firewall counter, or application test each answers a different question.
Segmentation

Segment because trust and traffic requirements differ

A school may separate Students, Staff, Guests, Servers, and Network Management. Segmentation reduces broadcast scope, separates trust groups, simplifies policy, and constrains lateral movement.

SegmentTypical needTypical restriction
StudentsDNS, learning services, InternetNo infrastructure management
StaffInternal apps, printers, InternetLimited admin access
GuestsInternetNo internal trusted resources
ServersPublished internal servicesRestricted inbound access
ManagementDevice administrationHighly limited source access

Swipe horizontally to see the segmentation table.

VLAN vs subnet

VLANs and IP subnets often align, but they are not the same concept

A VLAN is a Layer 2 broadcast domain. An IP subnet is a Layer 3 address domain. Designs commonly map one subnet to one VLAN because that creates clean boundaries, but the concepts answer different questions.

VLAN

Who shares the Layer 2 broadcast domain?

Subnet

Which addresses are local at Layer 3?

Gateway

Where does traffic go when the destination is remote?

Firewall policy

Segmentation creates boundaries; firewall policy decides which crossings are allowed

Once traffic reaches a Layer 3 boundary, firewall or ACL logic can evaluate source, destination, protocol, and port. Least privilege means allowing only what the requirement needs.

Requirement: Staff → AppServer:443 allowed Guest → AppServer:443 denied Students → Management:22 denied Strong verification: test allowed path test denied path check matching rule counters/logs
Rule order

On first-match systems, rule order can completely change the policy result

Rule 10: ALLOW Any → Internal Rule 20: DENY Guest → Internal Observed: Guest reaches internal app Reason: Rule 10 matches first

A correct-looking deny rule is irrelevant if an earlier rule already accepted the flow.

Segmented packet walk

Trace one packet through every control point

A client in VLAN 20 at 10.20.0.25/24 wants an HTTPS server at 10.40.0.50/24 in VLAN 40.

1
Client compares prefixes.
The destination is remote.
2
Client resolves gateway MAC.
The frame is sent toward VLAN 20's default gateway.
3
Switch forwards inside VLAN 20.
The frame reaches the Layer 3 boundary.
4
Gateway routes toward 10.40.0.0/24.
A route and usable next step are required.
5
Firewall/ACL evaluates policy.
TCP/443 must be permitted for the source.
6
Traffic enters VLAN 40.
The server must have correct addressing and an active HTTPS listener.
7
Return traffic needs a valid reverse path.
Failure map

The user sees one outage, but the path contains many independent dependencies

DependencyPossible failureUseful artifact
Access portWrong VLANPort/VLAN state
TrunkVLAN missingAllowed/active VLAN list
GatewaySVI/interface downInterface state + connected route
RoutingMissing/wrong routeRoute table
FirewallRule denies flowCounter/log
ServerWrong gateway or no listenerHost config / socket state

Swipe horizontally to see the dependency map.

Troubleshooting scope

Ask what else shares the failed component

Every VLAN fails

Inspect shared uplink/trunk or upstream dependency.

One VLAN fails

Inspect that VLAN's carriage, membership, SVI, and policy.

One port fails

Inspect endpoint, cable, access port, and local config.

The narrower the symptom, the narrower the first hypothesis should be.

Broadcast-domain effects

Segmentation changes who receives Layer 2 broadcasts

ARP requests and many other Ethernet broadcasts remain inside their Layer 2 broadcast domain. Routers do not normally forward ordinary Layer 2 broadcasts between IP subnets. Splitting a flat LAN into VLANs changes broadcast reach and may also change discovery behavior for applications that relied on local broadcast or multicast.

Important: a discovery feature breaking after segmentation does not automatically mean the segmentation is wrong. The design may now require a supported discovery mechanism across boundaries.
Verification needs a denied path

Successful access alone does not prove security policy

If Staff should reach a server on TCP/443 and Students should not, a successful Staff test proves only the positive requirement. Test the Student path too.

Staff → Server:443 allowed ✓ Students → Server:443 denied ✓ Expected firewall counters: both increment ✓

This distinction—“the allowed task works” versus “the policy works”—is central to Unit 3.

Artifact boundaries

One command rarely proves the whole design

ArtifactWhat it can proveWhat it cannot prove alone
VLAN tableConfigured VLAN presence/membershipApplication reachability
MAC tableLayer 2 learningRouting or firewall success
Route tableMatching route existsFirewall/application success
Firewall logPolicy decision for a flowDestination listener state
DHCP leaseOperational client addressingInter-VLAN policy

Swipe horizontally to see the artifact boundaries.

Integrated design case

A new student lab crosses almost every Unit 3 dependency

A new lab uses VLAN 25 and 10.25.0.0/24. Access ports in two rooms must place student PCs into VLAN 25. The inter-switch trunk must carry VLAN 25. The gateway at 10.25.0.1 must be operational. DHCP must provide VLAN 25 leases. Policy should allow DNS, learning services, and Internet access while denying infrastructure management.

Room A: works Room B: no DHCP lease Trunk toward Room B: VLAN 25 absent Strong conclusion: VLAN 25 trunk carriage is the first failed dependency

After correcting the trunk, verify DHCP, gateway access, required services, and the denied management path.

Integrated design review

Audit one representative endpoint from each segment

For each role—Student, Staff, Guest, Server, Management—trace the intended access-port VLAN, subnet, gateway, trunk path, route, and firewall permissions. Then choose one allowed destination and one prohibited destination.

★ Routing Practice • Unit 3: Managing Many Connections

A five-minute warm-up for AP Networking Unit 3: Managing Many Connections

Tomorrow’s opening question can pick up where this page leaves off: ask students to explain the idea in their own words and apply it to a real network. 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
For the allowed path: record the last successful checkpoint and artifact proving each dependency.
For the denied path: identify the rule that should stop the traffic and verify the denial.

This creates a reusable operational map that another technician can use to predict failure scope before changing configuration.

Study order

Learn Unit 3 in dependency order

Readiness check

What Unit 3 mastery looks like

  • Identify network devices by function, not appearance.
  • Predict switch forwarding from MAC-table evidence.
  • Explain access versus trunk behavior.
  • Separate VLAN concepts from IP-subnet concepts.
  • Verify configured state with operational evidence.
  • Read firewall rules in order.
  • Trace an allowed and denied flow across a segmented LAN.
  • Use successful traffic to eliminate known-good portions of the path.
Capstone scenario

Trace one segmented flow and isolate the first failed dependency

Client: VLAN 20 10.20.0.25/24 GW 10.20.0.1 Target: 10.40.0.50:443 VLAN 40 Evidence: Client gateway reachable ✓ VLAN 20 trunk carriage ✓ Route to 10.40.0.0/24 exists ✓ Firewall allows Staff but denies Students Client role = Student Server listener on 443 ✓ Conclusion: policy is the first failed dependency Verification: Student denied ✓ Staff allowed ✓

This is the kind of integrated reasoning Unit 3 is designed to build: preserve the working layers, identify the first failed boundary, and verify both the allowed and denied outcomes.

Premium Troubleshooting Lab • 120 Missions

Let students try AP Networking Unit 3: Managing Many Connections 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 AP Networking Unit 3: Managing Many Connections.

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

Use MAC learning as evidence, not as proof of the entire path

A MAC table can answer whether the switch has learned an endpoint on the expected port and VLAN. That is powerful Layer 2 evidence, especially when comparing a working host with a failing host. But it does not prove the endpoint has the correct IP address, that the gateway is reachable, or that a firewall will allow the eventual routed flow.

Expected endpoint: MAC AA:AA... VLAN 25 Port Gi1/0/12 Observed: AA:AA... learned on Gi1/0/12 VLAN 25 ✓ What this proves: Layer 2 learning is present What remains unknown: IP configuration gateway reachability routing firewall application

This evidence-boundary habit prevents one successful command from being stretched into a conclusion it cannot support.

Gateway and SVI reasoning

Inter-VLAN routing depends on a working Layer 3 boundary

Each segmented client network needs a usable Layer 3 gateway. In many switched designs that gateway is an SVI; in others it may be a router subinterface or another routed interface. The exact platform matters less than the dependency: the gateway must exist, be operational, have the intended IP/prefix, and participate in routing.

Routing Exam Practice • Ap Networking Unit 3 Managing Many Connections

Check whether AP Networking Unit 3: Managing Many Connections 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
Client VLAN: 25 Subnet: 10.25.0.0/24 Expected gateway: 10.25.0.1 Verify: SVI/interface up IP = 10.25.0.1/24 connected route present client can reach gateway

If clients can communicate with each other inside VLAN 25 but no client can reach 10.25.0.1, focus on the Layer 3 boundary before investigating remote application policy.

DHCP inside a segmented LAN

A DHCP lease can reveal whether the endpoint reached the intended logical network

Unit 3 troubleshooting becomes much faster when you treat DHCP as evidence of placement. A client on the Staff SSID receiving a Guest subnet is not merely an addressing problem—it may indicate wrong SSID-to-VLAN mapping, an incorrect relay/helper target, or an unintended DHCP path.

Premium Evidence-Grading Copilot

Spend less time marking explanations about AP Networking Unit 3: Managing Many Connections

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
Expected Staff: 10.30.0.0/24 GW 10.30.0.1 Observed: 10.70.0.84/24 GW 10.70.0.1 Guest: 10.70.0.0/24 Stronger branch: logical placement / DHCP path not WAN outage
Failure localization by controls

Working paths are experiments you already ran

If Room A and Room B use the same firewall, ISP, and server but only Room B fails, those shared dependencies become weaker suspects. If VLAN 10 and VLAN 20 cross the same trunk while VLAN 25 fails, the shared physical link becomes weaker. Good Unit 3 troubleshooting constantly asks: what working traffic already proves part of the design?

Practical rule: every successful path should eliminate at least one class of failure before you make a configuration change.
Security verification matrix

Verify role-based policy with both allowed and denied examples

Source roleDestinationExpected resultEvidence
StaffAppServer:443AllowHTTPS success + allow counter
StudentAppServer:443Depends on requirementTest + matching rule
GuestManagement:22DenyFailed SSH + deny log
ManagementSwitch adminAllowAdmin session + source restriction

Swipe horizontally to see the security verification matrix.

A matrix like this exposes accidental broad allows that a single successful test would miss.

NEW • COMPLETE 180-DAY TEACHER CURRICULUM

Teach AP Networking Unit 3: Managing Many Connections 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
Change management

Define a known-good baseline before editing shared infrastructure

Unit 3 devices often sit on shared paths, so a small change can affect several VLANs at once. Before modifying a trunk, firewall rule, or SVI, record enough baseline evidence to tell whether unrelated services changed.

Before trunk edit: VLAN 10 works ✓ VLAN 20 works ✓ VLAN 25 fails ✕ Change: add VLAN 25 After: VLAN 10 works ✓ VLAN 20 works ✓ VLAN 25 works ✓ Conclusion: targeted change succeeded without breaking controls

This is much stronger than “I changed it and now my test works.”

Unit 3 capstone audit

Trace one endpoint from wall jack to policy decision

Choose one representative client and record the physical port, access VLAN, switch MAC learning, trunk path, IP address, prefix, default gateway, DHCP source, route, firewall decision, destination listener, and expected return path. Then test one allowed service and one denied service. This turns the unit into a complete operational model instead of six disconnected chapters.

Endpoint → Access Port → VLAN → Trunk → Gateway/SVI → Route → Firewall → Destination Service → Return Path At each arrow ask: What artifact proves this step?

If a future failure occurs, the last known-good checkpoint gives you a much narrower starting point.

Free digital flashcards

24 AP Networking Unit 3 digital flashcards

Practice switches, routers, MAC learning, VLANs, trunks, segmentation, gateways, routing, firewall order, broadcast domains, evidence boundaries, troubleshooting scope, and verification.

All Unit 3 cards
Click or press Enter/Space to reveal.
Preserve known-good checkpoints and trace the next boundary.
0 seen•24 cards
Continue studying

Move from Unit 3 overview into focused practice