Hi,
I have 2 circuits supplied fiber with 2 Vlans and I would like to know how to make each one leave by separate interface. Example: I have a circuit with vlan1234 and another with vlan 5678 with different ips. I want to separate networks because it has different bandwidth.
If I understand you right, which may well not be the case, you need a bridge or switch with vlan filtering functionality, with three ports - a trunk one where both VLANs are permitted tagged, and two access ones, one for each VLAN. Or maybe you want the VLANs to remain tagged on their dedicated ports, but only one VLAN allowed at each port, which is still possible.
Is that what you really need? If not, try to explain your requirements using different words, and give us more context - maybe you actually just want to apply different QoS rules per each “circuit” on the same router? If so, simply use the two /interface vlan as the root parents of queues in /queue tree.
hi,
“if I understand you right, which may well not be the case, you need a bridge or switch with vlan filtering functionality, with three ports - a trunk one where both VLANs are permitted tagged, and two access ones, one for each VLAN. Or maybe you want the VLANs to remain tagged on their dedicated ports, but only one VLAN allowed at each port, which is still possible.”
It depends on what else you want from the device providing this functionality. Any Mikrotik device with at least three Ethernet interfaces can do this using a software bridge, but it may become a bottleneck - you haven’t stated the actual bandwidth of the two “circuits”. If you want that to be done on wire speed, you need a device with a switch chip supporting VLAN processing, i.e. at least hAP ac2. And then another question is whether you need multiple isolated bridges - only some CRS devices support multiple bridges with hardware forwarding using a switch chip. On most devices, the switch chips are simpler and only one of the bridges can be fully integrated with the switch chip, the rest are pure software ones. On the other hand, the CPU of some models is so powerful that they can bridge 2 Gbit/s in software, but that would probably not be an efficient solution for your case.
So again, without knowing the complete concept, it is hard to give a better advice.