can i great netwach depend on mac adderss instead from ip address
my internet provider dorp ping for that i need to wach from mac
if i cant wt i can do to mointer my trafic
can i great netwach depend on mac adderss instead from ip address
my internet provider dorp ping for that i need to wach from mac
if i cant wt i can do to mointer my trafic
netwatch can’t use mac-addresses (AFAIK!)
why not use a scheduler+script that uses something akin to
:if ( [ / ping 10.0.0.1 arp-interface=wan ] = 0 ) do={
:put offline } else={ :put online }
of course replace “10.0.0.1” with the ip you want to ping and “wan” with whatever interface that ip is found on.
sten thx so much
it was the solution for my problem
but i still have question hope to find how to slove it:
:if ( [ / ping 192.168.0.11 arp-interface=Local interval=5] =1 ) do={:log info “ping ok” } else={ :log info “ping down” }
why i can’t put interval=6
why the maximum is 5
try adding the letter “s” behind your interval numer.
also you need to set a count= limit, otherwise ping will never exit and you will never know how many times the remote host responded.
:if ( [ / ping 192.168.0.10 arp-interface=Local interval=19s count=1] =1 ) do={:log info “ping ok” } else={ :log info “ping down” }
plz can some one tell me why it’t work
it work only with interval <5
Could have to do with some scripting internal timeout for called functions?
Someone from MikroTik to comment?
Best regards,
Christian Meis