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

    Internet keeps dropping

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 4 Posters 671 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
      jlinesabi
      last edited by

      I was setting up new Netgate 4100 at a new site. Everything was going fine, but when we hooked up the ethernet cable from our ISP dmarc, some weirdness started happening. The internet would stay up for between 9 minutes 30 seconds and 10 minutes 15 seconds and then would go down until we unplugged the cable and plugged it back in. It would then stay up for the same time range and then go down again. This happens continuously. I have switched patch cable multiple times. We had our ISP come out to help troubleshoot. They put our external IP address on their laptop and the internet never went down. As soon as we went back to using the Netgate, it started happening again. As a work around, the ISP set up one of their routers and the Netgate is hooked in to that. That resolved the issue. Has anybody run into something like this before? Is this a bad Netgate, or something else?

      GertjanG johnpozJ 2 Replies Last reply Reply Quote 0
      • GertjanG
        Gertjan @jlinesabi
        last edited by Gertjan

        @jlinesabi

        Check :

        2742b1b4-b207-4a58-9931-f4a3f0cc7882-image.png

        My WAN uses DHCP.
        It obtained 192.168.10.1 from the upstream router - in my case, an ISP router, itself containing the uplink ISP fiber.

        pfSense checks constantly if the 'WAN' has a usable connection to the Internet.
        It does so by sending a ping every xx msec. If the pings comes pack, the RTT time is shown, and the interface is considered 'online' (green)
        It sends these pings to the auto discovered gateway, which is "192.168.10.1" in my case, so I changed that to some other IP I trust/own. I could also use 8.8.8.8.
        Important : the chosen, or manually entered gateway has to reply to pings !
        If not, even if you have a good connection, pfSense will go into action : it restarts the interface.

        Check what happens : Status > System Logs > System >Gateways

        You can also test this : goto System > Routing > Gateways and edit the WAN(v4) interface :

        44f87263-87d2-4e5e-a164-c3f894698a97-image.png

        so monitoring continues, but pfSense will take no action.

        I'm using also this console / SSH command :

        tail -f /var/log/system.log
        

        and just keep watching it.
        If somethings happens with the WAN interface, you'll see it.

        You can even go haywire :

        tail -f /var/log/system.log /var/log/gateways.log
        

        and if you use DHCP on your WAN :

        tail -f /var/log/system.log  /var/log/gateways.log /var/log/dhcp.log
        

        Now you can see what happens, and why.

        If you have questions, post (all) these details.

        edit : I mentioned a possible issue. because you gave no details, I could be wrong.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        1 Reply Last reply Reply Quote 1
        • johnpozJ
          johnpoz LAYER 8 Global Moderator @jlinesabi
          last edited by

          @jlinesabi said in Internet keeps dropping:

          and the internet never went down

          How do you know this - where you constantly pinging something - if so what?

          Off the cuff guess, while just got my first coffee is you have high ping times that pfsense triggers offline - or what your pinging doesn't like the constant pinging? And stops answering after a so many or so long.

          Netgears don't monitor their gateway with constant ping btw.

          The info @Gertjan posted should give you some insight to what is going on..

          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 24.11 | Lab VMs 2.8, 24.11

          1 Reply Last reply Reply Quote 0
          • jimpJ jimp moved this topic from Problems Installing or Upgrading pfSense Software on
          • J
            jlinesabi
            last edited by

            @Gertjan
            Thanks for this. I'm based out of a different location, so it will be a couple of weeks before I get back over there. But when I do, I will put the setup back to what it was and check those things that you mentioned. Therefore, I most likely won't reply back to this for that time unless I end up going back out there earlier.

            @johnpoz
            Yes, when we noticed what was happening, we started a continuous ping to google.com. Specifically, the IP address of 142.250.68.46. When we saw the timeout start, we'd unplug the cable and plug it back in to reestablish connection. You said that "netgears don't monitor their gateway with constant ping". I'm new to pfsense. How would you recommend that I monitor this? Via @Gertjan's suggestion?

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

              Yes, check the logs when this happens, what's actually being triggered?

              I'd also recommend setting the default v4 gateway in System > Routing > Gateways to WAN_DHCP instead of 'automatic'.

              Steve

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