Support Downloads Community

UniFi Video is an obsolete product line.

This application and its related devices will no longer receive any manner of technical support, including functional and security updates. Additionally, there will be no further updates to Help Center content pertaining to UniFi Video.

EdgeRouter - UniFi Controller DHCP Options


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

Applicable to the latest EdgeOS firmware on all EdgeRouter models.Please see the Related Articles below for more information.
Device used in this article:

Adding the UniFi Network Controller Option

Back to Top

The UniFi Network Controller option will allow UniFi devices to automatically discover the location of the UniFi Network 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:

GUI: Access the EdgeRouter Web UI.

Services > DHCP Server > Name > Actions > View Details

UniFi Controller: <ip-address>

The above configuration can also be set using the CLI:

CLI: Access the Command Line Interface.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

EdgeRouter - Custom DHCP Server Options

EdgeRouter - DHCP Server

EdgeRouter - DHCP Server Using Dnsmasq

EdgeRouter - DNS Forwarding Setup and Options

Intro to Networking - How to Establish a Connection Using SSH 

Was this article helpful?
22 out of 39 found this helpful