My network serves DHCP through a Windows 2022 server. I would like to log the MAC addresses of all devices that acquire an IP address through this DHCP server. I have installed the IPAM role in the server, but I don't understand how to activate the logging. The server is standalone; it does not use Active Directory and it's not connected to a domain.
Windows – How to Log MAC Addresses of Devices Acquiring IP via DHCP
dhcpipamwindows
Related Topic
- Windows Server DHCP assignment based on MAC of client
- Windows – Microsoft Windows DHCP: Steering IPv4 clients into specific scopes based on MAC
- Windows Server 2012 DHCP and OSX Devices
- DHCP reservations for a range of MAC addresses
- Windows – Why does a DHCP server need a static IP address
- Incorrect DHCP ID (MAC address) listed for clients on Windows 2012 Server
Best Answer
Powershell can do this for you.
In the output of this function, you will find the MAC address of the clients and the status of the leases as additional information.
This is for real time information.
You can view the logs of past events (once audit logging is enabled) via these steps:
To enable enhanced DHCP logging, perform the following steps:
Lots of good information on DHCP audit logs here.