Suggest you read this reference… http://forum.mikrotik.com/t/using-routeros-to-vlan-your-network/126489/1