Pcornel
Windows · DHCP Server

Scopes

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

Back to the Topic

Answer

A Windows DHCP scope defines the subnet-specific lease space, lease duration and scope-level configuration from which DHCP clients are served.

Remember

  • Each subnet needs an appropriate scope; relay information can drive remote-subnet scope selection.
  • Scope active ≠ free addresses remain.
  • Scope range, exclusions, reservations and options are separate components.
  • A scope can be healthy while a relay/path prevents client requests from reaching it.

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

scope = subnet range + options

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 → Scopes reference map

BoundaryMeaningEvidence limit
SubnetClient network identityDoes not prove server sees it
Scope matchServer selects scopeNo free-address proof
ActiveScope can serve leasesNo packet-path proof
LeaseAllocation recordedNo client apply proof

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

Confirmation

Confirm action

Continue?