Global options for KEA DHCP

Upon commit, I get a warning regarding these DHCP server global options I have currently set in 1.4.0-epa2, that these will be unsupported for 1.5-rolling and onwards (because of KEA):

 global-parameters "option space ubnt;"
 global-parameters "option ubnt.unifi-address code 1 = ip-address;"
 global-parameters "class "ubnt" {"
 global-parameters "   match if substring (option vendor-class-identifier, 0, 4) = "ubnt";"
 global-parameters "   option vendor-class-identifier "ubnt";"
 global-parameters "   vendor-option-space ubnt;"
 global-parameters "}"

How to map these commands to CLI commands for KEA?

(On a side note, I’m not really sure if the code above is needed in my case, because the APs are on the same management VLAN as the controller and I don’t explicitly set an IP. But still, support for option 43 in CLI would be nice.)

We do have a unifi controller vendor option on 1.5 iirc

1 Like

Hi Marc,

You’re referring to Option 43 in the Sagitta documentation? I found this which might be helpful was added to 1.4 a while back ago. After you specify subnet there should be a vendor-option available as shown in the configuration code snippet in the link. Unless this has been removed in 1.5?

:anchor: T4389 dhcp: add vendor option support for Ubiquity Unifi controller (

I just downloaded the latest 1.5 nightly and checked here’s what’s available.

# for entire shared-network-name:
set service dhcp-server shared-network-name TEST option vendor-option ubiquiti unifi-controller*** 

# or you can specify it for a specific subnet within:
set service dhcp-server shared-network-name TEST subnet option vendor-option ubiquiti unifi-controller*** 

*** IP address of Unifi controller

1 Like

Amazing, thanks all! Just what I need.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.