Use this when a Windows client gets no or wrong DHCP lease.
DHCP Client
The Windows DHCP client requests an address, mask, gateway, DNS servers and other options from a DHCP server and renews the lease. Use ipconfig /release and /renew; 169.254.x.x means no DHCP answer.
1. ipconfig /all — DHCP Enabled, lease, DHCP server.
2. 169.254 → no offer: ipconfig /renew and check the DHCP server/relay.
3. Event log Microsoft-Windows-Dhcp-Client.
4. Capture: pktmon or Wireshark for DORA.
5. Reservation correct?
DISCOVER → OFFER → REQUEST → ACK → address, gateway, DNS
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Common mistakes Narrow the fault
- Releasing DHCP remotely and losing the session.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- 169.254.x.x means no DHCP server answered.
- ipconfig /renew tests the exchange again.
- Scope options supply gateway and DNS.
Get-NetIPConfiguration— addresses, gateway and DNS per interfaceGet-NetAdapter— adapters, status and link speedGet-NetRoute -AddressFamily IPv4— routes and metricsTest-NetConnection <host> -Port <p>— ping, route and TCP port testipconfig /all— full IP configurationGet-NetIPInterface | Select InterfaceAlias,AddressFamily,Dhcp,InterfaceMetric— DHCP state and metric per interface
ReferenceHow it works1 section · depth on demand
Windows internal processing path
The key focus is DHCP client state, adapter binding, discover/offer/request/ack, lease timers, route/DNS option application and effective interface state. The DHCP client binds to an adapter and negotiates lease state through DORA/renew/rebind semantics, then applies address, prefix, gateway, DNS and related options to effective interface configuration. ACK receipt does not show routes/DNS/application connectivity are valid.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
The DHCP client service (Dhcp) obtains leases (DORA: Discover, Offer, Request, Ack), renews at 50 % of the lease, rebinds at 87.5 % and also performs DNS dynamic updates for the client.
ipconfig /all | findstr /i "Lease DHCP"
ipconfig /release; ipconfig /renew
Get-WinEvent -LogName Microsoft-Windows-Dhcp-Client/Admin -MaxEvents 20
If the DHCP server is unreachable, Windows keeps a valid lease until expiry, then falls back to APIPA (169.254/16) or an alternate configuration. Do not disable the DHCP Client service on static hosts — it also handles DNS registration.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in IP Configuration → DHCP Client. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows-server/networking/ · confidence 94%