The OSI model, used the way engineers really use it
In short: The OSI model splits network communication into seven layers. Its real value at work is as a troubleshooting checklist: start at the bottom and prove each layer works before moving up.
The seven layers at a glance
| # | Layer | What it does | Examples you'll meet |
|---|---|---|---|
| 7 | Application | Services the user's software talks to | HTTP/HTTPS, DNS, SMTP, SSH |
| 6 | Presentation | Formatting, encoding, encryption | TLS, character encoding, compression |
| 5 | Session | Opening, managing and closing conversations | Session setup and teardown, RPC |
| 4 | Transport | End-to-end delivery between applications, using ports | TCP (reliable), UDP (fast, no guarantees) |
| 3 | Network | Logical addressing and routing between networks | IPv4, IPv6, ICMP, routers |
| 2 | Data link | Delivery on the local network using MAC addresses | Ethernet, Wi-Fi, VLANs, switches |
| 1 | Physical | Bits on the wire or through the air | Cables, fibre, radio, connectors, link lights |
Encapsulation in one sentence
As data goes down the stack, each layer wraps it with its own header: application data becomes a segment (layer 4), then a packet (layer 3), then a frame (layer 2), then bits (layer 1). The receiver unwraps it in reverse.
Using the model to troubleshoot
When "the network is down", work from the bottom up and don't skip a layer:
- Layer 1: Is the cable plugged in? Is the link light on? Is Wi-Fi connected?
- Layer 2: Is the port in the right VLAN? Does the switch see the device's MAC address?
- Layer 3: Does the device have a valid IP, mask and gateway? Can it ping the gateway?
- Layer 4: Is the service port open, or is a firewall blocking it?
- Layers 5 to 7: Does DNS resolve? Is the application itself working?
Most real problems sit in layers 1 to 3, so checking them first saves time.
The TCP/IP model
Real networks run on the TCP/IP model, which groups the same ideas into four layers: Application (OSI 5 to 7), Transport (4), Internet (3) and Link (1 and 2). Engineers still say "a layer 2 problem" or "a layer 7 firewall" because the OSI numbers are a shared language.
Key takeaways
- Use the layers as a bottom-up troubleshooting checklist.
- Switches work mainly at layer 2, routers at layer 3.
- TCP is reliable and connection-based; UDP is faster with no delivery guarantee.
- TCP/IP is what runs; OSI is the shared vocabulary.
Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.