Page 1 of 1

Arp ping from console in v3.20

Posted: Sat Jun 12, 2010 2:55 pm
by KirillTs
I'm using MT v3.20, in winbox i can arp ping devices in my network, how to do that from telnet or ssh?

Found in old manual http://www.mikrotik.com/testdocs/ros/2.9/root/ping.php
/ping 10.5.8.130 arp-interface=local
and i get errore
bad argument name arp-interface (line 1 column 19)
can't find ping info on wiki....


Please help

Re: Arp ping from console in v3.20

Posted: Sun Jun 13, 2010 5:37 pm
by Letni
Hi KirillTs,

I am using RouterOS 3.25 on an X86 box with 3.25 and able to arp ping using this command.
/ping 10.30.0.253 interface=ether4 arp-ping=yes
and get back response
10.30.0.253 with hw-addr 00:0C:42:07:2A:5B ping time<1 ms
The link to the wiki you posted is for the older version of RouterOS.
They do not seem to have explanation of new ping up on Wiki yet. :(

RouterOS CLI has TAB completion. Hit TAB twice to get a list of options for a command. Example.
/ping 10.30.0.253 TAB TAB
arp-ping do-not-fragment interval size ttl
count interface routing-table src-address
If you want to know more about what a command does you can use the ?.
/ping 10.30.0.253 ?
Send ICMP Echo packets. Repeat after given time interval.

<address> -- IP address
arp-ping --
count -- Number of packets
do-not-fragment -- Do not fragment ping packets
interface --
interval -- Delay between messages
routing-table --
size -- Packet size
src-address -- Source IP address to use when pinging
ttl -- Time to live
Hope that helps.

-Louis

Re: Arp ping from console in v3.20

Posted: Sun Jun 13, 2010 6:59 pm
by KirillTs
Thank You Louis !