<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Andale Mono";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.MailQuote, li.MailQuote, div.MailQuote
        {mso-style-name:"Mail Quote";
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:35.4pt;
        margin-bottom:.0001pt;
        text-autospace:none;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.p1, li.p1, div.p1
        {mso-style-name:p1;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.p2, li.p2, div.p2
        {mso-style-name:p2;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.s1
        {mso-style-name:s1;}
span.s2
        {mso-style-name:s2;}
span.s3
        {mso-style-name:s3;}
span.EmailStyle23
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle24
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=FR-CA link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>I should have said DHCPDISCOVER, not DHCPREQUEST.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=FR style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>De :</span></b><span lang=FR style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> dhcp-users-bounces+denis_laventure=uqac.ca@lists.isc.org [mailto:dhcp-users-bounces+denis_laventure=uqac.ca@lists.isc.org] <b>De la part de</b> Denis Laventure<br><b>Envoyé :</b> 22 janvier 2014 11:27<br><b>À :</b> Users of ISC DHCP<br><b>Objet :</b> RE: Static IP via Option 82 - methodology<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>Since hosts with static records are not recorded in dhcpd.leases file, stash-agent-options do nothing with option-82 hosts definitions. I use a really large lease time for my static hosts with option-82, eventually they will reboot and make a new DHCPREQUEST…<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=FR style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>De :</span></b><span lang=FR style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> <a href="mailto:dhcp-users-bounces+denis_laventure=uqac.ca@lists.isc.org">dhcp-users-bounces+denis_laventure=uqac.ca@lists.isc.org</a> [<a href="mailto:dhcp-users-bounces+denis_laventure=uqac.ca@lists.isc.org">mailto:dhcp-users-bounces+denis_laventure=uqac.ca@lists.isc.org</a>] <b>De la part de</b> perl-list<br><b>Envoyé :</b> 22 janvier 2014 11:08<br><b>À :</b> Users of ISC DHCP<br><b>Objet :</b> Re: Static IP via Option 82 - methodology<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=p1 style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Andale Mono","serif";color:black'>Does anyone know if this statement is only relevant in the host declaration or is a global statement?  Secondly, would this apply to host statements since the lease isn't recorded in the dhcpd.leases ?<o:p></o:p></span></p><p class=p1 style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Andale Mono","serif";color:black'><o:p> </o:p></span></p><p class=p1 style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Andale Mono","serif";color:black'>------------------------<o:p></o:p></span></p><p class=p1 style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Andale Mono","serif";color:black'>The <span class=s1>stash</span>-agent-options statement<o:p></o:p></span></p><p class=p2 style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Andale Mono","serif";color:black'><o:p> </o:p></span></p><p class=p1 style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Andale Mono","serif";color:black'>            <span class=s2><b>stash</b></span>-agent-options <span class=s3>flag</span><b>;</b><o:p></o:p></span></p><p class=p2 style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Andale Mono","serif";color:black'><o:p> </o:p></span></p><p class=p1 style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Andale Mono","serif";color:black'>            If  the <span class=s1>stash</span>-agent-options parameter is true for a given client, the server will record the relay agent information options sent during the client's initial DHCPREQUEST message when the client was in the SELECTING state and behave as if those options<o:p></o:p></span></p><p class=p1 style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Andale Mono","serif";color:black'>            are included in all subsequent DHCPREQUEST messages sent in the RENEWING state.  This works around a problem with relay agent information options, which is that they usually not appear in DHCPREQUEST messages sent by the client in the RENEWING  state,<o:p></o:p></span></p><p class=p1 style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Andale Mono","serif";color:black'>            because such messages are unicast directly to the server and not sent through a relay agent.<o:p></o:p></span></p><p class=p1 style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Andale Mono","serif";color:black'>------------------------<o:p></o:p></span></p><p class=p1 style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Andale Mono","serif";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Andale Mono","serif";color:black'><o:p> </o:p></span></p></div><div class=MsoNormal align=center style='text-align:center'><span style='font-size:10.0pt;font-family:"Andale Mono","serif";color:black'><hr size=2 width="100%" align=center></span></div><blockquote style='border:none;border-left:solid #1010FF 1.5pt;padding:0cm 0cm 0cm 4.0pt;margin-left:3.75pt;margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal><b><span style='font-family:"Helvetica","sans-serif";color:black'>From: </span></b><span style='font-family:"Helvetica","sans-serif";color:black'>"perl-list" <<a href="mailto:perl-list@network1.net">perl-list@network1.net</a>><br><b>To: </b>"Users of ISC DHCP" <<a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a>><br><b>Sent: </b>Tuesday, January 21, 2014 3:43:25 PM<br><b>Subject: </b>Re: Static IP via Option 82 - methodology<o:p></o:p></span></p><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'><o:p> </o:p></span></p></div><div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Andale Mono","serif";color:black'>Folks,<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Andale Mono","serif";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Andale Mono","serif";color:black'>We were finally able to test this.  <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Andale Mono","serif";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Andale Mono","serif";color:black'>I removed the configs for the previous method for a certain ONT.  I then set the static IP based on option 82 using the method described in the quote below.  The Calix blade said that the ONT had the correct IP address, and I showed a complete DHCP conversation in the logs with the correct IP address. However, the ONT itself never placed the address on its interface.  The first thing I noticed was that the extra log messages for option 82 that we have configured did not print to the logs.  Dialtone was not available from that ONT.  <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Andale Mono","serif";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Andale Mono","serif";color:black'>We then went ahead and swapped in a new ONT.  It did get the address immediately via DHCP which is what we were trying to accomplish, so that was good.  But it also did not actually get the IP address on the ONT the same as above.  <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Andale Mono","serif";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Andale Mono","serif";color:black'>I'm suspecting that the Option 82 circuit-id was not returned in the DHCP reply packets (DHCPOFFER and DHCPACK) based on not seeing them printed in the logs.  This could prevent the Calix from completing the assignment, I would assume.  <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Andale Mono","serif";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Andale Mono","serif";color:black'>We then returned the previous configs and the ONT got the correct address and dialtone returned.  Is there some global config that I need to set to prompt Option 82 circuit-id to be included in the response with this host statement method? <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Andale Mono","serif";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Andale Mono","serif";color:black'>I do already have this set: stash-agent-options true;<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Andale Mono","serif";color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Andale Mono","serif";color:black'>Is there more?<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Andale Mono","serif";color:black'><o:p> </o:p></span></p></div><div class=MsoNormal align=center style='text-align:center'><span style='font-size:10.0pt;font-family:"Andale Mono","serif";color:black'><hr size=2 width="100%" align=center></span></div><blockquote style='border:none;border-left:solid #1010FF 1.5pt;padding:0cm 0cm 0cm 4.0pt;margin-left:3.75pt;margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal><b><span style='font-family:"Helvetica","sans-serif";color:black'>From: </span></b><span style='font-family:"Helvetica","sans-serif";color:black'>"perl-list" <<a href="mailto:perl-list@network1.net">perl-list@network1.net</a>><br><b>To: </b>"Users of ISC DHCP" <<a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a>><br><b>Sent: </b>Thursday, January 9, 2014 1:34:07 PM<br><b>Subject: </b>Re: Static IP via Option 82 - methodology<o:p></o:p></span></p><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'><o:p> </o:p></span></p></div><div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Andale Mono","serif";color:black'>Thank you - i'll try that out!  it does past syntax check - now to see if it works in the real world.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Andale Mono","serif";color:black'><o:p> </o:p></span></p></div><div class=MsoNormal align=center style='text-align:center'><span style='font-size:10.0pt;font-family:"Andale Mono","serif";color:black'><hr size=2 width="100%" align=center></span></div><blockquote style='border:none;border-left:solid #1010FF 1.5pt;padding:0cm 0cm 0cm 4.0pt;margin-left:3.75pt;margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal><b><span style='font-family:"Helvetica","sans-serif";color:black'>From: </span></b><span style='font-family:"Helvetica","sans-serif";color:black'>"Dave Brenner" <<a href="mailto:david@toledotel.com">david@toledotel.com</a>><br><b>To: </b><a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br><b>Sent: </b>Thursday, January 9, 2014 11:39:05 AM<br><b>Subject: </b>Re: Static IP via Option 82 - methodology<o:p></o:p></span></p><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'><o:p> </o:p></span></p></div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'>On 1/9/2014 6:42 AM, perl-list wrote:<br>> Is this the way to do it?<br>><br>> ------------------------<br>><br>> host 10-24-24-9 { option agent.circuit-id = "1.21.1.4/Ethernet9";<br>> fixed-address 10.24.24.9; } # static by option 82 (with host line)?<br>><br>> ------------------------<o:p></o:p></span></p><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'><o:p> </o:p></span></p></div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'>Close.<o:p></o:p></span></p><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'><o:p> </o:p></span></p></div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'>host 10-24-24-9 {<br>    host-identifier option agent.circuit-id "1.21.1.4/Ethernet9";<br>    fixed-address 10.24.24.9;<br>}<o:p></o:p></span></p><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'><o:p> </o:p></span></p></div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'><br>_______________________________________________<br>dhcp-users mailing list<br><a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br><a href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a><o:p></o:p></span></p><div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'><o:p> </o:p></span></p></div></blockquote><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Andale Mono","serif";color:black'><o:p> </o:p></span></p></div></div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'><br>_______________________________________________<br>dhcp-users mailing list<br><a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br><a href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a><o:p></o:p></span></p></blockquote><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Andale Mono","serif";color:black'><o:p> </o:p></span></p></div></div><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:black'><br>_______________________________________________<br>dhcp-users mailing list<br><a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br><a href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a><o:p></o:p></span></p></blockquote><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Andale Mono","serif";color:black'><o:p> </o:p></span></p></div></div></div></body></html>