Pcornel
Networking · IP Fundamentals › Client IP Verification

Windows

Cheat sheet · https://pcornel.dk/topic.php?topic=574

Back to the Topic

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.

First checks

  • ipconfig /all — address, gateway, DNS, DHCP lease
  • Get-NetIPConfiguration — PowerShell view
  • Test-NetConnection <host> -Port 443 — TCP reachability
  • Resolve-DnsName <name> — DNS

Commands

ipconfig
Display IP configuration of Windows network adapters.
ipconfig /all
Display full IP configuration including DNS, DHCP and MAC addresses.
ipconfig /release
Release the DHCP lease on Windows adapters.
ipconfig /renew
Renew the DHCP lease on Windows adapters.
arp -a
Display the ARP cache on Windows.
route print
Display the Windows routing table.
ping
Send ICMP echo requests from Windows.
tracert
Trace the path to a destination from Windows.
nslookup
Query DNS servers from Windows.

Verify in this order

address → gateway → ARP → remote IP → DNS

Where it usually breaks

physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=574

Confirmation

Confirm action

Continue?