Community discussions

MikroTik App
 
Gotmoh
newbie
Topic Author
Posts: 38
Joined: Fri Jul 15, 2005 8:56 am

Can I use results of ping in an script to reset interface?

Wed May 10, 2006 9:46 pm

Hi all.

Is that posible? How to read ping results to an ip address and using "if" command reset interface. I mean scenario when mikrotik ping IP address to remote location and when have no responce reseting interface connected to those location.
 
changeip
Forum Guru
Forum Guru
Posts: 3833
Joined: Fri May 28, 2004 5:22 pm

Wed May 10, 2006 10:12 pm

use netwatch to trigger a script, it uses ping to determine up/down status.

Sam