Настроил dhcp opt82, такой конфиг:
бла-бла-бла
subnet 172.16.0.0 netmask 255.255.255.0 {
max-lease-time 1209600;
default-lease-time 1209600;
option routers 172.16.0.1;
option subnet-mask 255.255.255.0;
option broadcast-address 172.16.0.255;
class "test" {match if binary-to-ascii(10, 8, ".", packet(24, 4))="172.16.0.100" and binary-to-ascii(10, 8, "", suffix(option agent.circuit-id, 1))="1";}
pool {range 172.16.0.3; allow members of "test";}
class "test2" {match if binary-to-ascii(10, 8, ".", packet(24, 4))="172.16.0.100" and binary-to-ascii(10, 8, "", suffix(option agent.circuit-id, 1))="2";}
pool {range 172.16.0.4; allow members of "test2";}
}
бла-бла-бла
Очень хочется, чтобы всем, кого нет в конфиге, выдавался определенный ip или диапазон ip