Need some help understanding how to configure the CRS305 as end switch for a couple servers that have multiple vlans on them. My goal is to have the vlan traffic that origin and destination are both ports on the switch not leave the switch to be routed by the upstream router.
<unifi udm router> == <USW Pro MAX Switch> == (tagged trunk) 10 gig fiber == <CRS305-1G-4S+>
The trunk ports are tagged VLAN10,20,30 with native vlan 1
The ports on the CRS305 are as such:
<SFP+1>== (tagged trunk) dac == VM server 1
<SFP+2>== (tagged trunk) dac == VM server 2
<SFP+3>== (tagged trunk) dac == NAS storage
<SFP+4>== (tagged trunk) fiber == to upstream router
Currently the all the inter-VM traffic and VM-NAS traffic all goes to UDM and then back again even though source and destination are on the same switch.
So I believe the equivalent trunk setup in Mikrotik is a hybrid trunk port. The online examples have me confused routeros-to-vlan because I am not using it as a WAN router but want it as a managed layer3 switch with intervlan routing.
When I have tried vlan-filtering I keep getting it wrong and either loose my native vlan1 or vlan10-30.
attaching my config below.
/interface bridge
add admin-mac=08:55:31:8F:61:13 auto-mac=no comment=defconf name=bridge port-cost-mode=short
/interface list
add name=WAN
add name=LAN
/interface lte apn
set [ find default=yes ] ip-type=ipv4 use-network-apn=no
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip smb users
set [ find default=yes ] disabled=yes
/interface bridge port
add bridge=bridge comment=defconf ingress-filtering=no interface=ether1 internal-path-cost=10 path-cost=10
add bridge=bridge comment=defconf ingress-filtering=no interface=sfp-sfpplus1 internal-path-cost=10 path-cost=10
add bridge=bridge comment=defconf ingress-filtering=no interface=sfp-sfpplus2 internal-path-cost=10 path-cost=10
add bridge=bridge comment=defconf ingress-filtering=no interface=sfp-sfpplus3 internal-path-cost=10 path-cost=10
add bridge=bridge comment=defconf ingress-filtering=no interface=sfp-sfpplus4 internal-path-cost=10 path-cost=10
/ip firewall connection tracking
set udp-timeout=10s
/ip settings
set max-neighbor-entries=8192
/ipv6 settings
set disable-ipv6=yes
/interface list member
add interface=ether1 list=WAN
add interface=sfp-sfpplus1 list=LAN
add interface=sfp-sfpplus2 list=LAN
add interface=sfp-sfpplus3 list=LAN
add interface=sfp-sfpplus4 list=LAN
/interface ovpn-server server
add auth=sha1,md5 mac-address=FE:BE:5E:90:18:8F name=ovpn-server1
/ip dhcp-client
add interface=bridge
/ip dns
set servers=8.8.8.8
/ip ipsec profile
set [ find default=yes ] dpd-interval=2m dpd-maximum-failures=5
/ip service
set ftp disabled=yes
set telnet disabled=yes
/ipv6 nd
set [ find default=yes ] advertise-dns=yes
/system clock
set time-zone-name=America/Los_Angeles
/system swos
set allow-from-ports=\
p1,p2,p3,p4,p5,p6,p7,p8,p9,p10,p11,p12,p13,p14,p15,p16,p17,p18,p19,p20,p21,p22,p23,p24,p25,p26,p27,p28,p29,p30,p31 \
static-ip-address=192.168.88.7