BGP Route Leak That Rerouted Traffic Through an Unexpected AS

A misconfigured BGP peer accepted a broader-than-intended prefix announcement, briefly rerouting user traffic through a third-party network.

Overview

A prefix-filter mistake on a Direct Connect router accepted a /16 instead of a /24, and for 18 minutes part of another customer's traffic ran through the company's link.

What happened

A network engineer updated the BGP route policy at the Direct Connect router. The company never noticed; the adjacent customer did. The incident ran in six steps.

  • The engineer updated the BGP route policy.
  • The prefix filter now accepted a /16 supernet, a wide prefix that covers many smaller ones.
  • For 18 minutes, some BGP speakers preferred the /16.
  • The adjacent customer's traffic transited the company's link.
  • The customer saw latency spikes and complained to the carrier.
  • The carrier traced the misconfigured route, and a formal incident report followed.

Key concepts

  • BGP route leak
  • Prefix filter
  • AS-path prepending
  • Direct Connect route policy

Interview questions

  • How do you design BGP prefix filters to prevent route leaks on a Direct Connect connection?

Sign up free to read the full topic

More War Stories topics

Start free on Cariara · Coding problems · System design studio