Thursday, November 21, 2024
HomeWindowsPathping: Traceroute with Packet Loss and Latency Reporting

Pathping: Traceroute with Packet Loss and Latency Reporting

The following Tech-Recipes tutorial describes one of the most overlooked tools from the Windows command line: Pathping. This utility gives useful information which is used to identify problems within a network.


Pathping is basically a traceroute which provides the estimation of packet loss and latency along each step between a source and its destination. If you have a router along the line that is slowing everything down, this tool is your gem.

After performing the traceroute, there is a calculation of the response from each step in the chain. That way you can see the weakest link in the chain.

The quickest way to get information is hitting the following from the command line:
pathping yourserver.com

Replace yourserver.com with the server to which you are having problems connecting. The syntax for the rest of the command is the following:

Usage: pathping [-g host-list] [-h maximum_hops] [-i address] [-n]
[-p period] [-q num_queries] [-w timeout] [-P] [-R] [-T]
[-4] [-6] target_name
Options:

-g host-list Loose source route along host-list.
-h maximum_hops Maximum number of hops to search for target.
-i address Use the specified source address.
-n Do not resolve addresses to hostnames.
-p period Wait period milliseconds between pings.
-q num_queries Number of queries per hop.
-w timeout Wait timeout milliseconds for each reply.
-P Test for RSVP PATH connectivity.
-R Test if each hop is RSVP aware.
-T Test connectivity to each hop with Layer-2 priority tags.
-4 Force using IPv4.
-6 Force using IPv6.

David Kirk
David Kirk
David Kirk is one of the original founders of tech-recipes and is currently serving as editor-in-chief. Not only has he been crafting tutorials for over ten years, but in his other life he also enjoys taking care of critically ill patients as an ICU physician.
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

LATEST REVIEWS

Recent Comments

error: Content is protected !!