Ping uses Internet Control Message Protocol (ICMP) Echo messages to determine if a remote host is active or inactive and to determine the round-trip delay when communicating with it.
Topics covered in this manual:
The Ping feature is included in the 'system' package. No installation is needed for this feature
There is no significant resource usage.
Ping utility shows Time To Live value of the received packet (ttl) and Roundtrip time (time) in ms. The console Ping session may be stopped when the Ctrl + C is pressed.
[admin@MikroTik] > ping
Send ICMP Echo packets. Repeat after given time interval.
<address>
count Number of packets
do-not-fragment
interval Delay between messages
size Packet size
ttl
[admin@MikroTik] > ping
Descriptions of arguments:
address - IP address for the host you want to ping
size - Size of the IP packet (in bytes, including the IP and ICMP headers). Can be 36 ...4096
do-not-fragment - if added, packets will not be fragmented
interval - Delay between messages (in seconds). Can be 10ms...5s. Default is 1 second
count - How many time ICMP packets will be sent. If not specified, ping continues till CTRL+C is pressed
ttl - Time To Live (TTL) value of ICMP packet. Can be 1...255
[admin@MikroTik] > ping 159.148.60.2 count=5 interval=40ms size=64 159.148.60.2 64 byte pong: ttl=247 time=32 ms 159.148.60.2 64 byte pong: ttl=247 time=30 ms 159.148.60.2 64 byte pong: ttl=247 time=40 ms 159.148.60.2 pong timeout 159.148.60.2 64 byte pong: ttl=247 time=28 ms 5 packets transmitted, 4 packets received, 20% packet loss round-trip min/avg/max = 28/32.5/40 ms [admin@MikroTik] >If DNS service is configured, it is possible to ping by DNS address. To do it from Winbox, you should resolve DNS address first, pressing right mouse button over it address and choosing Lookup Address.
[admin@MikroTik] > ping www.lv count=5 interval=100ms size=64 159.148.95.5 64 byte pong: ttl=247 time=71 ms 159.148.95.5 64 byte pong: ttl=247 time=48 ms 159.148.95.5 64 byte pong: ttl=247 time=33 ms 159.148.95.5 64 byte pong: ttl=247 time=33 ms 159.148.95.5 64 byte pong: ttl=247 time=73 ms 5 packets transmitted, 5 packets received, 0% packet loss round-trip min/avg/max = 33/51.6/73 ms [admin@MikroTik] >