ISC DHCP logging - different file for each subnet/pool

Fleming, Tony t.fleming at tcu.edu
Fri Jun 2 13:11:20 UTC 2017


Can someone point me to a resource or provide a configuration example of how to log dhcp transaction (request/release/renew...) for each of the defined subnet/pools to separate files?

For example:
Shared-network "Faculty"
                Subnet 10.10.10.0 netmask 255.255.255.0 {
                                Option x
                                Option y
                                Range...
                }
Shared-network "Student"
                Subnet 10.10.20.0 netmask 255.255.255.0 {
                                Option x
                                Option y
                                Range ...
                }

Ideally it would be nice to log these transaction to:
/var/log/dhcp/dhcp-faculty.log
/var/log/dhcp/dhcp-student.log
...

Any pointers are much appreciated!

Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20170602/97837ca4/attachment.html>


More information about the dhcp-users mailing list