<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFCC">
    <br>
    <br>
    <div class="moz-cite-prefix">On 15/04/2019 18.48, Murali Krishna
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAKhvxa0CDk9AdLCTS-Lyc_bReJk5wRD=p1V6OsSdDv5=nPmWrQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">
            <div dir="ltr">Hi,
              <div><br>
              </div>
              <div>
                <div dir="ltr" class="gmail_signature">
                  <div dir="ltr">
                    <div>Im facing issue with the dhcp lease time. </div>
                    <div>Im having two different DHCP versions in server
                      and client side. I could see that the lease file
                      at the client had very huge value of the dhcp
                      lease.</div>
                    <div><br>
                    </div>
                    <div>version on the server side:</div>
                    <div>isc-dhcpd-4.3.6-P1<br>
                    </div>
                    <div><br>
                    </div>
                    <div>Version on the client side:</div>
                    <div>isc-dhcpd-4.2.1-P1<br>
                    </div>
                    <div><br>
                    </div>
                    <div>Content(part) of the lease file at the client
                      side:</div>
                    <div>dhcp-lease-time <span
                        style="color:rgb(72,72,72);font-family:Verdana,sans-serif;font-size:9pt">152292816</span>;</div>
                    <div><br>
                      Output of pcap file used for debugging:</div>
                    <div>
                      <ul style="margin-bottom:0cm" type="disc">
                        <li class="MsoNormal"
                          style="color:rgb(72,72,72);margin:0cm 0cm
                          0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span
style="font-size:9pt;font-family:Verdana,sans-serif" lang="EN-US"><a
                              href="https://gordon.advantech.com.tw/issues/28"
                              title="It shall be possible to upgrade all
                              embedded software to the unit in a time
                              less than 15 minutes. (Deferred)"
                              style="color:rgb(5,99,193)"
                              moz-do-not-send="true">#28</a>: Client
                            sends "DHCP Request" to server and asks the
                            lease time 3600s. </span></li>
                        <li class="MsoNormal"
                          style="color:rgb(72,72,72);margin:0cm 0cm
                          0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span
style="font-size:9pt;font-family:Verdana,sans-serif" lang="EN-US"><a
                              href="https://gordon.advantech.com.tw/issues/29"
                              title="An ATCA Blade FRUcontaining
                              embedded SW/FW components shall support an
                              HPI FUMI interface, per co... (Closed)"
                              style="color:rgb(5,99,193)"
                              moz-do-not-send="true">#29</a>: The server
                            replies the "DHCP ACK" to client, but the
                            lease time is 152292816s. <br>
                          </span></li>
                      </ul>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    The server is configured with two times, max-lease-time and
    default-lease-time. It will send those times to the client, in this
    case it looks like the server is configured to send very long times
    (4.8 years). It is up to the client when it wants to renew the
    lease, the 3600s is clearly within the bounds of what it is given.<br>
    <br>
    If you want shorter lease times, the server needs to be configured
    to hand out those times instead.<br>
    <blockquote type="cite"
cite="mid:CAKhvxa0CDk9AdLCTS-Lyc_bReJk5wRD=p1V6OsSdDv5=nPmWrQ@mail.gmail.com">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">
            <div dir="ltr">
              <div>
                <div dir="ltr" class="gmail_signature">
                  <div dir="ltr">
                    <div>
                      <ul style="margin-bottom:0cm" type="disc">
                      </ul>
                      <div><br>
                      </div>
                      <div>Please help in getting this resolved. Also
                        please share in what kind of situations the
                        server will respond to the client with a huge
                        lease value.</div>
                      <div><br>
                      </div>
                      Thanks & Regards,<br>
                      Muralikrishna CH<br>
                      <br>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-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>