in order to measure aprroximately the rouitng distance (to see if a server is close to my country or too far away) I usually use ping command.
I'm in Italy,
- when I ping Italian servers I get 36ms
- when I ping US EAST servers I get an average of 120ms
- when I ping US WEST servers I get an average of 200ms
- etc.
Unfortunately some web hosters turn off the ping reply on their servers, so my question is how do I detect the routing distance, is there another easy to use command in Windows to accomplish the same task?
Thanks!
Try tracert. Or "traceroute" for non-windows users. It will tell you every server the ping has to pass through to get to your destination.
A count of the number of hops is a good metric for how much latency you're going to have, and it will also tell you how much latency is being added by specific hops.
for linux its "tracepath domain.com"
for windows its "tracert domain.com"
MRT on Unix, or WinMTR on windows combines traceroute with ping. It can give you worst/best/average times for each step of the way.