IP Configuration
Cheat sheet · https://pcornel.dk/topic.php?topic=3064
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 interfaceGet-NetAdapter— adapters, status and link speedGet-NetRoute -AddressFamily IPv4— routes and metricsTest-NetConnection <host> -Port <p>— ping, route and TCP port testipconfig /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
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Address/prefix | Interface identity and local prefix | must match intended network |
| Gateway | Default-route next hop | not used for every destination |
| DNS servers | Resolver targets | not proof of resolution |
| Source | Static/dynamic provenance | runtime may outlive source event |
| Effective state | Current stack configuration | must 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