Home > Networking Tips > Network Engineering > Troubleshoot networks with the pathping command
Networking Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

NETWORK ENGINEERING

Troubleshoot networks with the pathping command


Rahul Shah, Contributor
09.15.2006
Rating: -3.65- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


This tip originally appeared on SearchWinComputing.com.

One way of resolving network problems is by using the pathping command. This command works like a combination of ping and tracert.

The first thing you'll need to do is type pathping from the command line, like this:
pathping target
where target is either a hostname or an IP address, for example, pop3.catalog.com or 209.217.46.121.

You then get a two-part report. The first part will be a list of every hop along the route to the destination, and the second part will be statistics about each hop, including the number of packets lost at each hop. It uses switches like those shown in the following example:

pathping -n -w 1000 msn.com

This command tells pathping not to resolve the IP addresses of routers, and to wait one second (1,000 milliseconds) for an Echo Reply message.

Here is a list of most important pathping switches:

  • n Does not display the hostname of each router.
  • hvalue Sets a maximum number of hops for the trace to the destination. The default is 30 hops.
  • wvalue Sets the maximum amount of time (in milliseconds) to wait for a reply.
  • p Sets the amount of time (in milliseconds) to wait before a new ping is issued. The default is 250.
  • qvalue Sets the number of ICMP Echo Request messages to transmit. The default is 100.

About the author: Rahul Shah currently works at a software firm in India, where he is a systems administrator maintaining Windows servers. He has also worked for various software firms in testing and analytics, and also has experiences deploying client/server applications in different Windows configurations.

Rate this Tip
To rate tips, you must be a member of SearchNetworking.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
IP Addressing
Do multiple router interfaces affect the amount of IP addresses?
How to locate the lost IP address of an Access Point (AP)
IPv4 or IPv6 -- Myths and Realities
What is a logical network? How do you improve one?
Why are IPv6's IP addresses in hexadecimal formatting?
Understanding VLAN implementation and IP address assignment
Prevent IP address conflicts on your wireless network by managing DHCP scopes
Get IPv6 skills now rather than later
How can I check connectivity and ping between sites?
Can I connect to my wireless network and wired LAN simultaneously?

Network Engineering
How to achieve server virtualization in your network
Limit network energy consumption with computer cooling technologies
Understanding remote scripting -- Managing Windows networks using scripts, part 9
Network mapping in Vista for Windows XP
Recovering domain controllers after a server disk failure
Recovering from a server disk failure: The shortcomings of NTBCKUP
Enabling Windows Vista's Network Mapping feature on domain networks
Prevent unauthorized USB devices with software restriction policies, third-party apps
How to subnet: Subnetting calculations and shortcuts
Using Windows Vista group policy to prevent unauthorized USB device use

Network Monitoring
Networking data visualization not just for pointy-headed bosses
What network security threat does a QM FSM error pose in IPsec VPNs?
Juniper updates Network and Security Manager to manage full portfolio
Network management software vendors readying IPv6
DNS management becoming critical to businesses but poorly understood
SolarWinds adds enterprise scalability to its network monitoring tool
Network forensics appliance gets storage boost and 10 GbE support
Tracking NetFlow over MPLS helps airline with compliance
When it comes to data loss prevention, networking should be part of the conversation
Network management takes interface tips from gaming industry, Google
Network Monitoring Research

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
32-bit IP addressing  (SearchNetworking.com)
fixed-length subnet mask  (SearchNetworking.com)
GARP (Generic Attribute Registration Protocol)  (SearchNetworking.com)
route aggregation  (SearchNetworking.com)
route summarization  (SearchNetworking.com)
routing table  (SearchNetworking.com)
subnet  (SearchNetworking.com)
subnet mask  (SearchNetworking.com)
variable-length subnet mask  (SearchNetworking.com)
wildcard mask  (SearchNetworking.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Networking Solutions for Business
IT Management Solutions and Services Directory.
HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersNetworking Product Trials
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2000 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts