DHCP Static Mappings device using Address Pool Range IP address
-
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.
-
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.
-
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. -
@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.
-
@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.