MikroTik RouterOS Ping

Document revision 27-Mar-2002
This document applies to MikroTik RouterOS v2.4 and v2.5


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

Hardware Resource Usage

There is no significant resource usage.

Ping Description

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.

[MikroTik] > ping ?
Send ICMP Echo packets. Repeat after given time interval.

            count  Number of packets
  do-not-fragment  Do not fragment the packets
         interval  Delay between messages
             size  Packet size in bytes
[MikroTik] >

Descriptions of arguments:

address - IP address for the host you want to ping.
size - (optional) Size of the IP packet (in bytes, including the IP and ICMP headers). Can be 36...4096.
do-not-fragment - if added, packets aren't fragmented
interval - (optional) Delay between messages (in seconds). Default is 1 second. Can be 10ms...5s.
count - How many time ICMP packets will be sent. If not specified, ping continues till CTRL+C is pressed.

Ping Examples

[MikroTik] > ping count=5 interval=20ms size=64 64 byte pong: ttl=249 time=3 ms 64 byte pong: ttl=249 time<1 ms 64 byte pong: ttl=249 time<1 ms 64 byte pong: ttl=249 time<1 ms 64 byte pong: ttl=249 time<1 ms
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 0/0.6/3 ms
[MikroTik] > 

Copyright 1999-2002, MikroTik