Tracert Command in Windows Server 2008

In this article I am going to explain about tracert command in windows server 2008 operating system.
  • 3984

Introduction

The operating system tracert command is used to visually see a network packet being sent and received and the amount of hops required for that packet to get to its destination.

Syntax of
Tracert command

tracert [/d] [/h <MaximumHops>] [/j <HostList>] [/w <Timeout>] [/R] [/S <SrcAddr>] [/4][/6] <TargetName>


Parameters in Tracert command

It contains following parameter, which is given below:
 
Parameter Description
/d It prevents tracert from attempting to resolve the IP addresses of intermediate routers to their names.
/h<MaximumHops> It specifies the maximum number of hops in the path to search for the target (destination) and the default is 30 hops.
/j <HostList> It specifies that Echo Request messages use the Loose Source Route option in the IP header with the set of intermediate destinations specified in hostlist.
/w <Timeout> It specifies the amount of time in milliseconds to wait for the ICMP Time Exceeded or Echo Reply message corresponding to a given Echo Request message to be received.
/R It specifies that the IPv6 Routing extension header be used to send an Echo Request message to the local host, using the destination as an intermediate destination and testing the reverse route.
/S <SrcAddr> It specifies the source address to use in the Echo Request messages.
/4 It specifies the source address to use in the Echo Request messages.
/6 It specifies that Tracert.exe can use only IPv6 for this trace.
<TargetName> It specifies the destination, identified either by IP address or host name.

Example of Tracert command

tracert /d dotnetheaven.com

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.