Hey, i want to have RADIUS based vlan assignment in the future, so i’m trying to set up vlan tagging properly already.
However, using vlan-mode=use-tag does not work, with or without vlan-filtering activated. Devices can connect to the wlan, but are unable to reach the dhcp server.
I need it to be tagged by the interface, since i want to have one ssid/interface tagging different devices to different vlans.
Does anyone know what the issue could be?
Here are my different configs i tried:
vlan-filtering off, vlan-mode=no-tag, bridge wlan pvid=2 - works:
# 2024-06-06 16:51:06 by RouterOS 7.15
# software id = QTS9-I7NL
#
# model = RB4011iGS+5HacQ2HnD
# serial number = XXXXXXXXXXX
/interface bridge
add admin-mac=XX:XX:XX:XX:XX:XX auto-mac=no name=LAN
/interface vlan
add interface=LAN name=vlan8-management vlan-id=8
/interface list
add name=SourcePorts
add name=UserPorts
add name=management
add name=WLANiface
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
add authentication-types=wpa2-psk mode=dynamic-keys name=profile1 supplicant-identity=MikroTik
/interface wireless
set [ find default-name=wlan1 ] band=5ghz-onlyac channel-width=20/40/80mhz-Ceee compression=yes country=mycountry disabled=no frequency=5640 mode=ap-bridge security-profile=profile1 ssid=SSID vlan-id=2 wireless-protocol=802.11
set [ find default-name=wlan2 ] band=2ghz-g/n compression=yes country=mycountry disabled=no frequency=auto mode=ap-bridge security-profile=profile1 ssid=SSID vlan-id=2 wireless-protocol=802.11
/interface bridge port
add bridge=LAN interface=SourcePorts pvid=7 trusted=yes
add bridge=LAN interface=UserPorts pvid=2 trusted=yes
add bridge=LAN interface=WLANiface pvid=2
/interface bridge vlan
add bridge=LAN tagged=sfp-sfpplus1,ether1,wlan1,wlan2 vlan-ids=1
add bridge=LAN tagged=sfp-sfpplus1,wlan1,wlan2 untagged=ether1 vlan-ids=2
add bridge=LAN tagged=LAN,sfp-sfpplus1,ether1,wlan1,wlan2 vlan-ids=8
/interface list member
add interface=sfp-sfpplus1 list=SourcePorts
add interface=ether1 list=UserPorts
add interface=ether2 list=UserPorts
add interface=ether3 list=UserPorts
add interface=ether4 list=UserPorts
add interface=ether5 list=UserPorts
add interface=ether6 list=UserPorts
add interface=ether7 list=UserPorts
add interface=ether8 list=UserPorts
add interface=ether9 list=UserPorts
add interface=ether10 list=UserPorts
add interface=vlan8-management list=management
add interface=wlan1 list=WLANiface
add interface=wlan2 list=WLANiface
vlan-filtering off, different bridge wlan pvid, vlan-mode=use-tag - does not work:
# 2024-06-06 16:55:35 by RouterOS 7.15
# software id = QTS9-I7NL
#
# model = RB4011iGS+5HacQ2HnD
# serial number = XXXXXXXXXXX
/interface bridge
add admin-mac=XX:XX:XX:XX:XX:XX auto-mac=no name=LAN
/interface vlan
add interface=LAN name=vlan8-management vlan-id=8
/interface list
add name=SourcePorts
add name=UserPorts
add name=management
add name=WLANiface
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
add authentication-types=wpa2-psk mode=dynamic-keys name=profile1 supplicant-identity=MikroTik
/interface wireless
set [ find default-name=wlan1 ] band=5ghz-onlyac channel-width=20/40/80mhz-Ceee compression=yes country=mycountry disabled=no frequency=5640 mode=ap-bridge security-profile=profile1 ssid=SSID vlan-id=2 vlan-mode=use-tag wireless-protocol=802.11
set [ find default-name=wlan2 ] band=2ghz-g/n compression=yes country=mycountry disabled=no frequency=auto mode=ap-bridge security-profile=profile1 ssid=SSID vlan-id=2 vlan-mode=use-tag wireless-protocol=802.11
/interface bridge port
add bridge=LAN interface=SourcePorts pvid=7 trusted=yes
add bridge=LAN interface=UserPorts pvid=2 trusted=yes
add bridge=LAN interface=WLANiface pvid=7
/interface bridge vlan
add bridge=LAN tagged=sfp-sfpplus1,ether1,wlan1,wlan2 vlan-ids=1
add bridge=LAN tagged=sfp-sfpplus1,wlan1,wlan2 untagged=ether1 vlan-ids=2
add bridge=LAN tagged=LAN,sfp-sfpplus1,ether1,wlan1,wlan2 vlan-ids=8
/interface list member
add interface=sfp-sfpplus1 list=SourcePorts
add interface=ether1 list=UserPorts
add interface=ether2 list=UserPorts
add interface=ether3 list=UserPorts
add interface=ether4 list=UserPorts
add interface=ether5 list=UserPorts
add interface=ether6 list=UserPorts
add interface=ether7 list=UserPorts
add interface=ether8 list=UserPorts
add interface=ether9 list=UserPorts
add interface=ether10 list=UserPorts
add interface=vlan8-management list=management
add interface=wlan1 list=WLANiface
add interface=wlan2 list=WLANiface
vlan-filtering on, different bridge wlan pvid, vlan-mode=use-tag - does not work:
# 2024-06-06 16:36:59 by RouterOS 7.15
# software id = QTS9-I7NL
#
# model = RB4011iGS+5HacQ2HnD
# serial number = XXXXXXXXXXX
/interface bridge
add admin-mac=XX:XX:XX:XX:XX:XX auto-mac=no name=LAN pvid=7 vlan-filtering=yes
/interface vlan
add interface=LAN name=vlan8-management vlan-id=8
/interface list
add name=SourcePorts
add name=UserPorts
add name=management
add name=WLANiface
/interface list member
add interface=sfp-sfpplus1 list=SourcePorts
add interface=ether1 list=UserPorts
add interface=ether2 list=UserPorts
add interface=ether3 list=UserPorts
add interface=ether4 list=UserPorts
add interface=ether5 list=UserPorts
add interface=ether6 list=UserPorts
add interface=ether7 list=UserPorts
add interface=ether8 list=UserPorts
add interface=ether9 list=UserPorts
add interface=ether10 list=UserPorts
add interface=vlan8-management list=management
add interface=wlan1 list=WLANiface
add interface=wlan2 list=WLANiface
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
add authentication-types=wpa2-psk mode=dynamic-keys name=profile1 supplicant-identity=MikroTik
/interface wireless
set [ find default-name=wlan1 ] band=5ghz-onlyac channel-width=20/40/80mhz-Ceee compression=yes country=mycountry disabled=no frequency=5640 mode=ap-bridge security-profile=profile1 ssid=SSID vlan-id=2 vlan-mode=use-tag wireless-protocol=802.11
set [ find default-name=wlan2 ] band=2ghz-g/n compression=yes country=mycountry disabled=no frequency=auto mode=ap-bridge security-profile=profile1 ssid=SSID vlan-id=2 vlan-mode=use-tag wireless-protocol=802.11
/interface bridge port
add bridge=LAN interface=SourcePorts pvid=7 trusted=yes
add bridge=LAN interface=UserPorts pvid=2 trusted=yes
add bridge=LAN interface=WLANiface pvid=7
/interface bridge vlan
add bridge=LAN tagged=sfp-sfpplus1,ether1,wlan1,wlan2 vlan-ids=1
add bridge=LAN tagged=sfp-sfpplus1,wlan1,wlan2 untagged=ether1 vlan-ids=2
add bridge=LAN tagged=LAN,sfp-sfpplus1,ether1,wlan1,wlan2 vlan-ids=8