<div dir="ltr"><div>Hi Bill,</div><div><br></div><div>I will sit down and re-read the man pages: thank you for the reminder.</div><div><br></div><div>good to know about the dns servers.</div><div><br></div><div>and thanks or the log statement suggestions.</div><div><br></div><div>A note from Simon Hobson had me understand that the client must ask for the information, so I am going to re-construct my test query to see if the tftp information comes back. But thanks for the suggestions to force options.</div><div><br></div><div>--jason</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 30, 2020 at 6:51 AM Bill Shirley <<a href="mailto:bill@c3po.polymerindustries.biz">bill@c3po.polymerindustries.biz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<p>ISC documentation:
<a href="https://kb.isc.org/docs/isc-dhcp-44-manual-pages-dhcp-options" target="_blank">https://kb.isc.org/docs/isc-dhcp-44-manual-pages-dhcp-options</a><br>
<br>
Looks like your domain-name-servers option is incorrect:<br>
<font color="#804000"><tt>option domain-name-servers 8.8.8.8, <b><font color="#0000ff">8.8</font></b>.4.4;</tt><tt><br>
</tt></font><br>
Add this to your log statement to see the options requested:<br>
<font color="#804000"><tt> " ReqOpt:",
pick-first-value(binary-to-ascii(10, 8, ",", option
dhcp-parameter-request-list), "(none)"),</tt><tt><br>
</tt></font>Make sure the client is requesting option 66. BTW,
if the dhcpd encounters a null<br>
in the log text, it will truncate the rest of the line. That's
why I use 'pick-first-value' a lot.<br>
<br>
If it's not requesting option 66, you might try forcing the
option. I've never used this:<br>
<font color="#804000"><tt>if exists dhcp-parameter-request-list {</tt><tt><br>
</tt><tt># Always send the local-pac-server (252) option
(specified in hexadecimal, ie: 252 = 0xfc)</tt><tt><br>
</tt><tt> option dhcp-parameter-request-list = concat(option
dhcp-parameter-request-list, fc);</tt><tt><br>
</tt><tt>}</tt><tt><br>
</tt></font><br>
I have used this to replace the entire requested option list:<br>
<font color="#804000"><tt>option dhcp-parameter-request-list = 01:
03: 06: 0c: 0f: 1c: 2a;</tt><tt><br>
</tt></font><br>
Bill<br>
</p>
<div>On 7/29/2020 7:45 PM, Jason Brooks
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>Hello Bill, </div>
<div><br>
</div>
<div>At first I didn't understand, but now I do. Once I defined
the pool denying class members, I was able to get ip addresses
in the 192.168.188.range. Thanks!</div>
<div><br>
</div>
<div>I began to run "dhcpd -d" and playing with the log output
to see if my substring statements were even making sense. </div>
<div><br>
</div>
<div>So with the circuit id substring statements, I wasn't
comparing correctly. It's not clear why 3.0.4 worked this
way. I needed the two bytes on the far right side of the
circuit id...thus</div>
<div><br>
</div>
<div>the lines: </div>
<div> "and ( substring (option
agent.circuit-id,2,2)="\x01\x2C" )"</div>
<div>became:</div>
<div> "and ( suffix ( option agent.circuit-id, 4) ="012C" )"<br>
</div>
<div><br>
</div>
<div>note the use of suffix rather than substring and the lack
of "\x" inside the double quotes.</div>
<div><br>
</div>
<div>So my next issue here is in the RegionX-BOOT-CPE-MODELx
class declaration, tftp-server-name is not being returned.
Whereas the boot filename is. Why not? Based on what I found
'tftp-server-name" should correspond to dhcp option 66:
defined in rfc2132.</div>
<div><br>
</div>
<div>I have noticed that it's hard to figure out which isc dhcpd
options map to those defined in the rfcs. I found <a href="http://www.ipamworldwide.com/ipam/isc-dhcpv4-options.html" target="_blank">THIS table</a>, which helps. Is
there a cross-reference like this in the isc dhcpd docs
somewhere?</div>
<div><br>
</div>
<div>Enclosed is my updated, sanitized dhcpd.conf file with your
suggested alterations and a few more of my own.</div>
<div><br>
</div>
<div>Thank you thus far for your time!</div>
<div><br>
</div>
<div>--jason</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Jul 29, 2020 at
11:51 AM Bill Shirley <<a href="mailto:bill@c3po.polymerindustries.biz" target="_blank">bill@c3po.polymerindustries.biz</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<p>So, the DISCOVER is not matching any of your classes.
Define another pool to issue<br>
leases from that doesn't match any class:<br>
<font color="#804000"><tt> pool {</tt><tt><br>
</tt><tt> deny members of
"RegionX-RGMGMT-CPE-MODELx";</tt><tt><br>
</tt><tt> deny members of
"RegionX-BOOT-CPE-MODELx";</tt><tt><br>
</tt><tt> deny members of "RegionX-INET";</tt><tt><br>
</tt><tt> </tt></font></p>
<p><font color="#804000"><tt> deny dynamic bootp
clients;</tt><tt><br>
</tt><tt> authoritative;</tt><tt><br>
</tt><tt> range 192.168.xxx.2 192.168.xxx.15;</tt><tt><br>
</tt><tt> }</tt><tt><br>
</tt></font><br>
This should issue a lease and trigger your 'on commit'
log statement.<br>
<br>
Bill<br>
</p>
<div><br>
</div>
</div>
</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
</blockquote>
</div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/" target="_blank">https://www.isc.org/contact/</a> for more information.
dhcp-users mailing list
<a href="mailto:dhcp-users@lists.isc.org" target="_blank">dhcp-users@lists.isc.org</a>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a>
</pre>
</blockquote>
</div>
_______________________________________________<br>
ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/" rel="noreferrer" target="_blank">https://www.isc.org/contact/</a> for more information.<br>
<br>
dhcp-users mailing list<br>
<a href="mailto:dhcp-users@lists.isc.org" target="_blank">dhcp-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
</blockquote></div></div>