The way to find your how-to

How to view network routing table in Mac OS X

As always there are few ways to see how the routing table looks like in your system. You can check it from a command prompt (Terminal app) as well as using the Network Utility application build in OS X.
This has been checked on Mac OS X 10.8 (Mountain Lion) and Mac OS X 10.9 (Mavericks).

Option I - Terminal

Start the Terminal application (Applications -> Utilities -> Terminal.app) and run the below command:

netstat -nr

You can get full help about netstat tool by running the bellow command in terminal:

man netstat

Option II - Network Utility

You can get the same information using the Network Utility available in OS X, which is a bit hidden. To find this tool simply search for it using Spotlight (press cmd ⌘ + space) and then start typing Network Utility like on the picture below.

Now go to "Netstat" tab, choose "Display routing table information" and click Netstat button on the right. The routing table will be displayed for you as below.

Document version: 1.0

Last modified on:

Comments

Joe MacHoll
16 Oct 2014, 19:28
Thanks for the hint…
*Name:
Email:
Notify me about new comments on this page
Hide my email
*Text:
 
 
Powered by Scriptsmill Comments Script