Windows · DHCP Server
Scopes
Cheat sheet · https://pcornel.dk/topic.php?topic=3302
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 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
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
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Subnet | Client network identity | Does not prove server sees it |
| Scope match | Server selects scope | No free-address proof |
| Active | Scope can serve leases | No packet-path proof |
| Lease | Allocation recorded | No 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