Concepts / BGP

BGP

Route leak

Also called BGP leak, leaked route, more-specific, prefix filter, prefix-list, export policy, valley-free

Routes announced past where they should go: a customer passing on a transit's routes, or a mistyped more-specific.

A leak passes one transit's routes to another
A leak passes one transit's routes to another

A customer should announce to a transit only its own and its customers' routes. When it passes on what another transit told it, traffic between the two transits can start flowing through the customer.

A route leak is a BGP route announced past where it should go: a customer passing one transit's routes to another, or a mistyped more-specific. The longest prefix wins before BGP preference, so a leaked /25 pulls its half of a /24 to the leaker. Defences: a prefix list per customer, and an export policy sending transits and peers only your own and customers' routes. VRF route leaking is unrelated.

See it on real machines

Read next

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start this lab