DHCP Options
Cheat sheet · https://pcornel.dk/topic.php?topic=3306
Answer
DHCP options deliver configuration beyond the leased address, such as router/default gateway, DNS servers, DNS domain and other standard or class/policy-specific values.
Remember
- Lease success and option correctness are separate.
- Server-level and scope-level values can differ; reservation/class/policy context can further affect effective options.
- Configured option ≠ client requested/accepted/applied it.
- A correct option value can still point to an unhealthy dependency.
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
Verify in this order
server options → scope options → reservation options → client
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 Options reference map
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Configured | Option value exists in a context | Not effective-client proof |
| Sent | Reply contains option | Not client-apply proof |
| Applied | Client effective setting matches | Dependency can still fail |
| Dependency | Gateway/DNS works | End-to-end for that dependency |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3306