EdgeRouter - UniFi Controller DHCP Options


Readers will learn how to add the UniFi Controller option to the DHCP server.

Applicable to the latest EdgeOS firmware on all EdgeRouter models. Device used in this article:

Adding the UniFi Controller Option

Back to Top

The UniFi Controller option will allow UniFi devices to automatically discover the location of the UniFi Controller. This setting will ease the discovery and adoption of UniFi devices and is useful when the controller is located on a different subnet.

To add the option to an existing DHCP scope, navigate to the DHCP server settings:

Services > DHCP Server > Name > Actions > View Details

UniFi Controller: <ip-address>

The CLI equivalent of this configuration is shown below.

CLI: Access the command line interface (CLI). You can do this using the CLI button in the GUI or by using a program such as PuTTY.

1. Enter configuration mode.


2. Add the option to an existing DHCP scope.

set service dhcp-server shared-network-name <name> subnet <ip-range> unifi-controller <ip-address>

3. Commit the changes and save the configuration.

commit ; save

Related Articles

Back to Top

Intro to Networking - How to Establish a Connection Using SSH

We're sorry to hear that!