If you are facing connection issues, it is possible because you have been using a utility network called as Ping, by default implemented in the huge bulk of operating system. The objective of the ping is to ascertain if a host destination, detected with a specific IP, is reachable from the other host.
For doing it, the host source transmits a 32-byte info packets to the host targeted via the protocol ICMP & pauses for a response to the later that should hold the similar data. The ping has been effective If the reply comes properly. But, on the conflicting, the ping crashes, then either the demand of the destination host or the reaction of the source host has been misplaced one or the other. However, how will we use this facility from our PC? How should we utilize it to verify what the issue
of the connection may be?
Ping how to do it?
From a PC to ping a different host with a operating system Windows, it’s as easy by stick to these steps:
Go to the command window: For doing this, click Start > Run & write cmd. In new current versions, just click Start & write it in files & Search programs. Then push enter.
Write “ping hostname”: Immediately with a background in black we can view a window. In that we must type, for instance, www.google.com ping
If all went properly, in the command window somewhat like the below may emerge:
What do such line means? So, the ping checks if it has forwarded 32 bytes in size four packets to the chosen server, www.google.com in this example, & that server corresponding to the 18.104.22.168 IP. In this instance the ping has been acceptable, the test packets of 4 have correctly arrived & have sent to our PC with a usual 102ms of time.
To stop a request for ping traveling towards the Internet from unlimited, a Time To Live TTL is created in all of them, that signifies the amount of hops which the packet host has granted in the host internet until going to its destination. The Time To Live is decremented by single unit at every hop, & if at some point it touches zero then the pack is rejected & the host gives back to source an error.
Ping is an extremely easy command but even with numerous options to modify the outcomes. For instance, if you desire not just four packets to be despatched, however also sent endlessly, it’s as easy as combining a tot to the ending of the line (www.google.com -t ping).
Diagnose the issue
As the key function of the ping is checking if a specific PC or server is reachable from the other, it is an extremely helpful tool while diagnosing troubles in a particular network. Supposing, for instance, that you can’t load some web page. This could be owing to numerous reasons, for instance, if the local network crashes, if we are using the servers of DNS are crashed or if, exactly, what is absent is the internet connections.
It is simple to remove probable source of error use of the ping command. Firstly, if we check if our connection is properly not working, it is advisable ping to a general server, like the one we prior put as a sample (www.google.com ping). It is perhaps temporary if you replace 1 of the 4 packets and rest don’t. But, if everybody gets declined or else you don’t directly ping, then there are few issues with the connections.
Next what we might do is to confirm that the error is not from the local networks. We ping the router IP address by doing this. Usually the address is 192.168.1.1, otherwise 192.168.0.1, however you can simply obtain in the command console if you type ipconfig & search the gateway address. When we ping the router & it is acceptable, then our PC can access to it & it works properly.
What other errors can we identify? Well, the DNS for instance, (that are accountable for converting the domain to the IP) which we use don’t work properly. How we should find out? Very easy: for instance, www.google.com we ping a domain, & it conveys an error. In its place, if its IP address we ping (for instance, in 22.214.171.124) & it properly works for us, then it appears like the problem could have been in DNS.