BGP: How the Internet Shares—and Changes—Its Directions
BGP lets networks tell one another which internet destinations they can reach. Those shared directions help traffic find its way, but each network chooses routes according to its own rules.
BGP stands for Border Gateway Protocol, a set of rules for exchanging routing information. A router uses routing information to decide where to send packets, the small pieces of data that travel across a network.
The internet connects separately operated networks called autonomous systems, each with a common routing policy. BGP carries information between these systems and can also distribute it among routers within one system.
Why the Internet's Road Map Keeps Breaking
Announcing a route, then taking it back
A BGP announcement describes a way to reach a prefix, a block of internet addresses. It includes information such as the sequence of autonomous systems through which the announcement has passed.
The BGP standard also provides for withdrawing routes that are no longer offered. BGP exchanges these directions; it doesn't carry the website's page content inside the routing announcements.
Suppose a provider has learned two usable routes to a destination and selected one. If that route disappears, the provider can select the remaining route, provided it still meets the provider's rules.
If no acceptable route remains, traffic may have nowhere to go.
“Best” follows policy
The preferred route isn't necessarily the shortest on a map or the one with the lowest delay. An operator might prefer one connection because of its business agreement with a neighboring network.
Route selection considers configured preferences and route information, such as the advertised path through autonomous systems. Cisco's explanation of BGP path selection shows how several rules determine which route wins.
BGP doesn't automatically measure internet traffic jams and steer every packet down the fastest available path. Operators can change routing policy to influence traffic, but that's different from a built-in promise of the quickest journey.
When the servers work but the directions disappear
Facebook's outage on October 4, 2021, offered a vivid example. In its engineering account of the incident, the company said a maintenance command disconnected its backbone, the network linking its computing facilities.
That failure triggered the withdrawal of BGP announcements for its DNS servers. DNS, the Domain Name System, translates names such as a website's address into the internet addresses computers need to contact.
Those DNS servers were still operating, Facebook said, but their withdrawn routes made them unreachable. The incident shows why a functioning machine alone doesn't establish that people can reach its service.
- Get five gigabit ports and a fast ARM processor for the price of a basic home router.
- Practice real routing at your desk on gear that network pros also deploy.
- Tuck it beside your modem: it takes up almost no room.
Routing claims need checks
A false announcement can divert traffic or make a destination unreachable, whether the cause is a mistake or deliberate abuse. BGP security guidance recommends controls such as filters that limit which routes a network accepts or shares.
Another protection uses Resource Public Key Infrastructure, or RPKI, a system of digitally signed records about internet addresses. Digital signatures let software check who signed a record and whether it was changed.
A Route Origin Authorization, or ROA, is one such record. It identifies the autonomous system allowed to originate a route for a specified block.
Origin validation checks that starting claim against the authorization data. It doesn't validate every network along the path, and it doesn't encrypt the traffic using that route.
For an unreachable service, investigators therefore need to examine the directions as well as the destination: which routes were announced, accepted, changed or withdrawn? Restarting a working server won't supply a missing route.
Autonomous Systems: The Networks That Make an Internet

Routing Loops: The Packet Stops, but the Bad Route Can Remain

EGP Explained: One Name, Two Meanings in Internet Routing

QUOTE:
"Amateurs hack systems, professionals hack people."
