Document revision 1.9 (30-Apr-2003)
This document applies to MikroTik RouterOS v2.7
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.
(IP address | MAC address) - IP or MAC address for destination host
size (28...65535, default: 64) - Size of the IP packet (in bytes, including the IP and ICMP headers)
do-not-fragment - If added, packets will not be fragmented
interval (10ms...5s, default: 1s) - Delay between messages
count (integer, default: 0) - How many times ICMP packets will be sent
Packet size may not be greater than the interface's mtu. If 'pinging' by MAC address, minimal packet size iz 50.
Only neighbour MikroTik RouterOS routers with MAC-ping feature enabled can be 'pinged' by MAC address.
[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] >
[admin@MikroTik] tool mac-server ping> print
enabled: yes
[admin@MikroTik] tool mac-server ping>
[admin@MikroTik] tool mac-server ping> set enabled=no
[admin@MikroTik] tool mac-server ping> print
enabled: no
[admin@MikroTik] tool mac-server ping>