Networking involves many technologies working together: cables, radio signals, addresses, protocols and applications. To talk about them clearly, engineers use layered models. A layer is a group of functions that solves one part of the problem and hands its result to the next layer.
The OSI model has seven layers. Engineers still use it daily to describe where a problem sits.
| Layer | Name | What it handles | Examples |
|---|---|---|---|
| 7 | Application | Network services for applications | HTTP, DNS, SMTP |
| 6 | Presentation | Formatting, encryption | TLS, character encoding |
| 5 | Session | Opening and managing conversations | Session setup |
| 4 | Transport | Reliable or fast delivery between programs | TCP, UDP |
| 3 | Network | Logical addressing and routing | IP, routers |
| 2 | Data Link | Delivery on the local network | Ethernet, MAC addresses, switches |
| 1 | Physical | Signals on the medium | Cables, radio, fibre |
A common memory aid from Layer 1 upward is “Please Do Not Throw Sausage Pizza Away.”
The TCP/IP model is what the internet actually uses. It groups the OSI layers into four: Link, Internet, Transport and Application. In practice, people mix both: “it’s a Layer 2 problem” (switching) or “the app layer is fine.”
When you send data, each layer wraps it with its own header, like putting a letter in an envelope, then into a box, then onto a truck:
The receiving side removes each layer in reverse order.
If a link light is off, it is a Layer 1 problem. If a PC has no IP address, think Layers 2–3 and DHCP. If ping works but a website does not, look higher: DNS, ports or the application. Layers turn a confusing problem into a checklist.
Not a member yet? Register now
Are you a member? Login now