How the Internet Moves Data: Packets, IP Addresses and Routers
The internet is a huge network of computers connected to each other. When you send a photo to a friend, it does not travel as one piece. It is cut into many small packets, and each packet finds its own way across the network.
This lesson explains how that works, and what Wi-Fi, mobile data, IP addresses and routers do along the way.
What You'll Learn
- What the internet is, and how it differs from the web
- Why data is split into packets
- What an IP address is and why every device needs one
- What routers do, and how Wi-Fi differs from mobile data
The internet is a network of networks
Your home Wi-Fi is a small network. Your school or office has another network. Your mobile company runs a huge network. The internet is what you get when all these networks are connected and agree to pass data for each other.
Most of the long-distance traffic travels through fiber optic cables: thin glass threads that carry data as pulses of light. Many of these cables run along the floor of the oceans, linking the continents. Satellites help in places where cables do not reach.
People often mix up the internet and the web. They are not the same:
- The internet is the network: the cables, the routers and the rules that move data.
- The web is one thing that runs on top of it: websites you open in a browser.
Email, video calls, online games and app updates also use the internet, but they are not "the web". Lesson 5 covers how the web works.
Why data travels in packets
Imagine you want to send a long book to a friend by post, but each envelope can only hold a few pages. You would:
- Split the book into small bundles of pages.
- Number each envelope, and write your friend's address and your own on it.
- Post them all. Some may take different routes.
- Your friend puts the pages back in order using the numbers.
The internet does the same. Every file, message or video is cut into small pieces called packets. Each packet has a header, like the writing on the envelope: where it comes from, where it is going, and its number in the order.
Packets have big benefits:
- Sharing. Many people can use the same cable at once, because their packets take turns.
- Speed. Packets can travel by different routes at the same time.
- Reliability. If one packet gets lost, only that piece is sent again, not the whole file.
When your video call breaks up or freezes, it is often because some packets arrived late or got lost.
IP addresses: the address on every packet
To deliver a packet, the network needs an address. Every device connected to the internet has an IP address (IP stands for Internet Protocol).
There are two kinds in use:
| Version | Looks like | Notes |
|---|---|---|
| IPv4 | 192.168.1.10 | Four numbers from 0 to 255. About 4 billion possible addresses, which is not enough for every device today |
| IPv6 | 2001:db8::1 | A much longer format with an almost endless number of addresses |
Your phone at home usually has two kinds of address:
- A private address inside your home network, given by your Wi-Fi router.
- A public address that the rest of the internet sees. Often many devices in one home, or many phones on one mobile network, share one public address.
Your IP address can change when you move from home Wi-Fi to mobile data, or when you restart your router. That is normal.
Routers: the post offices of the internet
A router is a device that passes packets toward their destination. It looks at the address on each packet and sends it one step closer, to the next router.
Your home Wi-Fi box is a small router. Your internet provider and the big networks have much larger ones. A packet may pass through 10 or 20 routers to reach a website in another country, all in a fraction of a second.
- Your phoneCuts the data into packets with addresses
- Home router or cell towerThe first step onto the network
- Internet providerYour provider's network passes it on
- Many routersEach one sends it closer to the destination
- The serverPuts the packets back in order
No single router knows the whole map of the internet. Each one only needs to know which neighbor is a good next step. This makes the internet very hard to break. If one route fails, routers find another.
Rules everyone agrees on
All these devices come from different companies and countries. They work together because they follow shared rules called protocols. A protocol is like a shared language with clear manners.
Two important ones:
- IP handles the addresses and the routing of packets.
- TCP checks that every packet arrives, asks again for lost ones, and puts them back in order. It is used for web pages, email and downloads, where every byte must be right.
Live video calls and games often use a faster rule called UDP. It skips the checking, because a late packet is useless in a live call. A small glitch is better than a long pause.
Wi-Fi vs mobile data
Both connect your device to the internet without a cable. They do it in different ways.
Both are radio links for the first step. After that, your packets travel on the same internet.
| Criteria | Wi-Fi | Mobile data |
|---|---|---|
| Connects you to | A router near you, at home, school or a cafe | A cell tower run by your mobile company |
| Range | Usually one home or building | Kilometers, wherever there is coverage |
| Paid by | Whoever pays for the broadband line | Your mobile plan, often with a data limit |
| Speed depends on | The broadband line, walls, distance, how many people share it | Signal strength, how busy the tower is, network type |
| Common names | Wi-Fi bands like 2.4 GHz and 5 GHz | 4G, 5G and newer generations |
Wi-Fi
- Connects you to
- A router near you, at home, school or a cafe
- Range
- Usually one home or building
- Paid by
- Whoever pays for the broadband line
- Speed depends on
- The broadband line, walls, distance, how many people share it
- Common names
- Wi-Fi bands like 2.4 GHz and 5 GHz
Mobile data
- Connects you to
- A cell tower run by your mobile company
- Range
- Kilometers, wherever there is coverage
- Paid by
- Your mobile plan, often with a data limit
- Speed depends on
- Signal strength, how busy the tower is, network type
- Common names
- 4G, 5G and newer generations
Wi-Fi is only the short radio link between your device and your router. The router then connects to your internet provider, usually through a cable or fiber line. So a "strong Wi-Fi signal" with slow internet often means the problem is the line behind the router, not the Wi-Fi.
Speed and delay are different
Two numbers describe a connection:
- Bandwidth (or speed) is how much data can flow per second, often in Mbps. It matters for downloads and video quality.
- Latency (or ping) is how long one packet takes to get there and back, in milliseconds. It matters for games and video calls.
A wide road can carry many cars (high bandwidth), but if the destination is far away, each car still takes a long time to arrive (high latency).
Key Takeaways
- The internet is a network of networks. The web is one service that runs on top of it.
- Data is cut into packets. Each one has a header with where it is from, where it is going and its order number.
- Every device online has an IP address. IPv4 looks like 192.168.1.10. IPv6 is longer.
- Routers pass packets one step closer to their destination. If one route fails, they find another.
- Protocols like IP and TCP are the shared rules that let all devices work together.
- Wi-Fi links you to a nearby router. Mobile data links you to a cell tower. After that, it is the same internet.
Quiz
Up next ยท Lesson 5 of 6
What Happens When You Type a URL: DNS, HTTP and HTTPS
5 min read
4 of 6 lessons done

Ask Byte about this lesson
A private chat about this lesson. Byte has read the whole lesson, answers in seconds, and shows the section each answer comes from. Ask follow-ups in any language.
Questions & Answers
Public questions about this lesson. The AI Tutor answers right away in your language, the FreeAcademy team checks answers, and every learner can read them.

