Hello,
Very confusing with VLANS with the PowerBox [RB960RGS board] as it uses the QCA8337 switch chip. IF I use the new bridge VLAN method, it will disable HW Offloading and rely directly on CPU - and performance will suffer…
I’ve went ahead and configured the old/original method using the ethernet switch chip. Can anyone with experience take a look at my configuration and tell me if OK? I had to make ether5 my ‘out band port’, as once i set the switch port vlan-mode=secure… i lose ALL access to the ports [even when my Macbook ethernernet interface has vlan tag setup].
https://help.mikrotik.com/docs/display/ROS/Switch+Chip+Features
Also VERY confusing if I should even use vlan-mode=secure and or with vlan-header-mode=leave-as-is or ‘add-if-missing’ ???
This powerbox will just be trunking VLANS to attached access points that have vlan tagged SSIDs…
ether1 - is main uplink to core switch for all vlans that’ll be passed.
# jan/02/1970 02:12:14 by RouterOS 6.45.8
# software id = P7CC-D6AJ
#
# model = RB960PGS
# serial number = D5320C360727
/interface bridge add name=all-vlan-bridge protocol-mode=stp
/interface bridge add admin-mac=48:8F:5A:61:78:74 auto-mac=no name=bridge_bkup
/interface ethernet set [ find default-name=ether1 ] comment="Trunk to SW01" name=ether1_sw01
/interface ethernet set [ find default-name=ether5 ] poe-out=off
/interface vlan add interface=all-vlan-bridge name=vlan10-data-lan vlan-id=10
/interface vlan add interface=all-vlan-bridge name=vlan20-CGNAT vlan-id=20
/interface vlan add interface=all-vlan-bridge name=vlan40-GuestWIFI vlan-id=40
/interface vlan add interface=all-vlan-bridge name=vlan60-AP-SSID vlan-id=60
/interface vlan add interface=all-vlan-bridge name=vlan88-mgmt-net vlan-id=88
/interface ethernet switch port set 0 vlan-mode=secure
/interface ethernet switch port set 1 vlan-mode=secure
/interface ethernet switch port set 2 vlan-mode=secure
/interface ethernet switch port set 3 vlan-mode=secure
/interface list add comment=defconf name=WAN
/interface list add comment=defconf name=LAN
/interface wireless security-profiles set [ find default=yes ] supplicant-identity=MikroTik
/ip hotspot profile set [ find default=yes ] html-directory=flash/hotspot
/snmp community add addresses=192.168.128.0/24,172.17.90.100/32 name=Public
/interface bridge port add bridge=bridge_bkup interface=ether5
/interface bridge port add bridge=all-vlan-bridge interface=ether1_sw01
/interface bridge port add bridge=all-vlan-bridge interface=ether2
/interface bridge port add bridge=all-vlan-bridge interface=ether3
/interface bridge port add bridge=all-vlan-bridge interface=ether4
/ip neighbor discovery-settings set discover-interface-list=none
/interface ethernet switch vlan add independent-learning=no ports=ether1_sw01,ether2,ether3,ether4,ether5 switch=switch1 vlan-id=10
/interface ethernet switch vlan add independent-learning=no ports=ether1_sw01,ether2,ether3,ether4,ether5 switch=switch1 vlan-id=20
/interface ethernet switch vlan add independent-learning=no ports=ether1_sw01,ether2,ether3,ether4,ether5 switch=switch1 vlan-id=40
/interface ethernet switch vlan add independent-learning=no ports=ether1_sw01,ether2,ether3,ether4,ether5 switch=switch1 vlan-id=60
/interface ethernet switch vlan add independent-learning=no ports=ether1_sw01,ether2,ether3,ether4,ether5 switch=switch1 vlan-id=88
/interface list member add interface=bridge_bkup list=LAN
/interface list member add interface=all-vlan-bridge list=LAN
/interface list member add interface=vlan88-mgmt-net list=LAN
/interface list member add interface=vlan10-data-lan list=LAN
/ip address add address=192.168.99.240/24 comment=bkup_Interface interface=bridge_bkup network=192.168.99.0
/ip address add address=192.168.128.240/24 interface=vlan10-data-lan network=192.168.128.0
/ip address add address=192.168.88.240/24 interface=vlan88-mgmt-net network=192.168.88.0
/ip dhcp-client
# DHCP client can not run on slave interface!
add comment=defconf dhcp-options=hostname,clientid disabled=no interface=ether1_sw01
/ip dns set allow-remote-requests=yes servers=192.168.128.1,192.168.88.1
/ip firewall service-port set ftp disabled=yes
/ip firewall service-port set tftp disabled=yes
/ip firewall service-port set irc disabled=yes
/ip firewall service-port set h323 disabled=yes
/ip firewall service-port set sip disabled=yes
/ip firewall service-port set pptp disabled=yes
/ip firewall service-port set udplite disabled=yes
/ip firewall service-port set dccp disabled=yes
/ip firewall service-port set sctp disabled=yes
/ip route add distance=1 gateway=192.168.128.1
/ip service set telnet disabled=yes
/ip service set ftp disabled=yes
/ip service set www address=192.168.128.0/24,192.168.88.0/24
/ip service set ssh address=192.168.128.0/24,192.168.88.0/24
/ip service set api disabled=yes
/ip service set api-ssl disabled=yes
/ip smb set allow-guests=no
/snmp set contact=XXXXX enabled=yes location="" trap-community=Public trap-version=2
/system identity set name=PowerBox-Site3
/system ntp client set enabled=yes primary-ntp=192.168.128.1 secondary-ntp=192.168.88.1
/tool bandwidth-server set authenticate=no enabled=no
/tool mac-server set allowed-interface-list=LAN
/tool mac-server mac-winbox set allowed-interface-list=LAN
/tool mac-server ping set enabled=no