<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 6/4/2014 6:58 PM, Glenn Satchell
      wrote:<br>
    </div>
    <blockquote
      cite="mid:aed2c07e7559700bbc6a1dd8c5c4678b.squirrel@mail.uniq.com.au"
      type="cite">
      <pre wrap="">Static leases don't work that way. A static address is only for a known
single host so the code short circuits a lot of the lease management
stuff. Basically it just hands out a new lease for the given mac each time
it asks. So it never deletes a lease and doesn't need to record it in the
leases file or in memory.

Syslog will show the discover, offer, request and accept messages.

regards,
-glenn

On Thu, June 5, 2014 4:11 am, Martin G. McCormick wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">   Is there any omshell or other command that will cause
dhcpd to output all static leases it holds?
We are using
Internet Systems Consortium DHCP Server 4.1-ESV-R7.
omshell's ability to query for an individual lease or host, in
the case of static bootP-style entries works well, but being
able to see what the dhcp server knows as it's static entry
table would be very useful. For that matter, any log line
stating that static host xyz.new.system.abc.edu MAC_ADDRESS IP_ADDRESS
was deleted or added would also be helpful.

Thank you.

Martin McCormick
_______________________________________________
dhcp-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a>

</pre>
      </blockquote>
      <pre wrap="">

_______________________________________________
dhcp-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a>
</pre>
    </blockquote>
    <tt>Perhaps some modification of this could put the info you need in
      the log file:<br>
      <font color="#993300">#
------------------------------------------------------------------------------<br>
        if static { set is-static = " --> STATIC"; } else { set
        is-static = "";}<br>
        log (<br>
                info,<br>
                concat (<br>
                        "VendorClassId: ", pick-first-value(option
        vendor-class-identifier, "Not available")<br>
                        ," UserClass: ", pick-first-value(option
        user-class, "Not available")<br>
                        , is-static<br>
                )<br>
        );<br>
        #
------------------------------------------------------------------------------<br>
        <br>
      </font>Bill<br>
      <br>
    </tt>
  </body>
</html>