Use this on a Windows client to read its addressing with ipconfig /all, check the route table with route print, and test the gateway and DNS with ping and Resolve-DnsName.
Windows
On Windows, verify client addressing with ipconfig /all (address, mask, gateway, DNS, DHCP lease), then ping the gateway and test name resolution with nslookup or Resolve-DnsName.
1. Verify Windows client IP config.
2. 169.254.x.x means DHCP failed (APIPA).
3. Check gateway and DNS servers.
4. Test ping gateway, remote, name.
5. ipconfig /renew and /flushdns when needed.
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
ipconfigPrimary Commands
Configuration and operational commands for this Topic.
ipconfigReferenceDisplay IP configuration of Windows network adapters.
Windows / PowerShell · mixedipconfig /allReferenceDisplay full IP configuration including DNS, DHCP and MAC addresses.
Windows / PowerShell · mixedipconfig /releaseReferenceRelease the DHCP lease on Windows adapters.
Windows / PowerShell · mixedipconfig /renewReferenceRenew the DHCP lease on Windows adapters.
Windows / PowerShell · mixedarp -aReferenceDisplay the ARP cache on Windows.
Windows / PowerShell · mixedroute printReferenceDisplay the Windows routing table.
Windows / PowerShell · mixedpingTroubleshootSend ICMP echo requests from Windows.
Use when: Use at the Network Troubleshooting, Ping, Traceroute and Debugging boundary after prerequisite state is verified.
Quick note: Operational guidance. One successful probe does not prove all sources, packet sizes, protocols, directions or times are healthy.
Windows / PowerShell · mixedtracertTroubleshootTrace the path to a destination from Windows.
Windows / PowerShell · mixednslookupTroubleshootQuery DNS servers from Windows.
Windows / PowerShell · mixedVerification & 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
- Reading the adapter you are not using (VPN or virtual adapters).
- Ignoring an APIPA 169.254.x.x address, which means DHCP failed.
ReferenceHow it works1 section · depth on demand
What to read
ipconfig /all shows address, mask, default gateway, DNS servers, DHCP server and lease time per adapter. An address in 169.254.0.0/16 (APIPA) means DHCP failed. A missing default gateway explains why local hosts work but nothing else does. Use Test-NetConnection and Resolve-DnsName to test each step separately.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
Verifying IP on Windows
On Windows, ipconfig is the first tool. Microsoft's documentation describes ipconfig /all as showing the full TCP/IP configuration for every adapter, and notes that it shows whether settings came from DHCP, Automatic Private IP Addressing (APIPA) or an alternate configuration; /renew and /release handle the DHCP lease, and /flushdns and /displaydns manage the DNS client cache.
ipconfig parameters (Microsoft)
| Parameter | Effect |
|---|---|
/all | Full configuration of all adapters |
/renew [adapter] | Renew the DHCP configuration |
/release [adapter] | Release the DHCP lease (disables TCP/IP on that adapter until renewed) |
/renew6, /release6 | Same for DHCPv6 |
/flushdns | Clear the DNS resolver cache (including negative entries) |
/displaydns | Show cached DNS entries, including hosts-file entries |
/registerdns | Re-register the computer's names in DNS |
Adapter names with spaces need quotes; * works as a wildcard.
C:\> ipconfig /all
Ethernet adapter Ethernet:
Description . . . . . . . . . . . : Intel(R) Ethernet Connection I219-LM
Physical Address. . . . . . . . . : 50-54-00-12-34-56
DHCP Enabled. . . . . . . . . . . : Yes
IPv4 Address. . . . . . . . . . . : 10.110.0.64(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.110.0.1
DHCP Server . . . . . . . . . . . : 10.20.0.10
DNS Servers . . . . . . . . . . . : 10.20.0.53
C:\> ipconfig /release "Ethernet" & ipconfig /renew "Ethernet"
C:\> ipconfig /flushdns
PS> Get-NetIPConfiguration -InterfaceAlias Ethernet
PS> Test-NetConnection 10.30.0.15 -Port 443
ComputerName : 10.30.0.15
RemotePort : 443
TcpTestSucceeded : True
PS> Resolve-DnsName intranet.example.net
Interpreting results
| Observation | Meaning |
|---|---|
| Autoconfiguration IPv4 address 169.254.x.x | APIPA: no DHCP response |
| "Media disconnected" | No link |
| Duplicate address warning | Another device has the address |
| Correct IP, failing names | DNS server or suffix problem; check /displaydns |
Test-NetConnection with -Port tests the actual service, which ping can't, especially where ICMP is filtered.
Documented example, not captured output.
Quick reference
On Windows, PowerShell gives the most complete view of the network stack. Get-NetIPConfiguration shows address, gateway and DNS per adapter, Test-NetConnection combines ping, route and TCP-port testing, and Resolve-DnsName shows exactly which records a name returns. The legacy ipconfig commands are still useful for quick renew and flush operations.
Windows client verification:
ipconfig /all
Get-NetIPConfiguration -Detailed
Get-NetRoute -DestinationPrefix 0.0.0.0/0
Test-NetConnection 10.0.20.1
Test-NetConnection intranet.corp.example.com -Port 443
Resolve-DnsName intranet.corp.example.com
ipconfig /release; ipconfig /renew; ipconfig /flushdns
Check the network profile (Domain/Private/Public) with Get-NetConnectionProfile — it changes which firewall rules apply.
ReferenceConfiguration & state1 section · depth on demand
Commands
ipconfig /all # address, mask, gateway, DNS, DHCP server and lease
Get-NetIPConfiguration
Test-NetConnection 10.10.20.1 # gateway reachable?
Test-NetConnection www.example.com -Port 443
Resolve-DnsName www.example.com
route print -4
169.254.x.x means no DHCP answer; a correct address but no gateway reply points to VLAN/switch; gateway OK but names fail points to DNS.
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 Fundamentals → Client IP Verification → Windows. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%