Hi.
I am trying to make work the following setup. RB3011 as the main router with CAPsMAN, CRS326 as the main switch + Dell 2824 for a second part + a few cAP ac, one connected to the RB3011, and others to the Dell switch. With some VLANs. I was able to correctly set up CAPsMAN with cAP connected to the RB3011 with 4 VLANs, I was able to use the VLAN trunk when my TrueNAS server was connected directly to the RB3011. But I can’t make it work with CRS326 and trunk. In this question, I would like to focus only on RB3011, CRS326, and the VLAN trunk between them, mainly VLAN 19 for a management. I tried to follow examples for both devices and this is the current config - not working, can’t ping each other. I checked many articles and watched many videos about different kinds of VLAN settings in ROS, but still don’t know where I have a mistake. Could someone please help me? I also tried to disable STP. Thanks in advance for any suggestions.
# 2023-07-31 21:55:16 by RouterOS 7.10.2
# software id = 6M6T-2GHR
#
# model = RB3011UiAS
# serial number = xxx
# Comments from https://wiki.mikrotik.com/wiki/Manual:Basic_VLAN_switching#Other_devices_with_built-in_switch_chip
# /interface bridge
# add name=bridge1
/interface bridge
add ingress-filtering=no name=br-sw2-vlan protocol-mode=none vlan-filtering=yes
# /interface bridge port
# add bridge=bridge1 interface=ether1 hw=yes
# add bridge=bridge1 interface=ether2 hw=yes
# add bridge=bridge1 interface=ether3 hw=yes
/interface bridge port
add bridge=br-sw2-vlan interface=ether8-dell-ladi-eth24
add bridge=br-sw2-vlan interface=ether7-crs-eth24
add bridge=br-sw2-vlan interface=ether10-lab-cap
# /interface ethernet switch vlan
# add ports=ether1,ether2 switch=switch1 vlan-id=20
# add ports=ether1,ether3 switch=switch1 vlan-id=30
# add ports=ether1,switch1-cpu switch=switch1 vlan-id=99
/interface ethernet switch vlan
add comment=crs-vlan10-lab-lan independent-learning=yes ports=ether7-crs-eth24 switch=sw2-vlan vlan-id=10
add comment=crs-vlan13-lab-srv independent-learning=yes ports=ether7-crs-eth24 switch=sw2-vlan vlan-id=13
add comment=crs-vlan14-lab-virt independent-learning=yes ports=ether7-crs-eth24 switch=sw2-vlan vlan-id=14
add comment=crs-vlan15-lab-jails independent-learning=yes ports=ether7-crs-eth24 switch=sw2-vlan vlan-id=15
add comment=crs-vlan16-lab-ent independent-learning=yes ports=ether7-crs-eth24 switch=sw2-vlan vlan-id=16
add comment=crs-vlan17-lab-dmz independent-learning=yes ports=ether7-crs-eth24 switch=sw2-vlan vlan-id=17
add comment=crs-vlan18-lab-fac independent-learning=yes ports=ether7-crs-eth24 switch=sw2-vlan vlan-id=18
add independent-learning=yes ports=ether7-crs-eth24,ether8-dell-eth24,ether10-lab-cap,sw2-vlan-cpu switch=sw2-vlan vlan-id=19
# /interface vlan
# add interface=bridge1 vlan-id=99 name=MGMT
/interface vlan
add interface=br-sw2-vlan name=vlan10-lab-lan vlan-id=10
add interface=br-sw2-vlan name=vlan11-lab-wifi vlan-id=11
add interface=br-sw2-vlan name=vlan12-lab-guest vlan-id=12
add interface=br-sw2-vlan name=vlan13-lab-srv vlan-id=13
add interface=br-sw2-vlan name=vlan14-lab-virt vlan-id=14
add interface=br-sw2-vlan name=vlan15-lab-jail vlan-id=15
add interface=br-sw2-vlan name=vlan16-lab-ent vlan-id=16
add interface=br-sw2-vlan name=vlan17-lab-dmz vlan-id=17
add interface=br-sw2-vlan name=vlan18-lab-fac vlan-id=18
add interface=br-sw2-vlan name=vlan19-lab-mngt vlan-id=19
# /ip address
# add address=192.168.99.1/24 interface=MGMT
/ip address
add address=192.168.10.1/24 interface=vlan10-lab-lan network=192.168.10.0
add address=192.168.11.1/24 interface=vlan11-lab-wifi network=192.168.11.0
add address=192.168.12.1/24 interface=vlan12-lab-guest network=192.168.12.0
add address=192.168.13.1/24 interface=vlan13-lab-srv network=192.168.13.0
add address=192.168.14.1/24 interface=vlan14-lab-virt network=192.168.14.0
add address=192.168.15.1/24 interface=vlan15-lab-jail network=192.168.15.0
add address=192.168.16.1/24 interface=vlan16-lab-ent network=192.168.16.0
add address=192.168.17.1/24 interface=vlan17-lab-dmz network=192.168.17.0
add address=192.168.18.1/24 interface=vlan18-lab-fac network=192.168.18.0
add address=192.168.19.1/24 interface=vlan19-lab-mngt network=192.168.19.0
# /interface ethernet switch port
# set ether1 vlan-mode=secure vlan-header=add-if-missing
# set ether2 vlan-mode=secure vlan-header=always-strip default-vlan-id=20
# set ether3 vlan-mode=secure vlan-header=always-strip default-vlan-id=30
# set switch1-cpu vlan-header=leave-as-is vlan-mode=secure
/interface ethernet switch port
;; eth7 - to the crs eth24
set 6 vlan-header=add-if-missing vlan-mode=secure
;; eth8 - to the dell 2824 eth24
set 7 vlan-header=add-if-missing vlan-mode=secure
;;eth 10 - to the cAP ac
set 9 vlan-header=add-if-missing vlan-mode=secure
;; sw2-vlan-cpu
set 11 vlan-mode=secure
/ip pool
add name=pool-lab-lan ranges=192.168.10.100-192.168.10.200
add name=pool-lab-wifi ranges=192.168.11.100-192.168.11.200
add name=pool-lab-guest ranges=192.168.12.100-192.168.12.200
add name=pool-lab-srv ranges=192.168.13.100-192.168.13.200
add name=pool-lab-virt ranges=192.168.14.100-192.168.14.200
add name=pool-lab-jail ranges=192.168.15.100-192.168.15.200
add name=pool-lab-ent ranges=192.168.16.100-192.168.16.200
add name=pool-lab-dmz ranges=192.168.17.100-192.168.17.200
add name=pool-lab-fac ranges=192.168.18.100-192.168.18.200
add name=pool-lab-mngt ranges=192.168.19.100-192.168.19.200
/ip dhcp-server
add address-pool=pool-lab-lan interface=vlan10-lab-lan name=dhcp-lab-lan
add address-pool=pool-lab-wifi interface=vlan11-lab-wifi name=dhcp-lab-wifi
add address-pool=pool-lab-guest interface=vlan12-lab-guest name=dhcp-lab-guest
add address-pool=pool-lab-srv interface=vlan13-lab-srv name=dhcp-lab-srv
add address-pool=pool-lab-virt interface=vlan14-lab-virt name=dhcp-lab-virt
add address-pool=pool-lab-jail interface=vlan15-lab-jail name=dhcp-lab-jail
add address-pool=pool-lab-ent interface=vlan16-lab-ent name=dhcp-lab-ent
add address-pool=pool-lab-dmz interface=vlan17-lab-dmz name=dhcp-lab-dmz
add address-pool=pool-lab-fac interface=vlan18-lab-fac name=dhcp-lab-fac
add address-pool=pool-lab-mngt interface=vlan19-lab-mngt name=dhcp-lab-mngt
/ip dhcp-server network
add address=192.168.10.0/24 comment=lab-lan dns-server=192.168.10.1 domain=my.tld gateway=192.168.10.1 ntp-server=192.168.10.1
add address=192.168.11.0/24 comment=lab-wifi dns-server=192.168.11.1 domain=my.tld gateway=192.168.11.1 ntp-server=192.168.11.1
add address=192.168.12.0/24 comment=lab-guest dns-server=8.8.8.8 domain=my.tld gateway=192.168.12.1 ntp-server=192.168.12.1
add address=192.168.13.0/24 comment=lab-srv dns-server=192.168.13.1 domain=my.tld gateway=192.168.13.1 ntp-server=192.168.13.1
add address=192.168.14.0/24 comment=lab-virt dns-server=192.168.14.1 domain=my.tld gateway=192.168.14.1 ntp-server=192.168.14.1
add address=192.168.15.0/24 comment=lab-jail dns-server=192.168.15.1 domain=my.tld gateway=192.168.15.1 ntp-server=192.168.15.1
add address=192.168.16.0/24 comment=lab-ent dns-server=192.168.16.1 domain=my.tld gateway=192.168.16.1 ntp-server=192.168.16.1
add address=192.168.17.0/24 comment=lab-dmz dns-server=192.168.17.1 domain=my.tld gateway=192.168.17.1 ntp-server=192.168.17.1
add address=192.168.18.0/24 comment=lab-fac dns-server=192.168.18.1 domain=my.tld gateway=192.168.18.1 ntp-server=192.168.18.1
add address=192.168.19.0/24 comment=lab-mngt dns-server=192.168.19.1 domain=my.tld gateway=192.168.19.1 ntp-server=192.168.19.1
# 2023-07-31 22:19:46 by RouterOS 7.10.2
# software id = HMM3-NKTK
#
# model = CRS326-24G-2S+
# serial number = xxx
# Comments from https://wiki.mikrotik.com/wiki/Manual:Basic_VLAN_switching#CRS3xx_series_switches
# /interface bridge
# set bridge1 vlan-filtering=yes
# /interface bridge
# add name=bridge1
/interface bridge
add name=br-crs protocol-mode=none vlan-filtering=yes
# /interface bridge port
# add bridge=bridge1 interface=ether1 hw=yes
# add bridge=bridge1 interface=ether2 hw=yes pvid=20
# add bridge=bridge1 interface=ether3 hw=yes pvid=30
/interface bridge port
add bridge=br-crs ingress-filtering=no interface=ether21-nas-trunk-bxe2
add bridge=br-crs ingress-filtering=no interface=ether22-nas-ilo pvid=19
add bridge=br-crs ingress-filtering=no interface=ether24-rb3011-eth7
# /interface bridge vlan
# add bridge=bridge1 tagged=ether1 untagged=ether2 vlan-ids=20
# add bridge=bridge1 tagged=ether1 untagged=ether3 vlan-ids=30
# add bridge=bridge1 tagged=ether1,bridge1 vlan-ids=99
/interface bridge vlan
add bridge=br-crs tagged=ether24-rb3011-eth7,br-crs untagged=ether22-nas-ilo vlan-ids=19
# /interface vlan
# add interface=bridge1 vlan-id=99 name=MGMT
/interface vlan
add interface=br-crs name=vlan-19-lab-mngt vlan-id=19
# /ip address
# add address=192.168.99.1/24 interface=MGMT
/ip address
add address=192.168.19.2/24 interface=vlan-19-lab-mngt network=192.168.19.0