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

Issue with pfSense DHCP Lease Status Display

Scheduled Pinned Locked Moved DHCP and DNS
9 Posts 3 Posters 252 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.
  • S
    smsigroupit
    last edited by smsigroupit Apr 23, 2025, 6:25 AM Apr 23, 2025, 6:23 AM

    Issue with pfSense DHCP Lease Status Display

    I'm experiencing an issue where the DHCP lease status in pfSense is not updating properly. I currently have over 100 clients connected via Kea DHCP Server, but they are not appearing in the DHCP Leases Status page.

    Version 24.11-RELEASE (amd64)
    built on Thu Nov 28 2:22:00 PST 2024
    FreeBSD 15.0-CURRENT

    b01bf8f0-cc42-43cf-8117-d2ea8ca66a18-image.png

    S P 2 Replies Last reply Apr 24, 2025, 5:30 AM Reply Quote 0
    • S
      smsigroupit @smsigroupit
      last edited by Apr 24, 2025, 5:30 AM

      DHCP Logs

      Apr 24 13:23:41 dhcp6c 95220 Sending Solicit

      Apr 24 13:22:07 kea-dhcp4 39380 WARN [kea-dhcp4.dhcp4.0x3c7835012000] DHCP4_MULTI_THREADING_INFO enabled: yes, number of threads: 8, queue size: 64

      Apr 24 13:22:07 kea-dhcp4 39380 WARN [kea-dhcp4.dhcpsrv.0x3c7835012000] DHCPSRV_NO_SOCKETS_OPEN no interface configured to listen to DHCP traffic

      Apr 24 13:22:07 kea-dhcp4 39380 WARN [kea-dhcp4.dhcpsrv.0x3c7835012000] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: Failed to open socket on interface igc1, reason: failed to bind fallback socket to address 192.168.254.1, port 67, reason: Address already in use - is another DHCP server running?

      Apr 24 13:22:07 kea-dhcp4 39380 WARN [kea-dhcp4.dhcp4.0x3c7835012000] DHCP4_RESERVATIONS_LOOKUP_FIRST_ENABLED Multi-threading is enabled and host reservations lookup is always performed first.

      Apr 24 13:22:07 kea-dhcp4 39380 WARN [kea-dhcp4.dhcpsrv.0x3c7835012000] DHCPSRV_MT_DISABLED_QUEUE_CONTROL disabling dhcp queue control when multi-threading is enabled.

      1 Reply Last reply Reply Quote 0
      • P
        patient0 @smsigroupit
        last edited by Apr 24, 2025, 5:38 AM

        @smsigroupit are these static mappings or regular dynamic leases?

        Apr 24 13:22:07 kea-dhcp4 39380 WARN [kea-dhcp4.dhcpsrv.0x3c7835012000] DHCPSRV_NO_SOCKETS_OPEN no interface configured to listen to DHCP traffic
        
        Apr 24 13:22:07 kea-dhcp4 39380 WARN [kea-dhcp4.dhcpsrv.0x3c7835012000] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: Failed to open socket on interface igc1, reason: failed to bind fallback socket to address 192.168.254.1, port 67, reason: Address already in use - is another DHCP server running?
        

        That doesn't sound ideal. Have you just switched from ISC DHCP?

        S 2 Replies Last reply Apr 24, 2025, 6:06 AM Reply Quote 0
        • S
          smsigroupit @patient0
          last edited by Apr 24, 2025, 6:06 AM

          @patient0

          I started with Kea DHCP initially. When I noticed the DHCP status issue, I switched over to ISC DHCP. However, I eventually switched back to Kea DHCP.

          1 Reply Last reply Reply Quote 0
          • S
            smsigroupit @patient0
            last edited by Apr 24, 2025, 6:22 AM

            @patient0

            I have multiple KEA DHCP instances running. What issues could this cause?

            184917a6-0280-44c5-8aa6-56728a3ad3c3-image.png

            P G 2 Replies Last reply Apr 24, 2025, 6:35 AM Reply Quote 0
            • P
              patient0 @smsigroupit
              last edited by Apr 24, 2025, 6:35 AM

              @smsigroupit said in Issue with pfSense DHCP Lease Status Display:

              I have multiple KEA DHCP instances running. What issues could this cause?

              I'm not sure why unfortunately, can you stop KEA from the GUI and check if there are still KEA process running? I assume you will still have some running and will cause an issue.

              You can then either manually kill the leftover KEA processes or restart pfSense. I'd prefer restart, just to make sure that after a reboot only one KEA instance is running.

              S 1 Reply Last reply Apr 24, 2025, 7:04 AM Reply Quote 0
              • S
                smsigroupit @patient0
                last edited by Apr 24, 2025, 7:04 AM

                @patient0

                Got it, will restart pfsense and see what happens.

                Thank you!

                1 Reply Last reply Reply Quote 0
                • G
                  Gertjan @smsigroupit
                  last edited by Gertjan Apr 24, 2025, 7:27 AM Apr 24, 2025, 7:25 AM

                  @smsigroupit said in Issue with pfSense DHCP Lease Status Display:

                  I have multiple KEA DHCP instances running. What issues could this cause?

                  Ok, you've found the issue.

                  You've use the (not so) magic console command. Way better as whatever a GUI can show you.

                  The solution :
                  Say goodbye to the Diagnostics > Command Prompt because ... its GUI based.
                  Activate the SSH access (and if your pfSEnse is nearby, the console access is also usable)
                  Use a SSH or 'serial com' client (Microsoft : get Putty for example).

                  Ones in, menu option 8, and kill all dhcpd processes.
                  Not the dhcp6c & dhcpc as these are the DHCP client daemons as these are for your WAN.
                  Kill al the 'kea' stuff.
                  Then :

                  service kea onestart
                  

                  or use the GUI : go to the DHCP server page(s) and Save the config. This will restart the DHCP server(s).

                  The DHCP leases file wasn't updated with the new leases as it was 'opened' by the other 'hidden' DHCP kea process, so it was locked / not accessible by the DHCP server that delivers the actual leases.

                  No "help me" PM's please. Use the forum, the community will thank you.
                  Edit : and where are the logs ??

                  S 1 Reply Last reply Apr 25, 2025, 3:39 AM Reply Quote 0
                  • S
                    smsigroupit @Gertjan
                    last edited by Apr 25, 2025, 3:39 AM

                    @Gertjan

                    will do, thank you very much for your help

                    1 Reply Last reply Reply Quote 0
                    1 out of 9
                    • First post
                      1/9
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                      This community forum collects and processes your personal information.
                      consent.not_received