Back to blog

Networking · 2026-03-28

OSI Model Explained With Real Network Examples

The OSI model became easier for me when I stopped treating it like a memory test and started using it as a troubleshooting map.

The simple idea

The OSI model splits network communication into seven layers. Each layer has a job. If something breaks, the layers help me ask better questions instead of guessing randomly.

The layers are Physical, Data Link, Network, Transport, Session, Presentation, and Application. Beginners often memorize the names but miss the purpose. The purpose is to separate responsibilities. Cables and signals are not the same problem as IP routing, and IP routing is not the same problem as a web server error.

Example: opening a website

When I open a website, the application layer includes HTTP or HTTPS. DNS helps find the server name. TCP provides a reliable connection. IP handles addressing and routing. Ethernet or Wi-Fi moves frames on the local network. The physical layer is the actual signal over cable or wireless.

If the cable is unplugged, that is a lower-layer problem. If the cable works but the IP address is wrong, that is a network-layer problem. If the IP path works but the website port is closed, that points closer to the transport or application layer. This is why the model helps in real troubleshooting.

How I use it for troubleshooting

  • Layer 1: Is the cable connected or Wi-Fi enabled?
  • Layer 2: Is the device connected to the right network or VLAN?
  • Layer 3: Does the device have the correct IP address and gateway?
  • Layer 4: Is the required port reachable?
  • Layer 7: Is the service or application actually working?

Beginner example checklist

If a laptop cannot open a website, I can check layers in order. First, confirm Wi-Fi is connected. Next, confirm the laptop has an IP address. Then ping the gateway. Then ping a public IP address. Then test DNS. Finally, try the website again or test another website. Each step removes one possible cause.

Common mistake

A common mistake is jumping straight to the application. For example, blaming the browser before checking IP settings or DNS. The OSI model reminds me to prove the lower layers first.

Lesson learned

The OSI model is useful because it slows me down. Instead of saying “the internet is broken,” I can check one layer at a time and document what I confirmed.