The problem is that from time to time the connection drops, and immediately reconnects. When reconnecting it creates virtual interface with < and > brackets around name:
Code: Select all
/interface/l2tp-server/add name="<l2tp-remote_site>" ....
Code: Select all
/interface/l2tp-server/add name="<l2tp-remote_site2>" ....
Code: Select all
/interface/l2tp-server/add name="l2tp-remote_site" ....
Static interface state is 'down' which triggers alarm.
When I delete the dynamic interface, the static becomes active within a fraction of the second.
How to prevent Mikrotik to create dynamic interface?
How to force L2TP connection to use, and re-use specific statically created interface?