I saw that some others had difficulty with vlans as I did.
I thought I'd share how I configured the MT router for VLAN trunking to a Cisco Switch.
These steps worked for me. The statements were pulled from my router.
I have a total of 4 vlans now but I show only two in this example.
I hope this helps others that are trying to use Cisco switches with MT Routers.
Steps I used to configure VLAN trunking on a MT Router to a Cisco C2924 Switch
1.) Configure a port on the switch for Trunking and connect that port to the MT Router
2.) Configure the Vlan Database in the switch with all the vlans that will be used.
3.) Add a bridge in the MT Router.
4.) Add the Vlans to the bridge that would be used on the switch, except the native vlan.
5.) Add the port going to the switch port that was configured for trunking to the bridge
6.) Add an IP address to the bridge created above. It is used to communicate to the switch's native vlan.
7.) Add an IP address to the vlans. In this example VLAN2
8.) Now set the ports on the switch to access the vlans you want them to communicate on.
______________________________________________________________________
Example configuration of a MT Router to a Cisco C2924 Switch.
The switch has VLAN1 and VLAN2 with VLAN1 being the native vlan on the
switch. You would add additional vlans like VLAN2.
In this example VLAN 1 uses DHCP. Hosts on VLAN2 are servers with static addresses.
/interface bridge
add admin-mac=00:00:00:00:00:00 ageing-time=5m arp=enabled auto-mac=yes \
comment="" disabled=no forward-delay=15s max-message-age=20s mtu=1500 \
name=Bridge_VLAN priority=0x8000 protocol-mode=none
transmit-hold-count=6
/interface ethernet
set 0 arp=enabled auto-negotiation=yes cable-settings=default comment=\
Internet disable-running-check=yes disabled=no full-duplex=no \
mac-address=00:0C:42:02:37:80 mtu=1500 name=F0/0 speed=100Mbps
set 1 arp=enabled auto-negotiation=yes cable-settings=default comment=\
"VLAN Trunk to Cisco Switch - Port on Bridge_VLAN" disable-running-check=yes \
disabled=no full-duplex=yes mac-address=00:0C:42:02:37:81 mtu=1500 name=\
F0/1 speed=100Mbps
set 2 arp=enabled auto-negotiation=yes cable-settings=default comment=\
"To DMZ" disable-running-check=yes disabled=no full-duplex=no \
mac-address=00:0C:42:02:37:82 mtu=1500 name=F0/2 speed=1Gbps
set 3 arp=enabled auto-negotiation=yes cable-settings=default comment="To a Computer" \
disable-running-check=yes disabled=no full-duplex=yes mac-address=\
00:0C:42:02:37:83 mtu=1500 name=F0/3 speed=100Mbps
/interface vlan
add arp=enabled comment="" disabled=no interface=Bridge_VLAN mtu=1500 name=\
VLAN2 vlan-id=2
/ip pool
add name="LAN IP Pool" ranges=10.100.1.64/26
/ip dhcp-server
add address-pool="LAN IP Pool" always-broadcast=yes authoritative=\
after-2sec-delay bootp-support=static disabled=no interface=Bridge_VLAN \
lease-time=5m name="DHCP VLAN Bridge"
/interface bridge port
add bridge=Bridge_VLAN comment=RG disabled=no edge=auto external-fdb=auto \
horizon=none interface=F0/3 path-cost=10 point-to-point=auto priority=\
0x80
add bridge=Bridge_VLAN comment="" disabled=no edge=auto external-fdb=auto \
horizon=none interface=F0/1 path-cost=10 point-to-point=auto priority=\
0x80
/interface bridge settings
set use-ip-firewall=yes use-ip-firewall-for-vlan=yes
/ip address
add address=10.100.1.1/24 broadcast=10.100.1.255 comment=LAN disabled=no \
interface=Bridge_VLAN network=10.100.1.0 add address=10.100.2.1/24 \
broadcast=10.100.2.255 comment=Server disabled=no interface=VLAN2 \
network=10.100.2.0
/ip dhcp-server network
add address=10.100.1.0/24 comment=LAN dhcp-option="Node Type M-node" \
dns-server=10.100.1.1 domain=mydomain gateway=10.100.1.1 netmask=24 \
wins-server=10.30.1.50