Pcornel
Windows · Routing

Routing Troubleshooting

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

Back to the Topic

Answer

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.

Remember

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.

First checks

  • Get-NetRoute — routing table
  • Find-NetRoute -RemoteIPAddress <ip> — selected route and source
  • route print — routing table in CMD
  • tracert <dest> — path

Verify in this order

route lookup → next hop → path → return route

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.

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

Confirmation

Confirm action

Continue?