App-From-us

Technical

How the Internet Actually Works

Packets, addresses, routes and the physical layer, explained from observable behaviour rather than from a protocol diagram.

Servers, network hardware and the infrastructure behind the internet.

The internet is not a thing. It is an agreement: a few thousand independently operated networks that have all chosen to pass traffic for each other using the same protocols. Nothing guarantees that your traffic arrives, nothing guarantees how fast, and no one is in charge. It works anyway, because every network on the path only needs to know about its immediate neighbours.

This guide builds a working mental model in four layers, and each one is verifiable with a command you can run on your own machine.

Traffic is light. Fibre carries it as light pulses; copper carries it as voltage; radio carries it as electromagnetic waves. Wireless is not a special case of the internet so much as the same protocols over a link that behaves worse — shared with everyone in range, prone to interference, and with a much higher chance of a corrupted packet.

This is the layer that sets the physical limits. The advertised speed of a broadband package is the capacity of the link to your street, not the speed at which a page loads, which is limited by the slowest link and the most congested queue along the whole path.

Layer two: addresses and packets

The unit of data on the internet is a packet: a small chunk of your data with a header containing where it is going and where it came from. Every packet is addressed to a destination and delivered independently, then reassembled at the other end. It genuinely does not matter what order they arrive in or how many get lost — that is the whole design.

Addresses come in layers, and each layer answers a different question. Your MAC address is a hardware identifier for your network card and works on one local link. Your IP address is a logical address that works across networks. When your machine is behind a home router, it has a private address inside your home and the router has a public address outside, which is what makes it possible for a billion devices to share one connection.

That translation is called NAT — network address translation — and it is the reason home networks work. It is also a source of real friction: some applications break behind it unless the router supports the protocol's traversal mechanism, which is a large part of why a peer-to-peer connection sometimes fails even when both sides are online.

Layer three: routing

No network knows the whole path. Each router knows its own neighbours and asks the rest: who is closer to this address, you or them? Every network on the path makes that same local decision, and the packet converges on its destination. This is why the internet scales — no router holds a complete map, and adding capacity never requires coordinating with anyone else.

The other job of a router is queueing. When more traffic arrives than a link can send, packets queue. When the queue overflows, packets are dropped. That single mechanism is the explanation for almost every complaint about slow or unreliable video calls: you are not being throttled by anything clever, you are competing for a link that is momentarily full.

Layer four: the protocols on top

TCP guarantees ordered, complete delivery by numbering packets, re-requesting anything missing and slowing down when the network does. UDP does none of that, and is used where speed matters more than completeness — live video, voice calls, game traffic, and DNS lookups, where a late answer is worse than no answer.

HTTP sits on top of these and is the language of the web. HTTPS is the same thing inside a TLS session, which is why the browser shows a padlock. Neither guarantees the site is honest — it guarantees nobody else can read or alter the conversation.

Run it yourself

CommandWhat it showsWhat to look for
ping example.comWhether a host responds and how long it takesThe first hop, and whether any hop has a high jump in latency
traceroute example.com (or tracert on Windows)The path your packets takeWhich hop the time starts climbing, and which one never answers
ipconfig (Windows) or ip addr (Linux/macOS)Your own addressesThe private address inside your network and the gateway
curl -I https://example.comThe response headers from a web serverThe status line, cache headers and server software
netstat -rn (Windows) or ip route (Linux)Your routing tableThe default route, which is your gateway

The mental model to keep

Data is chopped into packets. Each packet is addressed. Networks pass it along a hop at a time without knowing the whole path. Something on the path translates between private and public addresses. Reliability is optional and provided by the application, not the network. Every strange behaviour you have ever seen — a page half loading, a video call freezing, a download that stalls and then completes — is one of those five facts manifesting.

Common questions

Frequently asked questions

What is the difference between the internet and the web?

The internet is the network: the infrastructure and the protocols. The web is one service running on it, the one built on HTTP and URLs. Email, video calls, file transfer and online games are all internet services that are not the web. Saying "the internet is down" usually means the web is unreachable, while email and calls still work.

Is my internet connection symmetric?

Almost never. Consumer connections are deliberately asymmetric — faster downstream than upstream — because downloading is what most households do. This is why uploading a large file or running a video call with a good connection can still stutter, and why the same line performs differently depending on who is sending.

What does 'latency' mean in practice?

The delay before data starts arriving after you ask for it. It dominates interactive experience far more than bandwidth. A fast connection with high latency feels sluggish; a modest connection with low latency feels responsive. For calls and gaming, latency and jitter matter more than the advertised download speed.

What is the dark web?

Services reachable only through overlay networks such as Tor, deliberately designed to hide the client's address. Nothing on it is illegal, and it is used legitimately for privacy, journalism and whistleblowing. The popular image is mostly a myth: it is not a repository of stolen data, and the overwhelming majority of material is not where people assume it is.