Pcornel
Windows · Windows Networking

Network Adapters

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

Back to the Topic

Answer

Network Adapters are Windows network-interface instances backed by physical, virtual or software devices, with driver state, link state, addresses, bindings, metrics and offload capabilities that together form the local attachment point.

Remember

  • Adapter presence is not link proof; link is not IP proof.
  • A Windows interface has both device/driver identity and TCP/IP interface state.
  • Physical and virtual adapters can coexist and compete for route selection.
  • Interface metric contributes to route preference only after prefix eligibility is established.
  • Offloads and driver features can affect captures/performance without changing basic addressing.

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

Commands

Get-NetAdapter [-Name <name>]
Display Windows adapter state.
Get-NetAdapter
Adapter link/admin state and interface identity.
Get-NetAdapterStatistics
Adapter byte/error/discard counters.
Get-NetAdapter | Sort-Object ifIndex
Lists Windows network adapters, status, link speed and indices.

Verify in this order

driver loaded → adapter up → link negotiated → bound protocols

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 → Network Adapters reference map

BoundaryMeaningEvidence limit
Device/driverHardware or virtual device realizationcan exist while disabled/faulted
Operational statusLink/interface readinessnot IP reachability
Interface indexStable session identifier for many APIscan differ after rebuild/reinstall
BindingsProtocols/components attachedmisbinding can affect stack behavior
MetricPreference inputnot used before prefix match

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

Confirmation

Confirm action

Continue?