Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

soamz

macrumors 6502a
Original poster
Jun 20, 2010
704
8
Orissa, India
I need to do some traceroute tests, reverse and forward.

How do I do that in the mac terminal ?
did not find any proper documentation for mac terminal cheat book.
 

richard2

macrumors regular
Oct 21, 2010
236
51
England, United Kingdom
To perform a traceroute, enter the following:

traceroute <Address>

For more information, enter the following:

man traceroute

I don't know how to perform a reverse traceroute on OS X, or whether it's even possible.
 
Last edited:

throAU

macrumors G3
Feb 13, 2012
9,201
7,354
Perth, Western Australia
To do a reverse traceroute you will need to use a traceroute gateway (e.g., a routing looking glass running on a remote website from the network you are attempting to diagnose).

Traceroute initiated from your machine will only show you routing as it works from your machine.

The only way traceroute could be "reversed" (due to the inherent limitations of how it works) via your machine is if it simply displayed the hops in reverse order. If that's what you want just read them in reverse order.

disclosure: i am employed as a network professional
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.