Community discussions

MikroTik App
briane
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 50
Joined: Mon Jan 05, 2009 8:01 am
Location:Mutare, Zimbabwe

Netwatch explanation please.

Thu Jul 22, 2010 10:56 pm

Hi,

When setting up a netwatch, the two variables on the Host Tab "Interval" and Timeout" seem simple and first...and then I start thinking about this in more detail, and it becomes less clear.

If the Interval is set at 2s and timeout at 10s, will this fire pings at 2,4,6 and 8 seconds, and then at 10s, if no response is received on ping 1 (sent at 2s), trigger the Down response? And if Ping 2 responds within the 10 seconds after being sent, does this then trigger the Up response, even though the down response is already in motion?

Should the interval always be less than timeout?

和替换netwatch函数到底好吗t to the interval, timeout and UP/DOWN responses?

Maybe I am "over thinking" this issue...:)

Regards
Brian
Top
User avatar
hilton
Long time Member
Long time Member
Posts: 634
Joined: Thu Sep 07, 2006 5:12 pm
Location:Jozi (aka Johannesburg), South Africa

Re: Netwatch explanation please.

Tue Jul 27, 2010 3:32 pm

When setting up a netwatch, the two variables on the Host Tab "Interval" and Timeout" seem simple and first...and then I start thinking about this in more detail, and it becomes less clear.

Should the interval always be less than timeout?
Brian, the interval should always bemorethan the timeout. So say you set your interval for every thirty seconds and the timeout for 5s, the router will check to see if the IP is reachable every 30 seconds by pinging it. If after 5 seconds no response if received, the netwatch script triggers the 'down' script.

Make sense?
Top

Who is online

Users browsing this forum:xyzand 18 guests