I have a CRS328-24P-4S+RM with RouterOS 6.45.6 (Stable) on it. I’ve configured two VLANs (100,110) With ports 1-8 in VLAN 100, 9-16 in VLAN 110. SFP as trunks (100,110).
Configuration of VLANs was done via VLAN Bridge (https://wiki.mikrotik.com/wiki/Manual:Bridge_VLAN_Table):
I created bridge: bridge1, i added ports 1-8 with PVID 100 and 8-16 with PVID 110
in bridge VLAN i added 100 untaged (1-8) + tagd(SFP), and 110 untaged (8-16) + tagd(SFP). Turnd on VLAN Filtering and everything works in theory as it should. (tired connecting devices on both sites of link and there was communication in VLAN 100 and VLAN110, and separation in between).
But i need to add gateways IP to the router, accessible from VLAN 100.
I tried (although i known it should work, and it didn’t ) adding IP addresses to the router interfaces with are in the VLAN (for example ether1), no effect cant ping it from devices connected do ether1.
I tried adding new interface VLAN100 (/inteface VLAN ) connected to bridge1 and then addressing it with IP, no effect. I tried extra adding that interface to the bridge port (/bridge port) no effect, and adding it as untaged interface (/bridge VLAN) and still no effect.
What can, or how can i configure IP addresses accessible (to act as gateways) on the same router i have configured VLAN ?
For proper configuration for IP interaction with VLAN you should add the following to what you’ve had while CRS worked fine as managed switch:
/interface vlan
add interface=bridge1 name=vlan100 vlan-id=100
/interface list member
add list=LAN interface=vlan100
/interface bridge vlan
add bridge=bridge1 tagged=bridge1 vlan-ids=100 #that's right, bridge has to be tagged member of itself
/ip address
add interface=vlan100 address=<ip for VLAN100>/<netmask>
… and so forth for the rest (services, firewall, …).
I guess you were missing the third step. It’s a bit confusing, but one has to keep in mind that bridge are actually two entities: “something like a switch” spanning member interfaces and “something like an interface”, essentually CPU’s door to network. Unfortunately both have same name and one has to observe the context to note which entity is in the game.
I will test it, but yes I didn’t add bridge1 as tagged interface to bridge itself. That step somehow got away from me, so it’s most likely reason for not working.