Community discussions

MikroTik App
 
LaSolitaire
newbie
Topic Author
Posts: 44
Joined: Sun Nov 20, 2005 11:22 pm

Mikrotik Command line ping bug

Wed May 07, 2008 12:14 am

ping 192.168.34.1 size=1500 interval=00:00:05
worked

ping 192.168.34.1 size=1500 interval=00:00:00.2
do not worked
 
User avatar
jwcn
Forum Guru
Forum Guru
Posts: 1495
Joined: Sun Aug 27, 2006 6:49 am
Location: Maryland, USA
Contact:

Re: Mikrotik Command line ping bug

Wed May 07, 2008 3:32 am

How is that a bug?
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26379
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Mikrotik Command line ping bug

Wed May 07, 2008 9:54 am

what?
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Mikrotik Command line ping bug

Wed May 07, 2008 11:06 am

you cannot set any lower time frame as 1 second in normal ping command.

if you need more pings sent - just use /tool flood-ping
 
LaSolitaire
newbie
Topic Author
Posts: 44
Joined: Sun Nov 20, 2005 11:22 pm

Re: Mikrotik Command line ping bug

Thu May 08, 2008 12:27 am

Sorry for my simple expression. Ill try to explain what i have found.

Try write into RouterOs console:
[admin@GateWay] > ping 192.168.52.1 interval=05

You will receive this in 5second interval:
192.168.52.1 64 byte ping: ttl=63 time<1 ms
192.168.52.1 64 byte ping: ttl=63 time<1 ms
192.168.52.1 64 byte ping: ttl=63 time<1 ms
192.168.52.1 64 byte ping: ttl=63 time<1 ms
192.168.52.1 64 byte ping: ttl=63 time<1 ms


And than try to write into console this:
[admin@GateWay] > ping 192.168.52.1 interval=10

You will receive this message:
value of interval is out of range (00:00:00.010 .. 00:00:05)



Try to write into console this:
[admin@GateWay] > ping 192.168.52.1 interval=00:00:00.010
or only
[admin@GateWay] > ping 192.168.52.1 interval=0.010

You will receive this response:
invalid time value for argument interval




I think some think is wrong...............
In winbox, you are able to do this. In console you are not.
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7054
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Mikrotik Command line ping bug

Thu May 08, 2008 3:38 pm

00:00:00.010 is 10ms

you have to write
/ping 192.168.52.1 interval=10ms

And this is from manual:
interval (time: 10ms..5s; default: 1s) - delay between messages

so it is working as it should.
 
LaSolitaire
newbie
Topic Author
Posts: 44
Joined: Sun Nov 20, 2005 11:22 pm

Re: Mikrotik Command line ping bug

Thu May 08, 2008 3:51 pm

00:00:00.010 is 10ms

you have to write
/ping 192.168.52.1 interval=10ms

And this is from manual:
interval (time: 10ms..5s; default: 1s) - delay between messages

so it is working as it should.

Ok THX for explaining.
But than it should be written this message by RouterOS
:
value of interval is out of range 10ms .. 5s)
instead of this message:
value of interval is out of range (00:00:00.010 .. 00:00:05)

Who is online

Users browsing this forum: No registered users and 79 guests