Skip to the workspace
Pebellslearn by building
The OSI and TCP/IP Models  ›  Lesson

The OSI Model: Physical, Data Link and Network

Data Link 15 minThe OSI model splits networking into seven layers, and the bottom three move bits over media, frames between neighbours by MAC, and packets between networks by IP.

network engineer / The OSI Model: Physical, Data Link and Network

Explore each scene at your own pace.

01 · The rule

The rule

The OSI Model: Physical, Data Link and Network

Kite Studio's help-desk ticket reads "the internet is broken". That could mean a loose cable, a confused switch, a wrong gateway, a DNS outage or a crashed app. The OSI model is a shared map that splits networking into seven layers, so engineers can say exactly where a problem lives and check the layers one at a time.

The rule

Seven layers, each serving the one above: build up, troubleshoot from the bottom.

The seven OSI layers, from the bottom:

# Layer Unit of data
7 Application data
6 Presentation data
5 Session data
4 Transport segment (TCP) / datagram (UDP)
3 Network packet
2 Data Link frame
1 Physical bits

A memory hook, bottom to top: Pune Designers Never Throw Spare Pencils Away.

This lesson covers the bottom three, the layers that actually move data between machines.

Layer 1 — Physical. Raw bits as signals: voltages on copper, pulses of light in fibre, radio waves in the air. Cables, connectors, signal strength and hubs live here. Question it answers: is there a working signal?

Layer 2 — Data Link. Frames between neighbours on one link, addressed by MAC, with a checksum to catch damaged frames. Ethernet and Wi-Fi are layer-2 technologies; switches and access points work here. Question: can I reach the next device on this link?

Layer 3 — Network. Packets between networks, addressed by IP, steered hop by hop by routers. ICMP, the protocol behind ping, belongs here too. Question: can I reach a device on another network?

Scene 1 of 5
Hover to wake the cannons. Drag to move, or use arrow keys when focused. Press Enter to fire a shot.