Log Statement: How to log offered Lease Time?

Niall O'Reilly niall.oreilly at ucd.ie
Thu Jan 18 15:52:46 UTC 2018


On 18 Jan 2018, at 7:52, iftech at skynet.be wrote:

> It looks like we cannot log info from an OFFER or an ACK ?

Here's a snippet from my log file.

Jan 17 21:48:43 sock dhcpd: DHCPDISCOVER from 78:31:c1:ec:a2:c6 (MacBook-Pro) via 10.0.1.1
Jan 17 21:48:44 sock dhcpd: DHCPOFFER on 10.0.1.162 to 78:31:c1:ec:a2:c6 (MacBook-Pro) via 10.0.1.1
Jan 17 21:48:45 sock dhcpd: DHCPNETMON 43200 78:31:c1:ec:a2:c6 10.0.1.162 (--) dynamic
Jan 17 21:48:45 sock dhcpd: DHCPREQUEST for 10.0.1.162 (10.0.0.14) from 78:31:c1:ec:a2:c6 (MacBook-Pro) via 10.0.1.1
Jan 17 21:48:45 sock dhcpd: DHCPACK on 10.0.1.162 to 78:31:c1:ec:a2:c6 (MacBook-Pro) via 10.0.1.1

If this looks lke what you need, the recipe, thanks to Frank Sweetser, is here:
http://dhcp-users.isc.narkive.com/9xDkoWm2/successful-lease-event-trigger#post5

Best regards,
Niall O'Reilly
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 903 bytes
Desc: OpenPGP digital signature
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20180118/0f7dcd74/attachment.bin>


More information about the dhcp-users mailing list