default-lease-time 600;
max-lease-time 7200;
deny unknown-clients;    #禁止未知客户端获取IP地址
option domain-name              "test.com";
option domain-name-servers      192.168.182.1;
subnet 192.168.182.0 netmask 255.255.255.0 {
        option routers                  192.168.182.1;
        option subnet-mask              255.255.255.0;
        range dynamic-bootp 192.168.182.200 192.168.182.254;
}
#下面算是一个基于MAC地址的白名单,在名单中的MAC址的网卡可以获取到由DHCP服务器分发的IP地址
group   {
        host foo3       {
                hardware ethernet 00:c0:c3:11:90:23;
    }
        host foo4       {
                hardware ethernet 00:c0:c3:cc:0a:8f;
    }
        host test       {
                hardware ethernet 00:0c:29:83:00:c5;
    }
}