OPNsense Forum

English Forums => 25.1, 25.4 Production Series => Topic started by: tigo003 on May 09, 2025, 03:27:28 AM

Title: Managing KEA dhcp4, w/ reserved clients ip-address for specific DNS or gateways
Post by: tigo003 on May 09, 2025, 03:27:28 AM
Seeking some guidance from anyone that had ventured down this path.

I'm currently running ISC dhcp4, with static mappings for clients, some with different DNS servers and some with different gateways.

How did you go about sorting these out if you've migrated across to the KEA server instance?

Looking at the guidelines by OPNsense,"Configure kea dhcp 4 manually, requires supplying your own /usr/local/etc/kea/kea-dhcp4.conf file (advanced users only)".

It'll require,
Downloading the .conf file, - running a script to convert my isc dhcp4 mappings across to the same format, then, uploading the conf file, replacing the one on the server, and then starting up the service.

All future changes are to be done by doing manual console - terminal edits to the .conf file.

What did you do?

Thanks,
Title: Re: Managing KEA dhcp4, w/ reserved clients ip-address for specific DNS or gateways
Post by: Monviech (Cedrik) on May 09, 2025, 06:51:48 AM
If you are on the latest community release and do not have thousands of clients, try out dnsmasq instead which has lots of flexibility in the GUI, especially with its tag system.
Title: Re: Managing KEA dhcp4, w/ reserved clients ip-address for specific DNS or gateways
Post by: tigo003 on May 09, 2025, 07:51:02 AM
Alright will give it a go, and see how it fairs.