Free tech learning for everyone, from basics to pro

NoteNetworking fundamentalsBeginner

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

#LayerWhat it doesExamples you'll meet
7ApplicationServices the user's software talks toHTTP/HTTPS, DNS, SMTP, SSH
6PresentationFormatting, encoding, encryptionTLS, character encoding, compression
5SessionOpening, managing and closing conversationsSession setup and teardown, RPC
4TransportEnd-to-end delivery between applications, using portsTCP (reliable), UDP (fast, no guarantees)
3NetworkLogical addressing and routing between networksIPv4, IPv6, ICMP, routers
2Data linkDelivery on the local network using MAC addressesEthernet, Wi-Fi, VLANs, switches
1PhysicalBits on the wire or through the airCables, 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:

  1. Layer 1: Is the cable plugged in? Is the link light on? Is Wi-Fi connected?
  2. Layer 2: Is the port in the right VLAN? Does the switch see the device's MAC address?
  3. Layer 3: Does the device have a valid IP, mask and gateway? Can it ping the gateway?
  4. Layer 4: Is the service port open, or is a firewall blocking it?
  5. 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.
Tracks your learning on this device only. See your progress on the learning paths.

About the author

Mohamed Fayas

Founder of FM TecHub. CCNA certified, with a BTEC HND in Network Engineering, and BEng (Hons) in Computer Networking and Cloud Security. He writes practical, plain-English guides on networking, security and cloud.

More about the author

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.

Stay up to date by email

New notes, tools and security news from FM TecHub, explained simply. Free.

We only use your email to send these updates. See our privacy policy.