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

    Apinger problem

    Scheduled Pinned Locked Moved Routing and Multi WAN
    13 Posts 6 Posters 3.4k 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.
    • L Offline
      l4k3k3m4n
      last edited by

      Hello,
      I have the following problem with apinger

      on 1 special WAN interface, apinger will report a wrong RTT after some houres of uptime. (it will drop from the normal ~12ms to ~1-2ms)

      Of course the delay ist still 12ms when you do a manual ping.
      When I restart apinger service, RTT is back to normal.

      Sometimes I will get 100% packet loss as well, and the gateway is marked as down.

      But it is still up and running fine when I manually check it.

      I need to restart apinger service, then the interface is marked as up again and the RTT is back to the right value. But the interface is not used again for traffic until I force it to disabled and enable it again.

      I only have this behaviour on one special interface. It is a WAN interface with a "private" IP as there is a cable router doing the internet connection. Gateway monitor IP is a google DNS server.

      Again, the internet connection is fine and working at the time apinger marks it as down.

      Can I do something?

      Thanks a lot!

      1 Reply Last reply Reply Quote 0
      • DerelictD Offline
        Derelict LAYER 8 Netgate
        last edited by

        apinger is better in 2.2 (but still not great).  You didn't specify what version you're using.

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

        1 Reply Last reply Reply Quote 0
        • L Offline
          l4k3k3m4n
          last edited by

          Sorry, I am using the 2.2-RELEASE 64bit.

          1 Reply Last reply Reply Quote 0
          • G Offline
            grandrivers
            last edited by

            Apinger is way worse 2.2 for me than it ever was in 2.1.5 bad enough that cant do fail over on latency or packetloss any longer which is what brought me to pfsense in the first place
            really hope apinger gets some love before 2.3

            pfsense plus 25.03 super micro A1SRM-2558F
            C2558 32gig ECC  60gig SSD

            1 Reply Last reply Reply Quote 0
            • E Offline
              eSpezi
              last edited by

              Are there any positive news on the issue?

              I'm experiencing the exact same behavior on different machines (APUs, Atoms) with different Releases (2.2-RC, 2.2-Release, 2.2.1-Release)
              In each setup I have two WANs, where one is a cable router where pfS is the NATed "Exposed Host" on the LAN of the router. There is no option to change the router to act as a modem and as the routers are mandatory and provided by the cable provider there is no way to replace them.

              Apinger marks the cable connections sporadically (at least I find no logic in that) as down after a few days or weeks (period varies) and never brings them up again until I restart apinger.
              I never had a case, where the connection really didn't work when apinger marked it as down.

              That makes the use of gateway groups totally senseless as it generates way more problems as not using them.

              This problem seems to persist since several releases, and in my case seems to have gotten worse with 2.2.

              Is there any real solution to the problem (at least in sight)?

              Thanks for any info,
              Harry

              1 Reply Last reply Reply Quote 0
              • D Offline
                doktornotor Banned
                last edited by

                @eSpezi:

                Are there any positive news on the issue?

                No.

                @eSpezi:

                Is there any real solution to the problem (at least in sight)?

                Not until it gets rewritten from scratch.

                1 Reply Last reply Reply Quote 0
                • johnpozJ Offline
                  johnpoz LAYER 8 Global Moderator
                  last edited by

                  "Apinger marks the cable connections sporadically"

                  Well why don't you just disable monitoring of the gateway, so its listed as always up?  Or use different IP to ping for your monitor?

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 25.07.1 | Lab VMs 2.8.1, 25.07.1

                  1 Reply Last reply Reply Quote 0
                  • E Offline
                    eSpezi
                    last edited by

                    Because that's the opposite of the behavior it was configured for.

                    2 WANs with Gateway Groups only make any sense if there is a failover in case one goes down.
                    If I configure one or all as always being up, then there never would be any failover…

                    Which IPs would you propose to ping instead of googles 8.8.8.8 and 8.8.4.4?
                    Especially with the cable router having the private LAN IP as gateway on the pfS it makes no sense to ping that, as I only would monitor if the router is up, but not if there is a connection to the internet.

                    1 Reply Last reply Reply Quote 0
                    • johnpozJ Offline
                      johnpoz LAYER 8 Global Moderator
                      last edited by

                      How about pinging your isp gateway?  I agree pinging lan side of  your natting gateway is of little use.

                      The worse issue I have seen with apinger is that shows my gateway responding much faster than is possible.  I would love it my isp gateway was that responsive, shoot love it if my he tunnel was even better than my isp connection.. But that is not really possible - normally see 8 to 10ms as realistic values when pinging that.

                      gatewaypingtime.png_thumb
                      gatewaypingtime.png

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 25.07.1 | Lab VMs 2.8.1, 25.07.1

                      1 Reply Last reply Reply Quote 0
                      • G Offline
                        grandrivers
                        last edited by

                        from my experience i would not use isp gateway cause most of the internet problems are with my isp's connection to the internet not the local connection
                        and yes Apinger can't get replaced quick enough if it happened today

                        pfsense plus 25.03 super micro A1SRM-2558F
                        C2558 32gig ECC  60gig SSD

                        1 Reply Last reply Reply Quote 0
                        • DerelictD Offline
                          Derelict LAYER 8 Netgate
                          last edited by

                          Then traceroute out and pick something that reliably responds to pings.

                          Chattanooga, Tennessee, USA
                          A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                          DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                          Do Not Chat For Help! NO_WAN_EGRESS(TM)

                          1 Reply Last reply Reply Quote 0
                          • E Offline
                            eSpezi
                            last edited by

                            I'm experiencing the apinger problem since I got in touch with pfS on any hardware with any release.
                            With some releases it seemed to have improved a bit, but never really was reliable.
                            As the forum shows, I was/am not the only one…

                            I can't understand, why this has not been addressed properly and resolved for good as I consider it crucial for the use of Multi-WAN.
                            Also, I wonder, why to rely on only one IP to check if a connection is up. I would at least check two, to eliminate sole problems with the checked IP.

                            With each release I'm hoping for the relief.
                            What a pity - as the rest of pfS works pretty good for me.

                            1 Reply Last reply Reply Quote 0
                            • G Offline
                              grandrivers
                              last edited by

                              If I had to guess all the devs are are good to excellent internet and the us that are having problems are not what some of us have can hardly be called high speed internet.
                              the ONLY reason i came to Pfsense was for multi-wan fail over to replace a depreciated xincom router heck it had way better multi wan monitoring in 2009 than we have today
                              I think we need to start a multi-wan monitoring wish list need for people with poor internet

                              pfsense plus 25.03 super micro A1SRM-2558F
                              C2558 32gig ECC  60gig SSD

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