Pcornel
Windows

Windows Networking

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

Back to the Topic

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

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

BoundaryQuestionEvidenceDoes not prove
DefinitionWhat is configured or intended?running configuration / controller policylive operation
Local stateIs the feature active at the expected scope?Get-NetIPConfigurationremote success
CountersDid controlled traffic or an event reach this stage?scoped counters/timestampscomplete return path
Next boundaryWhat consumes or transports this state?computer/domain context → effective policy/configuration → role/service → dependency/replication/network → event evidence → user/service outcomeapplication success

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

Confirmation

Confirm action

Continue?