Search

Difference between ping, traceroute/tracert and pathping

Ping and Traceroute/tracert are two TCP/IP connectivity troubleshooting tools available in almost all Operating Systems. Pathping is another TCP/IP connectivity troubleshooting tool available in Windows Operating Systems (mtr is an alternative in Linux). Please visit following links to learn more about ping, traceroute/tracert and pathping.

Please visit following links to learn how ping, traceroute/tracert and pathping works.

Ping command tool

Ping command is used to test the network connectivity between end points, that is between source and destination. If you are getting a proper success output from the ping command, the meaning is that the IPv4 datagram packet can reach up to destination IPv4 address. Ping command works using ICMP Echo request and ICMP Echo Reply messages.

Traceroute/tracert command tool

Traceroute/tracert command can be used to test the network connectivity between end points, that is between source and destination. The difference between Ping and Traceroute/tracert is that, Traceroute/tracert can trace the path followed by and IPv4 datagram from source to destination. Remember in modern networks we have many paths to reach the destination from source. Traceroute/tracert command works using TTL value at IPv4 header, ICMP Echo request and ICMP Echo Reply messages and ICMP Time exceeded message.

Pathping command tool

Pathping command can be used to test the network connectivity between end points, that is between source and destination. Pathping command can also trace the path followed by and IPv4 datagram from source to destination. But pathping command can also find the packet loss and network latency between source and destination and also between network links.

Related Tutorials
Introduction to TCP/IP, Features of TCP/IP, TCP/IP History, What is RFC (Request for Comments)
Seven Layers of OSI Model and functions of seven layers of OSI model
Five layered TCP/IP model
Network Layer (Layer 3)
TCP/IP Data Encapsulation and Decapsulation
Datalink Layer (Layer 2)
Ethernet Frame Format
What is MAC address or Layer 2 address or physical address
IPv4 Protocol, IPv4 header and fields of IPv4 header
IPv4 addresses, IPv4 Address Classes, IPv4 Address Classifications
What is Subnet Mask
What is network address
Limited broadcast address
Directed broadcast address
What is limited broadcast in IPv4 and how limited broadcast works
What is directed broadcast in IPv4 and how directed broadcast works
What is default gateway
What are private IP addresses - RFC 1918 private addresses
APIPA Addresses (Automatic Private IP Addresses)
What is loopback address in IPv4
What is localhost
Class A networks and Class A IP addresses
Class B networks and Class B IP addresses
Class C networks and Class C IP addresses
Class D multicast IP addresses
Subnetting - Part 1
Subnetting - Part 2
Subnetting - Part 3
Subnetting - Part 4
Subnetting - Part 5
Subnetting - Part 6
Variable Length Subnet Masking, VLSM, IP V4 Subnetting, subnetting tutorials, IP study guides, IP documentation, IP tutorials
Supernetting, IP Supernetting, IP Supernetting tutorial, How to Supernet, Supernetting Guide, Supernetting Concepts
How to find out the Network Address and Broadcast Address of a subnetted IPv4 address
Address Resolution Protocol Tutorial, How ARP work, ARP Message Format
Internet Control Message Protocol, ICMP, How ICMP Work, ICMP Header, ICMP Message Header
ICMP message types
ICMP Echo Request and Echo Reply messages
ICMP Destination Unreachable messages
ICMP Source Quench messages
ICMP Router Advertisement messages
ICMP Router Solicitation messages
ICMP Time Exceeded messages
ICMP Parameter Problem messages
ICMP Timestamp Request and Timestamp Reply messages
ICMP Photuris messages
Ping command tool
Ping command options
How to show remote computer name in ping command output
How to ping continuously
How to specify the number of packets sent in ping command
How to specify the size of data to send in ping command
What is Ping of death (PoD) network attack
Traceroute/tracert command tool
Tracert command options
Pathping command tool
Pathping command options