DHCP Server Troubleshooting
Cheat sheet · https://pcornel.dk/topic.php?topic=3310
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 stateGet-DhcpServerv4ScopeStatistics— use per scopeGet-DhcpServerv4Lease -ScopeId <id>— leasesGet-DhcpServerInDC— authorised DHCP serversGet-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
| Boundary | Meaning | Evidence limit |
|---|---|---|
| No DISCOVER at server | Path/relay boundary candidate | Not server scope proof |
| No OFFER | Server eligibility/scope/pool/policy candidate | Need server events/state |
| ACK | Server completed lease decision | No client apply proof |
| Correct client config | DHCP path healthy | Network 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