← Back to blog
Explained·10 min read

The Internet as a Highway System: How Your Data Travels From Nairobi to Anywhere

Part 1 of Understanding the Internet — a Kenya-first analogy for packets, routers, bandwidth, and latency, written for students and curious readers.

By Ed Matenjwa · Founder & CEO

Part 1 of 7: Understanding the Internet Series

Imagine you're sending a package from Nairobi to your cousin in Mombasa. You write the address on a parcel, hand it to a courier service, and a few days later, it arrives at your cousin's doorstep. Simple, right? The internet works in remarkably similar ways, except instead of physical parcels traveling on highways, you have digital packets of data traveling through network cables and wireless signals.

Let me show you how.

The Highway Network: Understanding Internet Infrastructure

When you open your phone and load a website—say, checking the latest news on Nation.co.ke—something fascinating happens in milliseconds. Your request travels through an invisible network that spans from Nairobi to data centers that might be in Kenya, South Africa, or even Europe.

Think of the internet as Kenya's road network:

  • The roads themselves are the physical cables (fiber optic lines, copper wires) and wireless connections that connect everything
  • The highways (like Thika Road or Mombasa Road) are the major internet backbones—huge fiber optic cables that carry massive amounts of data
  • Smaller roads are the local connections—like the WiFi in your home or the 4G connection from Safaricom or Airtel
  • Your home or office is like a house with an address on this network

Just as Kenya's road network connects Nairobi to Mombasa, Kisumu to Eldoret, the internet is a global network connecting billions of devices. When Safaricom or Airtel provides you with internet, they're essentially giving you access to this highway system.

Parcels on the Highway: Understanding Data Packets

Here's where it gets interesting. When you send that WhatsApp message or stream a video, your data doesn't travel as one large chunk. Instead, it's broken down into small pieces called packets—like breaking a large shipment into many small parcels.

Why? Efficiency and reliability.

Imagine if every time someone wanted to transport goods from Nairobi to Mombasa, they had to book an entire truck exclusively for their cargo, and that truck couldn't stop or change routes. Traffic would be chaotic! Instead, cargo is broken into smaller packages, and different parcels can take different routes to reach the same destination.

What's Inside a Data Packet?

Each packet is like an envelope containing:

  1. The actual data (the message, part of a photo, a piece of video)
  2. The destination address (where it's going—like an IP address)
  3. The return address (where it came from—your device's IP address)
  4. Instructions (how to reassemble everything)
  5. Error checking information (to verify the packet arrived intact)

A typical packet carries about 1,500 bytes of data. To put that in perspective, when you watch a YouTube video, thousands of these packets are arriving at your device every second, being reassembled in real-time to create smooth playback.

Intersections and Roundabouts: How Routers Work

Now, here's a question: How does your data know which route to take?

On Kenyan roads, when you're driving from Nairobi to Kisumu, you encounter various junctions where you must decide which road to take. At Nakuru, do you go through Mau Summit or take the longer route? You make decisions based on road conditions, traffic, and your destination.

The internet has similar decision points called routers.

Routers are like intelligent traffic roundabouts. When your data packet arrives at a router, it reads the destination address and decides which path will get it to its destination most efficiently. If one route is congested or broken, the router sends the packet through an alternative path.

This is why the internet is so resilient. Remember in 2020 when undersea cables were damaged and some Kenyans experienced slow internet? The routers automatically redirected traffic through available cables. It was slower, but it worked—like taking alternative routes when Thika Road has an accident.

The Journey of a Packet

Let's trace what happens when you check your M-Pesa balance on your phone in Nairobi:

  1. Your request leaves your device as multiple packets
  2. First stop: Your WiFi router or cell tower (the local road)
  3. Next: Your ISP's network (Safaricom, Airtel—like entering a major highway)
  4. Through multiple routers (intersections that direct traffic)
  5. Arrives at Safaricom's M-Pesa servers (the destination)
  6. Response packets travel back (often through different routes)
  7. Your phone reassembles the packets and shows your balance

All of this happens in milliseconds—faster than you can blink.

Traffic Rules: Understanding Protocols

Just as Kenya's roads have traffic rules (drive on the left, stop at red lights, roundabout rules), the internet has protocols—agreed-upon rules that all devices follow to communicate effectively.

The main protocols you interact with daily include:

TCP/IP (Transmission Control Protocol/Internet Protocol)

Think of this as the fundamental traffic law. IP handles addressing (like postal codes), while TCP ensures all packets arrive and are reassembled correctly. If a packet goes missing, TCP requests it be resent—like calling the courier when a parcel doesn't arrive.

HTTP/HTTPS (HyperText Transfer Protocol)

This is specifically for web browsing. When you type a web address, you're using HTTP. The 'S' in HTTPS means it's secure—like sending a package in a locked box instead of an open envelope. Notice that your bank's website always has HTTPS? That's encryption protecting your data.

DNS (Domain Name System)

Remember we said devices have IP addresses (like 196.201.214.10)? DNSThe phone book of the internet: it turns a name like nation.co.ke into the numeric address computers use. is like Google Maps for the internet. When you type "nation.co.ke," DNS translates that human-readable name into the actual IP address where Nation's servers are located. Without DNS, you'd have to remember number addresses for every website!

Addresses on the Highway: IP Addresses and URLs

Every device connected to the internet has an address called an IP address. It's like your physical address—unique and necessary for data to find you.

There are two versions:

IPv4: Looks like 192.168.1.1 (four numbers separated by dots) IPv6: Looks like 2001:0db8:85a3:0000:0000:8a2e:0370:7334 (longer, because we're running out of IPv4 addresses)

Your home WiFi router probably assigns your devices local IP addresses (like giving each room in your house a number), while your ISP assigns your router a public IP address (like your house's street address).

When you visit megalink.co.ke, your browser:

  1. Asks DNS: "What's the IP address for megalink.co.ke?"
  2. DNS responds with the address
  3. Your browser sends packets to that address
  4. The server there sends back the website data

Bandwidth: The Width of Your Highway

You've probably heard terms like "5 Mbps" or "100 Mbps" internet. This is bandwidth—essentially how wide your highway is.

  • A narrow road (slow internet): Like a single-lane murram road. Only a few vehicles (packets) can travel at once.
  • A wide highway (fast internet): Like the Thika Superhighway. Many vehicles travel simultaneously.

When Safaricom advertises "4G speeds up to 25 Mbps," they're telling you how much data can flow through your connection per second. More bandwidth = more packets can travel simultaneously = faster internet.

This is why your internet slows down when everyone in your house is online. The highway width stays the same, but now more vehicles (packets) are competing for space.

Latency: The Speed of Travel

LatencyHow long a small message takes to go to a server and back, measured in milliseconds. Low latency feels snappy. is how long it takes for a packet to travel from point A to point B. It's measured in milliseconds (ms).

Think of it as the time it takes to drive from Nairobi to Mombasa:

  • Low latency (fast): Like taking the SGR—direct and quick
  • High latency (slow): Like taking a matatu that stops at every town

When gaming or video calling, low latency is crucial. You want your reaction to be transmitted instantly. This is why satellite internet, despite having good bandwidth, can feel laggy—the signal has to travel to space and back, adding delay.

Servers: The Destinations and Warehouses

At the end of many highways are servers—powerful computers that store websites, apps, and data. When you access a website, you're connecting to a server somewhere that hosts it.

Think of servers as warehouses:

  • Some store websites (web servers)
  • Some store emails (mail servers)
  • Some process requests (application servers)
  • Some store files (file servers)

Major companies like Google and Facebook have massive data centers—warehouses the size of football fields filled with servers, keeping millions of websites and services running 24/7.

In Kenya, many businesses are now using cloud servers—renting warehouse space rather than building their own. It's like using Uber instead of buying a car. Services like AWS (Amazon Web Services) or local providers host your data, and you access it through the internet.

Bringing It All Together: Your Daily Journey

Let's trace a real-world example. You're in Karen, Nairobi, and you want to order food from Glovo:

  1. You open the Glovo app (your device creates a request)
  2. Request broken into packets (small parcels of data)
  3. Packets leave your phone via Safaricom's 4G network (entering the local road)
  4. Hit Safaricom's network infrastructure (entering the highway)
  5. Routers direct packets through the internet backbone (navigating intersections)
  6. Packets arrive at Glovo's servers (possibly in Europe or South Africa)
  7. Servers process your request (check restaurants, prices, availability)
  8. Response packets sent back through similar routing
  9. Your app reassembles packets (you see available restaurants)
  10. All of this happens in under a second

The beauty? Multiple routes exist. If one cable fails or gets congested, your packets find another way—just like Google Maps rerouting you when Waiyaki Way has traffic.

Why This Matters

Understanding the internet as a highway system helps you grasp:

  • Why internet sometimes slows down (congestion, like rush hour traffic)
  • Why some websites load faster than others (server location, like distance traveled)
  • Why security matters (packets can be intercepted, like parcels stolen in transit)
  • Why we need more infrastructure (more highways = better connectivity)

Kenya has made tremendous strides. The undersea fiber optic cables landing in Mombasa have transformed our internet from expensive and slow to competitive and relatively affordable. Projects like the National Optic Fibre Backbone Infrastructure (NOFBI) are building more "highways" across the country.

Key Takeaways

  • The internet is a network of networks—a highway system for data
  • Data travels in small packets, like parcels with addresses
  • Routers direct traffic, choosing the best routes
  • Protocols are the traffic rules everyone follows
  • Your IP address is your location on this network
  • Bandwidth is highway width; latency is travel speed
  • Servers are destinations where websites and services live

Think About This

Next time you send a WhatsApp message or stream a video, pause for a moment. Your data is being broken into thousands of tiny packets, each finding its own optimal route through routers across Kenya and possibly beyond, then being perfectly reassembled on the other end—all in the blink of an eye.

That's the miracle of the internet highway.

#internet#packets#routers#bandwidth#latency#beginners#series
EM

Written by

Ed Matenjwa

Founder & CEO

Builds networks and explains how they work. Founder of MegaLink Networks, based in Naivasha.

matenjwa.com

Need reliable internet?

MegaLink connects homes and businesses across Naivasha, Limuru, and nearby towns with fiber, wireless broadband, and local IT support.

Related posts