Subject: | Not able to parse or add the pool object from the dhcpd.conf |
Not able to parse or add the pool object from the dhcpd.conf file.
pool {
allow members of "cpe";
range 192.168.1.12;
}
Full config example
subnet 10.0.0.0 netmask 255.255.255.0 {
option routers 10.0.0.254;
# Unknown clients get this pool.
pool {
option domain-name-servers bogus.example.com;
max-lease-time 300;
range 10.0.0.200 10.0.0.253;
allow unknown-clients;
}
# Known clients get this pool.
pool {
option domain-name-servers ns1.example.com, ns2.example.com;
max-lease-time 28800;
range 10.0.0.5 10.0.0.199;
deny unknown-clients;
}
}
See the "ADDRESS POOLS" section.
http://www.daemon-systems.org/man/dhcpd.conf.5.html
Regards,
Marko