Linux - Keep internet connection monitoring, Best practice to do ping test
Keep internet connection monitoringThere are many different methods to keep your internet connections monitored, but the best practice to keep the internet connection monitored is the ping test. But how will make the ping test and to which IP we can do ping test? You all know Google servers never goes down, might be in some rare case. On terminal type the ping command with -t option
# ping -t 18.104.22.168
Pinging 22.214.171.124 with 32 bytes of data:
Reply from 126.96.36.199: bytes=32 time=175ms TTL=49
Reply from 188.8.131.52: bytes=32 time=167ms TTL=49
Reply from 184.108.40.206: bytes=32 time=54ms TTL=49
Reply from 220.127.116.11: bytes=32 time=139ms TTL=49
Request timed out.
# nslookup 18.104.22.168 Server: UnKnown Address: 192.168.1.1 Name: google-public-dns-a.google.com Address: 22.214.171.124
Type "ping -t 126.96.36.199" leaving the double quotes. The " -t " switch is important since it means that the ping command will run forever if not stopped by yourself by hitting Ctrl + C. (188.8.131.52 is Google's DNS Server)
The output of the ping command shows the live status of your Internet connection. If the status reads as "reply from 184.108.40.206," the machine is online and in all other cases it means that the Internet connection is down.
The topic on Linux - Keep internet connection monitoring is posted by - Math
Hope you have enjoyed, Linux - Keep internet connection monitoringThanks for your time