Community discussions

MikroTik App
 
User avatar
fischerdouglas
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 73
Joined: Thu Mar 07, 2019 6:38 pm
Location: Brazil
Contact:

Vlan Demux Interface - auto decapsule vlans

Tue Jul 30, 2024 7:32 pm

I use a scenario in which I deliver several VLANs to the same interface of a B-RAS, each one coming from a different OLT or Radio-Base.

All of these VLANs follow the same operating pattern.
All of them with PPPoE or DHCPv4+DHCPv6 services.

Other manufacturers have features to configure an interface as a template, and when a packet from a VLAN or a QinQ "appears", it creates a temporary sub-interface following the template.

Using Juniper's Junos this is done with:
"auto-configure vlan-ranges dynamic-profile"

Using Huawei's VRP this is done with:
"user-vlan any-other"

I'm looking for a way to do this with RouterOS.

But I couldn't think of anything similar.

I searched a lot about this in the interface types and couldn't find anything that could be used this way.

Without this, in some scenarios, you have to create 40-50, sometimes 100 interfaces, and repeat and maintain all the configurations.
And even so, when you activate a new OLT, you need a specific intervention in B-RAS to activate that new OLT.

Do any of you have any suggestions on how to achieve auto decapsulation of VLANs following an interface template in RouterOS?
 
User avatar
loloski
Member
Member
Posts: 423
Joined: Mon Mar 15, 2021 9:10 pm

Re: Vlan Demux Interface - auto decapsule vlans

Tue Jul 30, 2024 7:47 pm

I don't think that feature is available in ROS today, you can kinda sort of emulate that via ros api whenever you are provisioning another BRAS but is clunky at least for my personal taste
 
User avatar
fischerdouglas
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 73
Joined: Thu Mar 07, 2019 6:38 pm
Location: Brazil
Contact:

Re: Vlan Demux Interface - auto decapsule vlans

Wed Jul 31, 2024 2:04 am

I don't think that feature is available in ROS today, you can kinda sort of emulate that via ros api whenever you are provisioning another BRAS but is clunky at least for my personal taste
I was imagining a script within RouterOS itself that would create an interface from a command that passed single-vlan, double-vlan parameters.

This seems very simple to do using RouterOS-Scripting.

The difficulty I'm seeing is what trigger could be used to call this script...
Something that would detect that there are packets entering the interface that don't match the Vlan and QinQ TAGs already created.

I'm still thinking of a solution for this.
 
User avatar
fischerdouglas
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 73
Joined: Thu Mar 07, 2019 6:38 pm
Location: Brazil
Contact:

Re: Vlan Demux Interface - auto decapsule vlans

Mon Sep 30, 2024 11:57 am

Hey loloski!
I don't think that feature is available in ROS today, you can kinda sort of emulate that via ros api whenever you are provisioning another BRAS but is clunky at least for my personal taste
What's new in 7.17beta2 (2024-Sep-27 10:07):
*) pppoe - added support for PPPoE server over 802.1Q VLANs;
Sounds like they started to support it.
 
User avatar
loloski
Member
Member
Posts: 423
Joined: Mon Mar 15, 2021 9:10 pm

Re: Vlan Demux Interface - auto decapsule vlans

Mon Sep 30, 2024 10:52 pm

Hi fischerdouglas,

Let see how it will pan out in the end I hope the solution will not be half baked