I have a route specified under /ip route
where I'm routing the following network over an l2tp interface. The interface is setup when the remoteserver calls into my server via L2TP/IPSec.
This works as long as the l2tp-interface is alive. But once the remote user disconnects and later reconnects reconnects, this route is marked unreachable due to the check via ping. So routing stops as there is no backup route. Is there way that route gets automatically enabled as soon as the interface comes back online after brief outage.
I could write a simple monitor script, but is there a setting I might have missed to allow automatic reenabling the route?
Code: Select all
5 A S dst-address=10.0.28.0/22 gateway=<l2tp-remoteserver>
gateway-status=<l2tp-remoteserver> reachable check-gateway=ping
distance=1 scope=30 target-scope=10
Skip