Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

migrated from 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:

host test-client {
    hardware ethernet 00:00:00:00:00:00;
    default-lease-time 1024;

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.

share|improve this answer
This question is more appropriate for a site like ServerFault, where they can help you with sysadmin/pc support stuff. – Federico B. Dec 10 '11 at 0:40

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.