Tue May 11, 2010 6:07 pm
For the config you are asking for, one thing to keep in mind about MT is it's not a switch, it doesn't treat VLANs like a switch will. When you make a VLAN, as far as it's concerned it's another physical interface on the device. It's the same thing for a bridge as well, as far as the MT is concerned it's just another interface.
With that in mind, what you do is this:
1.) Create the VLANs on all of the interfaces. So Ether2 would get VLAN20, Ether3 VLAN30 and so on. Each one will need a different name, and you specify the VLAN tag when making it.
2.) Bridge the two VLAN "interfaces" with the VLAN tag of 20, then bridge the 30's and so on. (Note: Do not add the Ethernet interface to the bridge)
3.) Put a different IP address and subnet on each bridge so that it can route traffic. If you're not doing static IPs you'll need to set up a DHCP server on each bridge as well. You are going to need something that can read VLANs on each Ethernet port and will tag traffic going back to the MT.
4.) Set up the necessary NAT/Filter rules that you want.
Like Sergejs is saying, this kind of configuration will get really complicated really fast.