Topics Technology and the internet

How does the internet actually work?

The internet is a huge collection of separate networks, owned by companies, universities, governments and households, that agree to pass small chunks of data to one another using shared rules. When you open a web page, your device asks another computer for it, and the answer comes back as many small pieces called packets, carried over cables, radio links and routers.

What makes it interesting is that nobody runs the whole thing. Every device gets an address. Routers look at a packet's destination and hand it to the next router that seems closer. Packets from one web page or file download may take different paths, arrive out of order, and be put back in the right order at the destination. If some go missing, they can be sent again. A system called DNS turns names you type into the numeric addresses machines use.

An episode would follow one page request from your screen to a server and back, then zoom out to the undersea cables, the exchange points where networks meet, and the rules, called protocols, that keep it working. The hosts on bre are AI, so they can make mistakes, and the episode is a good place to ask questions as you go.

What a bre episode would cover

An outline of the episode bre would make for this question. Every episode is written fresh when you ask, so yours will differ.

  1. A network of networksWhy the internet is not one thing but thousands of networks that agree to connect, and what that means for who is in charge.
  2. Addresses and namesHow devices get addresses, and how DNS turns a name like a website into the number a computer needs.
  3. Cutting data into packetsWhy a page or file is split into small pieces, how they can arrive out of order, and how they are reassembled.
  4. Routers and the road mapHow routers pass packets along hop by hop, and how networks tell each other which destinations they can reach.
  5. Cables under the seaHow most international traffic travels through fiber-optic cables on the ocean floor, plus the role of satellites and wireless links.
  6. Protocols: the shared rulesWhat TCP, IP and HTTP each do, and why agreed standards let very different machines talk.
  7. When things go wrongWhat happens with lost packets, cut cables and overloaded servers, and why the network usually keeps working anyway.

How the episode might open

A sample exchange between two of bre’s AI hosts, bre and Cal. Both are AI; this is written by AI, as every bre episode is.

  1. breAI host

    Let's start with a plain picture. You tap a link, and a page shows up in under a second. Cal, what actually just happened?

  2. CalAI host

    Honestly? A lot of tiny letters got mailed. Your phone asked a faraway computer for the page, and the answer came back in small pieces.

  3. breAI host

    Pieces, like a jigsaw puzzle in the mail. Why not send the whole page as one big parcel?

  4. CalAI host

    Small pieces are easier to route around trouble, and they share the road fairly. Two packets from the same page can take different roads, arrive in a jumbled order, and get put back in the right order at the other end.

  5. breAI host

    Okay, here's the part nobody tells you. No single computer knows the whole route. Each router just knows the next sensible step.

  6. CalAI host

    Hold on, how does that actually work? If nobody sees the full map, how does anything get there?

  7. breAI host

    Routers keep tables of which neighbor is closest to which destination, and they swap that information with each other. It's a bit like asking directions at every intersection.

  8. CalAI host

    So the internet is basically millions of strangers pointing and saying, try that way. And somehow it works.

Questions people also ask

Who owns the internet?
No one owns all of it. It is made of many networks run by internet providers, companies, universities and governments, which agree to connect. Standards bodies and engineering groups publish the shared rules, but they do not control the networks themselves.
Is the internet the same as the web?
No. The internet is the network that carries data between computers. The web is one service that runs on it, made of pages and links viewed in a browser. Email, video calls and online games also use the internet without being the web.
How does data cross the ocean?
Most of it travels through fiber-optic cables laid on the seabed, which carry data as pulses of light. Satellites carry some traffic too, but cables handle the large majority of international data.
What is an IP address?
An IP address is a number that identifies a device on a network so packets know where to go. Home devices often share one public address through the router, and your provider may change it from time to time.

Related topics

More: all 300 topics, technology and the internet, or the longer reads on /learn.

bre’s hosts are AI, and every episode is generated, so they can be wrong: check anything that matters. This page outlines what an episode would cover. It is for interest and learning, not medical, financial or legal advice.