How-To: Route Print (Mac OS X)

Mac OS X has a command-line utility for performing a route print called "netstat". The routing table of a device displays the various paths an application may take to reach various network resources. When connected to the UNH VPN, various routes may be assigned to your device to allow network access to such resources.

To print the routing table on a Mac OS X computer, you must open a Terminal window. Terminal can be found by opening the Finder, selection Applications and Utilities. To open a terminal session, double-click on "".

Inside the Terminal application, the route print command is "netstat -nr". This will display the current routing table for the logged-in user.

To copy this result simple highlight and copy (Command (⌘) C). You may also export the results of the route print directly to a file on your computer by directing the output of the netstat command to a file versus the screen. The following command will output the routing table to a file called "routing_table.txt" on the Desktop: "netstat -nr > ~/Desktop/routing_table.txt".

The resulting file will include the same route information that is displayed on the screen in the previous step.


Custom Fields
  • Department: Network Operations
Attached Files
There are no attachments for this article.
Related Articles RSS Feed
Wireless in Residence Halls: Be a Good Neighbor
Viewed 3630 times since Fri, Aug 28, 2015
Configuring a Chromecast on the UNH Wireless Network
Viewed 417 times since Tue, Oct 16, 2018
Network Access For Guests
Viewed 4166 times since Wed, Jul 8, 2015
How To: Trace Route (MAC OS X)
Viewed 5559 times since Mon, Jul 20, 2015
How-To: Route Print (Windows)
Viewed 83444 times since Fri, Jul 24, 2015
How To: Trace Route (Windows)
Viewed 14718 times since Wed, Jul 8, 2015
How To: Nslookup (Mac OS X)
Viewed 70513 times since Mon, Jul 20, 2015
How-To: NSLookup (Windows)
Viewed 6196 times since Fri, Jul 24, 2015
Irregular Traffic Validation Q&A: Proxies and Anonymizers
Viewed 2539 times since Thu, Apr 7, 2016
Troubleshooting configuring for UNH-Secure
Viewed 3269 times since Wed, Aug 19, 2015