Pcornel
Windows · Routing

Windows Routing Table

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

Back to the Topic

Answer

The Windows routing table lists each destination prefix with its next hop, interface and route metric. Get-NetRoute and route print show it; 0.0.0.0/0 is the default route.

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

routes from interfaces, DHCP, static and VPN → table

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

Confirmation

Confirm action

Continue?