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

    [23.09 BETA] ISC DHCP Service shows as not started on boot

    Scheduled Pinned Locked Moved Plus 23.09 Development Snapshots (Retired)
    9 Posts 3 Posters 798 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.
    • C
      chickendog
      last edited by

      Build: 23.09.b.20231016.0231

      The default ISC DHCP server shows as "red marked X" in the dashboard widget upon boot of the system. Checking the logs it seems the dhcp service has already started though. Clicking start on the widget works ok, no errors in the logs - just looks like it restarts it.

      Might be a cosmetic issue with the widget? Anyone can replicate this?

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        Can't reproduce that here. It's running at boot as expected.

        It's possible you are logging into the GUI at boot before the service starts and the widget doesn't refresh. So wait a bit and refresh the page and see if it's running then. Also compare with Status > Services.

        Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        C 1 Reply Last reply Reply Quote 1
        • C
          chickendog @jimp
          last edited by chickendog

          @jimp Waited 10 minutes after boot still shows as down. Status > Services shows the same.

          Status > DHCP show entries but appears frozen. Refreshing the page doesn't show the correct status of the leases and device's online status. If I delete a lease it automatically triggers a restart of the service so works ok

          Have now also found it happens again after saving WAN. If I start the service manually after boot, and re-save the WAN config again after the fact, it will shows as down again. Logs don't show it going down nor restarting when doing this though. No logs for DHCPD at the time of saving the WAN config.

          c9f995a1-96a5-4201-b2ae-416821c1152c-image.png

          1 Reply Last reply Reply Quote 0
          • C
            chickendog
            last edited by

            Updated to "23.09.b.20231018.0600" and didn't happen on first boot.

            But continues to happen when I save the WAN config.

            My WAN config is nothing special but here it is in case that's of help.

            5d8ca508-6090-42de-9593-19a2f9abb3d8-image.png
            f7e4ae73-d3ea-43ac-b6c4-eb88d66b0ff9-image.png

            1 Reply Last reply Reply Quote 0
            • C
              chickendog
              last edited by chickendog

              Updated to 20231019 and didn't happen on boot as well. Though continues to happen after saving WAN details as above.

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

                Do you have an IPv6 address on WAN? Do you have internal interfaces set to track the WAN for IPv6 and also with DHPv6 enabled for clients on them?

                That's the default config so it's likely. I could imagine resaving the WAN removes a V6 lease and prevents DHCPv6 starting.

                What do you see logged in the system and dhcp logs when you resave the WAN?

                Steve

                1 Reply Last reply Reply Quote 0
                • jimpJ
                  jimp Rebel Alliance Developer Netgate
                  last edited by jimp

                  Looks like it has something to do with DHCPv6 server being disabled on LAN.

                  I finally found a box on my lab network that could reproduce it (not at boot, but after save/apply on WAN) and then I was able to replicate it by disabling the DHCPv6 server on another system. Both only have a single LAN. Both have WAN set to DHCP6 and LAN set to Track Interface on WAN.

                  EDIT: To clarify a little, the RA state doesn't seem to matter. On one it's disabled, on another it's set for SLAAC, but both cases end up with DHCP stopped after save/apply on WAN.

                  Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                  Need help fast? Netgate Global Support!

                  Do not Chat/PM for help!

                  jimpJ 1 Reply Last reply Reply Quote 0
                  • jimpJ
                    jimp Rebel Alliance Developer Netgate @jimp
                    last edited by

                    I dug into this a bit and found a fix.

                    https://redmine.pfsense.org/issues/14897

                    It will be in the tree shortly, but you can try applying the diff on the issue with the system patches package to try it out.

                    Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                    Need help fast? Netgate Global Support!

                    Do not Chat/PM for help!

                    1 Reply Last reply Reply Quote 2
                    • C
                      chickendog
                      last edited by

                      Thanks Jim, yeah my config is as you say. DHCP6 on WAN, LAN tracking that, but with DHCPv6 off on the LAN and only using SLAAC.

                      Good to see you were able to replicate it and found a fix as well!

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