What is ping command in networking?

(Last Updated On: November 16, 2016)

Answer: Ping command in networking is a frequently used command to test if an IP Address or domain name exist in the network.

Ping is a tool, a software utility that is used to verify that a particular IP address e.g “10.17.18.97” or domain name e.g. “interviewsansar.com” exist into the network and can accept requests.

Ping software uses ICMP (Internet Control Message Protocol) protocol. It sends request messages to a target network address at periodic intervals and measure the time it takes for a response message to arrive.

[ICMP is a message control and error-reporting protocol between a host server and a gateway to the Internet]

It is frequently used for troubleshooting to test host connectivity in the network and determine response time.

If you fire the ping command, and computers are in network, you will see the response as given below.

img_ping