Certain Vendors use special DHCP options (so called vendor specific options).
We should add a CLI variant to pass the IP address of the Ubiquity Unify Controller to clients.
Usecase (actually ma home):
VyOS router with several UniFi APs. Initial provisioning requires a controller to be present. One can either adopt them via SSH or by a DHCP option.
vyos@vyos# show service dhcp-server
shared-network-name LAN {
subnet 172.18.201.0/24 {
default-router 172.18.201.1
name-server 172.18.201.2
range 0 {
start 172.18.201.101
stop 172.18.201.109
}
vendor-option {
ubiquity {
unifi-controller 172.16.100.1
}
}
}
}