hEX S router Individual ethernet port and VLANs configuration

Best place to start is reading this document.
http://forum.mikrotik.com/t/using-routeros-to-vlan-your-network/126489/1
If you are using a separate PORT for each subnet, you may not require vlans… (vlans are usually required when running multiple subnets over a single port).