Community discussions

MikroTik App
 
User avatar
Damago1
just joined
Topic Author
Posts: 13
Joined: Wed Jan 10, 2024 9:25 pm

Prevent L2TP server from creating dynamic interface

Mon Sep 30, 2024 2:11 am

I have a problem. I have setup L2TP site-to-site tunnel. I am monitoring this tunnel with SNMP.
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:
/interface/l2tp-server/add name="<l2tp-remote_site>" ....
And after some time it reconnects again, new virtual interface is created:
/interface/l2tp-server/add name="<l2tp-remote_site2>" ....
To prevent changing name of the interface for this connection I have created manually static interface:
/interface/l2tp-server/add name="l2tp-remote_site" ....
And it works. But after 2 days it re-creates the dynamic interface again, switching from using staticly manually created interface to dynamic one.
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?
 
kleshki
Member Candidate
Member Candidate
Posts: 285
Joined: Tue Mar 10, 2020 6:37 am

Re: Prevent L2TP server from creating dynamic interface

Mon Sep 30, 2024 2:48 am

Maybe "one session per host" tick may help you in L2TP server configuration.

Who is online

Users browsing this forum: johnson73 and 45 guests