Multiple uplinks to the same switch on different VLANs

Hey,

I’m trying to implement something resembling the diagram. However, as soon as I connect the second link (ether2 → port2) all connection to clients (including on vlan10, which should be unrelated) is lost. Almost as if STP kicks in or something like that.

Are there any considerations to take in to account when configuring something like that? I don’t want to trunk these tow ports, all I want is two separate VLANs on two separate ports…

Thanks!
Untitled Diagram.png

Config on router?
Config on switch?

If you have multiple links containing differing VLANs between a pair of switches you either have have to ensure spanning tree is disabled or use MSTP.

Or simply use subnets on mikrotik attached to interface and use port vlans on switch.

@tdw - tried my best to understand and configure MSTP (just enabling it on both sides didn’t do much good), but I’m pretty sure I got something wrong somewhere, and it didn’t work, ie didn’t resolve my problem. However disabling STP altogether worked fine. I’m not going to have anything more complicated than what’s on diagram, so doubt STP is even needed in mysituation. thank you!

@anav - that’s what I have right now, but I want to separate things a bit, and hoping for slightly better performance, ie all cross-VLAN traffic wouldn’t need to go through the same link to the router to get routed. though I might be overthinking..

UNderstood so the right answer then is to use one port only between the MT device and the switch and carry the vlans on the single trunk port.

@tdw is right ofcorse…
R(STP) along with VLANs, might cause problems in certain cases…
https://help.mikrotik.com/docs/display/ROS/Spanning+Tree+Protocol

However, i will agree with @anav as well, since just a single Trunk between those two devices would solve your problem as well…