I am used on Openwrt and Cisco routers / Linux VLANs, but something is driving me crazy to this mikrotik RouterOS. I cannot setup properly the VLANs and the switching.
I want to have 3 VLANs:
VLAN 10 - Home Lan
VLAN 20 - WIFI
VLAN 101 - DMZ
How can I properly configure a port to have:
Tagged: 20, 101
Untagged: 10?
There are two different types of VLANs in RouterOS:
Software VLANs in “/interface vlan”. They behave as network interfaces. You put them on physical interface and they give you access to tagged traffic on that interface. You can use them when you want to do routing between VLAN(s) and anything else. You don’t want them for standard switching. They can be bridged, but it’s not good for performance.
Hardware VLANs in switch chip. This should be same kind of high-performance VLANs as in normal switches.
I have close to none experience with 2). All I can say is that I found the config really, really confusing. I’m also not sure how mixing those two types of VLANs work (but that’s part of my mentioned confusion). In other words, I can’t really help you. But at least this brief intro gives your thread a bump up.
I found after tracing traffic, that Swithc VLAN is not changing the default vlan, on any Option (disabled… etc) and even if I strip or not the vlan.
That confuses me.
When I removed the port ether5 from master port 2, and joined it to Bridge200 which is member with the vlan200 then the “native” vlan changed"
It seems something is not working with the switch, Or I am wrong
Edited (I prefer instead of replying):
One of the issues is, If I group the ports on the switch, they get their VLAN settings from their group owner.
If I ungroup them, it seems like the ports are not switching properly between them, and they use the software vlan handling.
So if i use the same vlan and they are not on the same group, the VLANs cannot talk to each other.