Community discussions

MikroTik App
 
ebash43
just joined
Topic Author
Posts: 1
Joined: Tue Sep 22, 2020 5:59 pm

Ping or floodping

Tue Nov 16, 2021 12:33 pm

So i have problem figuring out what to use is it either ping or floodping.

main goal is to get avg-rtt on a routing table

Problem 1: Ping can do the routing table but return value is always ping counts
Problem 2: Floodping can return avg-rtt ms but you cant select routing table
{
:local addr 8.8.8.8;
:local ms 100;
:local avg;
/tool flood-ping $addr count=10 routing-table=m2 do={
	:if ($sent = 10) do={
	:set avg $"avg-rtt"
}}
:if ($avg >= $ms) do={
	/ip route disable [find where routing-mark=m2 distance=1];
} else={
	/ip route enable [find where routing-mark=m2 distance=1];
}
}

/tool flood-ping $addr count=10 routing-table=m2 this line would make it perfect but unfortunately flood-ping doesn't have routing table.

any ideas how to pull this off?
 
MikRu
just joined
Posts: 21
Joined: Sat Mar 09, 2013 6:59 pm

Re: Ping or floodping

Thu Jul 27, 2023 11:21 am

Hi anyone!

Is there any news about topic-starter question?
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11982
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Ping or floodping

Thu Jul 27, 2023 11:22 am

Hi anyone!

Is there any news about topic-starter question?
Yes, your resurrecting post.
 
MikRu
just joined
Posts: 21
Joined: Sat Mar 09, 2013 6:59 pm

Re: Ping or floodping

Thu Jul 27, 2023 11:28 am

funny, but useless

Who is online

Users browsing this forum: No registered users and 27 guests