What is Ping? | How to Ping on Windows 10, Linux, and MacOS? – Ping (Packet InterNet Groper) is a utility program used to verify that a network data packet was sent to the destination successfully. You can use the Ping to control the network connection of a computer on the network or any device connected to the network.
What is Ping? | How to Ping on Windows 10, Linux, and MacOS?
Ping is an abbreviation for Packet InterNet Groper. Ping is used to testing network problems. You can test a device having an IP address connected to the network by pinging. You can control the network connection by pinging to a computer or server on the LAN or WAN.
Ping was developed by Mike Muss in 1983. Ping checks the network connection by sending 32-byte packets to the destination. For example, if you ping a server in a nearby location, the response time (ms) will be low. But when you ping a server in a remote location, the response time will be much higher.
The Ping utility sends an Echo Request packet to the destination using the Internet Control Message Protocol (ICMP) protocol and waits to receive the Echo Reply packet. If a client on the network receives an Echo Reply packet for the Echo Request packet, the connection will be successful.
How to Ping on Windows 10?
If you want to ping on Windows operating system, press the Windows + R to open the Run.
In the Run window, type cmd in the Open field and click OK.
The CMD command prompt looks like the one below.
To ping the IP address of your ADSL modem, type ping 192.168.1.1 on the CMD and press Enter. The default gateway IP address here may be different.
If the ping command is successful as in the following image, then you have a connection to your ADSL modem on your network.
The (0% loss) reports that it successfully transmitted. The Bytes=32 indicates that Ping sends 32 bytes by default.
Step 5 | What is Destination Host Unreachable?
If you ping a client down on the network, you will receive a Destination Host Unreachable message. The main reasons for the Destination Host Unreachable error are:
- When the target machine is Down, you will get the Destination Host Unreachable error.
- If there is an error in the target machine’s TCP / IP configuration, you will get a Destination Host unreachable error.
- If the ping finds the target network but can not find the target client, you will get a Destination Host unreachable error.
Step 6 | What is Request Timed Out?
If you ping a client that is not on the same network, you will receive a Request Time Out error. For example, you can successfully ping all clients on the 192.168.1.0/24 network, but if you can not ping a client on 192.168.2.0/24 and get a Request Time Out error, then you have absolutely no access to the target.
The main reasons for the Request Time Out error are:
- When the Destination is Down, you receive a Request Timed Out error.
- If the destination client is known but you can not ping the still, you will receive a Request Timed Out error because of Routing protocol error on the Router.
- If there is a Firewall installed on the target, you will receive a Request Timed Out error because it blocks ICMP packets.
Step 7 | How to Ping a Website in CMD?
Pinging a website is very easy. The goal of Pinging the website is to check if the website is online. In the same way, open the CMD prompt and type ping www.sysnettechsolutions.com after choosing a website you want to ping and press Enter.
You can see from the image below that you have successfully pinged Sysnettechsolutions.com.
How to Ping on Linux Operating Systems?
Pinging on operating systems like Linux based Ubuntu, Fedora, Linux Mint, Debian, Kali Linux is also very easy. The use of Ping on Linux is similar to the Ping command you use on Windows.
To ping Linux/Ubuntu, open the Terminal by pressing Ctrl + Alt + T together. At the terminal, execute the ping 192.168.1.1 command.
As you can see in the image below, the use of Ping on Ubuntu will be permanent.
You can ping a web site on Linux by typing the web site address to Ping.
Another example of using Ping on Linux is to specify the number of Ping packages. You can specify the number of Ping packets to send to the destination by adding the [ -c + number ] command to the ping command.
How to Ping on MacOS Operating Systems?
There are two different methods for pinging on MacOS Sierra / MacOS High Sierra installed on a MacBook or iMac. The first method is to use Ping using Terminal on MacOS. The second method is to use the MacOS Network Utility to ping the IP address or a website.
To ping on MacOS using Terminal, first open Terminal. To open the Terminal on MacOS, press the Windows Key + Space Key together. Find and run the program by typing the terminal in the search box.
Once you have opened the terminal, you can ping the IP address continuously using the ping 192.168.1.1 command.
Only you can add [ -c + number ] command to ping an IP address or web site at the number you specify.
You can ping an IP address or web site using the Network Utility on MacOS. In the search box, type network utility and find the program and open it.
Click on the Ping tab and use the Ping command with the Network Utility after filling in the required fields as shown below.
Update (June 19, 2018): You can ping any website or IP address on macOS Mojave 10.14 by following the steps above and test the network connection!
How to Use Ping Command on Windows Operating Systems ⇒ Video
You can watch the following video for using Ping command on Windows operating systems and you can also subscribe to our YouTube channel to support us.
How to Use Ping Command on Linux Operating Systems ⇒ Video
You can watch the following video for using Ping command on Linux/Ubuntu.
How to Use Ping Command on MacOS Operating Systems ⇒ Video
You can watch the following video for using Ping command on MacOS High Sierra / MacOS Sierra operating systems.
In this article, after briefly discussing what is Ping and how does it work, we have examined the use of the Ping command on Windows, Linux and MacOS operating systems. Thanks for following us!
If this article is helpful, send me feedback by commenting! Thanks in advance, take care of yourself!
Also, you can add to browser bookmarks by pressing the CTRL+D to read this article later!