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

    pfSense doesn't detect when internet is back up

    Scheduled Pinned Locked Moved General pfSense Questions
    6 Posts 4 Posters 880 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.
    • S
      selstam2
      last edited by

      Hi!

      Internet sometimes goes down which means my fiber converter loses it's WAN link. I have setup where my fiber converter is connected to a separate VLAN on an untagged port on my switch and then into a HP server running pfSense. When internet goes down I have to manually disable and then reenable the WAN interface in pfSense to make it understand internet is back up.

      WAN interface in pfSense is DHCP enabled for IPv4.

      Is there any way I can monitor this or is there something else that is wrong?

      Cheers,
      Andreas

      SammyWooS 1 Reply Last reply Reply Quote 0
      • JKnottJ
        JKnott
        last edited by

        Your problem is caused by the switch between pfSense and the converter. If the converter was connected directly to the computer running pfSense, then the connection could be detected and DHCP client, etc., restarted.
        About all you could do is run a script that pings the ISPs gateway periodically to determine when the link is up or down.

        PfSense running on Qotom mini PC
        i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
        UniFi AC-Lite access point

        I haven't lost my mind. It's around here...somewhere...

        S 1 Reply Last reply Reply Quote 0
        • S
          selstam2 @JKnott
          last edited by

          @jknott said in pfSense doesn't detect when internet is back up:

          About all you could do is run a script that pings the ISPs gateway periodically to determine when the link is up or down.

          Figured as much. Cron script in place that will reload the WAN interface every minute if a number of ip addresses fail ping.

          We'll see what happens at the next outage!

          Thanks!

          GertjanG 1 Reply Last reply Reply Quote 0
          • GertjanG
            Gertjan @selstam2
            last edited by

            @selstam2 said in pfSense doesn't detect when internet is back up:

            We’ll see what happens at the next outage!

            Why waiting ?
            It will happen when you are not there (Murphy's law) - so you will not be able to test and check.
            Just provoke the situation yourself, by ripping out that wire, and test drive.

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

            S 1 Reply Last reply Reply Quote 0
            • S
              selstam2 @Gertjan
              last edited by

              @gertjan said in pfSense doesn't detect when internet is back up:

              Why waiting ?
              It will happen when you are not there (Murphy's law) - so you will not be able to test and check.
              Just provoke the situation yourself, by ripping out that wire, and test drive.

              Just the wire won't cut it - if I have the same IP before and after I rip the cable it still works. It's when there's an outage which also triggers a new IP address. Although I could check that the script works and that the interface is reloaded ...

              1 Reply Last reply Reply Quote 0
              • SammyWooS
                SammyWoo @selstam2
                last edited by SammyWoo

                @selstam2 Seen this prob posted somewhere else. My first thought was, how come Pfsense, promoted as High-Availability capable, has this prob... then it occur to me this may happen only under some circumstances... It happens on my case because I notice my Pfsense box boots faster and becomes ready BEFORE my Arris modem (issues DHCP req when modem not ready to respond), which leads me to think a script or a Pfsense delay boot... hasn't bother me much for me to take any action 'cuz my UPS spoils me :)

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