<div dir="auto">Thank you very much, I will try that.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 14, 2020, 18:50 Sten Carlsen <<a href="mailto:stenc@s-carlsen.dk">stenc@s-carlsen.dk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div>
    <p><br>
    </p>
    <div>On 14-01-2020 16.38, Petar Kozić wrote:<br>
    </div>
    <blockquote type="cite">
      
      
      <div style="font-family:Helvetica,Arial;font-size:13px"><br>
        <div style="margin:0px">#</div>
        <div style="margin:0px"># Subnet declarations</div>
        <div style="margin:0px">#</div>
        <div style="margin:0px">subnet 116.199.70.96 netmask
          255.255.255.240 {</div>
        <div style="margin:0px">default-lease-time 3600;</div>
        <div style="margin:0px">option routers 116.199.70.97;</div>
        <div style="margin:0px">option interface-mtu 1400;</div>
        <div style="margin:0px">option subnet-mask 255.255.255.240;</div>
        <div style="margin:0px">option broadcast-address 116.199.70.111;</div>
        <div style="margin:0px">option domain-name-servers 8.8.8.8,
          8.8.4.4;</div>
        <div style="margin:0px"><b>range 116.199.70.98 116.199.70.110;</b></div>
        <div style="margin:0px">}</div>
        <div style="margin:0px"><br>
        </div>
        <div style="margin:0px"><br>
        </div>
        <div style="margin:0px">## IP reservation from first subnet ##</div>
        <div style="margin:0px"><br>
        </div>
        <div style="margin:0px">host myhost1 {</div>
        <div style="margin:0px">hardware ethernet FE:4A:DB:C0:BF:AD;</div>
        <div style="margin:0px"><b>fixed-address 116.199.70.98;</b></div>
        <div style="margin:0px">}</div>
        <div style="margin:0px">host myhost2 {</div>
        <div style="margin:0px">hardware ethernet AA:6D:47:76:58:58;</div>
        <div style="margin:0px">fixed-address 116.199.70.99;</div>
        <div style="margin:0px">}</div>
        <div style="margin:0px">host myhost3 {</div>
        <div style="margin:0px">hardware ethernet 86:CB:59:8B:CD:BA;</div>
        <div style="margin:0px">fixed-address 116.199.70.100;</div>
        <div style="margin:0px">}</div>
        <div style="margin:0px">host myhost4 {</div>
        <div style="margin:0px">hardware ethernet D6:9R:79:44:93:AD;</div>
        <div style="margin:0px">fixed-address 116.199.70.101;</div>
        <div style="margin:0px">}</div>
        <div style="margin:0px">host myhost5 {</div>
        <div style="margin:0px">hardware ethernet 06:BW:15:DD:09:79;</div>
        <div style="margin:0px">fixed-address 116.199.70.102;</div>
        <div style="margin:0px">}</div>
      </div>
    </blockquote>
    <p>These host statements have a fixed address that is in the range,
      that means that the server will hand these addresses out to any
      other device that asks for an address.</p>
    <p>Host statements with fixed addresses should normally have
      addresses outside any range, then the server will not be able to
      hand these addresses out to other devices.<br>
    </p>
    <blockquote type="cite">
      <div style="font-family:Helvetica,Arial;font-size:13px">
        <div style="margin:0px"><br>
        </div>
        <div style="margin:0px">My problem is in that because the client
          in IP reservation sometimes gets reserved IP sometimes first
          free IP from range which isn't in the reservation list.</div>
        <div style="margin:0px">I can't figure how to set this config to
          permanent stay on the same IP.</div>
        <div style="margin:0px"><br>
        </div>
        <div style="margin:0px">For example if myhost1 gets the right IP
          and that VM works about 10 days and I need to reboot for some
          reason after reboot get another IP, that is weird.</div>
        <div style="margin:0px">Or on an example I have baremetal server
          where I have virtualization and there is my VM from myhost1 to
          myhost8, if I reboot baremetal after booting, two VM get right
          IP, other not.</div>
        <div style="margin:0px"><br>
        </div>
        <div style="margin:0px">What wrong am I doing?</div>
        <div style="margin:0px">Thank you.</div>
        <div style="margin:0px"><br>
        </div>
      </div>
      <br>
      <div>
        <div><font face="arial, sans-serif" color="#333333"><b>—</b></font></div>
        <div style="font-size:14px;line-height:normal;margin:0px;font-family:arial,sans-serif;background-color:rgb(253,253,253)"><font color="#333333"><b><br>
            </b></font></div>
        <div style="font-size:14px;line-height:normal;margin:0px;font-family:arial,sans-serif;background-color:rgb(253,253,253)"><font color="#333333"><b>Petar Kozić</b></font><span style="color:rgb(51,51,51)"><br>
            <br>
          </span></div>
      </div>
      <br>
      <fieldset></fieldset>
      <pre>_______________________________________________
dhcp-users mailing list
<a href="mailto:dhcp-users@lists.isc.org" target="_blank" rel="noreferrer">dhcp-users@lists.isc.org</a>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank" rel="noreferrer">https://lists.isc.org/mailman/listinfo/dhcp-users</a>
</pre>
    </blockquote>
    <pre cols="72">-- 
Best regards

Sten Carlsen

No improvements come from shouting:

"MALE BOVINE MANURE!!!" </pre>
  </div>

_______________________________________________<br>
dhcp-users mailing list<br>
<a href="mailto:dhcp-users@lists.isc.org" target="_blank" rel="noreferrer">dhcp-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" rel="noreferrer noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
</blockquote></div>