Pcornel
Windows · Windows Networking

IP Configuration

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

Back to the Topic

Answer

Windows IP Configuration is the effective per-interface addressing state: IPv4/IPv6 addresses and prefixes, gateways/routes, DNS-server assignments and whether values came from static configuration or dynamic mechanisms.

Remember

  • Configured settings and effective runtime settings are separate evidence.
  • Address, prefix and gateway must be evaluated together on the correct interface.
  • Multiple addresses/default routes can be valid; route selection is destination-specific.
  • DNS-server addresses are resolver configuration, not proof those servers respond correctly.
  • Changing IP configuration can invalidate existing neighbor/routes/sessions and should be verified afterward.

First checks

  • Get-NetIPConfiguration — addresses, gateway and DNS per interface
  • Get-NetAdapter — adapters, status and link speed
  • Get-NetRoute -AddressFamily IPv4 — routes and metrics
  • Test-NetConnection <host> -Port <p> — ping, route and TCP port test
  • ipconfig /all — full IP configuration

Verify in this order

interface → address/prefix → gateway → DNS → metrics

Where it usually breaks

First mismatch in host/interface identity → local config/routing/name state → Windows service/provider → firewall/security/session → remote service → application-visible exchange; preserve identity/native error/pre-state before mutation.

Windows Networking → IP Configuration reference map

BoundaryMeaningEvidence limit
Address/prefixInterface identity and local prefixmust match intended network
GatewayDefault-route next hopnot used for every destination
DNS serversResolver targetsnot proof of resolution
SourceStatic/dynamic provenanceruntime may outlive source event
Effective stateCurrent stack configurationmust be tested end-to-end

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

Confirmation

Confirm action

Continue?