<div dir="ltr"><div>Hi List, I hope it's OK to post here.</div><div><br></div><div>I'm hoping someone here can help as I haven't had much luck searching on this topic.</div><div><br></div><div>I need a way to log more information when a host does a DHCPDISCOVER, specifically I'm looking to log the client DUID as well as things like agent.circuit-id and dhcp6.client-linklayer-addr.</div><div><br></div><div>For example, if I don't have a configuration to hand out an address the only logging I see is:</div><div><br></div><div>Apr  2 08:00:53 hostname dhcpd: Server starting service.</div><div>Apr  2 08:02:41 hostname dhcpd: Relay-forward message from 2001:db8:100:820::1 port 547, link address 2001:db8:100:827::1, peer address fe80::adc9:3fcb:b531:d4fa<br></div><div>Apr  2 08:02:41 hostname dhcpd: Sending Relay-reply to 2001:db8:100:820::1 port 547</div><div><br></div><div>This doesn't work for an environment where DHCPv6 is used to only respond to known hosts with fixed-address6 statements as it makes determining if a client is unknown difficult.</div><div><br></div><div>Is there a configuration directive to trigger a "log" statement for these?  I've tried placing log at the global and subnet6 levels in dhcpd.conf with no luck.  </div><div><br></div><div>Another option would be support for an "on_discover" target similar to "on_commit".</div><div><br></div><div>If neither is supported, has anyone written a patch to do something similar?  The goal is to bring DHCPv6 to the same level as DHCP for IPv4 for our in-house IPAM, but the lack of logging is a problem.</div><div><br></div><div>I'm testing with a freshly built 4.3.2</div><div><br></div><div><br></div><div><br></div>-- <br><div class="gmail_signature">Ray Patrick Soucy<br>Network Engineer<br>University of Maine System<br><br>T: 207-561-3526<br>F: 207-561-3531<br><br>MaineREN, Maine's Research and Education Network<br><a href="http://www.maineren.net" target="_blank">www.maineren.net</a></div>
</div>