Step by Step Test Network Connectivity on Linux Fedora Using ping Command



Computer Configuration GNU Linux Fedora using Linux Command

 

   The example below show step by step to test network connectivity with other host using ping command on Linux Fedora machine.  Why we need to ping?  Ping just a tool that use to test your host computer networking connection reach other host (other computer) on the network or internet... usually people use ping to troubleshoot network connection.  The example below use ping command (ping program) to test network connectivity between my Linux Fedora machine at home to yahoo.com server computer (on the internet).  Please note that the example here only show the example on ping yahoo.com... you can change the yahoo.com to other host as you wish.

 

Test network connectivity between host computer to yahoo.com using dns.

Test ping network connectivity

[root@fedora ~]# ping yahoo.com

PING yahoo.com (206.190.60.37) 56(84) bytes of data.

64 bytes from w2.rc.vip.re4.yahoo.com (206.190.60.37): icmp_seq=1 ttl=47 time=389 ms

64 bytes from w2.rc.vip.re4.yahoo.com (206.190.60.37): icmp_seq=2 ttl=47 time=393 ms

64 bytes from w2.rc.vip.re4.yahoo.com (206.190.60.37): icmp_seq=3 ttl=47 time=392 ms

64 bytes from w2.rc.vip.re4.yahoo.com (206.190.60.37): icmp_seq=4 ttl=47 time=384 ms

64 bytes from w2.rc.vip.re4.yahoo.com (206.190.60.37): icmp_seq=5 ttl=47 time=388 ms

^C

--- yahoo.com ping statistics ---

6 packets transmitted, 5 received, 16% packet loss, time 5211ms

rtt min/avg/max/mdev = 384.550/389.639/393.477/3.065 ms

[root@fedora ~]#

 

Test network connectivity between host computer to yahoo.com using IP address.

Test network connectivity between host computer to yahoo.com using IP address

[root@fedora ~]# ping 206.190.60.37

PING 206.190.60.37 (206.190.60.37) 56(84) bytes of data.

64 bytes from 206.190.60.37: icmp_seq=1 ttl=47 time=391 ms

64 bytes from 206.190.60.37: icmp_seq=2 ttl=47 time=393 ms

64 bytes from 206.190.60.37: icmp_seq=3 ttl=47 time=383 ms

64 bytes from 206.190.60.37: icmp_seq=4 ttl=47 time=387 ms

64 bytes from 206.190.60.37: icmp_seq=5 ttl=47 time=392 ms

64 bytes from 206.190.60.37: icmp_seq=6 ttl=47 time=388 ms

^C

--- 206.190.60.37 ping statistics ---

7 packets transmitted, 6 received, 14% packet loss, time 6122ms

rtt min/avg/max/mdev = 383.411/389.625/393.926/3.608 ms

[root@fedora ~]#

 

Note: On Linux Fedora, to stop or cancel the ping process from keep pinging... press Ctrl + c key

 




2 comments:

choco said...

Thanks

choco said...

Thanks for your information. I have checked ping test results from this site WhoisXY.com