Is there a way to set the lease for a single dhcp client to a very short time in isc dhcp? I'm trying to do this for troubleshooting purposes but I don't want to potentially end up handing out duplicate IPs.
migrated from stackoverflow.com Dec 10 '11 at 1:51
This question came from our site for professional and enthusiast programmers.
You could try setting up a host statement for the single client you are testing with (not sure if this will work), so somewhere in your dhcpd.conf file you add:
You'll need to fill in the desired values for these, including your test client's mac-address (hardware ethernet). Choose a unique fixed address that is outside of your dhcp pool, and set the desired lease time.