Skip to content

Every server is healthy. Why did the internet lose the route to them?

The Route Exists. Does the Request Arrive? · Part 3 of 6 · 5 min read

Read the worked explanation ↓

Interview question. At 14:07, an API stops receiving traffic from multiple countries. The load balancers, origin servers and databases are healthy. Synthetic checks run inside the provider still pass. Outside probes fail before reaching the edge. Someone mentions that a provider withdrew its BGP routes. Explain how that can cause an outage, how you would prove it and which mitigations actually help.

A server being healthy and a network prefix being reachable are different propositions. Your cloud service can respond immediately to traffic that arrives, but the global internet needs a sequence of routing decisions that carry packets toward its address. Border Gateway Protocol, or BGP, is how autonomous systems exchange information about reachable IP prefixes and possible paths between those systems.

Think of an autonomous system as a network operated under one routing administration. Networks advertise destination prefixes and associated path attributes, including an AS path. A router applies local policy to select paths it is willing to use. The internet is not maintaining one centrally agreed shortest-path map. The route your users take depends on upstream networks and their policies, and two networks can make different choices at the same time.

A healthy edge loses reachability when its advertised prefix is withdrawn from transit peers, leaving routers with no valid route or a different path.
A healthy edge loses reachability when its advertised prefix is withdrawn from transit peers, leaving routers with no valid route or a different path.
Think first

A provider edge stays healthy while requests fall by 70 percent immediately after a routing rollout. Explain how to distinguish BGP withdrawal, route hijack, asymmetric return routing and application rejection using concrete observations and one safe rollback plan.

Take a few minutes to form an approach, then compare it with the worked explanation.

Reveal the worked explanation

What actually disappeared at 14:07?

Imagine the affected service owns an example prefix that its edge network ordinarily announces to two transit providers. At 14:07, a configuration change withdraws that prefix from both peers. The servers have not moved and the TLS certificates have not expired. But upstream routers stop advertising that route onward. Routers that have no acceptable alternative may drop traffic because they no longer know where to send it. Others might still have a valid alternate route and continue reaching the service.

A withdrawal is a control-plane event. The failed browser request is a data-plane observation. Don't mix them. A BGP session can also flap, a route can be filtered, an inappropriate announcement can redirect traffic, and a valid path can exist while its actual forwarding path is broken. Those incidents have different fixes. The phrase "BGP is down" explains almost nothing until we identify which prefix, neighbor, advertisement and policy changed.

This is why DNS fixes are often irrelevant. Suppose api.example.com still resolves to the correct public IPv4 address. DNS maps a name to an address, but it does not ensure the address's prefix is advertised to the client's networks. Lowering the DNS TTL does not repair a missing route. DNS steering might move traffic to an independently reachable alternate prefix, but only if that alternative exists, the clients resolve it again, and their existing connections and caches allow migration.

Evidence must come from outside the failing network

First I would group customer failures by source autonomous system, geographic region and address family, then compare those groups with successful clients. Is the problem global or concentrated among networks that share an upstream? Did IPv6 continue to work while IPv4 failed? Does the edge see fewer incoming SYN packets, or does it receive connections and reject them? If edge requests disappear while local health checks stay green, upstream reachability becomes a strong hypothesis.

Next I would inspect our own route advertisements and BGP neighbor state. Check exactly which prefixes we intend to announce, when announcements changed, and whether our peers accepted or filtered them. Use independent route collectors and looking glasses to see whether the expected paths are visible from other autonomous systems. Traceroute and TCP probes can help, but ICMP filtering and different forwarding paths mean a stopped traceroute is not conclusive on its own.

A useful incident timeline puts application incoming request rates next to public-route observations. A decrease in traffic to a prefix shortly after its withdrawal is causal evidence when supported by router logs and external collectors. A healthy process dashboard cannot contradict that evidence because it observes a different layer.

Defensive controls have limits

Many incidents are prevented by ordinary routing hygiene: approved prefix lists, outbound route filters, change review, maximum-prefix protections where relevant, independent peers, route-monitor alerts and a rehearsed rollback. RPKI route-origin validation can help reject announcements whose origin AS is unauthorized by a Route Origin Authorization. But it does not guarantee all paths are valid or prevent you from accidentally withdrawing your own correctly authorized prefix. Origin validation addresses a narrower problem than total internet routing correctness.

Redundant ingress must really be independent. Advertising the same prefix to two providers helps only if they do not share the failing control plane, route filter or operational mistake. An alternative service address on a separate prefix can offer another recovery option, but it introduces steering, state and certificate considerations. An alternate region whose traffic still funnels through the same broken edge is not a separate failure domain.

For a Staff or Principal interview, I would describe a rollback that restores the known-good announcements, verifies acceptance by each neighbor and waits for external reachability measurements rather than declaring success when a local router shows the session as established. Convergence is not an instantaneous global switch. Clients in different networks can recover at different times.

The lesson isn't that every backend engineer must configure BGP. It is that availability needs an end-to-end path. When no packets reach a healthy service, the correct response is to inspect the routing layer before adding application replicas or increasing API timeout budgets.

Go deeper

BGP-4 is specified in RFC 4271. A withdrawal means a previously advertised route is no longer available through that neighbor, not necessarily that the prefix vanishes from every router globally. Policy, alternate routes and convergence affect the outcome. RFC 7454 describes route filtering and operational security. RPKI origin validation checks authorization for the origin AS, not complete path validity or data-plane delivery. Public route collectors sample particular vantage points, so negative evidence from one collector does not prove global absence.

Check your reasoning

  • Explain AS-level prefix announcements, selection by routing policy and withdrawal.
  • Separate BGP control-plane reachability from edge data-plane health.
  • Use external route collectors, edge SYN rates and peer acceptance evidence.
  • Distinguish an accidental withdrawal, a hijack and a forwarding black hole.
  • Explain protections including filtering and the limited scope of RPKI origin validation.

Common mistake: Since DNS still resolves, the BGP route to the public service address must be intact.

External traffic collapses while local service probes stay healthy. Which investigation distinguishes a routing failure from an application failure?

Read the answer explanation

Compare announcements and peer acceptances with outside route visibility — DNS resolution and internet prefix reachability are independent. External BGP and traffic evidence can reveal missing paths.

Apply it elsewhere

A company runs two ingress providers but both peers receive the same automated outbound prefix-policy update. Evaluate whether its redundancy is real and propose a deployment guardrail that would have prevented a shared failure.

Compare your approach

Explain autonomous systems and prefix advertisement, control versus data plane, incomplete route visibility, external measurements, how filters and RPKI differ, and where redundant paths fail to be independent.

One more constraint

If a domain keeps resolving to the correct public IP address, does that guarantee routers can still reach the service's IP prefix?

Quick revision

BGP distributes reachability for IP prefixes between autonomous systems. Withdrawing or filtering a route can make healthy servers unreachable because routers no longer have an acceptable path. Check prefix advertisements, peer acceptance and public route collectors, then correlate the timeline with inbound edge traffic. DNS and application health are different layers. Independent upstreams, filtered change control and route-origin validation reduce some risks but do not guarantee reachability or protect against every operator error.

References