Networking, Programming and Graphics Tutorials

Trace an IP address in DOS window [1/1]

Type: Code Networking, Programming and Graphics Tutorials
Trace an IP address in DOS window
Level: Beginner Networking, Programming and Graphics Tutorials 
Trace an IP address in DOS window
Date: 2007-Feb-13
Trace an IP address in DOS window
Visited: 3329 times
Trace an IP address in DOS window
Rating: Trace an IP address in DOS window
Trace an IP address in DOS window
Author: 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:\>tracert onlinehowto.net

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:\>tracert /?

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:                    
Networking, Programming and Graphics Tutorials - Trace an IP address in DOS window [1/1] - Networking, Programming and Graphics Tutorials

Need a specific tutorial? Do not hesitate and submit a request!
Related Tags: /run window trace an IP address  how to get ip address in dos window?  window trace net  trace dos window   trace ip command for window  window trace ip route  trace ip route dos window  trace ip address using cmd  how to trace an ip address in dos  h to trace an ip address