Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Windows

Direct answer

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.

When to use this

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.

First 30 seconds

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.

Operational verification

address → gateway → ARP → remote IP → DNS

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Cisco IOS / IOS XE
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCisco IOS / IOS XE · Windows / PowerShell
Key commandipconfig
Scope / prerequisiteUse this on a Windows client to read its addressing with ipconfig /all, check the route table with route print, and tes…
Troubleshoot · 3Reference · 6
What next?3 suggested next steps
Catalog command links9
Evidence0
On this pageJump to a specific section
Cisco IOS / IOS XE first

Primary Commands

Configuration and operational commands for this Topic.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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.
Command lookup Jump straight to Cisco syntax
Key checks
  • ipconfig /all — address, gateway, DNS, DHCP lease
  • Get-NetIPConfiguration — PowerShell view
  • Test-NetConnection <host> -Port 443 — TCP reachability
  • Resolve-DnsName <name> — DNS
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)

ParameterEffect
/allFull 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, /release6Same for DHCPv6
/flushdnsClear the DNS resolver cache (including negative entries)
/displaydnsShow cached DNS entries, including hosts-file entries
/registerdnsRe-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

ObservationMeaning
Autoconfiguration IPv4 address 169.254.x.xAPIPA: no DHCP response
"Media disconnected"No link
Duplicate address warningAnother device has the address
Correct IP, failing namesDNS 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
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
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

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%
Confirmation

Confirm action

Continue?