Wednesday, 18 May 2022

PING Command

 The ping is a simple utility that is used troubleshoot the networking issue. you can also use it to test if your network interface card is working correctly and it also use to test dns issues , such as  name resolution . So for example, lets go ahead and look the scenario could happen :- 

So Lets Start with pinging a host with ip address of host. Now this host could be any network device such as a computer, server, Router or printer weather it is in local area network or on internet.


So We Just Type 

>ping <ip address of host>

Then the ping utility will sendout the 4 data packets to the ip address of the server, then our computer is wait for a response and the server will send to us are called echo reply requests and these replies inform you about what  happening with the server we pinged So for example, if we received a reply then that is a good sign . Than that means that there is network connectivity between us and there  server, weather that server is on your local area network or over the internet. So 4 packets were sent and then 4 packets were received . 

but if we ping the same server and this time if we didn't get a reply, then that means that the server didn't reply back and it could mean that there is no network connectivity between our computer and the server. Now this could be for several different reasons :-

1-  'request time out'

That could mean that the server is powered down or it also means that the server is up and running but it's using a firewall tha's blocking all ping requests.

2- if you ping and not all the data packets reply back

So if you ping a host but your computer send out 4 data packets. But Sometimes you may recieve only few packets so it is called packet loss and packet loss can occur for several reasons

    1- it could mean that there's network congestion .

    2- Due to Bad Network Card

    3- Due to Bad Ethernet Cable

    4- Due to Bad Mode Connction

No comments:

Post a Comment

Networking Products:- Buy Directly from Amazon

ePackets

Your Words