Community discussions

MikroTik App

Search found 2 matches

by romp
Thu Mar 09, 2017 12:51 pm
Forum: Scripting
Topic: How to auto-reboot if remote IP down for 5 minutes
Replies: 28
Views: 98517

Re: How to auto-reboot if remote IP down for 5 minutes

And finally the solution:
disable ICMP echo reply "destination host unreachable" on router.

/ip firewall filter add protocol=icmp icmp-options=3 chain=output action=drop

now there are no replies from router if host unreachable, so count=0!
by romp
Thu Mar 09, 2017 9:50 am
Forum: Scripting
Topic: How to auto-reboot if remote IP down for 5 minutes
Replies: 28
Views: 98517

Re: How to auto-reboot if remote IP down for 5 minutes

Hi, gents! Sorry for digging into very old post, but hope someone can reply still. I have a problem with this script as it's based on presumption that there will be no any reply on ping. In fact, 4 of 5 pings die without reply and 1 out of 5 is replied by router itself with "host unreachable&qu...