<?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: Route &amp;amp; Path Selection in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/route-amp-path-selection/m-p/1248607#M126021</link>
    <description>&lt;P&gt;hi&lt;/P&gt;</description>
    <pubDate>Thu, 19 Feb 2026 21:21:18 GMT</pubDate>
    <dc:creator>acharishma</dc:creator>
    <dc:date>2026-02-19T21:21:18Z</dc:date>
    <item>
      <title>Route &amp; Path Selection</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/route-amp-path-selection/m-p/222268#M63929</link>
      <description>&lt;P&gt;I have a Cisco backround &amp;amp; I am currently studying Virtual Routers &amp;amp; Static Routes in the PA 8.0 admin guide.&amp;nbsp; I am trying to understand how Metrics are used in the firewall because it sounds like Administrative Distance&amp;nbsp;does the same thing.&amp;nbsp; Can someone tell me if my theory is right when it comes to Palo Alto forwarding packets to an intended destination.&amp;nbsp; Here is my assumption below...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am assuming that if traffic hits a virtual router &amp;amp; there are multiple routes to the same destination address the Palo Alto will first prefer the route with the most specific destination prefix (longest prefix match) and if the prefix's are the same for all routes the Palo Alto will prefer the route with the lowest Administrative Distance &amp;amp; if the Admin Distance is the same for the for all routes the Palo Alto will prefer the route with the lowest Metric.&amp;nbsp; Is this theory correct?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jul 2018 17:57:20 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/route-amp-path-selection/m-p/222268#M63929</guid>
      <dc:creator>MarioMarquez</dc:creator>
      <dc:date>2018-07-13T17:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Route &amp; Path Selection</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/route-amp-path-selection/m-p/222300#M63932</link>
      <description>&lt;P&gt;There is only metric in the actual routing tables.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PAN uses the term administrative distance to set the default metric per protocol for the virtual routers when you create them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Jul 2018 16:47:04 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/route-amp-path-selection/m-p/222300#M63932</guid>
      <dc:creator>pulukas</dc:creator>
      <dc:date>2018-07-14T16:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: Route &amp; Path Selection</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/route-amp-path-selection/m-p/222385#M63957</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/9524"&gt;@pulukas&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the feedback.&amp;nbsp; So if Metric exists in the routing table &amp;amp; Admin Distance does not that would mean that if I had 2 static default routes (1 going to ISP-A the other going to ISP-B) I would need to lower the Metric on one static route &amp;amp; raise the Metric on the other static route in order to choose which ISP I would send the&amp;nbsp;internet traffic trhough correct?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jul 2018 12:47:11 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/route-amp-path-selection/m-p/222385#M63957</guid>
      <dc:creator>MarioMarquez</dc:creator>
      <dc:date>2018-07-16T12:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: Route &amp; Path Selection</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/route-amp-path-selection/m-p/222386#M63958</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/92764"&gt;@MarioMarquez&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am assuming that if traffic hits a virtual router &amp;amp; there are multiple routes to the same destination address the Palo Alto will first prefer the route with the most specific destination prefix (longest prefix match) and if the prefix's are the same for all routes the Palo Alto will prefer the route with the lowest Administrative Distance &amp;amp; if the Admin Distance is the same for the for all routes the Palo Alto will prefer the route with the lowest Metric.&amp;nbsp; Is this theory correct?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Correct&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jul 2018 13:48:52 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/route-amp-path-selection/m-p/222386#M63958</guid>
      <dc:creator>9t89m8fu</dc:creator>
      <dc:date>2018-07-16T13:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: Route &amp; Path Selection</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/route-amp-path-selection/m-p/237839#M68150</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/92764"&gt;@MarioMarquez&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;I have a Cisco backround &amp;amp; I am currently studying Virtual Routers &amp;amp; Static Routes in the PA 8.0 admin guide.&amp;nbsp; I am trying to understand how Metrics are used in the firewall because it sounds like Administrative Distance&amp;nbsp;does the same thing.&amp;nbsp; Can someone tell me if my theory is right when it comes to Palo Alto forwarding packets to an intended destination.&amp;nbsp; Here is my assumption below...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am assuming that if traffic hits a virtual router &amp;amp; there are multiple routes to the same destination address the Palo Alto will first prefer the route with the most specific destination prefix (longest prefix match) and if the prefix's are the same for all routes the Palo Alto will prefer the route with the lowest Administrative Distance &amp;amp; if the Admin Distance is the same for the for all routes the Palo Alto will prefer the route with the lowest Metric.&amp;nbsp; Is this theory correct?&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, the logic provided by &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/92764"&gt;@MarioMarquez&lt;/a&gt;&amp;nbsp;does not seem to apply here. I have the following setup:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Two routes for 176.24.0.0/16:&lt;/P&gt;&lt;P&gt;&amp;gt; One static route with AD manually set to 110 and metric of 15.&lt;/P&gt;&lt;P&gt;&amp;gt; The other route learned via OSPF with the default AD of 110 and metric of 20.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have observed that the firewall still prefers the OSPF route, even as logic dictates that for routes with the same prefix-length and same AD value, the Active route will be chosen based on the lower metric value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;VIRTUAL ROUTER: default (id 1)&lt;BR /&gt;==========&lt;BR /&gt;destination nexthop metric flags age interface next-AS&lt;BR /&gt;0.0.0.0/0 10.129.138.1 10 A S ethernet1/1&lt;BR /&gt;176.24.0.0/16 192.168.20.1 15 S E ethernet1/1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;176.24.0.0/16 192.168.20.1 20 A O2E 67572 ethernet1/2&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was looking for an existing ETAC discussion about this behavior and found this thread. Could anyone help me understand this behavior? Also, for the same AD value, the firewall continues to prefer the OSPF route over the static route, irrespective of the metric value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/9524"&gt;@pulukas&lt;/a&gt;&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/2152"&gt;@9t89m8fu&lt;/a&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2018 18:59:18 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/route-amp-path-selection/m-p/237839#M68150</guid>
      <dc:creator>hgaddamwar</dc:creator>
      <dc:date>2018-10-30T18:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: Route &amp; Path Selection</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/route-amp-path-selection/m-p/237842#M68151</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/47581"&gt;@hgaddamwar&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.paloaltonetworks.com/documentation/80/pan-os/pan-os/networking/static-routes/static-route-overview" target="_blank"&gt;https://www.paloaltonetworks.com/documentation/80/pan-os/pan-os/networking/static-routes/static-route-overview&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"&lt;EM&gt;&lt;SPAN&gt;By default, static routes have an administrative distance of 10. When the firewall has two or more routes to the same destination, it uses the route with the lowest administrative distance. By increasing the administrative distance of a static route to a value higher than a dynamic route, you can use the static route as a backup route if the dynamic route is unavailable.&lt;/SPAN&gt;&lt;/EM&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you decrease the admin distance for the static route then that should be preferred over the OSPF route. I believe that if multiple routes for the same network exists, admin distance is used instead of metric?&lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2018 19:57:20 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/route-amp-path-selection/m-p/237842#M68151</guid>
      <dc:creator>LukeBullimore</dc:creator>
      <dc:date>2018-10-30T19:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Route &amp; Path Selection</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/route-amp-path-selection/m-p/237844#M68152</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/52796"&gt;@LukeBullimore&lt;/a&gt;&amp;nbsp;I agree and by varying the AD value, I am able to set the desired active route. However, I wish to set the active route among two routes with similar AD and hence I'm looking for the metric value as the deciding parameter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My customer has a peculiar&amp;nbsp;setup is as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;gt; There are three routes for&amp;nbsp;a subnet on the firewall: two learned via OSPF and one via a static route. The two OSPF routes has metric values of 30 and 40.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt; He wishes to have the routes installed on the firewall in the following preference: OSPF with metric 30 &amp;gt; static route &amp;gt; OSPF with metric 40.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Theoretically, this should be possible by setting a similar AD value for all the routes and varying the metric as required. But practically, it was observed that the static route was being preferred first.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As this is slightly complex, he decided to first try with two routes: the static route and the OSPF route with metric 30. Among these two routes, he wished to set the static route as the preferred one. He has confirmed that with different AD values, the route preference is working as expected. But with similar AD values, the firewall &lt;STRONG&gt;ALWAYS&lt;/STRONG&gt; prefers the OSPF route.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hence my question: with same prefix-length and same AD values for different routing protocols, how does the firewall select the Active route? What parameters are used during this selection process?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2018 20:38:38 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/route-amp-path-selection/m-p/237844#M68152</guid>
      <dc:creator>hgaddamwar</dc:creator>
      <dc:date>2018-10-30T20:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Route &amp; Path Selection</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/route-amp-path-selection/m-p/237845#M68153</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Check out this article since it talks about int vs ext OSPF and their admin distances.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClKnCAK" target="_blank"&gt;https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClKnCAK&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2018 21:26:17 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/route-amp-path-selection/m-p/237845#M68153</guid>
      <dc:creator>OtakarKlier</dc:creator>
      <dc:date>2018-10-30T21:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Route &amp; Path Selection</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/route-amp-path-selection/m-p/237958#M68179</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/27580"&gt;@OtakarKlier&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the assistance. I have checked this document but unfortunately, it is not related to my requirement. The document provides the solution by varying the AD value of the static route, whereas I am interested in the PAN-OS route selection process for routes with the same AD value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To reiterate my query:&amp;nbsp;&lt;SPAN&gt;with same prefix-length and same AD values for different routing protocols, how does the PAN firewall select the Active route? What parameters are used during this selection process?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Oct 2018 13:58:59 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/route-amp-path-selection/m-p/237958#M68179</guid>
      <dc:creator>hgaddamwar</dc:creator>
      <dc:date>2018-10-31T13:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: Route &amp; Path Selection</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/route-amp-path-selection/m-p/238004#M68193</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/47581"&gt;@hgaddamwar&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's definitely possible what you're trying to do. Do you have ECMP configured on the virtual router?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;edit: "&lt;EM&gt;with same prefix-length and same AD values for different routing protocols, how does the PAN firewall select the Active route? What parameters are used during this selection process?&lt;/EM&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This would be the metric value. But from your outputs you provided earlier I believe ECMP is being used that's why the metric value isn't being considered.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Luke.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Oct 2018 18:48:46 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/route-amp-path-selection/m-p/238004#M68193</guid>
      <dc:creator>LukeBullimore</dc:creator>
      <dc:date>2018-10-31T18:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Route &amp; Path Selection</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/route-amp-path-selection/m-p/238173#M68218</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/52796"&gt;@LukeBullimore&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's another thing: ECMP is not configured on the virtual router, but the two routes with same AD values are always displayed as ECMP routes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on my lab observations, this seems to be an expected behavior i.e. if two routes with the same-prefix length and same AD value are configured, they are displayed as ECMP routes. If we vary the AD values, the 'E' flag on both the routes disappear.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Nov 2018 06:24:48 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/route-amp-path-selection/m-p/238173#M68218</guid>
      <dc:creator>hgaddamwar</dc:creator>
      <dc:date>2018-11-01T06:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: Route &amp; Path Selection</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/route-amp-path-selection/m-p/1248607#M126021</link>
      <description>&lt;P&gt;hi&lt;/P&gt;</description>
      <pubDate>Thu, 19 Feb 2026 21:21:18 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/route-amp-path-selection/m-p/1248607#M126021</guid>
      <dc:creator>acharishma</dc:creator>
      <dc:date>2026-02-19T21:21:18Z</dc:date>
    </item>
  </channel>
</rss>

