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.
ICMP
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 echo
and reply
messages in most situations. More detailed information aboutping
command can be found in the following tutorials.
Linux ping Command Tutorial With Examples
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.
Ping Test
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 Run
.
cmd
OR
powershell
Then will will specify the target or destination we want to test with ping command. In this example we will test the IP address 192.168.1.1
> 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.
bytes
specifies the ICMP packet sizetimes
specifies the the requires packet to transmit and receive to targetTTL
specifies the intermediate host counts. Windowsping
uses 64 as defaultTTL
value.sent
specifies the packet count sentreceived
specifies packet count receivedlost
specifies 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
The traceroute program provides much more detailed information about a connection to a remote host than ping. Traceroute (or