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

    WAN interface Restarts every quarter hour

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    10 Posts 6 Posters 2.8k 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.
    • T Offline
      tix
      last edited by

      Running FULL 2.0-RC1 (i386) built on Mon Feb 28 18:12:00 EST 2011.

      On every quarter hour mark (+ or - 1 min) of 15/30/40/00, there are entries in the system log showing the WAN interface has lost connection.  This 'outage' lasts less then secs in nearly every instance.  Sometimes this triggers the DynDNS client to attempt to re-register and others it will restart DNSMasq and sometimes no service restarts.
      The only entry to indicate this is:  php: "Could not find gateway for interface(wan)."

      Both the router and pfSense are connected to the same Cisco switch within a Layer 2 VLAN.  The switch does not show any errors nor any link state transistions.

      I did a clean install of RC1 and recreated the configuration (not imported) on the same machine previously running 1.2.3-Release FULL without this loss of connectivity.

      I cannot update to the latest SNAP until Friday to see if this has been resolved and a search of the Forum and Google shows no hits (other than a default gateway option not checked).

      The interface in question is using the dc0 module.

      1 Reply Last reply Reply Quote 0
      • P Offline
        podilarius
        last edited by

        Are you seeing time jumps in the logs between consecutive entries?

        Podilairus

        1 Reply Last reply Reply Quote 0
        • T Offline
          tix
          last edited by

          Not sure what you mean by "jumps" but I don't see anything unusual in the logs by the timestamps.
          Here is the current system log:
          Mar 10 08:30:07 php: : Could not find gateway for interface(wan).
          Mar 10 08:30:07 php: : Could not find gateway for interface(wan).
          Mar 10 08:20:00 dnsmasq[41726]: read /etc/hosts - 26 addresses
          Mar 10 08:19:57 dnsmasq[41726]: read /etc/hosts - 26 addresses
          Mar 10 08:17:57 dnsmasq[41726]: read /etc/hosts - 26 addresses
          Mar 10 08:17:48 dnsmasq[41726]: read /etc/hosts - 26 addresses
          Mar 10 08:17:46 dnsmasq[41726]: read /etc/hosts - 26 addresses
          Mar 10 08:17:44 dnsmasq[41726]: read /etc/hosts - 26 addresses
          Mar 10 08:16:31 dnsmasq[41726]: read /etc/hosts - 26 addresses
          Mar 10 08:15:06 php: : Could not find gateway for interface(wan).
          Mar 10 08:15:06 php: : Could not find gateway for interface(wan).
          Mar 10 08:02:09 dnsmasq[41726]: read /etc/hosts - 26 addresses
          Mar 10 08:00:06 php: : Could not find gateway for interface(wan).
          Mar 10 08:00:06 php: : Could not find gateway for interface(wan).
          Mar 10 07:59:51 dnsmasq[41726]: read /etc/hosts - 26 addresses
          Mar 10 07:46:45 dnsmasq[41726]: read /etc/hosts - 26 addresses
          Mar 10 07:45:08 php: : Could not find gateway for interface(wan).
          Mar 10 07:45:08 php: : Could not find gateway for interface(wan).
          Mar 10 07:42:58 dnsmasq[41726]: read /etc/hosts - 26 addresses
          Mar 10 07:42:14 dnsmasq[41726]: read /etc/hosts - 26 addresses
          Mar 10 07:30:07 php: : Could not find gateway for interface(wan).
          Mar 10 07:30:07 php: : Could not find gateway for interface(wan).
          Mar 10 07:15:07 php: : Could not find gateway for interface(wan).
          Mar 10 07:15:07 php: : Could not find gateway for interface(wan).
          Mar 10 07:00:06 php: : Could not find gateway for interface(wan).
          Mar 10 07:00:06 php: : Could not find gateway for interface(wan).
          Mar 10 06:45:06 php: : Could not find gateway for interface(wan).
          Mar 10 06:45:06 php: : Could not find gateway for interface(wan).
          Mar 10 06:37:55 dnsmasq[41726]: read /etc/hosts - 26 addresses
          Mar 10 06:30:07 php: : Could not find gateway for interface(wan).
          Mar 10 06:30:07 php: : Could not find gateway for interface(wan).
          Mar 10 06:15:06 php: : Could not find gateway for interface(wan).
          Mar 10 06:15:06 php: : Could not find gateway for interface(wan).
          Mar 10 06:00:08 php: : Could not find gateway for interface(wan).
          Mar 10 06:00:08 php: : Could not find gateway for interface(wan).
          Mar 10 05:45:07 php: : Could not find gateway for interface(wan).
          Mar 10 05:45:07 php: : Could not find gateway for interface(wan).
          Mar 10 05:30:07 php: : Could not find gateway for interface(wan).
          Mar 10 05:30:07 php: : Could not find gateway for interface(wan).
          Mar 10 05:15:07 php: : Could not find gateway for interface(wan).
          Mar 10 05:15:07 php: : Could not find gateway for interface(wan).
          Mar 10 05:00:08 php: : Could not find gateway for interface(wan).
          Mar 10 05:00:08 php: : Could not find gateway for interface(wan).
          Mar 10 04:45:07 php: : Could not find gateway for interface(wan).
          Mar 10 04:45:07 php: : Could not find gateway for interface(wan).
          Mar 10 04:30:08 php: : Could not find gateway for interface(wan).
          Mar 10 04:30:08 php: : Could not find gateway for interface(wan).
          Mar 10 04:15:05 php: : Could not find gateway for interface(wan).
          Mar 10 04:15:05 php: : Could not find gateway for interface(wan).
          Mar 10 04:00:06 php: : Could not find gateway for interface(wan).
          Mar 10 04:00:06 php: : Could not find gateway for interface(wan).
          Mar 10 03:45:06 php: : Could not find gateway for interface(wan).
          Mar 10 03:45:06 php: : Could not find gateway for interface(wan).
          Mar 10 03:34:54 dnsmasq[41726]: read /etc/hosts - 26 addresses
          Mar 10 03:30:06 php: : Could not find gateway for interface(wan).
          Mar 10 03:30:06 php: : Could not find gateway for interface(wan).
          Mar 10 03:15:08 php: : Could not find gateway for interface(wan).
          Mar 10 03:15:08 php: : Could not find gateway for interface(wan).
          Mar 10 03:00:06 php: : Could not find gateway for interface(wan).
          Mar 10 03:00:06 php: : Could not find gateway for interface(wan).

          1 Reply Last reply Reply Quote 0
          • T Offline
            tix
            last edited by

            Just upgraded to latest SNAP and still getting the error.

            Mar 10 20:30:06 php: : Could not find gateway for interface(wan).
            Mar 10 20:30:06 php: : Could not find gateway for interface(wan).

            1 Reply Last reply Reply Quote 0
            • N Offline
              Nachtfalke
              last edited by

              perhaps a cron job which starts every quarter hour ?

              1 Reply Last reply Reply Quote 0
              • T Offline
                tix
                last edited by

                You are correct - it appears to be a cron job
                0,15,30,45  *  *  *  *  root  /etc/rc.filter_configure_sync

                Not sure what this job does since I don't understand PHP well, but to guess by the function calls, it seems to be doing some interface housekeeping tasks.

                
                require_once("config.inc");
                require_once("functions.inc");
                require_once("filter.inc");
                require_once("shaper.inc");
                require_once("ipsec.inc");
                require_once("vpn.inc");
                
                /* invalidate interface cache */
                get_interface_arr(true);
                
                filter_configure_sync();
                
                

                Strange that no one else has encountered this issue.  This is a clean install since I was unable to import my old config backup cleanly so I would think this pfSense cron job would run on everyone's install.  I guess I need to keep digging…..

                1 Reply Last reply Reply Quote 0
                • W Offline
                  wallabybob
                  last edited by

                  @tix:

                  This is a clean install since I was unable to import my old config backup cleanly so I would think this pfSense cron job would run on everyone's install.

                  That entry isn't in my /etc/crontab

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

                    That must be some package doing that.
                    Either way your issue is that you have to go to the wan a choose a gateway if your wan is static.
                    Otherwise its strange that you are getting that error even though that crontab is active.

                    Please show your interface config section if the above does not help.

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      tix
                      last edited by

                      Thanks for the pointing me in that direction.  It appears that the IPv6 package has been installed by a co-worker.  I'm going to try that forum now and see what they say.  That is the only package installed.

                      Thanks for the assistance and if I can get an answer over there I'll update this thread.

                      Other than this I have no problems running the RC!  Good Work and many thanks!

                      1 Reply Last reply Reply Quote 0
                      • C Offline
                        caseystone
                        last edited by

                        I'm seeing something similar in my System Logs.

                        I'm running in a ESXi 4.1 VM with only package installed vnstat2 and Snort.

                        2.0-RC1 (amd64)
                        built on Tue Mar 22 00:31:28 EDT 2011

                        Mar 23 21:05:18	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 23 20:05:18	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 23 20:05:18	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 23 19:05:18	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 23 18:05:18	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 23 18:05:18	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 23 17:05:17	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 23 17:05:17	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 23 16:05:17	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 23 15:05:18	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 23 15:05:18	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 23 14:05:17	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 23 14:05:17	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 23 13:05:17	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 23 12:05:17	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 23 12:05:17	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 23 11:05:17	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 23 10:05:17	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 23 10:05:17	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 23 09:05:16	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 23 09:05:16	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 23 08:05:16	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 23 07:05:16	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 23 07:05:16	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 23 06:05:16	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 23 05:05:16	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 23 05:05:16	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 23 04:05:16	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 23 03:05:16	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 23 03:05:16	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 23 02:05:16	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 23 01:05:16	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 23 01:05:16	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 23 00:05:16	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 22 23:05:17	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 22 23:05:17	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 22 22:05:16	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 22 21:05:16	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 22 21:05:16	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 22 20:05:16	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 22 19:05:16	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 22 19:05:16	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 22 18:05:16	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 22 17:05:16	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 22 17:05:16	dnsmasq[38221]: read /etc/hosts - 26 addresses
                        Mar 22 16:05:17	dnsmasq[38221]: read /etc/hosts - 26 addresses
                        Mar 22 15:38:39	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        Mar 22 15:38:39	dnsmasq[38221]: read /etc/hosts - 25 addresses
                        
                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.