Use this reference for vlans… http://forum.mikrotik.com/t/using-routeros-to-vlan-your-network/126489/1