Network Adapters
Cheat sheet · https://pcornel.dk/topic.php?topic=3060
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 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
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
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Device/driver | Hardware or virtual device realization | can exist while disabled/faulted |
| Operational status | Link/interface readiness | not IP reachability |
| Interface index | Stable session identifier for many APIs | can differ after rebuild/reinstall |
| Bindings | Protocols/components attached | misbinding can affect stack behavior |
| Metric | Preference input | not 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