<div dir="ltr"><div class="gmail_extra"><div><div class="gmail_signature" data-smartmail="gmail_signature"><br></div></div>
<br><div class="gmail_quote">On Wed, Oct 19, 2016 at 10:56 AM, project722 <span dir="ltr"><<a href="mailto:project722@gmail.com" target="_blank">project722@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">After enabling Option 82 on our Adtran and Calix shelves, along with enabling the relay agent and log profile on the server to capture the O82 data, all of our test Genexis RG's, after a reboot, came back online with a 30 minute lease. Here is a sample conf line from one of them:<div><br></div><div>Before reboot:</div><div><br></div><div>Option  51 : lease-time 2592000<br></div><div><br></div><div>After Reboot:</div><div><br></div><div>Option  51 : lease-time 1800<br></div><div><br></div><div>And, in the lease file on the DHCP server, I see 2 leases written in the "active" binding state, one for the new 30 minute lease, and another for the existing lease. The new 30 minute lease record includes the option 82 data:</div><div><br></div><div><span style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px">lease 192.168.10.5 { (30 minute)</span><br style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px"><span style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px">  starts 3 2016/10/19 06:46:22;</span><br style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px"><span style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px">  ends 3 2016/10/19 07:16:22;</span><br style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px"><span style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px">  tstp 5 2016/11/18 07:01:22;</span><br style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px"><span style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px">  tsfp 3 2016/10/19 06:43:59;</span><br style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px"><span style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px">  cltt 3 2016/10/19 06:46:22;</span><br style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px"><span style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px">  binding state active;</span><br style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px"><span style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px">  next binding state expired;</span><br style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px"><span style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px">  hardware ethernet 00:0r:24:c1:18:d0;</span><br style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px"><span style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px">  uid "\001\000\017\224\301\030\320"<wbr>;</span><br style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px"><span style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px">  option agent.circuit-id "Option82 data here";</span><br></div><div><span style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px">And here is the existing lease:(30 day)</span></div><div><span style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px">lease 192.168.10.5 {</span><br style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px"><span style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px">  starts 5 2016/10/07 05:51:44;</span><br style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px"><span style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px">  ends 0 2016/11/06 05:51:44;</span><br style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px"><span style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px">  tstp 3 2016/08/24 05:35:15;</span><br style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px"><span style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px">  tsfp 1 2016/11/21 05:51:44;</span><br style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px"><span style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px">  atsfp 1 2016/11/21 05:51:44;</span><br style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px"><span style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px">  binding state active;</span><br style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px"><span style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px">  next binding state expired;</span><br style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px"><span style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px">  hardware ethernet </span><span style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px">00:0r:24:c1:18:d0</span><span style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px">;</span></div><div><span style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px">  uid "\001\000\017\224D\022\200";</span><br style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px"><span style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px">}</span><br style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px"></div><div><span style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px">Whats even more interesting, is that once the 30 minute lease expires it moves into a brand new 30 day lease, which is our default. My understanding is that the RG should move directly into its new 30 day lease upon coming back online. (I verified that these did signal a DHCPRELEASE on the reboot). </span></div><div><span style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px">We do not have 30 minute lease times declared on the server for any market, and I find it strange that I see a lease record in the leases file for 2 active leases, one being the 30 minute one, and with the option 82 data present. This seems to be happening from behind both our Adtran and Calix shelves. </span></div><div><span style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif;font-size:16px">Does anyone have any thoughts on this?</span></div></div>
<br></blockquote><div><br></div><div>This is all normal.</div><div>You are apparently running with failover, so a first lease (or a lease after a release) will be the "MCLT" which defaults to 30 minutes.</div><div>The lease file is appended with new information and only occasionally rewritten.  Only the last entry for any host counts.</div><div> </div><div>-- </div><div>Bob Harold</div><div><br></div></div><br></div></div>