Greetings. I’m experienced with Cisco routers and switches from corporate life but am new to RoS. I’ve purchased three identical CR310-8G-2S-IN switches and one hAP AX3. All of these have RouterOS 7.18, and I do not plan to convert the switches to SwitchOS.
I’ve read the RoS and hardware docs (a couple of times, actually) and done some experimentation on an air-gapped network, but I have some general “best practices” questions as I begin my SOHO network design in earnest. Most of my questions aren’t how to design the network, but rather, how to design the network in a way that is sensible for Mikrotik devices/software.
Environment
There are two ISP premises devices: “isp1” is a wired DSL gateway (hopefully soon replaced by fiber-to-premises), and “isp2” is an LTE gateway.
Physically, the equipment will be located as follows:
- isp1 (DSL/FTTP): Telecom closet in basement
- switch1 (CR310): Telecom closet in the basement
- switch2 (CR310): My office, main work area
- switch3 (CR310): My office, lab bench
- isp2 (LTE): My office, lab bench (required due to LTE coverage)
- router1 (hAP AX3): Location TBD (prefer basement but not “in” telecom closet)
I currently have multiple Cat5e (but not Cat6, as it didn’t exist yet) runs through flex conduit from the basement to my office, and in the semi-near term I plan to pull some LC-terminated fiber for the inter-floor runs.
The network topology is flat right now except for an isolated segment between my current Linux firewall/router and the isp1 premises device. That Linux box is also an OpenVPN endpoint to my company. My LAN is 192.168.X.0/24 (“X” redacted for security), and the isolated ISP-to-Linux is 192.168.0.0/24. The isp2 premises device isn’t installed at the moment.
Design Goals
- Five data VLANs (excluding VLAN 1, reserved for device internals). The VLANs will be for private LAN (has VPN routing), guest LAN (no access to VPN), isp1 DMZ, isp2 DMZ, and devlab. For private and guest LANs the same VLAN covers wired and wireless.
- Separate IPv4 subnets and IPv6 prefixes for each VLAN.
- Connect switch1 and switch2, switch1 and switch3, with LACP over Cat5e (existing wiring), two physical ports per connection. Each of these LACP groups is to be a VLAN trunk passing all VLANs. The intention is that if I need to troubleshoot, I can put a laptop directly on any VLAN from my desk. This will also make it easier for me to test security.
- When I get the fiber run between floors, single LC runs at 10 Gb/sec will connect switch1 and switch2, switch1 and switch3. I’ll pull redundant fiber but leave the spares dark, since I don’t have enough SFP+ ports on switch1 to do otherwise.
- router1 (the hAP AX3) needs to have different SSIDs and secrets for private and guest wifi, and those should be on different VLANs and IP subnets, as noted. I want to connect this device’s single 2 Gb/sec port (ether1) to switch1, which means using one of the other ports for emergency management access.
I’d post a diagram, but that’s what I’m making now and ran into the “best practice” questions. Finally, here are those questions:
- Since the hAP AX3 doesn’t have hardware offload for switching, am I hurting performance by having multiple VLANs on that device? What I’ve tried to do is keep it on the edge rather than at the core, to let it focus on the wireless.
- Is there anything “wrong” with letting each of the CR310 devices also be an OSPF router that advertises the segments to which it directly connects? In Cisco-land you generally don’t want to burden a switch with Layer 3 functions, but with the Mikrotik devices it seems the situation is reversed – don’t burden the hAP AX3 with Layer 2 functions.
- The hAP AX3 may not have a UPS, depending on where I have to install it for coverage. For this reason, I’m also inclined to put my OpenVPN endpoint, local DNS, and local DHCP on switch1, which is in the telecom closet and has the best UPS protection. Again, is that a terrible idea? My thinking is that making one of the switches my core device also means the one on my lab bench could be an emergency spare for the core.
- In a general sense, I’m still a little confused about the relationship between VLANs on a bridge, VLANs on a port, and ports on a bridge. I’ve read a lot of forum posts about this, and I think what I need is a single bridge in each device, VLANs on the bridge, ports on the bridge, and not VLANs on the ports. Then I do my routing and firewall config with respect to the bridge VLANs, mostly without reference to the ports. Is that a correct understanding?
I’m sorry this is so long. I really did do my homework first, quite a lot of reading, so maybe I’m just overthinking this by putting it into my corporate frame of reference. I appreciate any comments and suggestions the wizards of RouterOS care to offer.