TopicIT Networking →
⌚ About 2 min read
This guide allows you to quickly identify why a Windows station does not get a DHCP lease.
Avant de commencer : adaptez toujours les commandes et manipulations à votre environnement. Sur un système de production, prévoyez une backup ou un retour arrière lorsque l’action peut modifier la configuration.
Étapes à suivre
-
1
Read IP configuration
Use ipconfig /all and donate interface, DHCP, gateway and DNS.
-
2
Compare the network
Test another post on the same port or SSID.
-
3
Check DHCP
Controls the pulse, the relay and server availability.
-
4
Renew
After correction, release and renew the lease.
Commands utiles
ipconfig /all.
ipconfig / ipconfig / ipconfig / ipconfig / ipconfig / ipconfig / ipconfig / ipconfig / ipconfig / ipconfig / ipconfig / ipconfig / ipconfig / ipconffi / ipconffi / ipconffi / ipconffi / ipconffi / ipconffi / ipconffi / ipconffi / ipconffi / ipconffi / ipconffi / ipconffi / ipconffi / ipconffi / ipconffi / ipconffi / ipconffi / ipconffi / ipconffi / ipconffi / ipconffi / ipconffi / ipconffi / ipconffi / ipconffi / ipconffi / ipconffi / ipconffi / ipconffi / ipconffi / ipconffi / ipconffi / ipconffi / ipconfconffi / ipconfconffi / ipconffi / ipconfconffi / ipconffi / ipconffi / ipconffi / ipconffi / ipconffi / ipconffi / ipconf_________________________________________________________________________________________________________________________________________________________________________________________________________________________________
ipconfig /renew.
À retenir
- An address 169.254.x.x is a symptom, not the cause.
- Do not force a static IP until you have understood the DHCP defect.
Windows addressing: useful reference points
Technical checkpoints
- An address in 169.254.0.0/16 is APIPA: Windows did not obtain a usable DHCP lease.
- Read address, mask, gateway and DNS together: a correct IP with a wrong gateway or DNS is still a broken configuration.
- Get-NetIPConfiguration gives a structured per-interface view; ipconfig /all remains useful for DHCP lease, DNS suffix and physical address.
Example check
Compare the active adapter, DHCP origin, gateway and DNS before renewing the lease.
Get-NetIPConfiguration
ipconfig /allTopic-specific pitfalls
- Renewing DHCP does not fix a wrong VLAN
- A virtual or VPN adapter can appear before the interface actually in use: check InterfaceAlias and the default route.
How to validate
- The address belongs to the expected subnet and no APIPA is present on the interface in use.
- Gateway, DNS and DHCP lease match the expected network; the test is repeated after any change.