Pcornel
Windows

DHCP Server

Cheat sheet · https://pcornel.dk/topic.php?topic=374

Back to the Topic

Answer

Windows DHCP Server is the Windows Server role that dynamically leases IPv4/IPv6 configuration and options to clients, with Windows-specific scope, authorization, failover and DNS-update integration.

Remember

  • Service running ≠ authorized/usable in a domain environment.
  • Scope active ≠ addresses available.
  • Lease issued ≠ client has correct gateway/DNS/application connectivity.
  • DHCP failover protects DHCPv4 lease service between two partners; it is not generic clustering and does not cover DHCPv6.

First checks

  • Get-DhcpServerv4Scope — scopes and state
  • Get-DhcpServerv4ScopeStatistics — use per scope
  • Get-DhcpServerv4Lease -ScopeId <id> — leases
  • Get-DhcpServerInDC — authorised DHCP servers
  • Get-WinEvent -LogName Microsoft-Windows-DHCP-Server/Operational -MaxEvents 30 — server events

Verify in this order

DISCOVER (relay) → scope by giaddr → OFFER → REQUEST → ACK

Where it usually breaks

First mismatch in host/interface identity → local config/routing/name state → Windows service/provider → firewall/security/session → remote service → application-visible exchange; preserve identity/native error/pre-state before mutation.

DHCP Server evidence chain

BoundaryQuestionEvidenceDoes not prove
DefinitionWhat is configured or intended?running configuration / controller policylive operation
Local stateIs the feature active at the expected scope?Get-DhcpServerv4Scoperemote success
CountersDid controlled traffic or an event reach this stage?scoped counters/timestampscomplete return path
Next boundaryWhat consumes or transports this state?computer/domain context → effective policy/configuration → role/service → dependency/replication/network → event evidence → user/service outcomeapplication success

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=374

Confirmation

Confirm action

Continue?