Pcornel
Windows · DHCP Server

DHCP Options

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

Back to the Topic

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 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

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

BoundaryMeaningEvidence limit
ConfiguredOption value exists in a contextNot effective-client proof
SentReply contains optionNot client-apply proof
AppliedClient effective setting matchesDependency can still fail
DependencyGateway/DNS worksEnd-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

Confirmation

Confirm action

Continue?