Using the pathping Command
pathping is an interesting command that's unique to Windows. It's sort of a cross between the ping command and the tracert command, combining the features of both into one tool. When you run pathping, it first traces the route to the destination address much the way tracert does. Then, it launches into a 25-second test of each router along the way, gathering statistics on the rate of data loss to each hop. If the route has a lot of hops, this can take a long time. However, it can help you to spot potentially unreliable hops. If you're having intermittent trouble reaching a particular destination, using pathping may help you pinpoint the problem.
The following command output is typical of the pathping command. (Using an -n switch causes the display to use numeric IP numbers only, instead of DNS host names. Although fully qualified host names are convenient, they tend to be very long for network routers, which makes the pathping output very difficult to decipher.)
C:\>pathping -n www.lowewriter.com Tracing route to lowewriter.com [209.68.34.15] over a maximum of 30 hops: 0 192.168.168.21 1 66.193.195.81 2 66.193.200.5 3 168.215.55.173 4 168.215.55.101 5 168.215.55.77 6 66.192.250.38 7 66.192.252.22 8 208.51.224.141 9 206.132.111.118 10 206.132.111.162 11 64.214.174.178 12 192.168.1.191 13 209.68.34.15 Computing statistics for 325 seconds... Source to Here This Node/Link Hop RTT Lost/Sent = Pct Lost/Sent = Pct Address 0 192.168.168.21 0/ 100 = 0% | 1 1ms 0/ 100 = 0% 0/ 100 = 0% 66.193.195.81] 0/ 100 = 0% | 2 14ms 0/ 100 = 0% 0/ 100 = 0% 66.193.200.5 0/ 100 = 0% | 3 10ms 0/ 100 = 0% 0/ 100 = 0% 168.215.55.173 0/ 100 = 0% | 4 10ms 0/ 100 = 0% 0/ 100 = 0% 168.215.55.101 0/ 100 = 0% | 5 12ms 0/ 100 = 0% 0/ 100 = 0% 168.215.55.77 0/ 100 = 0% | 6 14ms 0/ 100 = 0% 0/ 100 = 0% 66.192.250.38 0/ 100 = 0% | 7 14ms 0/ 100 = 0% 0/ 100 = 0% 66.192.252.22 0/ 100 = 0% | 8 14ms 0/ 100 = 0% 0/ 100 = 0% 208.51.224.141 0/ 100 = 0% | 9 81ms 0/ 100 = 0% 0/ 100 = 0% 206.132.111.118 0/ 100 = 0% | 10 81ms 0/ 100 = 0% 0/ 100 = 0% 206.132.111.162] 0/ 100 = 0% | 11 84ms 0/ 100 = 0% 0/ 100 = 0% 64.214.174.178] 0/ 100 = 0% | 12 --- 100/ 100 =100% 100/ 100 =100% 192.168.1.191 0/ 100 = 0% | 13 85ms 0/ 100 = 0% 0/ 100 = 0% 209.68.34.15 Trace complete.
In this tutorial:
- TCP/IP Tools and Commands
- Using the arp Command
- Using the hostname Command
- Renewing an IP lease
- Using the nbtstat Command
- Using the netdiag Utility
- Using the netstat Command
- Using the nslookup Command
- Displaying DNS records
- DNS-Land
- Using the pathping Command
- Using the ping Command
- Using the route Command
- Using the tracert Command