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

    Losing WAN overnight

    Scheduled Pinned Locked Moved General pfSense Questions
    12 Posts 4 Posters 1.7k 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
      jerryaycock
      last edited by

      WAN is DHCP
      Cable modem No Logs it appears to be up Never had problems with it before.
      I have cleared logs will copy next failure.

      Thanks
      Jerry

      1 Reply Last reply Reply Quote 0
      • KOMK
        KOM
        last edited by

        Also check the Gateways log to see if apinger is biting you.

        1 Reply Last reply Reply Quote 0
        • K
          kejianshi
          last edited by

          Yeah - On two seperate systems I tried two solutions.

          System 1 that gave issues, I turned off gateway monitor.

          System 2 I raised the thresholds of everything in the advanced gateway settings.

          Both solutions worked fine.  The second one allowed me to keep seeing quality graphs in RRD data.

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            Some cable modems will hand out a local private IP if they loose their upstream connection in order to access them and fix whatever problem exists. That's fine but pfSense receives that IP and never rejects it favour of a public IP when the connection comes back. What does Status: Interfaces: show when the WAN connection is lost?

            Steve

            1 Reply Last reply Reply Quote 0
            • J
              jerryaycock
              last edited by

              Dec 5 18:00:27 apinger: ALARM: WAN_DHCP(68.0.32.1) *** down ***

              Steve I will check status next time.

              Thanks Jerry

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                Ok, so apinger is marking the connection as down. Check the system log for any interface UP of DOWN events like:

                kernel: fxp0: link state changed to DOWN
                

                That would indicate a local physical connection failure like if your modem rebooted.

                If you don't see that, and it's not the cable modem local address problem, then it's probably apinger causing the problem. It may be a symptom rather than a cause but it's easy to test by disabling it. Go to System: Routing: Gateways: and edit the existing gateway. Check 'disable gateway monitoring'.

                Steve

                1 Reply Last reply Reply Quote 0
                • J
                  jerryaycock
                  last edited by

                  I turned off gateway monitor and has not failed .
                  Hope I can find time to learn more about PFSense.
                  Jerry

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    Hmm, well there are some issues with apinger as you may have seen while searching for this error. Personally I've never had any problems with it. Hopefully this will be resolved when 2.2 is released.

                    Steve

                    1 Reply Last reply Reply Quote 0
                    • K
                      kejianshi
                      last edited by

                      Hmmmm…

                      Well - For me at least raising the thresholds very high worked just as well as turning it off. 
                      That way when you really do have an outage it will do what its supposed to and you get to keep your pretty rrd quality graphs.

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        It may work just as well normally but will it come back up after an outage? With the threasholds set to their standard values if you have a laggy or lossy connection, such as a wifi or 3g/4g link, then you would exepct to see lots of alarms and down times but you still expect it to come back up by itself which this isn't.  :-
                        I'll not pretend to know too much about apinger though it seems to behave in it's own special way.  ;) I once read through all the config scripts and still came away with conflicting ideas.

                        Steve

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