Monday, 23 April 2012

IP PING

 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


How To Ping An IP Address And A Domain Name ?

To ping an ip address we have to type the command as ping 192.168.1.1(ip address) and to ping a domain name we have to type the command as ping www.google.com (domain name). By using this commands that are noted in red color , we can ping an ip address and a domain name.

                                image of ping on an ip address and a domain name


How To Do Continuous Ping ?

To ping one particular ip address or domain name continuously, you have to type the command as ping 192.168.1.3 -t (for ip address) and ping yahoo.com -t (for domain name ).

                                      image of  continuous ping on an ip address


     

                                 image of  continuous ping on a domain name






No comments:

Post a Comment