Configure VLAN for 2 switches connected in series

Hi, i’m struggling to configure the network like in the diagram below in attachment and had no success :frowning:.
Anyone can help me configuring and best practices that i should follow for that specific case?

I have read that it is better to use switch chipset directly because it help a lot without dealing with CPU work.

Need a step by step guide or a script that can help me configure that network.
Thank you so much!
africa.jpg

An excelent starting point is this topic:
http://forum.mikrotik.com/t/using-routeros-to-vlan-your-network/126489/1

In regards to the switch chipset, please check if it is feasable for your hardware:
https://help.mikrotik.com/docs/display/ROS/Switch+Chip+Features

Thanks for the answer, i have read a lot and searched online too, but practice is another thing.

Can you help me exactly with what i need if you can please ?

Post what you have from all three devices.
each one gets a single bridge,
all smart devices get IP from trusted lan (or a separate managment lan).
All data flows on vlans, dont use bridge for dhcp.