# Packets and the OSI Model

> Why data crosses a network as many small packets, not one big piece. What the seven layers of the OSI model are, and why people still use it.

**Course:** [Computer Networking](https://learn.benibix.com/learn/infrastructure-networking)  
**Time:** 11 min

**After this lesson you can:**

- Explain why data is cut into packets
- Name what a packet carries
- Place a problem on a layer of the OSI model

## Why data travels in small pieces

A network never sends a file in one piece. It cuts the file into packets, small pieces of about 1,500 bytes each. A photo of 3 megabytes becomes around 2,000 packets. Each one carries an address label, so it can find its own way, and the far end puts them back together.

Small pieces share a line fairly. A big file sent whole would block the line until it was done. As packets, your file, a video call and a neighbour's game all share the line, a few pieces at a time. A lost piece also costs little, because only that piece has to be sent again.

Each packet has two parts. The header is the label: where it came from, where it is going, and its number in the line. The rest is the data itself. Routers read the header and never need to look at the data.

The OSI model is a map that splits network work into seven layers. Layer 1 is the cable or the radio. Layer 2 is the local network and MAC addresses. Layer 3 is the address that crosses the internet. Layer 4 makes sure the data arrives. Layer 7 is the app, such as a web page.

Each layer only talks to the ones just above and below it. The app does not care whether the data went over a cable or Wi-Fi. The cable does not care whether it carries a web page or a call. That is why a new kind of Wi-Fi works with old apps.

The real internet uses a simpler set of four layers, but people still name problems by OSI number. A layer 1 problem is an unplugged cable. A layer 7 problem is an app bug. Saying the number tells a colleague where to look first.

A common mistake is to start fixing at the top. When a site will not load, check the bottom first: is the cable in, is the Wi-Fi on, does the network answer at all? Most faults are lower down than they look.

![A stack of seven layers, numbered from 1 at the bottom to 7 at the top: physical, data link, network, transport, session, presentation and application. Beside each layer is a real example, such as cables and Wi-Fi at layer 1, MAC addresses at layer 2, IP at layer 3, TCP and UDP at layer 4 and HTTP at layer 7.](https://learn.benibix.com/diagrams/inf2-osi.svg)

### Example: Jack's video call breaks up

Jack's video calls freeze every few minutes, but web pages load fine. He checks the bottom layers first.

His laptop is on Wi-Fi two rooms away from the router, and some packets are lost on the way. He plugs in a cable, a layer 1 fix, and the calls stop freezing.

**Words in this lesson:** [Network Packet](https://learn.benibix.com/term/infrastructure/packet), [Open Systems Interconnection (OSI) Model](https://learn.benibix.com/term/infrastructure/osi-model)

**Question:** Why does a network cut a file into packets?

**Answer:** So many users can share the line, and a lost piece is cheap to resend. Packets take turns on a shared line, so no one file blocks it. When one goes missing, only that small piece is sent again.

---

Source: https://learn.benibix.com/learn/infrastructure-networking/packets-and-the-osi-model
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
