How-To: Route Print (Windows)
Windows has a command-line tool for view the routing table. It is called “route.”
To view the routing table (this is universal on all recent Windows versions) open a command prompt. The easiest way to do that is to go to Start->Run and type in “cmd” then click “OK.”
From the command prompt (which will look like this)
Type in `route print -4.`
The ‘-4’ specifies the IPv4 routing table and not the IPv6. Using that switch will simplify the output.
An example of the results are shown below.
An extensive routing table could result in considerably more output, and you may have to expand the window or scroll up to view all of it.
A note about copying data from the command prompt window… it is a bit different than most other Windows interfaces.
- Right click in the window to get the context menu
- Select the “Mark” option, then highlight the part of the window you want to copy.
- Press “Enter” to copy selection to your clipboard
- Paste the selected text elsewhere, such as in an email or document.
When finished you can close the command-line window by typing `exit` and hitting Enter.
The routing table provides information on just where a client computer is sending its traffic. It is useful data in troubleshoot networking problems, especially those on clients with multiple network interfaces (eg, Wired, Wireless, VPN, etc.)