Connecting to non-local Ubiquiti Unifi Controller

Connecting to a non-local Ubiquiti Unifi controller via DHCP option 43

If the Unifi devices are using DHCP, another way of doing this is option 43.

Here’s the trick though: the IP address must be in hex with a 0104 prepended. For example, Cisco DHCP pool with controller at IP address 100.88.77.66 would be this:

ip dhcp pool DHCP
 network 192.0.2.0 255.255.255.0
 domain-name mydomain.com
 dns-server 8.8.8.8 9.9.9.9
 default-router 192.0.2.254 
 option 43 hex 0104.6458.4d42
 lease 0 1

Leave a comment