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

DHCP Static Mappings device using Address Pool Range IP address

Scheduled Pinned Locked Moved DHCP and DNS
5 Posts 4 Posters 361 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.
  • B
    ben_p
    last edited by Oct 31, 2024, 3:29 PM

    Hello, I'm running pfSense 24.03-RELEASE, the latest version, and using Kea DHCP. I've setup 20 DHCP Static Mappings in an RFC 1918 /24 network. I've also created an Address Pool Range of addresses in that same /24 network.

    For some reason approximately 5 of the devices with static mappings have stopped pulling their static address and have begun pulling from addresses in the pool. Looking in Status > DHCP Leases the arrow next to the static lease indicated the device was active/online but a lease from the pool was also shown to have been pulled at the bottom of the list and the device itself was using the pool address.

    As a troubleshooting step I removed the DHCP Static Mapping for one device and used the "Add static mapping" button next to the pool lease in DHCP Leases to re-assign the static mapping but, after rebooting the device, the device pulled another lease from the pool.

    To temporarily resolve this issue we had to manually configure the devices but it would be much nicer to control the addressing from the DHCP server rather than on the devices.

    Any ideas as to what may be causing this issue on some devices?

    Thank you.

    1 Reply Last reply Reply Quote 0
    • U
      Uglybrian
      last edited by Oct 31, 2024, 4:27 PM

      Hi, KEA is not full featured yet in Pf Sense 24.03. From what i am reading is more than likely will be in the next release. Until then I would switch back to ISC and wait for it to be removed from PfSense. I dont know but the problem you are having may not be fixable due to the lacking of full features.

      G 1 Reply Last reply Nov 1, 2024, 9:35 AM Reply Quote 0
      • G
        Gertjan @Uglybrian
        last edited by Nov 1, 2024, 9:35 AM

        @Uglybrian

        Yeah ...

        @ben_p Before using KEA, some conditions apply, read Netgate Adds Kea DHCP to pfSense Plus Software Version 23.09.
        Fast conclusion : KEA is not an option for you (yet).
        Switch back to DHCP and you'll be good.

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

        B 1 Reply Last reply Nov 1, 2024, 1:24 PM Reply Quote 0
        • B
          ben_p @Gertjan
          last edited by Nov 1, 2024, 1:24 PM

          @Uglybrian @Gertjan I'm not arguing, and seeing what happens when changing back to ISC is probably the correct test, but I don't see anything in https://www.netgate.com/blog/netgate-adds-kea-dhcp-to-pfsense-plus-software-version-23.09-1 that suggests static mappings are not supported in Kea. In fact, the first bullet suggests they are supported and it's just Local DNS Resolver/Forwarder Registration that are not available.

          It's also odd that some, around 75%, of the static mappings are working, and the others were working until recently.

          J 1 Reply Last reply Nov 1, 2024, 1:34 PM Reply Quote 0
          • J
            johnpoz LAYER 8 Global Moderator @ben_p
            last edited by johnpoz Nov 1, 2024, 1:45 PM Nov 1, 2024, 1:34 PM

            @ben_p static mappings can seem like they are working when the client already has the lease, and is just renewing it. Or hasn't renewed yet..

            Keep in mind its "preview" its quite possible that even something that should work doesn't work how it should, etc. That it doesn't support options, could include dhcp reservations depending how you take that.

            Here is the thing with it being preview, I wouldn't count on it to function 100% even on something that it should do, etc. Why its a preview ;)

            All I can tell you from when I tested it when it first dropped, was yeah it hands out an IP.. Other that I switched back to isc very quickly - for one I use options, and static registration.

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.7.2, 24.11

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