How To: Trace Route (MAC OS X)

Mac OS X has a command-line utility for performing a trace route called "traceroute". A trace route is a network map of connection points to get from one location, usually your device to another location (e.g. www.unh.edu ). The trace route measures the turn-by-turn steps (or hops) and associated time to complete the trace.

To perform a trace route 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 "Terminal.app".

Inside the Terminal application, the traceroute command is "traceroute" and the specified target (i.e. www.unh.edu ). The command will output the results of the traceroute to the screen.

To copy this result simple highlight and copy (Command (⌘) C). You may also export the results of the trace route directly to a file on your computer. The example below outputs the trace route results to the file "traceroute_results.txt" on the user's Desktop.

The resulting file will include the same trace 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
Irregular Traffic Validation Q&A: Proxies and Anonymizers
Viewed 3513 times since Thu, Apr 7, 2016
How To: Nslookup (Mac OS X)
Viewed 85230 times since Mon, Jul 20, 2015
How-To: Route Print (Windows)
Viewed 109563 times since Fri, Jul 24, 2015
How-To: Route Print (Mac OS X)
Viewed 236716 times since Fri, Jul 24, 2015
Configuring a Chromecast on the UNH Wireless Network
Viewed 815 times since Tue, Oct 16, 2018
UNH Wireless Configuration Instructions
Viewed 1081 times since Mon, Oct 1, 2018
Troubleshooting configuring for UNH-Secure
Viewed 3665 times since Wed, Aug 19, 2015
How-To: NSLookup (Windows)
Viewed 9893 times since Fri, Jul 24, 2015
How To: Trace Route (Windows)
Viewed 25032 times since Wed, Jul 8, 2015
Wireless in Residence Halls: Be a Good Neighbor
Viewed 4125 times since Fri, Aug 28, 2015
MENU