Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I determine the IP route taken for a specific IP destination (without looking at "route print" and figuring it out manually)?

In OS X there's route get 1.2.34 and in Linux there's /sbin/ip route get Is there anything like that on Windows?

share|improve this question
up vote 3 down vote accepted

Yep. Open a command line and type tracert

share|improve this answer
Heh, good point. Not an optimal solution, since it does query the network for something you know locally, but for the most part, gives me the information I need. – Ilya Oct 13 '11 at 23:17
@Ilya: Using -d (no resolve IP) and -w 0 (don't wait for ping) should speed up the scan a lot. – Hello71 Oct 14 '11 at 0:30
This doesn't really do the same thing. The route get commands the original posted mentions perform a lookup in the local routing table and return the result. For example, you can ask ip route get to find which routing table entry will be used for that network, but you can't ask tracert about network blocks. – larsks Nov 4 '12 at 3:31
@Hello71 -w 0 is not working in my case (gives error Bad value for option -w.). -w 1 works however. – KrishPrabakar May 7 '15 at 9:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.