Networking, Programming and Graphics - Tutorials
ONLINEHOWTO.net Tutorials Category

Trace an IP address in DOS window

Type: Code Networking, Programming and Graphics - Tutorials
Networking, Programming and Graphics - Tutorials
Level: Beginner Networking, Programming and Graphics - Tutorials 
Networking, Programming and Graphics - Tutorials
Date: 2007-Feb-13
Networking, Programming and Graphics - Tutorials
Visited: 18426 times
Networking, Programming and Graphics - Tutorials
Rating: Networking, Programming and Graphics - Tutorials
Networking, Programming and Graphics - Tutorials
Published: Ivory Morhuld

This tutorial will teach you how to trace an IP address to see from where packets are routed.

To do this first click on Start button of your Windows, click on run an type in Open field: cmd and hit Enter. Now you are in DOS window. Type at DOS prompt 'tracert onlinehowto.net' and hit enter. Now you can see how packets are routed and reach host/IP address which you specified with tracert command.
C:\>[b]tracert onlinehowto.net[/b]

Tracing route to onlinehowto.net [66.226.93.73]
over a maximum of 30 hops:

  1     3 ms     9 ms     9 ms  ras1.koelnet.com [89.252.227.20]
  2    19 ms     9 ms     9 ms  gw.koelnet.com [89.252.227.17]
  3     9 ms     9 ms     9 ms  212-56-2-229.estnet.bg [212.56.2.229]
  4    19 ms     9 ms     9 ms  mtel-est.estnet.bg [212.56.2.14]
  5     9 ms     9 ms     9 ms  213.226.7.4
  6    39 ms    39 ms    39 ms  62.67.32.85
  7    39 ms    49 ms    39 ms  ae-0-54.bbr2.Frankfurt1.Level3.net [4.68.118.98]
  8   189 ms   200 ms   190 ms  as-0-0.mp2.SanDiego1.Level3.net [4.68.128.149]
  9   190 ms   189 ms   189 ms  ge-6-0-0.gar2.SanDiego1.Level3.net [4.68.97.210]
 10   197 ms   219 ms   189 ms  ABACUS-AMER.gar2.Level3.net [64.158.218.2]
 11   189 ms   190 ms   189 ms  gi1-1.cr1.sandiego.abac.net [66.226.66.1]
 12   190 ms   200 ms   189 ms  bgbody.com [66.226.93.73]

Trace complete.

C:\>
For other specific trace options you can type 'tracert /?' like shown below.
C:\>[b]tracert /?[/b]

Usage: tracert [-d] [-h maximum_hops] [-j host-list] [-w timeout] target_name

Options:
    -d                 Do not resolve addresses to hostnames.
    -h maximum_hops    Maximum number of hops to search for target.
    -j host-list       Loose source route along host-list.
    -w timeout         Wait timeout milliseconds for each reply.

C:\>
Rate this tutorial:                    
Post Comment

    • ( rembo88 [ at ] yahoo . com ),

      posted on 2009-Jun-23 | 01:55:34 AM
      i like tha commands woow!
    • ( usman4040 [ at ] gmail . com ),

      posted on 2010-Mar-29 | 10:24:43 AM
      How i can find an ip of my friend who is chatting with me at yahoo? Mail me on Usman4040@gmail.com i shell be thankful to you thankyou.

    • posted on 2010-Mar-30 | 12:23:25 AM
      HI Usman,

      I think will be more useful to post the answer of your question here, and by this way we can share our expirience with other visitors, not only with you by your personal email.

      Try this:

      Open command console (Start -> Run -> cmd.exe) and type netstat -a . Next find your yahoo messanger in the list and see the IP address, port, etc. From here I think you will be able to understand which have to be searched IP address.
Need a specific tutorial? Do not hesitate and submit a request!
Your e-mail: