Use simple command below to check whether a server is reachable or not.


Command


$ ping -c4 192.168.99.30 | awk '/---/,0'

--- 192.168.99.30 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2998ms
rtt min/avg/max/mdev = 0.269/0.340/0.440/0.071 ms