The concept is simple, I’d like to create a VLAN for trusted devices, and a second one for untrusted devices that still need internet access at home. Things such as the tv, washing machine and guest wireless. I have the RB2011 in the basement where most of the trusted devices also are, a WiFi hotspot and a Cisco SG 200-08 managed switch in the media room. Since I wanted to keep devices in the media room from “seeing” each other I figure the solution is therefore a VLAN. So I set about configuring the RB2011 with access ports, a Bridge for each VLAN (so that the two internal switches to the RB2011 can be handled together) and unique DHCP server instances for each VLAN (to make it readily apparent which VLAN the device is on). I also wanted to have the hardware handle the VLANs because I wanted to avoid clogging up the RB2011 CPU.
I found this page, but it’s not really applicable because some of the setting locations change between the RB2011 and CRS series:
http://wiki.mikrotik.com/wiki/Manual:CRS_examples
I found this page:
http://wiki.mikrotik.com/wiki/Manual:Switch_Chip_Features
and then of course there are a number of examples using a bridge to handle the VLAN but then that presumably forces traffic on the CPU which isn’t desired.
All seems to work as expected with the VLANs and access ports on the RB2011, however under no conditions am I able to have the trunk to the Cisco switch work. It defaults to a management VLAN of 1, and I believe it was mentioned that “untagged” is equivalent to “vlan 1” and it also may neglect to add a tag. I tried using a windows pc that has vlan capability on its NIC and all works as expected, no VLAN gets it’s IP from the default dhcp server, 1 from the management, 2 from the trusted, 3 from the untrusted; and that computer seems to work fine; for that reason I believe that everything is in order, regardless of what comes into the RB2011, it should have a home right? Anyway as soon as I enable what I think is an access port on the Cisco, and add the tagged vlan2 to the trunk port, it stops being able to get an IP address and its clients aren’t getting through. I’m running the latest Cisco firmware, and RouterOS 6.37.1
So the question is, this seems straightforward enough, I want a trunk port configured between the mikrotik and the cisco, but I cannot get it to work! Access ports on the RB2011 seem to work fine so I believe the issue is in the VLAN settings between the two ends on the trunk port, and since the computer seems to work as expected connected where the switch is supposed to be I believe the issue is probably the Cisco switch, both are supposed to support 802.1Q.
Attached is a diagram of the physical network, what I think I have configured inside the RB2011, and screenshots of the settings available in the Cisco switch, which dies after three steps after factory reset (change password, create VLAN id, add VLAN to trunk port and access port) and what I believe the internal processing is doing within the RB2011 along with my confusion indicated regarding the Mikrotik configuration.
This is going on an entire week, I’m out of ideas to troubleshoot further! I’ll try and pull out the relevant details of the Mikrotik config in a later post. There appears to be a limit of 3 attachments, and port 1 on both devices is the trunk.


Home Network Diagram Nov 23.pdf (504 KB)








