Hello.
I have a BIG problem for my organization. We have over 30 routerboards 411U and 750. We are using them on ATM.
All of them connected via GREvsIpSec to cisco router. And a few times a day tunnel with IpSec down. No packets transmit in SA.
Help only “\ip ipsec installed sa flush”. But it’s not good.
Mikrotik with mikrotik work perfect.
What can i do to solve this?
:local IPWatchServer 10.0.1.2
:local OutInterface bridge-lan
:if ([/ping interface=$OutInterface $IPWatchServer count=4]<3) do={
/ip ipsec installed-sa flush sa-type=all
:log info "IPSEC tunnel with XO is down: Flushing Installed SA !!!"
} else={
:log info "IPSEC tunnel with XO is OK !"
}
I used it too, exclude “tunnel isOK” in log. I added delay 30s and write logs on syslog server.
But realy, it’s not solution. Almost when tunnel down state is critical. Sript flush SA for 10-15 times a day.
I have the same routerboards in branches. There are better situation. On ATM there are less traffic. May be this is a problem?
Completely agree with you, but … this is Mikrotik
I tried to do this via Netwatch, but noticed that I can’t do this because it isn’t possible to indicate out interface.
I made a future request for this:
Hello,
Netwatch does not have interface, but you can add static route to send ping over
different interface.
Perhaps you can change IPsec lifetime timeouts and set it to low values or even
use DPD on both ends, (DPD allows you to remove unused SA, when there is no
connection between two hosts).