Every time you load a web page, your packets cross a dozen or more separate networks. The protocol that decides which networks to cross — and in what order — is BGP, the Border Gateway Protocol.
BGP divides the internet into Autonomous Systems (ASes): numbered networks controlled by a single organisation — a university, a cloud provider, an ISP. Right now roughly 75,000 ASes are reachable on the public internet. Each one runs BGP to advertise the IP prefixes it owns and to learn the prefixes owned by everyone else.
When two ASes exchange BGP routes, they describe a path through a sequence of AS numbers. A router that hears several paths to the same destination applies a strict priority waterfall — a list of nine tie-breaking rules — to pick exactly one winner. The first rule that distinguishes two paths settles the contest; the rest are never consulted.
That design is elegant and deliberately policy-neutral: each AS decides locally what it prefers, and no global coordinator is needed. It is also the reason a single misconfigured router in a small ISP can redirect traffic meant for a bank, a DNS root server, or an entire country.
Comments
Loading comments...