<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I use (IPv6):<br>
    <font color="#993300"><tt>log (<br>
          info,<br>
            concat (<br>
              "  Lease:", pick-first-value(binary-to-ascii(10, 32, "",
        config-option server.default-lease-time), "<none>")<br>
              .<br>
              .<br>
      </tt><tt></tt></font><br>
    Bill<br>
    <br>
    <div class="moz-cite-prefix">On 12/22/2016 10:41 AM, perl-list
      wrote:<br>
    </div>
    <blockquote
      cite="mid:1927548505.376493.1482421290562.JavaMail.zimbra@network1.net"
      type="cite">
      <div style="font-family: Andale Mono; font-size: 10pt; color:
        #000000">
        <div data-mce-style="font-family: Andale Mono; font-size: 10pt;
          color: #000000;">
          <p style="color: rgb(0, 0, 0); font-family: Menlo; font-size:
            11px; margin: 0px; line-height: normal;"
            data-mce-style="margin: 0px; font-size: 11px; line-height:
            normal; font-family: Menlo;"><span
              style="font-variant-ligatures: no-common-ligatures;"
              data-mce-style="font-variant-ligatures:
              no-common-ligatures;">having something like this in the
              dhcpd.conf file for DHCPv6:</span></p>
          <p style="color: rgb(0, 0, 0); font-family: Menlo; font-size:
            11px; margin: 0px; line-height: normal;"
            data-mce-style="margin: 0px; font-size: 11px; line-height:
            normal; font-family: Menlo;"><br data-mce-bogus="1">
          </p>
          <p style="color: rgb(0, 0, 0); font-family: Menlo; font-size:
            11px; margin: 0px; line-height: normal;"
            data-mce-style="margin: 0px; font-size: 11px; line-height:
            normal; font-family: Menlo;">on commit {<br>
          </p>
          <p style="color: rgb(0, 0, 0); font-family: Menlo; font-size:
            11px; margin: 0px; line-height: normal;"
            data-mce-style="margin: 0px; font-size: 11px; line-height:
            normal; font-family: Menlo;"><span
              style="font-variant-ligatures: no-common-ligatures;"
              data-mce-style="font-variant-ligatures:
              no-common-ligatures;">        if exists dhcp6.ia-na {</span></p>
          <p style="color: rgb(0, 0, 0); font-family: Menlo; font-size:
            11px; margin: 0px; line-height: normal;"
            data-mce-style="margin: 0px; font-size: 11px; line-height:
            normal; font-family: Menlo;"><span
              style="font-variant-ligatures: no-common-ligatures;"
              data-mce-style="font-variant-ligatures:
              no-common-ligatures;">                log(debug,</span></p>
          <p style="color: rgb(0, 0, 0); font-family: Menlo; font-size:
            11px; margin: 0px; line-height: normal;"
            data-mce-style="margin: 0px; font-size: 11px; line-height:
            normal; font-family: Menlo;"><span
              style="font-variant-ligatures: no-common-ligatures;"
              data-mce-style="font-variant-ligatures:
              no-common-ligatures;">                        concat(
              "LEASED,",</span></p>
          <p style="color: rgb(0, 0, 0); font-family: Menlo; font-size:
            11px; margin: 0px; line-height: normal;"
            data-mce-style="margin: 0px; font-size: 11px; line-height:
            normal; font-family: Menlo;"><span
              style="font-variant-ligatures: no-common-ligatures;"
              data-mce-style="font-variant-ligatures:
              no-common-ligatures;">                                </span>"IPTIME,",binary-to-ascii(10,
            32, "", substring(option dhcp6.ia-na,36,4)),","</p>
          <p style="color: rgb(0, 0, 0); font-family: Menlo; font-size:
            11px; margin: 0px; line-height: normal;"
            data-mce-style="margin: 0px; font-size: 11px; line-height:
            normal; font-family: Menlo;"><span
              style="font-variant-ligatures: no-common-ligatures;"
              data-mce-style="font-variant-ligatures:
              no-common-ligatures;"></span><span
              style="font-variant-ligatures: no-common-ligatures;"
              data-mce-style="font-variant-ligatures:
              no-common-ligatures;">                        )</span></p>
          <p style="color: rgb(0, 0, 0); font-family: Menlo; font-size:
            11px; margin: 0px; line-height: normal;"
            data-mce-style="margin: 0px; font-size: 11px; line-height:
            normal; font-family: Menlo;"><span
              style="font-variant-ligatures: no-common-ligatures;"
              data-mce-style="font-variant-ligatures:
              no-common-ligatures;">                );</span></p>
          <p style="color: rgb(0, 0, 0); font-family: Menlo; font-size:
            11px; margin: 0px; line-height: normal;"
            data-mce-style="margin: 0px; font-size: 11px; line-height:
            normal; font-family: Menlo;"><span
              style="font-variant-ligatures: no-common-ligatures;"
              data-mce-style="font-variant-ligatures:
              no-common-ligatures;">        }</span></p>
          <div style="color: #000000; font-family: 'Andale Mono';
            font-size: 10pt;" data-mce-style="color: #000000;
            font-family: 'Andale Mono'; font-size: 10pt;"><span
              style="font-variant-ligatures: no-common-ligatures;"
              data-mce-style="font-variant-ligatures:
              no-common-ligatures;">}</span></div>
          <div style="color: #000000; font-family: 'Andale Mono';
            font-size: 10pt;" data-mce-style="color: #000000;
            font-family: 'Andale Mono'; font-size: 10pt;"><span
              style="font-variant-ligatures: no-common-ligatures;"
              data-mce-style="font-variant-ligatures:
              no-common-ligatures;"><br data-mce-bogus="1">
            </span></div>
          <div style="color: #000000; font-family: 'Andale Mono';
            font-size: 10pt;" data-mce-style="color: #000000;
            font-family: 'Andale Mono'; font-size: 10pt;"><span
              style="font-variant-ligatures: no-common-ligatures;"
              data-mce-style="font-variant-ligatures:
              no-common-ligatures;">Will produce a value for IPTIME that
              is equal to the time requested by the client instead of
              what was given by the server.</span></div>
          <div style="color: #000000; font-family: 'Andale Mono';
            font-size: 10pt;" data-mce-style="color: #000000;
            font-family: 'Andale Mono'; font-size: 10pt;"><span
              style="font-variant-ligatures: no-common-ligatures;"
              data-mce-style="font-variant-ligatures:
              no-common-ligatures;"><br data-mce-bogus="1">
            </span></div>
          <div style="color: #000000; font-family: 'Andale Mono';
            font-size: 10pt;" data-mce-style="color: #000000;
            font-family: 'Andale Mono'; font-size: 10pt;"><span
              style="font-variant-ligatures: no-common-ligatures;"
              data-mce-style="font-variant-ligatures:
              no-common-ligatures;">For example:</span></div>
          <div style="color: #000000; font-family: 'Andale Mono';
            font-size: 10pt;" data-mce-style="color: #000000;
            font-family: 'Andale Mono'; font-size: 10pt;"><span
              style="font-variant-ligatures: no-common-ligatures;"
              data-mce-style="font-variant-ligatures:
              no-common-ligatures;"><br data-mce-bogus="1">
            </span></div>
          <div style="color: #000000; font-family: 'Andale Mono';
            font-size: 10pt;" data-mce-style="color: #000000;
            font-family: 'Andale Mono'; font-size: 10pt;"><span
              style="font-variant-ligatures: no-common-ligatures;"
              data-mce-style="font-variant-ligatures:
              no-common-ligatures;">Client (Redhat Enterprise Linux 7 -
              ISC DHCP 4.2.5) sends a Renew for an IPv6 address via
              DHCPv6 requesting the following times (As seen in
              wireshark capture):<br>
            </span></div>
          <div style="color: #000000; font-family: 'Andale Mono';
            font-size: 10pt;" data-mce-style="color: #000000;
            font-family: 'Andale Mono'; font-size: 10pt;"><span
              style="font-variant-ligatures: no-common-ligatures;"
              data-mce-style="font-variant-ligatures:
              no-common-ligatures;"><br data-mce-bogus="1">
            </span></div>
          <div style="color: #000000; font-family: 'Andale Mono';
            font-size: 10pt;" data-mce-style="color: #000000;
            font-family: 'Andale Mono'; font-size: 10pt;"><span
              style="font-variant-ligatures: no-common-ligatures;"
              data-mce-style="font-variant-ligatures:
              no-common-ligatures;">T1: 3600</span></div>
          <div style="color: #000000; font-family: 'Andale Mono';
            font-size: 10pt;" data-mce-style="color: #000000;
            font-family: 'Andale Mono'; font-size: 10pt;"><span
              style="font-variant-ligatures: no-common-ligatures;"
              data-mce-style="font-variant-ligatures:
              no-common-ligatures;">T2: 5400</span></div>
          <div style="color: #000000; font-family: 'Andale Mono';
            font-size: 10pt;" data-mce-style="color: #000000;
            font-family: 'Andale Mono'; font-size: 10pt;"><span
              style="font-variant-ligatures: no-common-ligatures;"
              data-mce-style="font-variant-ligatures:
              no-common-ligatures;">Preferred Lifetime: 7200</span></div>
          <div style="color: #000000; font-family: 'Andale Mono';
            font-size: 10pt;" data-mce-style="color: #000000;
            font-family: 'Andale Mono'; font-size: 10pt;"><span
              style="font-variant-ligatures: no-common-ligatures;"
              data-mce-style="font-variant-ligatures:
              no-common-ligatures;">Valid Lifetime: 7500</span></div>
          <div style="color: #000000; font-family: 'Andale Mono';
            font-size: 10pt;" data-mce-style="color: #000000;
            font-family: 'Andale Mono'; font-size: 10pt;"><span
              style="font-variant-ligatures: no-common-ligatures;"
              data-mce-style="font-variant-ligatures:
              no-common-ligatures;"><br data-mce-bogus="1">
            </span></div>
          <div style="color: #000000; font-family: 'Andale Mono';
            font-size: 10pt;" data-mce-style="color: #000000;
            font-family: 'Andale Mono'; font-size: 10pt;"><span
              style="font-variant-ligatures: no-common-ligatures;"
              data-mce-style="font-variant-ligatures:
              no-common-ligatures;">Server (generic Linux - ISC DHCP
              4.3.3) is configured with this time setting in the pool6
              {} statement:</span></div>
          <div style="color: #000000; font-family: 'Andale Mono';
            font-size: 10pt;" data-mce-style="color: #000000;
            font-family: 'Andale Mono'; font-size: 10pt;"><br
              data-mce-bogus="1">
          </div>
          <div style="color: #000000; font-family: 'Andale Mono';
            font-size: 10pt;" data-mce-style="color: #000000;
            font-family: 'Andale Mono'; font-size: 10pt;">default-lease-time
            600;<br>
          </div>
          <div style="color: #000000; font-family: 'Andale Mono';
            font-size: 10pt;" data-mce-style="color: #000000;
            font-family: 'Andale Mono'; font-size: 10pt;"><br
              data-mce-bogus="1">
          </div>
          <div style="color: #000000; font-family: 'Andale Mono';
            font-size: 10pt;" data-mce-style="color: #000000;
            font-family: 'Andale Mono'; font-size: 10pt;">Server
            responds with times like this (as seen in wireshark
            capture):</div>
          <div style="color: #000000; font-family: 'Andale Mono';
            font-size: 10pt;" data-mce-style="color: #000000;
            font-family: 'Andale Mono'; font-size: 10pt;"><br
              data-mce-bogus="1">
          </div>
          <div style="color: #000000; font-family: 'Andale Mono';
            font-size: 10pt;" data-mce-style="color: #000000;
            font-family: 'Andale Mono'; font-size: 10pt;">T1: 0</div>
          <div style="color: #000000; font-family: 'Andale Mono';
            font-size: 10pt;" data-mce-style="color: #000000;
            font-family: 'Andale Mono'; font-size: 10pt;">T2: 0</div>
          <div style="color: #000000; font-family: 'Andale Mono';
            font-size: 10pt;" data-mce-style="color: #000000;
            font-family: 'Andale Mono'; font-size: 10pt;">Preferred
            Lifetime: 375</div>
          <div style="color: #000000; font-family: 'Andale Mono';
            font-size: 10pt;" data-mce-style="color: #000000;
            font-family: 'Andale Mono'; font-size: 10pt;">Valid
            Lifetime: 600</div>
          <div style="color: #000000; font-family: 'Andale Mono';
            font-size: 10pt;" data-mce-style="color: #000000;
            font-family: 'Andale Mono'; font-size: 10pt;"><br
              data-mce-bogus="1">
          </div>
          <div style="color: #000000; font-family: 'Andale Mono';
            font-size: 10pt;" data-mce-style="color: #000000;
            font-family: 'Andale Mono'; font-size: 10pt;">What is logged
            in the log file is 7500 not 600.</div>
          <div style="color: #000000; font-family: 'Andale Mono';
            font-size: 10pt;" data-mce-style="color: #000000;
            font-family: 'Andale Mono'; font-size: 10pt;"><br
              data-mce-bogus="1">
          </div>
          <div style="color: #000000; font-family: 'Andale Mono';
            font-size: 10pt;" data-mce-style="color: #000000;
            font-family: 'Andale Mono'; font-size: 10pt;">The client
            lease file shows the following times:</div>
          <div style="color: #000000; font-family: 'Andale Mono';
            font-size: 10pt;" data-mce-style="color: #000000;
            font-family: 'Andale Mono'; font-size: 10pt;"><br
              data-mce-bogus="1">
          </div>
          <div style="color: #000000; font-family: 'Andale Mono';
            font-size: 10pt;" data-mce-style="color: #000000;
            font-family: 'Andale Mono'; font-size: 10pt;">Renew: 0</div>
          <div style="color: #000000; font-family: 'Andale Mono';
            font-size: 10pt;" data-mce-style="color: #000000;
            font-family: 'Andale Mono'; font-size: 10pt;">Rebind: 0</div>
          <div style="color: #000000; font-family: 'Andale Mono';
            font-size: 10pt;" data-mce-style="color: #000000;
            font-family: 'Andale Mono'; font-size: 10pt;">Preferred
            Lifetime: 375</div>
          <div style="color: #000000; font-family: 'Andale Mono';
            font-size: 10pt;" data-mce-style="color: #000000;
            font-family: 'Andale Mono'; font-size: 10pt;">Valid
            Lifetime: 600</div>
          <div style="color: #000000; font-family: 'Andale Mono';
            font-size: 10pt;" data-mce-style="color: #000000;
            font-family: 'Andale Mono'; font-size: 10pt;"><br
              data-mce-bogus="1">
          </div>
          <div style="color: #000000; font-family: 'Andale Mono';
            font-size: 10pt;" data-mce-style="color: #000000;
            font-family: 'Andale Mono'; font-size: 10pt;">So, it seems
            that the dhcp options available in on commit {} are what the
            client sent in instead of those the server sent in response?
             Is that a bug?  Or do I not understand how on commit {}
            works?  I assumed that on commit {} would have access to the
            options as set by the server that were sent back to the
            client.</div>
        </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">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>