<div dir="ltr">Looks like you could add "if exists <span style="color:rgb(0,0,0);font-size:12.7272720336914px">leased-address" to the "if exists </span><span style="color:rgb(0,0,0);font-size:12.7272720336914px">agent.circuit-id" logic.</span><div class="gmail_extra"><div><div class="gmail_signature"><br>-- <br>Bob Harold<br><br></div></div>
<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">...<br>
I'm guessing its harmless, but would like to know if there is something I can do<br>
to make it go away?<br>
<br>
-> -----Original Message-----<br>
-> From: <a href="mailto:dhcp-users-bounces@lists.isc.org">dhcp-users-bounces@lists.isc.org</a> [mailto:<a href="mailto:dhcp-users-">dhcp-users-</a><br>
-> <a href="mailto:bounces@lists.isc.org">bounces@lists.isc.org</a>] On Behalf Of Keith<br>
-> Sent: Wednesday, January 21, 2015 9:30 AM<br>
-> To: <a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>
-> Subject: Log messages<br>
-><br>
-> We recently started using Option 82 on our dslams.<br>
-><br>
-> I first turned it on for a few of them the first week of Jan.<br>
-><br>
-> Using this in the subnet declaration:<br>
-><br>
-> if exists agent.circuit-id {<br>
->         log ( error, concat( "Lease for ", binary-to-ascii (10, 8, ".",<br>
leased-address), "<br>
-> is connected to ", option agent.circuit-id));<br>
->         }<br>
-><br>
-> will generate this line in Dhcpd.log:<br>
-><br>
-> Lease for 69.176.181.162 is connected to<br>
-> Shelf-14-30:1/1:0.35:VLAN=1:ifIndex=1003001<br>
-><br>
-> Something I did not notice for some reason until today is a log line that is<br>
-> appearing:<br>
-><br>
-> dhcpd: data: "leased-address" configuration directive: there is no lease<br>
-> associated with this client<br>
-><br>
-> I can't tell where its coming from.<br>
-><br>
-> DHCPDISCOVER from 00:16:b6:80:b5:13 (tc-e4f6ed2f5b87) via 69.176.179.1 Jan 21<br>
-> 09:18:20 netreg1 dhcpd: DHCPOFFER on 69.176.179.166 to 00:16:b6:80:b5:13 via<br>
-> 69.176.179.1 Jan 21 09:18:20 netreg1 dhcpd: DHCPREQUEST for 69.176.179.166<br>
-> (209.145.111.37) from 00:16:b6:80:b5:13 via 69.176.179.1 Jan 21 09:18:20<br>
netreg1<br>
-> dhcpd: DHCPACK on 69.176.179.166 to 00:16:b6:80:b5:13 via 69.176.179.1 Jan 21<br>
-> 09:18:33 netreg1 dhcpd: data: "leased-address" configuration directive:<br>
-> there is no lease associated with this client.<br>
-> Jan 21 09:18:33 netreg1 dhcpd: DHCPINFORM from 69.176.180.150 via<br>
-> 69.176.180.1 Jan 21 09:18:33 netreg1 dhcpd: DHCPACK to 69.176.180.150<br>
-> (e0:69:95:77:5c:98) via<br>
-> bce0<br>
-> Jan 21 09:18:42 netreg1 dhcpd: DHCPDISCOVER from 44:6d:57:56:3f:4f (Gerry-<br>
-> HP) via 69.176.178.1 Jan 21 09:18:43 netreg1 dhcpd: DHCPOFFER on<br>
69.176.178.90<br>
-> to 44:6d:57:56:3f:4f<br>
-> (Gerry-HP) via 69.176.178.1<br>
-><br>
-> A little snip of the log file, is this being generated from the<br>
69.176.180.150 lease<br>
-> or the 69.176.179.166 lease?<br>
-><br>
-> The 69.176.180.0 network has option 82 enabled, but the 69.176.179 network<br>
-> does not. And looking how the option 82 info comes through this appears to be<br>
-> from the 69.176.180 network.<br>
-><br>
-> The "leased-address" log entry has me wondering. It didn't appear before<br>
-> enabling option 82 as I went back in my logs looking.<br>
-><br>
-> There is a leased address for both IP addresses in Dhcpd.leases.<br>
-><br>
-> As far as I can tell dhcp is working ok. Where is this log entry coming from<br>
and is<br>
-> this something to be concerned about?<br>
-><br>
-> Thanks,<br>
-> Keith<br>
-><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" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
<div class="HOEnZb"><div class="h5"><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" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
</div></div></blockquote></div><br></div></div>