One way to solve the network problem is to use the pathping command. This command works like combining the ping and tracert commands.
The first thing you need to do is enter pathping in the command line, just like this: pathping target. The destination can be either a host name or an IP address, for example, pop3.catalog.com or 209.217.46.121.
Next, you will get a two-part report. The first part is the list of each hop point on the line leading to the destination, and the second part is the statistics of each hop point, including the number of packet loss for each hop point. It uses some switches shown in the following example, such:
Pathping-n-w 1000 msn.com
This command tells pathping not to resolve the IP address of the router, and waits for 1 second (1000 ms) for each echo response message ).
The following are some of the most important pathping command switches ):
N does not display the host name of each vro.
Hvalue sets the maximum number of hops that are tracked to the destination. The default value is 30 hops.
Wvalue sets the maximum waiting time for a response (in milliseconds ).
P sets the wait time (in milliseconds) before the new ping Command is sent. The default value is 250 milliseconds.
Qvalue sets the number of ICMP echo request messages sent. The default value is 100.
Instance:
When you run pathping, first view the routing results when testing the problem. This path is the same as the path displayed by the tracert command. Then, the pathping command displays the busy message within the next 125 seconds (this time varies according to the hop count ). During this period, pathping collects information from all previously listed routers and links between them. At the end of this period, it displays the test results.
The rightmost two columns, This Node/Link Lost/Sent = Pct and Address, contain the most useful information. 13% of data packets are lost in links between 172.16.87.218 (hops 1) and 192.68.52.1 (hops 2. All other links are working properly. Vrouters in hops 2 and 4 also lose the data packet (as shown in This Node/Link column), but This loss does not affect the forwarding path.
The loss rate displayed on the Link (marked as | in the rightmost column) indicates the loss of data packets forwarded along the path. This loss indicates that the link is blocked. The loss rate displayed on the router (displayed by the IP address in the rightmost sidebar) indicates that the CPU of those routers may be overloaded. These congested routers may also cause peer-to-peer problems, especially when the software router forwards packets.