• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 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.
  • C
    chickendog
    last edited by Oct 16, 2023, 11:35 AM

    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
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Oct 16, 2023, 4:07 PM

      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 Oct 17, 2023, 9:37 AM Reply Quote 1
      • C
        chickendog @jimp
        last edited by chickendog Oct 17, 2023, 9:39 AM Oct 17, 2023, 9:37 AM

        @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 Oct 19, 2023, 6:20 AM

          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 Oct 19, 2023, 6:39 AM Oct 19, 2023, 6:39 AM

            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
            • S
              stephenw10 Netgate Administrator
              last edited by Oct 19, 2023, 12:45 PM

              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
              • J
                jimp Rebel Alliance Developer Netgate
                last edited by jimp Oct 19, 2023, 2:36 PM Oct 19, 2023, 2:34 PM

                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!

                J 1 Reply Last reply Oct 19, 2023, 4:07 PM Reply Quote 0
                • J
                  jimp Rebel Alliance Developer Netgate @jimp
                  last edited by Oct 19, 2023, 4:07 PM

                  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 Oct 19, 2023, 10:56 PM

                    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
                    9 out of 9
                    • First post
                      9/9
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                      This community forum collects and processes your personal information.
                      consent.not_received