Quick DHCPNAK question

Shawn Holland sholland at sandara.ca
Wed Aug 12 19:32:35 UTC 2009


Hi,

Here is my dhcpd.conf file

authoritative;
include "/etc/dhcpd.registrations";

shared-network clients {

        subnet 10.5.0.0 netmask 255.255.0.0 {
                deny unknown-clients;
                option domain-name-servers 10.5.0.1;
                option dhcp-server-identifier 10.5.0.1;
                option routers 10.5.0.1;
                default-lease-time 1;
                max-lease-time 60;
        }

        subnet 10.1.0.0 netmask 255.255.0.0 {
                pool {
                        allow unknown-clients;
                        range 10.1.0.2 10.1.255.254;
                        option domain-name-servers 10.1.0.1;
                        option dhcp-server-identifier 10.1.0.1;
                        option routers 10.1.0.1;
                        default-lease-time 0;
                        max-lease-time 5;
                }
        }
}

Here is my dhcpd.registrations file

host 001122334455 {
        hardware ethernet 00:11:22:33:44:55;
        fixed-address 10.5.0.122;
}

If 00:11:22:33:44:55 requests for an IP in the 10.1.0.0/16 subnet it is
not sent a DHCPNAK, dhcpd is just quiet. Why is this, and is it possible
to have it send a nak for a known host trying to request an IP in my
pool for unknown hosts like above?



-- 
Regards,
Shawn Holland




More information about the dhcp-users mailing list