<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Conditional Advertisement / BGP Failover with Dual ISP — How to Remove ISP1 Routes on Internet Loss? in Next-Generation Firewall Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/next-generation-firewall/conditional-advertisement-bgp-failover-with-dual-isp-how-to/m-p/1245091#M6576</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/1021935103"&gt;@Austin_Mascarenhas&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I see that no one has replied to your question in a few days; so, I will give it a shot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Is there any way in PAN-OS to completely withdraw all BGP routes and bring down ISP1 session when the Internet behind ISP1 fails but the peer IP is still reachable?&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not that I know. This is where the full BGP routing table comes into play, but the PA-Series cannot handle that many routes.&amp;nbsp; Purchasing a couple of BGP routers may simplify the process.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With regard to oubound traffic, I doubt you can rely on your ISP to withdraw the default route if they have Internet connection problems.&amp;nbsp; In most cases, the route is not withdrawn and the traffic gets blackholed.&amp;nbsp; If all you are receiving is the default route, you could tell the ISP not to send it and use path monitoring with a static default route.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Would combining conditional advertisement / AS-path prepending achieve practical failover for both incoming and outgoing traffic?&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have never seen AS path prepending achieve 100/0 load balancing for incoming traffic even with the max prepends.&amp;nbsp; I don't see any advantages to combining it with conditional advertisement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Outgoing traffic would be load balanced by BGP weight or local preference.&amp;nbsp;&amp;nbsp;&lt;A href="https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClszCAC" target="_blank"&gt;https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClszCAC&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Are there any recommended workarounds in PA for this scenario that don’t involve extra hardware or ISP cooperation?&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think path monitoring with default static routes would be more reliable than BGP for outgoing traffic.&amp;nbsp; For incoming traffic with BGP you would have to assume the ISP would withdraw the default route if they had internet issues.&amp;nbsp; With regard to conditional advertisement, how can 0/0 be the withdraw prefix if it is received from both ISPs?&amp;nbsp; I think the best way is to use ECMP and allow the outbound and inbound traffic to load balance.&amp;nbsp; You definitely want to check the Symmetric Return box under ECMP so that return traffic for incoming connections is sent out the same interface.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tom&lt;/P&gt;</description>
    <pubDate>Wed, 07 Jan 2026 18:11:05 GMT</pubDate>
    <dc:creator>TomYoung</dc:creator>
    <dc:date>2026-01-07T18:11:05Z</dc:date>
    <item>
      <title>Conditional Advertisement / BGP Failover with Dual ISP — How to Remove ISP1 Routes on Internet Loss?</title>
      <link>https://live.paloaltonetworks.com/t5/next-generation-firewall/conditional-advertisement-bgp-failover-with-dual-isp-how-to/m-p/1244795#M6557</link>
      <description>&lt;P data-start="449" data-end="458"&gt;Hi all,&lt;/P&gt;
&lt;P data-start="460" data-end="546"&gt;I’m running a dual-ISP setup on a PA&amp;nbsp; with BGP to ISP1 and ISP2. My goal is:&lt;/P&gt;
&lt;OL data-start="548" data-end="938"&gt;
&lt;LI data-start="548" data-end="608"&gt;
&lt;P data-start="551" data-end="608"&gt;&lt;STRONG data-start="551" data-end="605"&gt;Monitor ISP1 default route / Internet reachability&lt;/STRONG&gt;.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="609" data-end="684"&gt;
&lt;P data-start="612" data-end="684"&gt;&lt;STRONG data-start="612" data-end="640"&gt;If ISP1 becomes unusable&lt;/STRONG&gt;, I want all traffic to fail over to ISP2.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="685" data-end="938"&gt;
&lt;P data-start="688" data-end="938"&gt;I am &lt;STRONG data-start="693" data-end="741"&gt;advertising an IP pool to both ISP1 and ISP2&lt;/STRONG&gt; for incoming traffic, with &lt;STRONG data-start="769" data-end="807"&gt;AS-path prepending applied to ISP2&lt;/STRONG&gt; so that incoming traffic prefers ISP1. Ideally, I would like &lt;STRONG data-start="869" data-end="904"&gt;all ISP1 routes to be withdrawn&lt;/STRONG&gt; when the upstream Internet fails.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P data-start="940" data-end="976"&gt;Here’s what I’ve tried and observed:&lt;/P&gt;
&lt;UL data-start="978" data-end="1463"&gt;
&lt;LI data-start="978" data-end="1221"&gt;
&lt;P data-start="980" data-end="1221"&gt;&lt;STRONG data-start="980" data-end="1009"&gt;Conditional Advertisement&lt;/STRONG&gt;:&lt;BR data-start="1010" data-end="1013" /&gt;I configured a policy on ISP2 to advertise the IP pool only when ISP1 default is missing. Works in principle, but &lt;STRONG data-start="1129" data-end="1170"&gt;I cannot cancel advertisement to ISP1&lt;/STRONG&gt; just because ISP1 stops sending a default route.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="1223" data-end="1463"&gt;
&lt;P data-start="1225" data-end="1463"&gt;&lt;STRONG data-start="1225" data-end="1266"&gt;Path Monitoring (pinging a remote IP)&lt;/STRONG&gt;:&lt;BR data-start="1267" data-end="1270" /&gt;This removes the route for outbound traffic, so outgoing connections failover to ISP2. However, &lt;STRONG data-start="1368" data-end="1419"&gt;the IP pool advertisement is still sent to ISP1&lt;/STRONG&gt;, so &lt;STRONG data-start="1424" data-end="1462"&gt;incoming traffic continues to fail&lt;/STRONG&gt;.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P data-start="1465" data-end="1479"&gt;&lt;STRONG data-start="1465" data-end="1479"&gt;Questions:&lt;/STRONG&gt;&lt;/P&gt;
&lt;OL data-start="1481" data-end="1910"&gt;
&lt;LI data-start="1481" data-end="1654"&gt;
&lt;P data-start="1484" data-end="1654"&gt;Is there any way in PAN-OS to &lt;STRONG data-start="1514" data-end="1580"&gt;completely withdraw all BGP routes and bring down ISP1 session&lt;/STRONG&gt; when the Internet behind ISP1 fails but the peer IP is still reachable?&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="1655" data-end="1789"&gt;
&lt;P data-start="1658" data-end="1789"&gt;Would combining conditional advertisement / AS-path prepending achieve practical failover for both incoming and outgoing traffic?&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="1790" data-end="1910"&gt;
&lt;P data-start="1793" data-end="1910"&gt;Are there any recommended workarounds in PA for this scenario that don’t involve extra hardware or ISP cooperation?&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P data-start="1912" data-end="1960"&gt;Appreciate any guidance or shared experiences.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Jan 2026 10:36:22 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/next-generation-firewall/conditional-advertisement-bgp-failover-with-dual-isp-how-to/m-p/1244795#M6557</guid>
      <dc:creator>Austin_Mascarenhas</dc:creator>
      <dc:date>2026-01-03T10:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Advertisement / BGP Failover with Dual ISP — How to Remove ISP1 Routes on Internet Loss?</title>
      <link>https://live.paloaltonetworks.com/t5/next-generation-firewall/conditional-advertisement-bgp-failover-with-dual-isp-how-to/m-p/1245091#M6576</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/1021935103"&gt;@Austin_Mascarenhas&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I see that no one has replied to your question in a few days; so, I will give it a shot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Is there any way in PAN-OS to completely withdraw all BGP routes and bring down ISP1 session when the Internet behind ISP1 fails but the peer IP is still reachable?&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not that I know. This is where the full BGP routing table comes into play, but the PA-Series cannot handle that many routes.&amp;nbsp; Purchasing a couple of BGP routers may simplify the process.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With regard to oubound traffic, I doubt you can rely on your ISP to withdraw the default route if they have Internet connection problems.&amp;nbsp; In most cases, the route is not withdrawn and the traffic gets blackholed.&amp;nbsp; If all you are receiving is the default route, you could tell the ISP not to send it and use path monitoring with a static default route.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Would combining conditional advertisement / AS-path prepending achieve practical failover for both incoming and outgoing traffic?&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have never seen AS path prepending achieve 100/0 load balancing for incoming traffic even with the max prepends.&amp;nbsp; I don't see any advantages to combining it with conditional advertisement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Outgoing traffic would be load balanced by BGP weight or local preference.&amp;nbsp;&amp;nbsp;&lt;A href="https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClszCAC" target="_blank"&gt;https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClszCAC&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Are there any recommended workarounds in PA for this scenario that don’t involve extra hardware or ISP cooperation?&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think path monitoring with default static routes would be more reliable than BGP for outgoing traffic.&amp;nbsp; For incoming traffic with BGP you would have to assume the ISP would withdraw the default route if they had internet issues.&amp;nbsp; With regard to conditional advertisement, how can 0/0 be the withdraw prefix if it is received from both ISPs?&amp;nbsp; I think the best way is to use ECMP and allow the outbound and inbound traffic to load balance.&amp;nbsp; You definitely want to check the Symmetric Return box under ECMP so that return traffic for incoming connections is sent out the same interface.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2026 18:11:05 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/next-generation-firewall/conditional-advertisement-bgp-failover-with-dual-isp-how-to/m-p/1245091#M6576</guid>
      <dc:creator>TomYoung</dc:creator>
      <dc:date>2026-01-07T18:11:05Z</dc:date>
    </item>
  </channel>
</rss>

