<html><body><div style="font-family: Andale Mono; font-size: 10pt; color: #000000"><div style="font-family: Andale Mono; font-size: 10pt; color: #000000">to use the class method you would then use keywords "allow members of <class>" and "deny members of <class>"</div><div style="font-family: Andale Mono; font-size: 10pt; color: #000000"><br data-mce-bogus="1"></div><div style="font-family: Andale Mono; font-size: 10pt; color: #000000">to use the host method , you would then use keywords "allow unknown clients" and "deny unknown clients"<br><br><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Sten Carlsen" <stenc@s-carlsen.dk><br><b>To: </b>"Users of ISC DHCP" <dhcp-users@lists.isc.org><br><b>Sent: </b>Wednesday, July 18, 2018 9:41:05 AM<br><b>Subject: </b>Re: allow dhcp only for known mac addresses<br></blockquote></div><div data-marker="__QUOTED_TEXT__"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">Hi<br>
    <br>
    <div class="moz-cite-prefix">On 18/07/2018 15.35, Vivek Patil wrote:<br>
    </div>
    <blockquote cite="mid:CAN506jRR04MmwMhSeOuj0xe9CP5fy4ZZKRBzgLP5J0Bm=MeNuQ@mail.gmail.com">
      
      <div dir="ltr">Hi All,
        <div><br>
        </div>
        <div>I have setup ISC DHCP server 4.2.4 on ubuntu 14.04 LTS. I
          need to activate allow DHCP to only those machines whose mac I
          allowed. All unknown mac machines should be deny.</div>
      </div>
    </blockquote>
    I use classes with membership based on HWaddress (MAC), I put every
    MAC in a subclass statement in an include file. The benefit of doing
    things this way is the I can also assign router info and other
    things to each MAC independently.<br>
    <br>
    The other option is to use a host statement but leave out the fixed
    address stuff.<br>
    <blockquote cite="mid:CAN506jRR04MmwMhSeOuj0xe9CP5fy4ZZKRBzgLP5J0Bm=MeNuQ@mail.gmail.com">
      <div dir="ltr">
        <div><br>
        </div>
        <div><br>
        </div>
        <div>I <b>dont want</b> mac binding (fixed-address)</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Somebody please help me how I can do this.</div>
        <div>Thanks in advance.</div>
      </div>
      <br>
      <span style="font-family:arial,sans-serif;font-size:12.8px;color:rgb(34,34,34);background-color:rgb(255,255,255)">Email
        Disclaimer:</span><span style="font-family:arial,sans-serif;font-size:12.8px;color:rgb(31,73,125);background-color:rgb(255,255,255)"> </span><font face="arial, sans-serif" color="#1155cc"><span style="font-size:12.8px"><u><a href="http://www.forgeahead.io/disclaimer/" target="_blank">http://www.forgeahead.io/disclaimer/</a></u></span></font>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre>_______________________________________________
dhcp-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dhcp-users@lists.isc.org" target="_blank">dhcp-users@lists.isc.org</a>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a>
</pre>
    </blockquote>
    <br>
  

<br>_______________________________________________<br>dhcp-users mailing list<br>dhcp-users@lists.isc.org<br>https://lists.isc.org/mailman/listinfo/dhcp-users</blockquote></div></div><div><br></div></div></body></html>