Ping (Packet Internet Groper)
Hello guys today we will learn about Ping.You all of guys heard about Ping in your daily life.So today I will tell you what is ping and how it works.Are you ready for this.
Let get started.
1> Ping is a utility or command used to check & test the connectivity between two devices.
2> It is very useful command for network troubleshooting.
3> It use ICMP (Internet Control Message Protocol)
4> It use ECHO request and ECHO reply Concept to test the network.
5> Host computer send 4 packet (Echo request ) to the destination server or device and if host server get 4 (Echo reply) packet from the destination sever or device. That tells us network is fine.For further details please read my post carefully.
First all all I tell you about ECHO or Echoing .Have your ever heard about Echoing ?
As you can see in the picture there is a man who is clapping and the sound hits to the wall and sound reflect back.This is the echoing concept.
Devices or computer are also use the concept to test the connectivity between two devices.
A host computer send 4 echo request ping packet to the destination packet if host packet get the 4 Echo response packet from the destination device or server that means there is no issue with the network.
If host computer does not get any echo reply packet from the destination server or devices that means there is some issue in the network.
If we want to test or check our network connectivity.we use a command "Ping".
Syntex
Ping
ping 8.8.8.8
I want to check my internet so i have type google dns ip as a destination ip address.
This command will give a output.Which tells us that connectivity is fine or not.
After Typing the ping command i got the out which is in the below.
If we got this output that means there is no problem in the network.
Computer & device 4 packet by default you can change the size and no. of the packet.
In this picture we can see my computer has sent 4 packet to the destination server(8.8.8.8) and i got 4 packet back with some information that means network conncetion is fine .Here we can see some tearms like time , ttl.
In the output you can see Time , and TTL.
Time:- A ping packet sent by the host computer to the destination computer and packet comes back with reply.How much time a packet takes to come back.
In other word we can say its a Response time or RTT( round trip time)..It is in ms (mili seconds)
We also can test the link speed by this time value.It is show the latency of a network.
TTL(Time to live): Time to live is a value which is attached in every packet .By default TTL value is 255. If any packet get router in the path then each router decrease hte TTL value of the packet if TTL value will be 0( Zero) then packet will be discarded.
Packet drooping or packet loss issue:
In the above picture you can see there is a RTO (request time out) that means there is a packet loss.
So in this case we should check our cable .
Request Time Out:
If there is any issue between the two devices then you will get this output.
All packet are lost .No packet coming back .
Some Ping Switches or option which will help you to troubleshoot your network issue.
1- Ping -t
This command is used to run a continues ping untill you maually stop it.
1- Ping -l 64
-l length
By default computer sent a 32 byte packet to the destination server.But you can change the length of the packet by using this command.
If you are an Indian for the more details you can also watch is video in hindi language.
If you are watching my blog please put your question , suggestion in the comments box.
Thanks
Have a Good day.
Hey Bro..
ReplyDeleteGreeting to you..
Really you done a great job and good explanation for every subject. It might very very helpful from freshers to Experience people. Hope you have of lot of study, technical and solution guides and i understood you made those things are all under your hard works. Kindly share your knowledge and sills to us and help us to improve from our present situation and life style.
Thanks and Regards
Amirtharaj S
Email: shankaramirtharaj@gmail.com
Note: Please contact me through this email.
Thanks Amirtharaj for your support.Will contact you very soon.
ReplyDelete