Пример конфигурации для опции 60 Class-Id
(dhcp_poolname_opt=3
):
shared-network MyShare { # Pool 'user-admin' class "pool-admin" { match if exists vendor-class-identifier and option vendor-class-identifier = "user-admin"; } # Pool 'user' class "pool-generic" { match if exists vendor-class-identifier and option vendor-class-identifier = "user"; } # ... # пул "user-admin" subnet 10.250.130.0 netmask 255.255.255.0 { option routers 10.250.130.1; pool { allow members of "pool-admin"; range 10.250.130.2 10.250.130.250; } } # пул "user" subnet 10.250.140.0 netmask 255.255.255.0 { option routers 10.250.140.1; pool { allow members of "pool-generic"; range 10.250.140.2 10.250.140.250; } } # ... }