Hey there,
I’m not sure why I have problems with switch-based VLAN settings on RB3011 (RouterOS v6.42.12). The same config works as expected on RB2011.
My initial goal was to get rid of default VLAN as my main network. So I want to use VLAN 77 for my main network, VLAN 300 for guests and VLAN 50 for management. All IPs and DHCP servers are on the bridges. My configuration:
Port 1,2: WAN 1, WAN 2
Port 6: CSS326-24G-2S+ (Main switch)
Port 8: VLAN 77 (PC)
Port 10: wAP
I have no problems with all devices behind the switch (on VLAN 50, 77 and 300). But device on port 8 has have lags to some websites, connections, ICMP - very similar to MTU issues. All issues are gone if I use default vlan or move it on the switch. Is this a bug?
My config:
/interface bridge
add admin-mac=:A2 auto-mac=no name=bridge-guests protocol-mode=none
add admin-mac=:A4 auto-mac=no name=bridge-internal protocol-mode=none
add admin-mac=:A3 auto-mac=no name=bridge-manage protocol-mode=none
add admin-mac=:A1 auto-mac=no name=bridge-ports protocol-mode=none
/interface vlan
add interface=bridge-ports name=vlan-50-manage vlan-id=50
add interface=bridge-ports name=vlan-77-internal vlan-id=77
add interface=bridge-ports name=vlan-300-guests vlan-id=300
/interface ethernet switch vlan
add independent-learning=no ports=switch2-cpu,06.SWITCH,10.PoE.16.AP-001 \
switch=switch2 vlan-id=50
add independent-learning=no ports=switch2-cpu,06.SWITCH,10.PoE.16.AP-001 \
switch=switch2 vlan-id=300
add independent-learning=no ports=\
switch2-cpu,06.SWITCH,08.PC,10.PoE.16.AP-001 switch=switch2 vlan-id=77
/interface ethernet switch port
set 5 vlan-header=add-if-missing vlan-mode=secure
set 7 default-vlan-id=77 vlan-header=always-strip vlan-mode=secure
set 9 vlan-header=add-if-missing vlan-mode=secure
set 10 vlan-mode=secure
set 11 vlan-mode=secure
/interface bridge port
add bridge=bridge-ports interface=06.SWITCH
add bridge=bridge-ports interface=07.empty
add bridge=bridge-ports interface=08.PC
add bridge=bridge-ports interface=09.empty
add bridge=bridge-ports interface=10.PoE.16.AP-001
add bridge=bridge-manage interface=vlan-50-manage
add bridge=bridge-internal interface=vlan-77-internal
add bridge=bridge-guests interface=vlan-300-guests
EDIT: Removed pvid from /interface bridge port.