Concepts / Backup and summary routes

Backup and summary routes

Null route

Also called blackhole route, unreachable route, Null0, discard route, routing loop

A route that drops what matches it: for addresses a router announces but does not have.

Without one, a packet for an unused address inside a summary goes to the branch by the summary and back by the branch's default route, looping until its TTL runs out. ip route add blackhole 10.0.4.0/24 drops it silently; unreachable also answers with ICMP host unreachable. The real subnets are more specific and still win. Cisco calls it a route to Null0, and routing protocols install it when they summarise.

Each list points at the other router
Each list points at the other router

Traffic for a gap inside a summary bounces between two routers until its TTL runs out; a null route for the summary drops it at once. From the Supernetting: turn a list of routes into one line lab.

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