Hello,
I am a bit confused about VLAN implementation options. While individual cases are quite clear to me (meaning using either built-in switch chip capable of VLANs, or using bridge for VLANs, ...), I am not quite sure if those different methods can coexists in one setup. Therefore I would like to ask you for an adwise how to approach the following scenario with regard to VLANs.
This is a (advanced) home setup.
Main router: CRS112-8G-4S
- WAN connection
- one NAS connected via bond (802.3ad - 2 interfaces)
- one HP ProLiant microserver connected via bond (802.3ad - 2 interfaces)
- one bonded (802.3ad - 2 interfaces) link to switch (see below)
- CAPsMAN (local forwarding allowed)
- two GRE over IPSEC tunnels to other 2 locations (for now, no VLAN needed for those, just so that from those locations I can access resources in this main location)
Switch: CRS125-24G-1S-2hnd-in
- bond to the main router (see above)
- connections to rooms (either to end devices or to other smart switches [TP-link, VLAN capable] located in rooms which connect end point devices)
- besides end-point devices, there are also few AP managed by CAPsMAN (cAP lite)
- currently this switch provides DHCP service for the newtork (but this can ofcourse moved to the router if needed)
Note 1: I think I could sacrifice the bonds if a solution that off-loads cpu is possible without them.
Note 2: Switch CRS125 is physically located away from the router, so it is not possible to connected the NAS/Server into the switch instead of the router. In the worst case I can imagine inserting one more router in front of the CRS112 if that would help :-\
Goal: To have separate VLANs for Guests/Kids/internalLAN/servers/managementVLAN (for the sake of simplicity, we can consider just 2 VLANs for now - internal and guests)
I was able to create VLANs on my "LAB" (CRS109 & CRS125 - should be the same as production, the only difference from VLAN perspective is the inability of CRS109 to do VLAN ACL):
A) using the built in LAN switch on both of these devices.
B) I was also able to create working VLANs via bridge. Both using guides on mikrotik WiKi.
I ran into problems (vlans not working, e.g. not getting an ip etc.) as soon as:
- I tried including the bonds into the setup (also changing the bond from 802.3ad into Trunk connection in switch menu for switch to router bond, and also the balance-xor bond for router-to-server/nas connection).
- I also was not able to get the VLANs working for CAPsMAN managed APs (although in this case I am not connecting to cAP lite, but hAP lite - but that should not matter).
Questions:
1) What is your recommendation for overall setup, given the target scenario?
2) Is it possible to combine VLAN methods (switch/bridge) on one device (e.g. physical ports VLANs via switch chip and bonds/caps via bridge VLAN), or do I have to choose one and stick with it? (my undestanding is, that in my setup using devices I have if I can choose only 1 method, then I cannot utilize the built-in switch chip, as I will need bridge method for CAPs and bonds).
3) Is it possible (later on) to assign VLANs also to clients connecting from remote locations via the GREoverIPSEC tunnel?
Thanks a lot for your suggestions. If I should inlcude more information, please let me know.
Cheers,
Brandon.