Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - A_Hen

#1
Update

I finally did solve the problem in my network without the DHCP OPTION i KEA. The DHCP OPTION is not needed when the controller is located on the local network. It's only needed if you have a controller outside of your local network.
I write this, to hopefully  be able to help other in the same situation.
As of now I am using OPNsense v.24.7.7. 

To be able to get all unifi devices to find the controller and the adoption of new devices to work I needed to define the hostname unifi in the local DNS-server (unbound for me) and in the DHCP-scope define my local domain name, so that the unifi devices were able to find the controller.
It turned out that a unifi device when it starts up it tries to find the host unifi by asking the local DNS-server. The problem is that the devices does not know the domain name. It will try to find the host with a not fully qualified domain name. That means that it will try to find just unifi and not unifi.{localdomain}.

After adding the domain name to Domain Search in the DHCP Options the unifi devices was able to find my controller and the adoption of new devices were successful.
#2
Thanks, but..........

I don´t want to add another device to my network, just be able to use what´s already there.

And KEA DHCP has the functionality but OPNsense does not support it. I would be nice if KEA could support it the same way as ISC DHCP.
Maybe I have to revert to ISC DHCP.
#3
Hi!

Do we have any update on this topic?
#4
Thanks!

I did look into /usr/local/etc/kea/kea-dhcp4.conf the problem is that it does not survive a reload and any changes from the UI.

I have two options right now. Change to ISC DHCP or wait for the ability to add options via GUI to KEA DHCP.

Changing to ISC DHCP will be a real pain in the a.... as I have quite a lot of static leases and I can´t find any good way to export from KEA DHCP and import into ISC DHCP other than just open two GUI sessions and start copy/past between.

As you say KEA DHCP integration seems to be raw in OPNsense 24.1 (24.1.6).

We can only hope that this will be solved really soon.
#5
Missing the ability to add vendor specific DHCP options i KEA DHCP.

The attached picture shows the ability to add vendor specific options i ISC DHCP, but not in Kea DHCP.

In my case I want to add OPTION 43 to announce my UNIFI Controller to the Unifi products I have in my network.

It would be really nice to have the possibility to add DHCP options.

KEA DHCP has the ability to use DHCP options, but then you will have to add them in the configuration file.

If there is a way of doing this, adding the DHCP option to a config file please let me know how, so I can do it that way before it´s possible in the GUI.