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

    Gateway DHCP Down

    Scheduled Pinned Locked Moved DHCP and DNS
    13 Posts 2 Posters 1.0k 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.
    • 9
      90Ninety
      last edited by 90Ninety

      Apologies in advance if my knowledge is sketchy. I do not have great experience with PF sense . I used it because simply it offers more options than a standard ISP router . I retired my ISP Hitron Cable router , to a 'modem only mode' Virgin here in UK (docsis protocol ) and now I let my PFsense do all the routing . Currently it is a simple network, though I have more ambitions for a lab, however I digress ( thats another thread for another time )
      For some reason occasionally ( about once a month) the internet connection goes down and the PF sense displays 'Down' within the DHCP gateway interface . It is simply fixed by checking 'relinquish lease' checkbox and release wangateway'. I am assuming that there is a problem between the Modem DHCP (Hitron Modem ) and the PF sense getting the IP address. This maybe due to my dynamic IP from the ISP and is likely happening because the IP address of the ISP is changing .

      I cant see any settings I can play with or change on the ISP modem with regard to the downstream DHCP . Is there anything I can do on the PFsence side, to prevent this happening?

      1 Reply Last reply Reply Quote 0
      • 9
        90Ninety
        last edited by

        I think this could be a DNS issue IIRC . THe PF sense is set to get the DNS address from the Upstream ISP modem . I think it gets a DHCP address , though potentially is not getting a DNS address .

        Should I just add some public DNS addresses to the WAN interface (8.8.8.8, 8.8.4.4) ?

        DaddyGoD 1 Reply Last reply Reply Quote 0
        • DaddyGoD
          DaddyGo @90Ninety
          last edited by DaddyGo

          @90ninety said in Gateway DHCP Down:

          I think it gets a DHCP address , though potentially is not getting a DNS address .

          Hi,

          ISPs are all different, some change IPs many times, another few times.
          They may restart the modem or reconfigure the connection....

          This change must be followed by pfSense WAN DHCP, this should not be a problem.

          You need to monitor the DHCP log to see what its contents are in this case.

          @90Ninety " I think it gets a DHCP address , though potentially is not getting a DNS address ."

          in this case the topic is incorrect, it cannot be "Gateway DHCP Down"

          Well,

          if there is no DNS there is no internet simply put, but the gateway UP also has an IP address with DHCP

          +++edit:

          @90Ninety "Should I just add some public DNS addresses to the WAN interface (8.8.8.8, 8.8.4.4) ?"

          What do you use as DNS on pfSense?

          Here are some setup examples... ๐Ÿ˜‰

          937b3355-4861-4aa3-9eff-5c5d59da156a-image.png

          f57d50fc-ef78-4d60-856a-128bda7ec131-image.png

          ++++ Unbound (resolver)

          d127465e-b35e-439b-8d08-0eaaf5f3c406-image.png

          Cats bury it so they can't see it!
          (You know what I mean if you have a cat)

          9 1 Reply Last reply Reply Quote 0
          • 9
            90Ninety @DaddyGo
            last edited by

            @daddygo
            Thanks for the reply

            I am working from memory, though I definitely have seen the gateway as 'down' not 'up'

            It maybe a separate issue but I when there has been outage before I was still able to ping 8.8.8.8 .

            DaddyGoD 1 Reply Last reply Reply Quote 0
            • DaddyGoD
              DaddyGo @90Ninety
              last edited by DaddyGo

              @90ninety said in Gateway DHCP Down:

              gateway as 'down' not 'up'

              if the GW is down, you would not be able to access the Google DNS server because you do not have an UPSTREAM exit....

              the pfSense logs are very informative, so this could be your good friend in this case๐Ÿ˜‰

              Cats bury it so they can't see it!
              (You know what I mean if you have a cat)

              9 1 Reply Last reply Reply Quote 0
              • 9
                90Ninety @DaddyGo
                last edited by

                @daddygo
                The GUI isnt currently displaying entries that far back . I think it had been set to 50 lines( by default)

                I guess I would have to SSH .. Havent done that for a while

                DaddyGoD 1 Reply Last reply Reply Quote 0
                • DaddyGoD
                  DaddyGo @90Ninety
                  last edited by

                  @90ninety said in Gateway DHCP Down:

                  I guess I would have to SSH .. Havent done that for a while

                  For those who don't like (shell or CLI) I'd rather recommend it:
                  https://winscp.net/eng/download.php

                  Increase log size if you have a lot of entries and can change the displayed rows on the GUI as well

                  Cats bury it so they can't see it!
                  (You know what I mean if you have a cat)

                  1 Reply Last reply Reply Quote 0
                  • 9
                    90Ninety
                    last edited by

                    @daddygo
                    I dont mind shell , though I haven't used it enough to do it quickly

                    The maximum log entries shown by GUI is 2000 , and that brings up more entries but still only from the last few days

                    DaddyGoD 1 Reply Last reply Reply Quote 0
                    • DaddyGoD
                      DaddyGo @90Ninety
                      last edited by

                      @90ninety said in Gateway DHCP Down:

                      The maximum log entries shown by GUI is 2000

                      That's why I recommend WinSCP (so it will be faster):

                      249ccce6-e1cf-43b8-beff-65e18de7e68d-image.png

                      Cats bury it so they can't see it!
                      (You know what I mean if you have a cat)

                      1 Reply Last reply Reply Quote 0
                      • 9
                        90Ninety
                        last edited by

                        So I tried firstly accessing logs with Putty Shell
                        I type in the the Log directory ( cat /var/log/filter.log) .. Quickly got confused , could only get a system.log . Only had 2000 lines , no mention of DHCP

                        Tried the Winscp , this is better , I see the DHCPD.log, I assume this would include WAN requests , though its far too short , only goes back a few days !
                        LOG.PNG

                        .

                        DaddyGoD 1 Reply Last reply Reply Quote 0
                        • DaddyGoD
                          DaddyGo @90Ninety
                          last edited by DaddyGo

                          @90ninety said in Gateway DHCP Down:

                          Tried the Winscp , this is better

                          ๐Ÿ˜‰

                          @90Ninety " I see the DHCPD.log, I assume this would include WAN requests , though its far too short , only goes back a few days !

                          Well, then you have to wait for the next "down" or turn off the modem for at least 30 minutes and then check the WAN DHCP entries..

                          Or if you have the right size storage, increase the log area:

                          c8a4a8e6-1fd9-4309-bd53-1b55ea54b684-image.png

                          +++edit:
                          Yes, dhcpd.log contains all DHCP events regardless of the interface type

                          Cats bury it so they can't see it!
                          (You know what I mean if you have a cat)

                          9 1 Reply Last reply Reply Quote 0
                          • 9
                            90Ninety @DaddyGo
                            last edited by

                            @daddygo
                            Understood

                            Thanks for the help

                            DaddyGoD 1 Reply Last reply Reply Quote 0
                            • DaddyGoD
                              DaddyGo @90Ninety
                              last edited by

                              @90ninety said in Gateway DHCP Down:

                              Thanks for the help

                              ๐Ÿ˜‰

                              Cats bury it so they can't see it!
                              (You know what I mean if you have a cat)

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