Pcornel
Windows · DHCP Server

DHCP Server Troubleshooting

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

Back to the Topic

Answer

DHCP Server troubleshooting follows a client's request: does it reach the server (directly or via a relay), is the server authorised and running, does the right scope have free addresses, and are reservations, options and failover configured correctly.

Remember

  • No address can mean no request path, unauthorized service, no matching active scope, exhausted pool or policy/reservation mismatch.
  • A lease can be correct while options are wrong.
  • Correct server lease/options can still fail at client apply or downstream DNS/gateway.
  • Failover adds partner state and synchronization boundaries but does not remove relay/network dependencies.

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

Commands

Get-DhcpServerv4Scope
Read current DHCP Server state for a bounded verification step.
Get-DhcpServerv4Lease -ScopeId <scope-id>
Read-only observation for lease address, client identity, state and expiry.
Get-DhcpServerv4Failover
Read-only observation for failover relationship state and partner configuration.
ip helper-address

Verify in this order

client → relay → server → scope → lease

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 → DHCP Server Troubleshooting reference map

BoundaryMeaningEvidence limit
No DISCOVER at serverPath/relay boundary candidateNot server scope proof
No OFFERServer eligibility/scope/pool/policy candidateNeed server events/state
ACKServer completed lease decisionNo client apply proof
Correct client configDHCP path healthyNetwork dependencies still separate

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

Confirmation

Confirm action

Continue?