How To Do A Computer Ping Test Command To Check Network Connectivity?
Computer networking provides a lot of features for remote usage. But remote access may have some problems. Computer networks provides some basic tools in order to check and detect these problems. In this tutorial we will look some basic ping test in order to check network status.
Internet Control Message Protocol is a network protocol designed to communicate between network hosts about network status. Ping test mostly uses ICMP protocol in order to check network connectivity. ICMP have different message types but ping test uses
reply messages in most situations. More detailed information about
ping command can be found in the following tutorials.
Windows Ping Utility
All windows operating systems provides
ping command by default so we do not need to install it explicitly.
Linux Ping Utility
Most of the Linux distributions like Fedora, CentOS, RedHat Ubuntu, Debian, Kali, Mint provides
ping by default.
As Linux and Windows version of the ping command works in similar manner we will follow Windows version. We will open command prompt MSDOS or PwerShell like below by using
Then will will specify the target or destination we want to test with ping command. In this example we will test the IP address
> ping 192.168.1.1
As we can see the ping test is completed without and error or packets loss. Let’s look the results.
bytesspecifies the ICMP packet size
timesspecifies the the requires packet to transmit and receive to target
TTLspecifies the intermediate host counts. Windows
pinguses 64 as default
sentspecifies the packet count sent
receivedspecifies packet count received
lostspecifies packet count lost
Ping Test Host Name
We can also use ping test to a host name. Host name specifies a host with a name not an IP address. Host name is easier to use and remember that a IP address. In this example we will ping test to
poftut.com as a target.
> ping poftut.com
Ping Test Google.com
One of the most used internet connectivity test is pinging
google.com . As google servers provides high availability which means they are all ways up we can use
google.com as a measure . We can ping test our internet with DNS and internet connection like below.
> ping google.com