<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFCC" text="#000000">
    <br>
    <br>
    <div class="moz-cite-prefix">On 23/07/15 13:44, richard lucassen
      wrote:<br>
    </div>
    <blockquote
      cite="mid:20150723134431.5246a7d9fc7ddc67518b068f@lucassen.org"
      type="cite">
      <pre wrap="">On Thu, 23 Jul 2015 09:46:07 +0100
Simon Hobson <a class="moz-txt-link-rfc2396E" href="mailto:dhcp1@thehobsons.co.uk"><dhcp1@thehobsons.co.uk></a> wrote:

</pre>
      <blockquote type="cite">
        <blockquote type="cite">
          <pre wrap="">Goal: I want to have a pool from:

192.168.65.128 to 192.168.65.254

The first host gets 128, the 2nd 129 etc. The max-lease-time is
300s. I switch off the two hosts. After 10 minutes I take two
different hosts. Now I would like that dhcpd assigns ip 128 and 129
again to the new machines.
</pre>
        </blockquote>
        <pre wrap="">
Config/testing bench ?
</pre>
      </blockquote>
      <pre wrap="">
yep

</pre>
      <blockquote type="cite">
        <pre wrap="">No, you'd need to do some external work to make that happen. BTW - is
the goal that a "new" machine will get .128, or that the "old"
machine will get a different address - it makes a difference to ways
of achieving it, and one is harder than the other ?
</pre>
      </blockquote>
      <pre wrap="">
When using the test network, I'd like to have all hosts start from 128
(or, as you say from 254, that behaviour changed a few years ago AFAIK)

In fact, it's a /24 network and some hosts regularely come back. The
problem is now that I always have to nmap the /24 in order to find the
hosts that populate this network. And as I use clusterssh to manage
these hosts, each time I need to find out the correct command as
dhcpd reassigns the ip that it once assigned in the past ;-)</pre>
    </blockquote>
    I wonder if "on commit" might be a help?<br>
    <blockquote
      cite="mid:20150723134431.5246a7d9fc7ddc67518b068f@lucassen.org"
      type="cite">
      <pre wrap="">

I was looking for an option "remove-expired-entries-from-leases-file"
or something like that :)

I agree: I'm terribly lazy :)

R.

</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Best regards

Sten Carlsen

No improvements come from shouting:

       "MALE BOVINE MANURE!!!" 
</pre>
  </body>
</html>