Use it when a Windows host cannot reach a network, or reaches it through the wrong interface or gateway.
Routing Troubleshooting
Routing troubleshooting on Windows: read the routing decision for the destination, compare it with what is intended, and fix the route or metric — then confirm with a trace.
1. Find-NetRoute — route and source.
2. tracert -d <dest> — where it stops.
3. Return path on the remote side?
4. VPN/multiple NICs changing routes?
5. Fix route or metric.
route lookup → next hop → path → return route
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Known-good, broken and when it is fixed Verify boundary
Known-good means the exact destination resolves to the intended interface/next hop, the next hop is reachable and the original bidirectional service flow succeeds. Broken evidence is an unexpected more-specific route, wrong metric/interface, unreachable next hop or return-path asymmetry. The limit of what it shows is that route-table selection shows local forwarding intent only; remote routing and application policy remain separate.
Step 2 Common mistakes Narrow the fault
- Checking only IPv4.
Step 3 Native failure isolation and next-check logic Narrow the fault
For one destination, inspect the effective route table and selected interface/next hop instead of only the default route. If the wrong path wins, identify whether a more-specific route, VPN policy or metric caused it; if the route is right but traffic fails, verify next-hop reachability and firewall. When changing metrics/routes, record the previous state and retest the same destination/source. Avoid deleting broad route sets when one competing prefix can be isolated.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
Find-NetRoute shows the decision for one destination, including the source address. Total metric = route metric + interface metric; by default the interface metric is set automatically from link speed. Routes added with New-NetRoute are persistent unless created in the ActiveStore.
Get-NetRoute— routing tableFind-NetRoute -RemoteIPAddress <ip>— selected route and sourceroute print— routing table in CMDtracert <dest>— path
ReferenceHow it works1 section · depth on demand
How it works
Windows route selection uses prefix length, route/interface metrics and routing compartments/interfaces to choose a next hop. VPN, Hyper-V/virtual adapters and persistent routes can introduce more-specific or lower-metric paths that override the expected default gateway. A route entry's presence is control state; successful forwarding also requires the next-hop interface and neighbor/path to work.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
Ask Windows which route it will use
PS C:\> Find-NetRoute -RemoteIPAddress 10.50.1.10 | Select InterfaceAlias, IPAddress, DestinationPrefix, NextHop, RouteMetric, InterfaceMetric
InterfaceAlias IPAddress DestinationPrefix NextHop RouteMetric InterfaceMetric
-------------- --------- ----------------- ------- ----------- ---------------
VPN-Corp 172.16.8.20 10.0.0.0/8 0.0.0.0 1 1
Find-NetRoute returns the source address and route Windows selects for a destination — the decisive answer when several interfaces (LAN, Wi-Fi, VPN, Hyper-V switches) are active.
How Windows picks
1. Longest matching prefix across all interfaces.
2. Among equal prefixes: lowest route metric + interface metric.
3. Automatic interface metrics depend on link speed (faster = lower).
A VPN that installs 10.0.0.0/8 sends all 10.x traffic through the tunnel, even if 10.50.1.0/24 is directly reachable on the LAN — unless a more specific route exists for the LAN.
Inspect and change
Get-NetRoute -AddressFamily IPv4 | Sort DestinationPrefix | Format-Table DestinationPrefix, NextHop, InterfaceAlias, RouteMetric, PolicyStore
Get-NetIPInterface -AddressFamily IPv4 | Sort InterfaceMetric | Select InterfaceAlias, InterfaceMetric, AutomaticMetric
New-NetRoute -DestinationPrefix 10.50.1.0/24 -InterfaceAlias Ethernet -NextHop 10.0.10.1 -PolicyStore PersistentStore
PolicyStore ActiveStore routes disappear at reboot; PersistentStore routes survive (equivalent to route -p add).
Symptoms and causes
| Symptom | Cause |
|---|---|
| Works off VPN, fails on VPN | VPN route or DNS (NRPT) captures the destination |
| Reply traffic missing on multi-homed servers | Asymmetric routing — reply leaves via another interface |
| Old static routes after network change | Persistent routes left from earlier troubleshooting |
| IPv6 path used unexpectedly | Default IPv6 route on an interface without real IPv6 connectivity |
Path verification
Test-NetConnection 10.50.1.10 -TraceRoute and pathping -n 10.50.1.10 confirm the path beyond the first hop; Get-NetNeighbor -IPAddress 10.0.10.1 checks that the next hop's MAC is resolved.
*The sample Find-NetRoute result illustrates VPN route selection and does not represent a measured routing table.*
Method
Windows routing troubleshooting:
Find-NetRoute -RemoteIPAddress 10.50.1.10
Test-NetConnection 10.50.1.10 -TraceRoute
pathping 10.50.1.10
tracert -d 10.50.1.10
Get-NetNeighbor -IPAddress <nexthop>
| Symptom | Cause |
|---|---|
| Traffic leaves wrong NIC | Second gateway, metrics, missing specific route |
| One-way connectivity | Asymmetric routing through stateful firewall |
| Works by IP until reboot | Non-persistent route |
| VPN breaks local access | VPN pushes routes/default route, metrics |
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Routing → Routing Troubleshooting. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows-server/networking/ · confidence 94%