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?
The shortcut
Troubleshoot from the bottom up and stop at the first layer that fails. Everything above a broken layer will look broken too, so fixing a higher layer first wastes time.
Layer 1: is there a link light?
The port light on the laptop's dock is dark. Reseat the cable — the light comes on. Signal: working.
The trap is jumping straight to "reinstall the browser" when the real fault was a cable. Bottom up is slower to say and faster to fix.
Drills
Answer fast — trust the rule.
At which OSI layer do switches forward frames by MAC address?
What is the unit of data at layer 3?
A fibre cable is bent too sharply and the light no longer gets through. Which layer has failed?
Asha can ping 192.168.10.1 but not any address outside the office. Which layer should you look at first?
Which device belongs to layer 3?
Remember
- Seven layers, each serving the one above: build up, troubleshoot from the bottom.
- Layer 1 bits and signals; layer 2 frames and MACs (switches); layer 3 packets and IPs (routers).
- Stop at the first layer that fails — everything above it only looks broken.
