Deprecated: Hook custom_css_loaded is deprecated since version jetpack-13.5! Use WordPress Custom CSS instead. Jetpack no longer supports Custom CSS. Read the documentation to learn how to apply custom styles to your site: in /var/www/ on line 6031
Advertising a non-existent route to BGP in PAN –

Advertising a non-existent route to BGP in PAN

Normally if you want to advertise a route to your BGP neighbor, the route you want to announce must be available in your routing table but in Palo Alto Networks there is a nice trick which is quite handy. Where can it be really handy? For example you have a subnet which you only use in your NAT pool which doesn’t really need any next hop. In this case this config plays a nice role.

For example you want to announce your route add this under the menu as screenshot and make sure your “Export” rules don’t really block this subnet being advertised otherwise you won’t see it in your RIB-OUT.

With the help of this handy config, your peer router will receive your nat-pool subnet although you haven’t really added this in your routing table (PAN does this dummy route automatically as far as I can see)

About: rtoodtoo

Worked for more than 10 years as a Network/Support Engineer and also interested in Python, Linux, Security and SD-WAN // JNCIE-SEC #223 / RHCE / PCNSE

7 thoughts on “Advertising a non-existent route to BGP in PAN”

  1. Palo has by far the worst implementation of redistribution of a null0 route. That routing static is pathetic.

  2. This might help you.

    When BGP aggregation is configured on PANOS, a discard route is automatically inserted into the routing table. Other vendors use a different terminology such as null route but the concept is essentially the same.

    All versions of PANOS
    Hardware/VM-Series NGFW

    The discard route is inserted as an efficiency mechanism to prevent route lookups and/or route forwarding via the default route for prefixes that have no specific or longer-prefix match on the routing table. In this illustration, the firewall is learning about the prefix from one of its BGP peers and, in turn, it is aggregating that prefix to which it then advertises to its peers.

    When the device receives traffic destined to an IP address within the aggregate range but outside the parent subnet(s), the firewall simply drops the traffic. For example, traffic destined to, which overlaps with the aggregate, is dropped because it is outside the subnet The only exception is if this address matches an existing [BGP] subnet on the routing table such as, etc.

    Discard route is automatically inserted in the routing table for BGP aggregate routes.

    Additional Information
    This article assumes the reader is familiar with how to configure BGP/route aggregation.

    Palo explains the default behavior: (02/10/22)

    They want you to configure it this way: (09/25/18)
    Palo Alto Networks Support for Null Routes,option%20selected%20as%20%22none%22

You have a feedback?

Discover more from

Subscribe now to keep reading and get access to the full archive.

Continue reading