Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Gateway monitoring in pending

    Scheduled Pinned Locked Moved Routing and Multi WAN
    5 Posts 4 Posters 1.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      j.koopmann
      last edited by

      Hi,

      WAN interface is using DHCP. Address is assigned. Gateway of the ISP is pingable and in the same subnet as the assigned WAN IP. However gateway monitoring is stuck:

      aec4a37a-8bec-45f5-aa72-3d03a7c5e0ee-image.png

      Why is it not "finding" the correct IP to monitor? If I assign 1.1.1.1 as monitoring IP all is fine but I would much rather have it ping the gateway IP.

      This is on 23.05.1. I am pretty sure it did work yesterday but after some forced DHCP client renewals something seems messed up. The fun thing is: I cannot even find a corresponding dpinger process if I leave the Monitoring IP empty. That does not seem right does it?

      RobbieTTR S 2 Replies Last reply Reply Quote 0
      • RobbieTTR
        RobbieTT @j.koopmann
        last edited by RobbieTT

        @j-koopmann
        Same for me after the update. It took 2 reboots to get both IPv4 and IPv6 gateways beyond pending. DHCP had a few wobbles too but all is working now.

        ☕️

        1 Reply Last reply Reply Quote 0
        • S
          SteveITS Galactic Empire @j.koopmann
          last edited by

          @j-koopmann By default it tries to ping the gateway IP. Sometimes that is not pingable or does not reliably respond to pings, if busy. Sometimes it's the ISP router in the same office which is rather pointless for connection monitoring.

          In the gateway settings there are checkboxes to disable the monitoring, or disable the monitoring action if that's what you are asking.

          Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
          When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
          Upvote 👍 helpful posts!

          J 1 Reply Last reply Reply Quote 0
          • J
            j.koopmann @SteveITS
            last edited by

            @SteveITS please reread my initial post.

            There is no dpinger process being started. The gateway IS pingable from the pfsense box. It is not even trying to ping which looks like a big to me.

            If it were not reliably pingable it should show as offline but not pending.

            1 Reply Last reply Reply Quote 0
            • H
              halp
              last edited by

              Found a problem with WANs showing a "Pending" status under Gateways when running pfSense version 23.09.1-RELEASE. Documented and I filed to bug report this week.

              This appears to be caused by the process dpinger. Tied to using a DHCP from the ISP. Does not happen if ISP is using a static IP for the WAN.

              Occurs if the cable (RJ-45) between the modem and router/firewall is unplugged/replugged or if the modem is power reset. The problem happens with a single WAN and is not related to using a failover configuration. Can stay stuck in Pending state and is hard to get out of. Try, disabling the interface, then be sure the modem is fully online and ready to issue the IP by DHCP, and then reactive the interface. I've also tried releasing the IP and reassigning it under the Interfaces page.

              If your ISP is Comcast, I also found a bug in their lease time for DHCPs if their default value is changed. The problem I found is when the lease time is changed, the modem will fail at 1/2 the assigned lease time. Logs will show monitoring pings don't respond. Way to fix this was to reissue another DHCP lease time or release the IP and reassign it under the Interfaces page

              Another problem I found is modems in bridge mode will randomly disconnect because they stop responding to ARPs. Think the phSense default is 1200. Found it was necessary to reduce under 5 mins. I am using 240 for net.link.ether.inet.max_age found under Advanced/System Tunables. So far, this change appears to help stop the disconnects.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.