dhcpd.conf (1030B)
1 default-lease-time 120; # 2 minutes 2 min-lease-time 120; # 2 minutes 3 max-lease-time 120; # 2 minutes 4 option dhcp-renewal-time 15; # 15 secs for T1 5 # We set a relatively low lease lifetime of 2 minutes but our renewal interval 6 # (T1) is still unproportionally low to speed the test up -- 12% instead of the 7 # default 50% lifetime value. We need a lifetime in the order of minutes 8 # because minimum lease renewal retry interval is 60s per spec. However by 9 # default dhcpd will not renew leases that are newer than 25% their lifetime. 10 # Set that threshold to 1% so that we can verify that the lease is renewed 11 # without waiting too long. 12 dhcp-cache-threshold 1; 13 14 option broadcast-address 192.168.127.255; 15 option routers 192.168.1.254; 16 option subnet-mask 255.255.128.0; 17 18 subnet 192.168.0.0 netmask 255.255.128.0 19 { 20 option routers 192.168.1.1; 21 option subnet-mask 255.255.128.0; 22 option domain-name-servers 192.168.1.2; 23 range 192.168.1.10 192.168.1.20; 24 range 192.168.1.100 192.168.1.200; 25 }