Null 0 in ISP Core Router – Understanding BGP Configuration

bgpciscorouterrouting

What is the purpose of

ip route 0.0.0.0 0.0.0.0  null0

in a core router of an ISP running BGP?

Best Answer

ip route 0.0.0.0 0.0.0.0 null0 will drop all unknown destinations. Without a more complete configuration it is difficult to hypothesize its full purpose.

A popular ISP service is to provide a private Layer 3 MPLS cloud without Internet access. In this scenario, the customer branch location would send their default traffic (Internet traffic) to the customer HQ, rather than directly to their ISP.

ip route 0.0.0.0 0.0.0.0 null0 would be in the customer VRF and could be a safeguard on the provider side to drop all other traffic.