<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Also, I don't think your "nes" class will ever match.  You're
    comparing the hardware<br>
    address to a string.  Here's a snippet that might be useful:<br>
    <font color="#993300"><tt>#
------------------------------------------------------------------------------</tt><tt><br>
      </tt><tt>class "Apple_PC" {</tt><tt><br>
      </tt><tt>        match if (</tt><tt><br>
      </tt><tt>                substring(hardware, 1,3) = 38:c9:86   </tt><tt><br>
      </tt><tt>                or substring(hardware, 1,3) = 00:26:08</tt><tt><br>
      </tt><tt>        );</tt><tt><br>
      </tt><tt>}</tt><tt><br>
      </tt><tt>#
------------------------------------------------------------------------------</tt><tt><br>
      </tt><tt><br>
      </tt><tt>#
------------------------------------------------------------------------------</tt><tt><br>
      </tt><tt>class "mobile_device" {</tt><tt><br>
      </tt><tt>        match if (</tt><tt><br>
      </tt><tt>                option host-name ~~ "dhcpcd"</tt><tt><br>
      </tt><tt>                or option host-name ~~ "android" </tt><tt><br>
      </tt><tt>                or option host-name ~~ "iphone"  </tt><tt><br>
      </tt><tt>                or option host-name ~~ "iphone-2"</tt><tt><br>
      </tt><tt>                or option host-name ~~ "ipod"</tt><tt><br>
      </tt><tt>                or option host-name ~~ "ipad"</tt><tt><br>
      </tt><tt>        );</tt><tt><br>
      </tt><tt><br>
        # for those devices using the default name:<br>
      </tt><tt>        if (lcase(option host-name) = "iphone") {
        ddns-hostname = concat("iPhone-", binary-to-ascii(16, 8, "",
        substring(hardware, 4, 3))); }   </tt><tt><br>
      </tt><tt>        if (lcase(option host-name) = "iphone-2") {
        ddns-hostname = concat("iPhone2-", binary-to-ascii(16, 8, "",
        substring(hardware, 4, 3))); }</tt><tt><br>
      </tt><tt>        if (lcase(option host-name) = "ipod") {
        ddns-hostname = concat("iPod-", binary-to-ascii(16, 8, "",
        substring(hardware, 4, 3))); }</tt><tt><br>
      </tt><tt>        if (lcase(option host-name) = "ipad") {
        ddns-hostname = concat("iPad-", binary-to-ascii(16, 8, "",
        substring(hardware, 4, 3))); }</tt><tt><br>
      </tt><tt>}</tt><tt><br>
      </tt><tt>#
------------------------------------------------------------------------------</tt><tt><br>
      </tt></font><br>
    Bill<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 7/21/2017 5:10 AM, Bill Shirley
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:0a06a32d-c7bf-6ddf-4fc2-95c7bac209c3@c3po.polymerindustries.biz">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      My guess is your client is both a member of "win" and "wp" which,
      according to<br>
      pool definitions, can't be satisfied.<br>
      <br>
      Bill<br>
      <br>
      <br>
      <div class="moz-cite-prefix">On 7/20/2017 10:27 PM, timeless
        wrote:<br>
      </div>
      <blockquote type="cite"
cite="mid:CACsW8eHREd1cfFnMu=YpsV-1xX9H4oogTVUpAmrtUszaGW=YLQ@mail.gmail.com">
        <div dir="auto">
          <div dir="auto">Hi,</div>
          <div dir="auto">fwiw, I just upgraded isc-dhcp-server, I'm now
            running: 4.3.1-6+deb8u2 (things were working fine before
            that point, I'm not sure offhand what version I was running
            previously,  unfortunately). And I got the problem below.
            I've since upgraded to 4.3.5-3 (Debian stretch) without any
            improvement.</div>
          <div dir="auto"><br>
          </div>
          <div dir="auto">And I hit "no free leases".</div>
          <div dir="auto">I'm hoping someone could help me figure out
            what's going wrong / how to fix it.</div>
          <div dir="auto"><br>
          </div>
          <div dir="auto">This is most of my dhcpd.conf [1] file. </div>
          <div dir="auto"><br>
          </div>
          <div dir="auto">The client I'm trying to get a lease for is a
            <a href="http://modern.ie" moz-do-not-send="true">modern.ie</a>
            Windows10 VM [2] running in VirtualBox 5.1.24 on macOS
            Sierra w/ guest additions Bridging an Thunderbolt Ethernet
            Adapter [MAC address: 08:00:27:d0:ad:b7]</div>
          <div dir="auto">WireShark shows the windows 10 system sends:</div>
          <div dir="auto">  MSEDGEWIN10<.MSFT 5.07</div>
          <div dir="auto">WireShark reports it as:</div>
          <div dir="auto">  Client FQDN: MSEDGEWIN10</div>
          <div dir="auto">  vendor-class-data: MSFT 5.0</div>
          <div dir="auto">... which should match my "win" class. </div>
          <div dir="auto"><br>
          </div>
          <div dir="auto">None of my pool ranges appear "full" [3]. </div>
          <div dir="auto"><br>
          </div>
          <div dir="auto">The class match is not logged.</div>
          <div dir="auto"><br>
          </div>
          <div dir="auto">For comparison, here's background logging [4],
            and what I get when I troubleshoot the Windows 10 network
            [5].</div>
          <div dir="auto"><br>
          </div>
          <div dir="auto">pool 10.4.6.1 .. 10.4.6.254 has allow
            unknown-clients, which is where it would go if it wasn't
            matched.</div>
          <div dir="auto"><br>
          </div>
          <div dir="auto">One basic question I have is: How do i tell if
            a pool is "full"?</div>
          <div dir="auto"><br>
          </div>
          <div dir="auto">It would be very helpful to me for debugging
            if I could get isc-dhcp-server to "explain" how it decided
            that it had no more space.</div>
          <div dir="auto"><br>
          </div>
          <div dir="auto">From my naive perspective none of my pools are
            full, but I'd rather be able to ask isc-dhcp-server its
            opinion.</div>
          <div dir="auto"><br>
          </div>
          <div dir="auto">I also tried stopping isc-dhcp-server</div>
          <div dir="auto"><br>
          </div>
          <div dir="auto"><br>
          </div>
          <div dir="auto">There's no configuration for a failover pair,
            and the word "failover" isn't present in my config file.</div>
          <div dir="auto"><br>
          </div>
          <div dir="auto">I read: release notes [6] -- which shows that
            the logging was introduced in 3.0rc12</div>
          <div dir="auto"><br>
          </div>
          <div dir="auto">I skimmed through: KB looking for "no free
            leases" [7] and the kb articles all seem to be about
            performance or failover.</div>
          <div dir="auto"><br>
          </div>
          <div dir="auto">Thanks</div>
          <div dir="auto"><br>
          </div>
          <div dir="auto">[1] <a
href="https://www.irccloud.com/pastebin/OU5bsfhX/%2Fetc%2Fdhcp%2Fdhcpd.conf"
              moz-do-not-send="true">https://www.irccloud.com/pastebin/OU5bsfhX/%2Fetc%2Fdhcp%2Fdhcpd.conf</a></div>
          <div dir="auto">[2] <a
              href="https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/"
              moz-do-not-send="true">https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/</a></div>
          <div dir="auto">[3] <a
              href="https://www.irccloud.com/pastebin/jibZxPPp/dhcpd.leases.trimmed"
              moz-do-not-send="true">https://www.irccloud.com/pastebin/jibZxPPp/dhcpd.leases.trimmed</a></div>
          <div dir="auto">[4] <a
              href="https://www.irccloud.com/pastebin/YJ6Nt04h/"
              moz-do-not-send="true">https://www.irccloud.com/pastebin/YJ6Nt04h/</a></div>
          <div dir="auto">[5] <a
              href="https://www.irccloud.com/pastebin/HWE9aEvs/"
              moz-do-not-send="true">https://www.irccloud.com/pastebin/HWE9aEvs/</a></div>
          <div dir="auto">[6] <a
href="https://kb.isc.org/article/AA-01357/0/DHCP-4.3.4b1-Release-Notes.html"
              moz-do-not-send="true">https://kb.isc.org/article/AA-01357/0/DHCP-4.3.4b1-Release-Notes.html</a></div>
          <div dir="auto">[7] <a
href="https://kb.isc.org/index.php?/searchResults/0/10/fU_NCoMwDH4V6RPYOeYWbxMEz-4uVSMK1Y42jg3x3ZeqA0-75fuSfD8KpITZgQxBOFS27h74JpEwcwYxmqC1iIFG5dB59vo7y0cPIxBKaz9deJqoM9YDFtu5WlHe8KcCtukhZPYEIpIiWdgi5qfmVeyCxVSlavXmE7Pq-1iNIsx6TWj3AOxYUj-gh7dtX7bWDAfneKfJHEjJsvXkyAxZj3pLFcLMQbgq_a3tc5gnjvdPaho2rrjJ8gU%7E"
              moz-do-not-send="true">https://kb.isc.org/index.php?/searchResults/0/10/fU_NCoMwDH4V6RPYOeYWbxMEz-4uVSMK1Y42jg3x3ZeqA0-75fuSfD8KpITZgQxBOFS27h74JpEwcwYxmqC1iIFG5dB59vo7y0cPIxBKaz9deJqoM9YDFtu5WlHe8KcCtukhZPYEIpIiWdgi5qfmVeyCxVSlavXmE7Pq-1iNIsx6TWj3AOxYUj-gh7dtX7bWDAfneKfJHEjJsvXkyAxZj3pLFcLMQbgq_a3tc5gnjvdPaho2rrjJ8gU~</a></div>
        </div>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
dhcp-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dhcp-users@lists.isc.org" moz-do-not-send="true">dhcp-users@lists.isc.org</a>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/dhcp-users" moz-do-not-send="true">https://lists.isc.org/mailman/listinfo/dhcp-users</a></pre>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <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>
    <br>
  </body>
</html>