pfSense doesn't detect when internet is back up



  • 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



  • 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.



  • @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!



  • @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.



  • @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 …



  • @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 🙂


 

© Copyright 2002 - 2018 Rubicon Communications, LLC | Privacy Policy