Hi , guys ...
Trying to give an special treatment to a group of clients according
to vendor id option (now im using circuit-id, then will change).
I would like to classify them so first I declared a class using the
class statement as follows:
on dhcpd.conf.
class "premium" {
match if option agent.circuit-id = "em3";
}
subnet 192.168.88.128 netmask 255.255.255.128 {
pool{
failover peer "failover-partner";
range 192.168.88.130 192.168.88.249;
deny members of "premium";
}
pool{
allow members of "premium";
failover peer "failover-partner";
range 192.168.88.250 192.168.88.254;
}
option broadcast-address 192.168.88.255;
option subnet-mask 255.255.255.128;
option routers 192.168.88.129;
}
But ... When i Try with spawn:
class "premium" {
spawn with option agent.circuit-id;
}
subnet 192.168.88.128 netmask 255.255.255.128 {
pool{
failover peer "failover-partner";
range 192.168.88.130 192.168.88.249;
deny members of "premium" "em3"; ####
Semicolon expected here.
}
pool{
allow members of "premium" "em3";
failover peer "failover-partner";
range 192.168.88.250 192.168.88.254;
}
option broadcast-address 192.168.88.255;
option subnet-mask 255.255.255.128;
option routers 192.168.88.129;
}
Then , Daemon refuses to start with "Semicolon expected".
Any ideas?
Thanks
Leandro.
_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users