AP Networking • OSI Model • Study Resource

OSI Model 7 Layers Chart

Use a practical seven-layer chart that connects each OSI layer to identifiers, data units, device behavior, encapsulation, troubleshooting evidence, and the exact kind of failure each artifact supports.

Independent AP Networking resource • Updated 2026-09-13 • Includes 24 free digital flashcards
OSI rule: memorize the order only so you can use the evidence correctly.
Practice with Flashcards
Practical chart

The seven layers are most useful when each one is tied to evidence

A seven-layer chart becomes valuable when it helps you interpret what a command, packet, log, counter, or failure actually means. The exam-useful question is rarely “what number is DNS?” by itself. A stronger question is: “Which network function is failing, what artifact proves that, and which lower-layer dependencies are already known to work?”

Study rule: Layer number → function → identifiers → data unit → typical device behavior → failure evidence → next test.
Seven layers at a glance

Expanded OSI model chart

7
Application
Network services exposed to applications/users.
HTTP status, DNS response, authentication result, application logs.
Troubleshoot service logic, resolver data, application errors, API behavior.
6
Presentation
Representation, encryption, compression, encoding.
TLS/certificate state, encoding/format mismatch, encryption negotiation.
Separate secure-format or trust problems from raw transport failure.
5
Session
Conversation establishment, persistence, coordination, teardown.
Session state, persistence behavior, reconnect/session-loss patterns.
Use conceptually when the connection exists but session continuity/coordination fails.
4
Transport
Process-to-process delivery.
TCP/UDP ports, SYN/SYN-ACK, connection state, retransmission behavior.
Troubleshoot blocked ports, refusals, timeouts, listener state, transport behavior.
3
Network
Logical addressing and routed delivery.
IP address, prefix, gateway, route table, TTL/hops.
Troubleshoot wrong subnets, missing routes, next hops, remote path selection.
2
Data Link
Local frame delivery.
MAC addresses, VLAN IDs, switch tables, access/trunk state.
Troubleshoot VLAN placement, MAC learning, trunks, local switching.
1
Physical
Bits/signals over media.
Carrier, cable, optics, signal, link LEDs, interface physical state.
Troubleshoot no-link, damaged media, bad transceiver, power, signal quality.
Identifiers

MAC addresses, IP addresses, and ports answer different questions

Layer 2: MAC

Where should a local frame go on this Layer 2 domain?

Layer 3: IP

Which logical network/destination should the packet reach?

Layer 4: Port

Which process or service should receive the transport traffic?

Common exam mistake: switches do not choose Internet routes based on TCP ports, and routers do not normally make Layer 2 switching decisions from application names.
Data units

What changes as data moves down the stack

Layer rangeCommon data-unit wordingWhat gets added or interpreted
7–5DataApplication/session/representation information
4Segment / datagramTCP/UDP transport information
3PacketIP addressing and routing information
2FrameLocal-link MAC/VLAN information
1Bits/signalsPhysical transmission

Swipe horizontally to see the data-unit chart.

Encapsulation

A router changes the local frame while forwarding the packet

Host A sends: Ethernet frame IP packet TCP segment application data Router receives frame: removes incoming Layer 2 header/trailer Router forwards: builds NEW Layer 2 frame around the IP packet for the next link

This is why MAC addresses are local-hop information while IP addresses support routed delivery across multiple Layer 2 segments.

Layer 1

No carrier means start with physical attachment

Ethernet: link down carrier none

Before checking DNS or TCP ports, verify cable, transceiver, NIC, switch port, power, and administrative state.

Boundary discipline: higher-layer tests are unreliable when the physical path itself is absent.
Layer 2

Link up does not prove the endpoint is in the right VLAN

Physical link: up ✓ Expected: VLAN 20 MAC table: client MAC in VLAN 30 ✕

The physical layer is already substantially healthy. The evidence points to logical Layer 2 placement: access VLAN, SSID-to-VLAN mapping, dynamic assignment, or trunk tagging.

Layer 3

Wrong addressing changes the path before routing even begins

Client: 192.168.14.77/26 Gateway: 192.168.14.1 Client subnet: 192.168.14.64/26

The client and gateway are in different /26 blocks. That is a Layer 3 addressing contradiction even if the cable and VLAN are perfect.

Layer 4

Ping success does not prove the required TCP service works

Ping server: success ✓ TCP/443: refused ✕

Layer 3 reachability is substantially proven for the tested path. Inspect the destination listener, local host firewall, service state, or other active rejection mechanism before returning to Layer 1.

Layer 5

Session concepts matter when conversation continuity fails

In practical modern networking, Layer 5 is often represented inside application libraries and protocols rather than a separate visible device. Use it conceptually when an application establishes communication but cannot maintain, resume, or coordinate session state correctly.

Do not force every real protocol into one isolated OSI box. The model is a reasoning aid, not a rigid product taxonomy.
Layer 6

TLS problems can occur after TCP already works

TCP/443: connects ✓ TLS: certificate validation fails ✕

The IP path and TCP transport are already working. The failure now involves secure representation/trust negotiation rather than basic packet delivery.

Information gain: transport success sharply narrows the next test.
Layer 7

An HTTP 500 response is evidence that the application answered

DNS: expected IP ✓ TCP: connected ✓ TLS: completed ✓ HTTP: 500 Internal Server Error

The application returned an error. Troubleshooting DNS or replacing the cable ignores several successful lower-layer checkpoints.

★ Troubleshooting Practice • OSI Model 7 Layers Chart

A five-minute warm-up for OSI Model 7 Layers Chart

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
DNS nuance

DNS is an application service built on lower layers

DNS is commonly treated as an application-layer protocol, but it still depends on transport, IP, and link behavior underneath it. Saying “DNS is Layer 7” does not mean lower layers are irrelevant; it means the observed service function is name resolution.

Exam-ready phrasing: “DNS resolution failed even though routed IP connectivity works.”
Devices

Real network devices can span several conceptual layers

Device/functionPrimary layer focusImportant nuance
Ethernet switchLayer 2Learns MACs and forwards frames
RouterLayer 3Selects next hops by IP prefixes
Layer 3 switchLayers 2 + 3Performs both switching and routing
FirewallMultipleCan inspect network, transport, state, and application information
Wireless APLayers 1 + 2 primarilyRadio plus Layer 2 bridging/association behavior

Swipe horizontally to compare device roles.

Evidence ladder

Every successful layer creates a checkpoint

Scenario matrix

Match the artifact to the strongest current layer boundary

ArtifactBest layer boundaryBest next move
No carrierLayer 1Check media/port/transceiver
MAC learned in wrong VLANLayer 2Check VLAN placement/tagging
Wrong prefix/default gatewayLayer 3Calculate subnet and compare design
Ping works, TCP/443 refusedLayer 4 / listener boundaryCheck listener and host policy
TCP works, TLS failsLayer 6-style secure representation/trustInspect certificate/TLS negotiation
HTTP 500Layer 7Inspect application/server logs

Swipe horizontally to see the troubleshooting matrix.

Premium Troubleshooting Lab • 120 Missions

Let students try OSI Model 7 Layers Chart 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 OSI Model 7 Layers Chart.

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

The two models group functions differently

The TCP/IP model uses fewer layers and reflects the Internet protocol suite more directly. OSI separates Presentation and Session as their own conceptual layers, while TCP/IP commonly groups those functions into the application layer. Use the model that best helps explain the artifact instead of forcing artificial one-to-one mappings.

Practical rule: models organize thinking; evidence decides the troubleshooting boundary.
Common mistakes

Four ways students misuse the OSI model

Memorizing only numbers

Knowing “Transport = 4” is weak if you cannot interpret a TCP refusal.

Restarting at Layer 1

Do not revisit cables after several higher-layer checkpoints succeed.

Forcing devices into one layer

Modern firewalls and multilayer switches span functions.

Treating success as universal

Ping success does not prove DNS, TCP/443, TLS, or the application.

Ignoring the artifact

The output matters more than the mnemonic.

Overclaiming

State only what the tested function actually proves.

Encapsulation lab

Follow one web request through the stack

Application: HTTP request Presentation: TLS protection Transport: TCP src ephemeral → dst 443 Network: client IP → server IP Data Link: client MAC → gateway MAC Physical: bits/signals over local medium

At the gateway, the Layer 2 frame changes for the next hop, while the packet continues toward the destination. This single example connects addressing, ports, MACs, and physical transmission in one chain.

Troubleshooting Exam Practice • OSI Model 7 Layers Chart

Check whether OSI Model 7 Layers Chart 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
Troubleshooting lab

Change one artifact and watch the failure boundary move

Version A:

No carrier. Stay at Layer 1.

Version B:

Carrier up, MAC learned in wrong VLAN. Move to Layer 2.

Version C:

VLAN correct, gateway outside subnet. Move to Layer 3.

Premium Evidence-Grading Copilot

Spend less time marking explanations about OSI Model 7 Layers Chart

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
Version D:

IP path works, TCP/443 refused. Move to transport/listener evidence.

Version E:

TCP connects, TLS fails. Move to secure-session/presentation evidence.

NEW • COMPLETE 180-DAY TEACHER CURRICULUM

Teach OSI Model 7 Layers Chart 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
Version F:

TLS succeeds, HTTP 500. Move to application/server behavior.

Exam transfer

Answer with function + evidence, not layer number alone

Instead of writing “Layer 2,” write: “The switch learns the endpoint MAC in VLAN 30 even though the design specifies VLAN 20, so local physical attachment is working but Layer 2 logical placement is incorrect.”

Strong answer pattern: observed artifact → network function → layer boundary → lower layer already proven → next test.
Free digital flashcards

24 OSI Model 7 Layers digital flashcards

Practice all seven layers, identifiers, data units, encapsulation, device roles, troubleshooting boundaries, evidence limits, OSI vs. TCP/IP, and exam-style reasoning.

All OSI model cards
Click or press Enter/Space to reveal.
Tie the layer to the artifact and the network function.
0 seen•24 cards
Continue studying

Use the chart with troubleshooting and protocol practice