Ping is a command that is used to check the connectivity between a host (computer or any devices that has an ip address) to a remote or local host. If there is a successful connectivity between two devices, then that devices can communicate each other and data transfer is possible between that devices. Ping is also used to find the total amount of time that will take for a packet(data) to reach the destination and the time that will take for the acknowledgment to reach from the destination to the source. This total amount of time is known as Round-trip time (RTT).let me explain RTT with an example.If suppose the total amount of time that is taken for a packet to reach the destination B is 125ms and the total amount of time taken for the acknowledgment to reach the source A from the destination B is 130ms then the Round-trip time for that packet is RTT=125ms+130ms=255ms
How Ping Works ?
Ping will send 4 to 5 icmp (internet control message protocol) packets from the source to destination. If we get back the icmp packets in return from the destination, that means there is a connectivity between the source and the destination. This is the process that done by ping to check the connectivity




No comments:
Post a Comment