<?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: Static route path monitor shows UP with invalid next hop in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/static-route-path-monitor-shows-up-with-invalid-next-hop/m-p/449659#M100960</link>
    <description>&lt;P&gt;I'm re-reading the thread and love that you have a script to harvest the gateway IP from the DHCP interface. The issue of your lease expiring is interesting as that should renew at the lease half-life.&amp;nbsp; That is the problem I would perhaps think about.&amp;nbsp; The process to trigger (schedule) the lease renew might be worth looking at. But is this an ISP issue at the core also?&amp;nbsp; Regarding what the target is that you ping, there might be an opportunity there.&amp;nbsp; Here is my config as feel it is representative of the internet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-11-26 093031.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/37820i2B472D9430CB282A/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Screenshot 2021-11-26 093031.png" alt="Screenshot 2021-11-26 093031.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Nov 2021 14:31:36 GMT</pubDate>
    <dc:creator>johnwalshaw</dc:creator>
    <dc:date>2021-11-26T14:31:36Z</dc:date>
    <item>
      <title>Static route path monitor shows UP with invalid next hop</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/static-route-path-monitor-shows-up-with-invalid-next-hop/m-p/446853#M100634</link>
      <description>&lt;P&gt;I'm running PAN-OS 10.1 on a VM-100. I have DHCP on an interface and use a script to update an address object with the default gateway from the DHCP interface. I have a static route with next hop set to this address object and path monitoring enabled. I've run into a situation where if the DHCP lease expires (something upstream fails with the provider), then the address object gets set to 0.0.0.0. The path monitor still shows up when using the next hop of 0.0.0.0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can reproduce this easily by creating a static route to 9.9.9.9 with next hop of 254.254.254.254 and it shows down. With a next hop of 0.0.0.0 it shows with a status of UP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="palo-next-hop-0.png" style="width: 740px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/37576i3085809DDE4FCBB6/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="palo-next-hop-0.png" alt="palo-next-hop-0.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="palo-next-hop-254.png" style="width: 767px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/37575iCD11BCDB96292E8A/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="palo-next-hop-254.png" alt="palo-next-hop-254.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is this expected behavior?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 01:42:27 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/static-route-path-monitor-shows-up-with-invalid-next-hop/m-p/446853#M100634</guid>
      <dc:creator>StephenBuck</dc:creator>
      <dc:date>2021-11-11T01:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Static route path monitor shows UP with invalid next hop</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/static-route-path-monitor-shows-up-with-invalid-next-hop/m-p/446875#M100635</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/61470"&gt;@StephenBuck&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I'd open a TAC case and report the behavior, as this is more than likely an issue with how the firewall is interrupting the 0.0.0.0 address in the monitoring process.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 04:25:40 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/static-route-path-monitor-shows-up-with-invalid-next-hop/m-p/446875#M100635</guid>
      <dc:creator>BPry</dc:creator>
      <dc:date>2021-11-11T04:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: Static route path monitor shows UP with invalid next hop</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/static-route-path-monitor-shows-up-with-invalid-next-hop/m-p/447019#M100649</link>
      <description>&lt;P&gt;Hi &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/61470"&gt;@StephenBuck&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Interesting case...But it seems that &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/43480"&gt;@BPry&lt;/a&gt; is in right direction.&lt;/P&gt;
&lt;P&gt;It seems that Linux/Unix based systems are interpeting the 0.0.0.0 as localhost (127.0.0.1), while Windows return failure:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Astardzhiev_0-1636645397571.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/37584i3FFD1A323EF93D04/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Astardzhiev_0-1636645397571.png" alt="Astardzhiev_0-1636645397571.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Astardzhiev_1-1636645540758.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/37585i9794DB35F3B70AF5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Astardzhiev_1-1636645540758.png" alt="Astardzhiev_1-1636645540758.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should be able to test it by yourself - run ping from your firewall to 0.0.0.0 and you will see replies from localhost.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I don't believe it is problem of path-monitor - as it is just simple ping packets to the destination you configure.&lt;/P&gt;
&lt;P&gt;You probably should consider modifing you script to identify if the return ip is 0.0.0.0 to take different action, instead of updating the path-monitor with that value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 15:51:20 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/static-route-path-monitor-shows-up-with-invalid-next-hop/m-p/447019#M100649</guid>
      <dc:creator>aleksandar.astardzhiev</dc:creator>
      <dc:date>2021-11-11T15:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Static route path monitor shows UP with invalid next hop</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/static-route-path-monitor-shows-up-with-invalid-next-hop/m-p/447070#M100651</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/70130"&gt;@aleksandar.astardzhiev&lt;/a&gt;&amp;nbsp;I'm going to be checking for null or 0.0.0.0 and replace it with 254.254.254.254 which seems to work. In the meantime, I've opened a TAC case and waiting to see what they say. Would definitely require a code change in PAN-OS to prevent replies to 0.0.0, or prevent 0.0.0.0 as a next-hop, and in the latter case, my script would fail to commit a 0.0.0.0 and so would need to be modified anyway.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 18:29:34 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/static-route-path-monitor-shows-up-with-invalid-next-hop/m-p/447070#M100651</guid>
      <dc:creator>StephenBuck</dc:creator>
      <dc:date>2021-11-11T18:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Static route path monitor shows UP with invalid next hop</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/static-route-path-monitor-shows-up-with-invalid-next-hop/m-p/448999#M100881</link>
      <description>&lt;P&gt;TAC advised that this is expected behavior since the underlying Linux pings to 0.0.0.0 are succeeding. I've verified with my script that setting the next hop to 254.254.254.254 will cause the path monitor to fail when there is no DHCP address on the interface.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Nov 2021 21:33:53 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/static-route-path-monitor-shows-up-with-invalid-next-hop/m-p/448999#M100881</guid>
      <dc:creator>StephenBuck</dc:creator>
      <dc:date>2021-11-22T21:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: Static route path monitor shows UP with invalid next hop</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/static-route-path-monitor-shows-up-with-invalid-next-hop/m-p/449509#M100943</link>
      <description>&lt;P&gt;For the DHCP interface you should uncheck the option to auto create default route. This is because the static route monitoring is for a static route, not for an auto generated route.&amp;nbsp; Therefore, once you uncheck the option to auto create default route for DHCP interface, you need to create a static route to the ISP gateway IP.&amp;nbsp; Only issue is that if the ISP ever change the gateway IP, your static route would become invalid.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2021 22:47:55 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/static-route-path-monitor-shows-up-with-invalid-next-hop/m-p/449509#M100943</guid>
      <dc:creator>johnwalshaw</dc:creator>
      <dc:date>2021-11-25T22:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: Static route path monitor shows UP with invalid next hop</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/static-route-path-monitor-shows-up-with-invalid-next-hop/m-p/449554#M100955</link>
      <description>&lt;P&gt;I forgot to mention that I did turn off the option to auto insert the default gateway from DHCP. My script simply queries the DHCP interface to get the gateway handed out by the DHCP server and I set the next hop to this address. That's what started all this since the script would put in a 0.0.0.0 for the next hop when there is no address on the interface (DHCP lease expired and there was no connectivity with the ISP).&lt;/P&gt;</description>
      <pubDate>Fri, 26 Nov 2021 02:55:38 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/static-route-path-monitor-shows-up-with-invalid-next-hop/m-p/449554#M100955</guid>
      <dc:creator>StephenBuck</dc:creator>
      <dc:date>2021-11-26T02:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: Static route path monitor shows UP with invalid next hop</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/static-route-path-monitor-shows-up-with-invalid-next-hop/m-p/449659#M100960</link>
      <description>&lt;P&gt;I'm re-reading the thread and love that you have a script to harvest the gateway IP from the DHCP interface. The issue of your lease expiring is interesting as that should renew at the lease half-life.&amp;nbsp; That is the problem I would perhaps think about.&amp;nbsp; The process to trigger (schedule) the lease renew might be worth looking at. But is this an ISP issue at the core also?&amp;nbsp; Regarding what the target is that you ping, there might be an opportunity there.&amp;nbsp; Here is my config as feel it is representative of the internet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-11-26 093031.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/37820i2B472D9430CB282A/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Screenshot 2021-11-26 093031.png" alt="Screenshot 2021-11-26 093031.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Nov 2021 14:31:36 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/static-route-path-monitor-shows-up-with-invalid-next-hop/m-p/449659#M100960</guid>
      <dc:creator>johnwalshaw</dc:creator>
      <dc:date>2021-11-26T14:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Static route path monitor shows UP with invalid next hop</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/static-route-path-monitor-shows-up-with-invalid-next-hop/m-p/449672#M100962</link>
      <description>&lt;P&gt;Also, forgot to mention that I have each ISP on a separate virtual router, therefore there is no backdoor zero route possibility via another ISP link. The result is that path monitoring to specified internet destinations is working without fault.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Nov 2021 15:45:47 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/static-route-path-monitor-shows-up-with-invalid-next-hop/m-p/449672#M100962</guid>
      <dc:creator>johnwalshaw</dc:creator>
      <dc:date>2021-11-26T15:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Static route path monitor shows UP with invalid next hop</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/static-route-path-monitor-shows-up-with-invalid-next-hop/m-p/449823#M100977</link>
      <description>&lt;P&gt;One of my ISPs has a lease time of only one hour. The Palo renews just fine as long as there isn't any issue between it and the DHCP server. If there's a short outage that lasts longer than an hour, that's when I noticed a problem before changing my script. When the lease expired and the Palo was unable to renew a new IP, the interface would show 0.0.0.0 for the next hop gateway.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 03:52:54 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/static-route-path-monitor-shows-up-with-invalid-next-hop/m-p/449823#M100977</guid>
      <dc:creator>StephenBuck</dc:creator>
      <dc:date>2021-11-29T03:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Static route path monitor shows UP with invalid next hop</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/static-route-path-monitor-shows-up-with-invalid-next-hop/m-p/449824#M100978</link>
      <description>&lt;P&gt;I do the same thing and have my ISPs in their own virtual router and use BGP to advertise the default route to the internal VR since you can't peer between VRs using OSPF.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 03:54:34 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/static-route-path-monitor-shows-up-with-invalid-next-hop/m-p/449824#M100978</guid>
      <dc:creator>StephenBuck</dc:creator>
      <dc:date>2021-11-29T03:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: Static route path monitor shows UP with invalid next hop</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/static-route-path-monitor-shows-up-with-invalid-next-hop/m-p/450123#M101010</link>
      <description>&lt;P&gt;How do you have path monitoring configured? Maybe post a screenshot similar to what I posted?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 18:56:39 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/static-route-path-monitor-shows-up-with-invalid-next-hop/m-p/450123#M101010</guid>
      <dc:creator>johnwalshaw</dc:creator>
      <dc:date>2021-11-29T18:56:39Z</dc:date>
    </item>
  </channel>
</rss>

