dhcpd.conf logical hierachy

Narcis Garcia informatica at actiu.net
Sat Oct 14 16:00:05 UTC 2017

In a Debian 9 host, I receive warnings like:
Dynamic and static leases present for
Remove host declaration printer_1 or remove
from the dynamic address pool for

I'm trying to combine static reservations with dynamic assignment in
same subnet:

use-host-decl-names on;
server-name "equilibri.cpu.actiu.net";
subnet netmask {
        option routers;
        option broadcast-address;
        option domain-name-servers;
        option ntp-servers;
        pool {
                # IP range to be assigned dinamically
                allow unknown-clients;
        pool {
                # IP range to be assigned statically
                deny unknown-clients;
#                deny all clients;
                group MyReservations {
                        host printer_1 {  # Impressora
                                hardware ethernet **:**:**:**:**:**;
                                option host-name "printer_1";

But I've not clear if "group" and "host" work inside "pool", or what
else is the problem.

More information about the dhcp-users mailing list