HAProxy ALOHA Documentation 13.0
Ping
Pinging ensures that an IP address is reachable through the network.
From the Web user interface (web UI)
Open the DiagTools tab.
From the Select list, choose ping (source*, destination, ignored).
-
Enter the following parameters:
source*
: (optional) source IP to usedestination
: the destination IP to reach
Click Run.
From the command line interface (CLI)
Get root rights by typing
root
.Run
ping -n -c 5 [-s <source>] <destination>
.
Output example: Successful
PING 10.0.33.101 (10.0.33.101) 56(84) bytes of data.
64 bytes from 10.0.33.101: icmp_seq=1 ttl=64 time=0.051 ms
64 bytes from 10.0.33.101: icmp_seq=2 ttl=64 time=0.030 ms
64 bytes from 10.0.33.101: icmp_seq=3 ttl=64 time=0.024 ms
64 bytes from 10.0.33.101: icmp_seq=4 ttl=64 time=0.030 ms
64 bytes from 10.0.33.101: icmp_seq=5 ttl=64 time=0.036 ms
--- 10.0.33.101 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4008ms
rtt min/avg/max/mdev = 0.024/0.034/0.051/0.009 ms
Output example: Unsuccessful
PING 10.0.33.101 (10.0.33.101) 56(84) bytes of data.
--- 10.0.33.101 ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 3999ms
Next up
Routing Diagnostics