Information Technology Grimoire

Version .0.0.1

IT Notes from various projects because I forget, and hopefully they help you too.

DHCP

Which Server is handling DHCP?

  • DHCP Discover (broadcast sent by client)
  • DHCP Offer (unicast returned by server)
  • DHCP Request (unicast of request to use offer)
  • DHCP Ack (server gives ACK for this ip)

DHCP Server Status

net start | findstr DHCP

Duplicate IP hardcoded?

(arp table, network logs, router reservations)

Relay Agent Status

Ping relay agent IP from DHCP server (if using relay agent)

DHCP server listening?

netstat -anot | findstr  /R ":68 :67"

DHCP Application Logs

Applications and Services Logs > Microsoft > Windows > DHCP-Server

DHCP Server Logs

%windir%\System32\Dhcp

DHCP Configurations and Scopes

(review the IP and configs)

PS C:\> Export-DhcpServer -ComputerName "dhcp.some.com" -File "C:\exportdir\dhcpexport.xml"
PS C:\> Export-DhcpServer -ComputerName "dhcp.some.com" -File "C:\exportdir\dhcpexport.xml" -ScopeId 10.10.10.0,10.20.20.0