Print the Windows IP routing table
See every route Windows knows — gateway, interface, and metric — to figure out why traffic goes out the wrong adapter or VPN tunnel.
01Command
$ route print02What it does
Windows picks the next hop for every packet by longest-prefix match on this table, then by lowest metric. When a VPN or a second NIC changes the default route, `route print` shows you exactly which 0.0.0.0/0 route wins and which interface traffic leaves through. Sections cover IPv4, IPv6, and persistent routes that survive reboots. Adding routes (`route add <net> mask <mask> <gw>`) usually needs administrator rights, but printing does not.
03Risk
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- ROUTE - Windows CMDEvidence: SS64 documents 'route print' to display the routing table and route add/delete to modify persistent or transient routes.
Last verified: 2026-09-17 · Category: Network
06Related solutions
Purge cached DNS lookups so Windows re-resolves hostnames from scratch — the fix for 'the new server is live but my browser still hits the old one'.
The nuclear option for broken connectivity: rebuild Winsock and the TCP/IP stack to defaults when adapters show 'no internet' despite everything else working.
Enumerate every wireless network Windows remembers, inspect a profile's settings, and export profiles for backup or transfer to another PC.