A ping is maybe the most ordinarily used tool once troubleshooting a network. Ping (Packet internet Groper) tool is enclosed with most operating systems. it’s invoked using a ping command. Ping command uses ICMP (Internet control Message Protocol). Ping works by sending an ICMP echo request message to the required ip address. If the pc with the destination ip address is reachable, it responds with an ICMP echo reply message.
A ping command typically outputs another information about a network performance, e.g. a round-trip time, a time to send an ICMP request packetand receive an ICMP reply packet.
Here is an output of the ping command from Windows 10:

In the example above we’ve got pinged the ip address By default, ping on Windows sends four ICMP request packets. As you’ll be able to see from the output above, the host with the ip address of is approachable and has replied with four ICMP reply packets. you’ll be able to also see that the remote host has replied among 2ms and 3ms, that indicates that the network isn’t congested.


Traceroute is a CLI (Command-line interface)-based tool used to identify the path used by a packet to reach its target. This tool also uses ICMP messages, but unlike ping, identifies every router in a path. Traceroute is useful when troubleshooting network problems because it can help identify where exactly the problem is.
Traceroute sends a series of ICMP echo request packets to a destination. First series of messages has a Time to Live (TTL) parameter set to 1, which means that the first router in a path will discard the packet and send an ICMP Time Exceeded message. TTL is then increased by one until the destination host is reached and an ICMP echo reply message is received. Originating host can then use received ICMP messages to identify all routers in a path.
The traceroute command on Windows is named tracert. On Unix and Cisco IOS traceroute it is invoked using the traceroute command.
Here is an example showing the tracert command in Windows:
Traceroute on Unix-like operating systems
Traceroute command on Unix works slighty different than the Windows version. It uses UDP packets with a large destination port number (33434 to 33534) that is unlikely to be used by any application at the destination host. Like the Windows version of the command, traceroute on Unix uses TTL to get the IP addresses of the intermediary routers. When a destination host is reached, it replies with an ICMP port unreachable message.