DHCP Server Role
Cheat sheet · https://pcornel.dk/topic.php?topic=3301
Answer
The DHCP Server role installs the Windows DHCP service and management interfaces used to define scopes, leases, options, policies, authorization and failover relationships.
Remember
- Role installed ≠ service started.
- Service started ≠ domain authorization.
- Authorized service ≠ active scope for client subnet.
- Active scope ≠ relay/client packets reach the server.
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
role installed → authorised → bound to interfaces → serving
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 Role reference map
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Installed | Capability exists | No service proof |
| Running | Service active | No authorization proof |
| Authorized | Allowed in AD domain | No scope/path proof |
| Leasing | Client transaction succeeds | No downstream connectivity proof |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3301