Packets
The Internet's delivery boxes
What Is a Packet?
One of the most important Internet concepts is packets.
A packet is a small piece of data. Large information is broken into many packets before traveling.
Example
Imagine sending a 500-page book.
Instead of one giant package:
- You split it into hundreds of smaller boxes.
- These boxes travel separately.
- At the destination: the boxes are reassembled.
The Internet does the same thing.
Why Use Packets?
Packets make communication:
If one packet gets lost: only that packet needs to be resent. Not the entire file.
Example: Watching a Video
A video may contain millions of packets.
Packets travel through:
Then your device combines them into a smooth video.
Interactive Diagram
Launch the interactive diagram to see packets in action.
Open Interactive DiagramStep-by-Step Walkthrough
Introduction: The Internet's Delivery Boxes
Every time you load a web page, send an email, stream a song, or play a game online, your data is being broken down, labeled, shipped, routed, and reassembled — all in a fraction of a second.
The secret behind this invisible high-speed delivery service is the packet — the fundamental unit of data transmission on the Internet.
In this chapter we explore what packets are, how they work, and why they make the Internet fast, reliable, and scalable.
How It Works
Packets Explained Like You Are 5
Imagine you want to mail a giant teddy bear to your cousin in another city. The box is way too big to fit in the mail truck! So you take the bear apart — one arm here, one leg there, the head, the body — and put each piece in its own small box. You write your cousin's address on each box and mail them separately.
Some boxes might take a different road. Some might arrive at different times. But once all the boxes reach your cousin, she opens them up and puts the teddy bear back together — good as new!
That is exactly how the Internet sends data. Your photo, video, or message is broken into packets, each packet is sent separately, and when they all arrive, your device puts them back together.
Deeper Dive
When you send data over the Internet, your computer does not shoot out one giant blob of information. Instead, it chops the data into thousands of tiny chunks called packets.
Each packet contains three key parts:
Header
Contains the source IP, destination IP, packet number, and other metadata. Like the "To" and "From" labels on a package.
Payload
The actual chunk of data — a few bytes of your photo, video, or email. This is the "stuffing" inside the package.
Trailer
Often includes error-checking info so the receiver can tell if the packet got damaged in transit.
Packets can take different paths to the same destination. Some routes are faster, some avoid traffic. When they arrive, they might be out of order! Your device reorders them using the packet numbers in the headers.
This is called packet switching — the technology that makes the Internet efficient and resilient.
Advanced
Packet switching is a communication method where data is divided into independently routed packets. Unlike circuit switching (used by old telephone networks), packet switching does not require a dedicated communication path. Each packet contains enough addressing information to travel from source to destination independently.
Key characteristics:
- Store-and-forward: Each router receives a packet completely before forwarding it to the next hop.
- Statistical multiplexing: Network links are shared dynamically among many users; packets queue and are sent as bandwidth becomes available.
- Best-effort delivery: Packets may be lost, delayed, duplicated, or delivered out of order. Upper-layer protocols (like TCP) handle reliability.
- Maximum Transmission Unit (MTU): Each network link has a maximum packet size (typically 1500 bytes for Ethernet). Larger data must be fragmented.
The Internet Protocol (IP) operates at the network layer and defines the packet structure. The Transmission Control Protocol (TCP) sits above IP and manages retransmission, ordering, and flow control.
Vocabulary Table
| Term | Definition |
|---|---|
| Packet | A small unit of data transmitted over a network. |
| Packet Switching | The method of breaking data into packets and routing them independently. |
| Header | The part of a packet containing source/destination addresses and metadata. |
| Payload | The actual data content carried inside a packet. |
| Trailer | The end section of a packet, often used for error detection. |
| MTU | Maximum Transmission Unit — the largest packet size a network can handle. |
| Fragmentation | The process of splitting a packet into smaller pieces to fit network limits. |
| Router | A device that forwards packets between networks based on IP addresses. |
| Latency | The time it takes for a packet to travel from source to destination. |
| Throughput | The rate at which packets are successfully delivered over a network. |
Fun Facts About Packets
1500
The default MTU for Ethernet is 1500 bytes. Most packets are smaller than a single text message.
Billions per second
The global Internet carries billions of packets every second across millions of routers.
Lost in transit
About 0.1–1% of packets are lost on the open Internet. TCP automatically retransmits them.
Different paths
Two packets from the same file can travel entirely different routes across continents and arrive at different times.
Common Misconceptions
Packets always travel the same path
Not true. Packets can take different routes based on network conditions, congestion, and router decisions. This is what makes the Internet resilient — if one path fails, packets are rerouted.
Packets arrive in order
They often arrive out of order! Each packet carries a sequence number so the receiving device can reassemble them in the correct order regardless of arrival time.
All packets are the same size
Packet sizes vary. While Ethernet limits packets to 1500 bytes, the actual payload size depends on the application and protocol. VoIP packets are tiny; video streaming uses larger packets.
Knowledge Check
Test your understanding of packets.
1. What is a packet?
Show answer
A small unit of data transmitted over a network.
2. Which protocol ensures packets are retransmitted if lost?
Show answer
TCP (Transmission Control Protocol).
3. What is the typical MTU for Ethernet networks?
Show answer
1500 bytes.
4. True or False: All packets in a message travel the same path.
Show answer
False. Packets can take different paths.
5. True or False: A packet header contains the destination address.
Show answer
True. The header contains source and destination IP addresses.
6. Matching: Connect each term to its description.
7. Fill in the blank: The process of splitting data into packets is called __________.
Show answer
Fragmentation (or packetization).
8. Fill in the blank: The __________ sits above IP and handles retransmission of lost packets.
Show answer
TCP (Transmission Control Protocol).
Critical Thinking Questions
1. Efficiency vs. Reliability
Why does breaking a file into thousands of small packets make the Internet more efficient than sending the entire file as one block? What happens if one packet out of a thousand gets lost — how does this compare to losing one giant block?
2. Real-World Analogy
Think of a highway system. How are packets like cars? How are routers like highway interchanges? What would happen if there were no traffic lights (routers) directing the flow?
3. Privacy and Packets
Since packets travel through many routers across the Internet, who could potentially read the payload of your packets? How do encryption technologies (like HTTPS) protect your packet contents?
Mini Projects
Activity 1: Packet Puzzle
Print a short poem or sentence on paper. Cut it into 5-10 strips (packets). Mix them up. Ask a partner to reassemble them using sequence numbers you wrote on the back. Discuss how this mirrors Internet packet reassembly.
Activity 2: Traceroute Explorer
Open a terminal or command prompt and run tracert google.com (Windows) or traceroute google.com (macOS/Linux). Observe the list of routers your packets pass through. Count the hops. Research what each hop represents.
Teacher Notes
Learning Objectives
- Define what a packet is and why data is broken into packets.
- Describe the three parts of a packet: header, payload, trailer.
- Explain packet switching and how it differs from circuit switching.
- Understand the role of TCP in reliable packet delivery.
- Identify the path a packet travels from source to destination.
Preparation
- Ensure the interactive diagram at
diagrams/diagram-05-packets/is deployed and tested. - Prepare the "Packet Puzzle" materials: printed sentences, scissors.
- Verify traceroute is available on classroom computers.
- Review Wireshark basics if doing the live capture extension.
Discussion Prompts
- What would happen if the Internet used circuit switching instead of packet switching?
- Why do streaming services buffer? Relate this to packet arrival times.
- How does encryption protect packet payloads from interception?
