Ubiquiti UniFi User Manual page 156

Enterprise system controller
Hide thumbs Also See for UniFi:
Table of Contents

Advertisement

Appendix E: Controller Scenarios
4. In the UniFi Controller field, enter the IP address of the
UniFi Controller. Then click Save.
The DHCP server will return the IP address of the UniFi
Controller to its DHCP clients, so if a client is a UniFi AP, it
will know how to contact the UniFi Controller.
Linux ISC DHCP Server
Configure the dhcpd.conf file:
# ...
option space ubnt;
option ubnt.unifi-address code 1 = ip-address;
class "ubnt" {
match if substring (option vendor-class-identifier,
0, 4) = "ubnt";
option vendor-class-identifier "ubnt";
vendor-option-space ubnt;
}
subnet 10.10.10.0 netmask 255.255.255.0 {
range 10.10.10.100 10.10.10.160;
option ubnt.unifi-address 201.10.7.31;
Controller IP ###
option routers 10.10.10.2;
option broadcast-address 10.10.10.255;
option domain-name-servers 168.95.1.1, 8.8.8.8;
# ...
}
Note:
You can also use the IP address of the UniFi
Controller instead of the domain name in the
inform URL.
Instructions for other DHCP servers are available at:
http://ubnt.link/UniFi-Layer3-Adoption
SSH
If you can SSH into the UniFi AP, then you can perform the
layer‑3 adoption via CLI command:
1. Use the UniFi Discovery Utility to ensure that the
UniFi AP is running the same firmware as the UniFi
Controller. If it is not, then follow the instructions at:
http://ubnt.link/UniFi-SSH-Firmware-Upgrade
2. Use the UniFi Discovery Utility to ensure that the UniFi
AP is in the factory default state. If it is not, then SSH
into the UniFi AP and run:
syswrapper.sh restore-default
3. SSH into the UniFi AP and enter:
mca-cli
set-inform http://<ip-of-controller>:8080/inform
150
### UniFi
UniFi Controller User Guide
Ubiquiti Networks, Inc.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents