I have some Problems to setup my VLAN config. I hope someone can help me al little.
I have a new CRS328-24P-4S+ with RouterOS 6.42.1.
In my current Test Setup ether1 goes to the Router and ether24 to a PC.
VLAN10 should be for management the switch. This point works in my current setup.
And VLAN20 should be for PCs. This point doesnt work. I got no connection. And I cant figure out why.
I used parts from this manual: https://wiki.mikrotik.com/wiki/Manual:CRS_Router
No, what I meant was add bridge as tagged under bridge vlan, but ignore this as I see you will not be using the CRS as a router and as far as I know this is only required when the CRS is being used as both switch and router.
Did you enable vlan filtering, if not, think you need to enable it, but before you do that, make sure you have a backup of the config on your pc as you will lose connectivity to the CRS if vlan not setup properly
I am still learning VLAN’s on Mikrotik but would assume you do have access, but layer 2 only. I would think that you will need to add VLAN’s 20 to interface vlan and assign it to the bridge
I think there is a need for information on your end goal.
The ay I see your current config, packets coming in on port 24 will be tagged and go out tagged to the router on trunk port ether1.
To access the switch from access port, I think you have to set the the bridge pvid to the same as access port pvid, i.e. 20. This will provide layer 2 access to the switch from that port, if you need layer 3 access here, you also need to assign an IP Address to the bridge.
I want on ether1 the trunk port to router. Ether1 should be tagged VLAN10 and VLAN20. I want access to switch for management over VLAN10 (ether1). This already works.
Ether24 should be access port VLAN20 and only untagged. But when I put in a PC on ether24, I get no connection.
Sorry my english is not the best.
I got no connection to both.
In the router I have a dhcp Server for VLAN20, but i get no address when i connect a PC to port24.
Also when I set the IP on the PC manually, I cant ping switch or router. I think I should not be able to ping switch from VLAN20? Because the switch address is only in VLAN10.
DHCP Server works fine, because with my current zyxel switch it works too.
But I want replace my zyxel with the mikrotik.
No problem, not so much a language problem, but limited info problem.
Based on what you described and the document you referenced, I can’t see why it is not working, unfortunately I do not have a CRS3xx to play with, so reached my limit here, maybe sindy / sob will chip in if I missed anything.
Just as a test, can you change the following line:
I already tested it, without improvement.
For my understanding is only needed for my management VLAN10 for access to the switch, when device is used as switch, as in my case.
Only when used as router must bridge also tagged on trunk port.
I am in agreement with you 100% (As far as my knowledge goes), just thought worth a test, maybe log a call at support@mikrotik.com, send a full config file and supout file and explain problem.
Will be interesting what they will reply with, so if you do not mind, please update once you have a solution
i’m asuming your router already accepts incoming tagged frames for vlan10 and 20 and you have dhcp configured on the router. i have this working on a CRS112 but on the switch chip not bridged, i believe when bridges are used the cpu is used.
@CZFan
I have sent an email to mikrotik support, maybe they can help me.
I dont want to post my full export, because there are to mutch private stuff .
Maybe I can post some parts from the export?
Which parts are necessary?
I must remind you that my current setup works till 1-2years without problem, therefore I think the problem is not the router setup.
Thats my current setup:
And that should be my new setup:
I want to have all products from mikrotik. I think its easier for me for management, if it works…
@RoadkillX
I have tested your proposal, but unfortunately it doesnt work too.
Its the same problem. VLAN10 Management works, I have access to the switch, but VLAN20 PC get no Lease from DHCP server.
Can you check that the switch connected to port24 is not tagging vlan20 across the port since the crs328 expects untagged traffic incoming on ether24. Or on the CRS328 switch ether24 in the vlan bridge from untagged to tagged for vlan20 and see if it works. i really can’t see any other problems.
*Have you configured a mgmt vlan interface on the CRS226? Can you reach that ip from the ccr or crs328? you shouldn’t be able to since the crs328 is not tagging vlan10 across ether24, try the above.