Subscribe to Windows IT Pro
August 13, 2001 12:00 AM

How do I enable DHCP server logging?

Windows IT Pro
InstantDoc ID #22124
Rating: (5)

A. To enable enhanced DHCP logging, perform the following steps:

  1. Start the DHCP administration tool (go to Start, Programs, Administrative Tools, and click DHCP).
  2. Right-click the DHCP server, and select Properties from the context menu.
  3. Select the General tab.
  4. Select the "Enable DHCP audit logging" check box.


  5. Click here to view image

  6. Click OK.
Windows 2000 will now create a DHCP log file in the %systemroot%\system32\dhcp directory for each day using a DhcpSrvLog.XXX file format.

Common audit codes that might appear in the log include

  • 00—The log was started.
  • 01—The log was stopped.
  • 02—The log was temporarily paused due to low disk space.
  • 10—A new IP address was leased to a client.
  • 11—A lease was renewed by a client.
  • 12—A lease was released by a client.
  • 13—An IP address was found to be in use on the network.
  • 14—A lease request could not be satisfied because the scope's address pool was exhausted.
  • 15—A lease was denied.
  • 16—A lease was deleted.
  • 17—A lease was expired.
  • 20—A BOOTP address was leased to a client.
  • 21—A dynamic BOOTP address was leased to a client.
  • 22—A BOOTP request could not be satisfied because the scope's address pool for BOOTP was exhausted.
  • 23—A BOOTP IP address was deleted after verifying that it wasn't in use.
The DHCP Server uses codes above 50 for Rogue Server Detection information.

Related Content:

ARTICLE TOOLS

Comments
  • jowell_09
    7 years ago
    Dec 14, 2005

    Hi,

    I have windows 2000 pro and recently reverted back to dialup (temporarily). I'm interested in DHCP but don't see the DHCP in administrative tools. I do see it listed under "services" and it says "started".

    How can I enable it?

    Thanks.

  • Anonymous User
    7 years ago
    Aug 05, 2005

    Hi,

    I have windows 2000 pro and recently reverted back to dialup (temporarily). I'm interested in DHCP but don't see the DHCP in administrative tools. I do see it listed under "services" and it says "started".

    How can I enable it?

    Thanks.

  • Anonymous User
    7 years ago
    Jun 06, 2005

    Is it possible to make Windows keep a dhcp log of not just a week but a continuously updated list of all dhcp activity?
    Ta!

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.