Community discussions

 
ste
Forum Guru
Forum Guru
Topic Author
Posts: 1802
Joined: Sun Feb 13, 2005 11:21 pm

IFUP/IFDOWN Trigger ?

Fri Dec 28, 2018 1:09 pm

Is it possible to start a script as soon as an interface goes physically up/down?
 
User avatar
sebastia
Forum Guru
Forum Guru
Posts: 1776
Joined: Tue Oct 12, 2010 3:23 am
Location: Antwerp, BE

Re: IFUP/IFDOWN Trigger ?

Fri Dec 28, 2018 1:17 pm

Could be simulated with netwatch, not exactly same but ...
 
Frostbyte
Frequent Visitor
Frequent Visitor
Posts: 72
Joined: Mon Dec 25, 2017 1:42 am

Re: IFUP/IFDOWN Trigger ?

Fri Dec 28, 2018 3:47 pm

AFAIK, you can only do such thing with dynamic interfaces stemming from PPP profiles:
https://wiki.mikrotik.com/wiki/Manual:P ... Properties

Is your case time-sensitive? If not, you could use a scheduled script (with a very small interval) that checks whether or not it's active.

Who is online

Users browsing this forum: No registered users and 2 guests