Free — no signup required

Introduction: How the Internet Connects

2 min read

The Network of Networks

Think of the internet like a global postal system made up of thousands of independent courier companies. Each company handles deliveries within its own territory, but they've all agreed to hand off packages to each other at designated exchange points. No single company owns the whole system — they cooperate through shared rules and bilateral agreements. The internet works exactly the same way.

These independent networks are called Autonomous Systems (AS). An AS is any network under a single administrative control that has a consistent routing policy. An AS could be a large ISP (like Comcast or AT&T), a giant tech company (like Google or Meta), a cloud provider (like AWS), or even a large university. Each one manages its own internal routing however it likes — but to talk to the outside world, they all speak the same language.

When you stream a video from Netflix in California while sitting in New York on a different ISP, your data doesn't travel through a single pipe. It hops across multiple independent networks — each one making a local decision about where to forward your packets next. The protocol that makes all of these handoffs possible is called BGP (Border Gateway Protocol). BGP is the routing protocol of the internet itself. Without it, Autonomous Systems would have no way to tell each other which IP address ranges they can reach.

Understanding BGP, and the systems built on top of it (like CDNs and Geo-DNS), is essential for any engineer who works on infrastructure, reliability, or large-scale systems. These aren't abstract concepts — they directly determine whether your application is fast, resilient, and reachable from anywhere on earth.

This is one of 18 chapters

Every chapter is free — Kubernetes, Terraform, SRE, distributed systems, and more — with fast daily review built in.

Sign up free