кусок из dhcpd.conf
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;
}
option rfc3442-classless-static-routes code 121 = array of integer 8;
option ms-classless-static-routes code 249 = array of integer 8;
# 172.16.88.0-172.16.89.255/23 255.255.254.0
# hostel's wifi clients
subnet 172.16.88.0 netmask 255.255.254.0 {
interface vlan13;
range 172.16.88.8 172.16.89.249;
option domain-name "hostels.local";
option domain-name-servers 172.16.88.2;
option routers 172.16.88.1;
option subnet-mask 255.255.254.0;
option broadcast-address 172.16.89.255;
option rfc3442-classless-static-routes 32, 172, 17, 3, 1, 172, 16, 88, 2, 0, 172, 16, 88, 1;
option ms-classless-static-routes 32, 172, 17, 3, 1, 172, 16, 88, 2, 0, 172, 16, 88, 1;
default-lease-time 86400;
max-lease-time 604800;
}
# UniFi control subnet
subnet 172.17.3.0 netmask 255.255.255.0 {
interface vlan12;
range 172.17.3.100 172.17.3.250;
option ubnt.unifi-address 172.17.3.1; ### UniFi Controller IP ###
option domain-name-servers 172.17.3.1;
option routers 172.17.3.1;
option ntp-servers 172.17.3.1;
option subnet-mask 255.255.255.0;
option broadcast-address 172.17.3.255;
default-lease-time 86400;
max-lease-time 604800;
}