Packet.School
HomeLevelsSandboxPricingAbout
XP1,240
L2 · OSI Model
Level 2
6 lessons
  • 01What is the OSI Model?
  • 027 Layers Detailed
  • 03TCP/IP Model
  • 04Packet Journey
  • 05Encapsulation
  • 06Level 2 Quiz
Levels/L2 · OSI Model/Lesson 01
Lesson · 01

What is the OSI Model?

OSI (Open Systems Interconnection) is a conceptual framework that divides network communication into seven distinct layers. Each layer handles one job and talks only to the layers directly above and below it.

Duration
3min
Level
L2
Type
Lesson
Progress
1/ 6

01Why layers?

Splitting the problem means you can change one piece without touching the rest. When HTTPS replaced HTTP, only the Application layer changed — the routing, switching, and cabling below it didn't move. That's the power of layering.

  • Isolation — a bug in TCP doesn't crash the Wi-Fi driver
  • Interoperability — a Cisco router and a Juniper router speak the same Layer 3
  • Troubleshooting — "ping works, HTTP doesn't" instantly narrows the problem to Layer 7

02The seven layers

Read top-down: data starts at Application and gets wrapped at every step on the way down to the wire. At the destination the process reverses — each layer strips its own header and passes the remainder up.

7
Application
User-facing services — the only layer your browser touches directly
HTTPDNSSMTPFTPSSH
6
Presentation
Data format, encryption, compression — translates between app and network
TLSJPEGASCII
5
Session
Opens, manages, and closes sessions between two applications
NetBIOSRPC
4
Transport
End-to-end delivery, segmentation, error recovery, flow control
TCPUDP
3
Network
Logical addressing and routing — how packets cross multiple networks
IPICMPBGP
2
Data Link
Node-to-node delivery on the same network, MAC addressing, error detection
EthernetWi-FiARP
1
Physical
Raw bits on the medium — voltage, light pulses, or radio waves
Ethernet cableFiberWi-Fi signal

03Memory trick

Top to bottom · layers 7 → 1
All  People  Seem  To  Need  Data  Processing
Application · Presentation · Session · Transport · Network · Data Link · Physical

04Summary

LayerNameKey idea
7ApplicationWhat the user sees
6PresentationFormat & encryption
5SessionConnection lifecycle
4TransportPorts, TCP/UDP
3NetworkIP addresses, routing
2Data LinkMAC, same-network hop
1PhysicalBits on the wire
Previous
Level 1 Quiz
Next
7 Layers Detailed
On this page
  • Why layers?
  • The seven layers
  • Memory trick
  • Summary
Packet.School

An open, interactive curriculum for computer networking.

v3.0 · MIT22 lessons live

Learn

  • Lessons
  • Sandbox
  • Levels
  • Pricing
  • About

Simulations

  • Packet Journey
  • DNS Lookup
  • DHCP Simulator
  • Subnet Calc
  • Network Builder
  • Terminal

Project

  • About
  • Changelog
  • GitHub
  • Contributing
  • Style guide

Newsletter

One short email when a new level ships. No tracking pixels.

© 2026 Packet.School — MIT licensed☕ Support with a coffeebuilt in the open · last updated 2026.05.14