dhcp with only static leases

Sergey Ivanov public at svlp.net
Sun Oct 11 07:59:43 UTC 2009


Hello, I need dhcp configuration which serves ONLY static leases, it
should not respond to any unknown client.

Please see config below, is it correct config?  gateway has address
192.168.254.200.

ignore client-updates;
ddns-update-style interim;
ddns-updates off;
boot-unknown-clients off;

max-lease-time 100000;
default-lease-time 84600;

option routers 192.168.254.100;
option domain-name-servers 192.168.254.100;
option subnet-mask              255.255.255.0;

subnet 192.168.254.0 netmask 255.255.255.0 {
    pool {
        range 192.168.254.100 192.168.254.100;
        deny unknown-clients;
        host n192_168_224_77 {
                hardware ethernet 00:50:56:c0:00:01;
                fixed-address 192.168.254.77;
        }
    }
}

Thank you for reply



More information about the dhcp-users mailing list