Windows Networking
Cheat sheet · https://pcornel.dk/topic.php?topic=373
Answer
Windows Networking is the operating-system view of adapters, IPv4/IPv6, the TCP/IP stack, addressing, route selection, neighbor resolution, network profiles, NLA, teaming, VLAN handling, MTU and evidence-first connectivity troubleshooting.
Remember
- Windows host networking sits between applications and the external network; a healthy switch/router does not prove the Windows endpoint is configured correctly.
- Route selection starts with the most specific prefix; interface/route metrics only decide among otherwise eligible routes.
- IPv4 ARP and IPv6 Neighbor Discovery populate neighbor state; a route alone does not prove a usable Layer-2 next hop.
- Network category/profile and Network Location Awareness influence policy such as firewall behavior, but they do not create IP connectivity.
- End-to-end proof requires application/socket, local stack, route, neighbor, egress, return path and remote-service evidence.
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
adapter up → IP config → gateway/route → remote host → port → name
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 evidence chain
| Boundary | Question | Evidence | Does not prove |
|---|---|---|---|
| Definition | What is configured or intended? | running configuration / controller policy | live operation |
| Local state | Is the feature active at the expected scope? | Get-NetIPConfiguration | remote success |
| Counters | Did controlled traffic or an event reach this stage? | scoped counters/timestamps | complete return path |
| Next boundary | What consumes or transports this state? | computer/domain context → effective policy/configuration → role/service → dependency/replication/network → event evidence → user/service outcome | application success |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=373