Community discussions

MikroTik App
 
jjtag2301
just joined
Topic Author
Posts: 3
Joined: Thu Dec 28, 2017 6:46 pm

disable a rule when a provider crashes?

Tue Nov 03, 2020 6:07 pm

Good morning everyone, I'm in a problem ... I have a ccr1072 with many rules and everything is in static routing mode .. so when a provider leaves, I have to change those clients in both mangle and nat .. is there any way so that when the provider leaves ... these rules change automatically with a script so that you don't have to move every time you leave ...

Thanks a lot


deshabillitar una regla cuando se caiga un proveedor?

buenos dias a todos, estoy en un problema... tengo un ccr1072 con bastantes reglas y todo esta en modo ruteo estatico.. entonces cuando se va un proveedor, tengo que cambiar a esos clientes tanto en mangle como en nat .. hay alguna manera para que cuando se vaya el proveedor.. estas reglas cambien de manera automatica con algun script para no tener que estar moviendo cada vez que se vaya...

Muchas gracias
 
User avatar
erkexzcx
Member Candidate
Member Candidate
Posts: 263
Joined: Mon Oct 07, 2019 11:42 pm

Re: disable a rule when a provider crashes?

Tue Nov 03, 2020 10:26 pm

I am not sure what you are asking, but I would say "yes, it's possible".
 
gotsprings
Forum Guru
Forum Guru
Posts: 2115
Joined: Mon May 14, 2012 9:30 pm

Re: disable a rule when a provider crashes?

Thu Nov 26, 2020 9:37 pm

You could check if an interface is active. Then if than based on that.

Who is online

Users browsing this forum: Babujnik and 16 guests