Sanity check for my home network plan (hEX refresh + CRS310 + cAP ax) - VLAN design and which AP for wall mounting?

Hi all,

I'm planning to replace my FRITZ!Box with an all-MikroTik setup and would appreciate a sanity check before I order everything. I have an IT background, but I'm new to RouterOS. My goals: VLAN separation, independence from any vendor cloud, a single management interface (RouterOS only), and minimal maintenance once it's running.

CONTEXT

  • Telekom VDSL (Vigor 167 as modem, PPPoE on the MikroTik). Fiber expected in about 4 years.
  • In about 2 years I'm moving to a house with roughly twice the floor space, so the setup should scale (more APs, PoE).
  • About 70% of my devices are smart home devices (Shelly Gen1 and newer, Zigbee coordinator SLZB-06P10, printer). Two already existing FRITZ!Repeaters will connect wirelessly to the IoT SSID.
  • Home Assistant runs on dedicated hardware (HA OS), plus several home servers (Proxmox, Docker host).

PLANNED HARDWARE

  • Router: hEX refresh (E50UG), also running CAPsMAN
  • Switch 1: hEX refresh (E50UG), uplink on ether2 (since ether1 is not on the switch chip)
  • Switch 2: CRS310-8G+2S+IN
  • 2 APs, which could be wall-mounted (see question below)
  • DrayTek Vigor 167 later for VDSL

TOPOLOGY
Router -> wall socket 1 -> Switch 1 -> AP1 + Zigbee coordinator
Router -> wall socket 2 -> Switch 2 -> AP2 + Home Assistant + servers

VLAN PLAN (VLAN ID = third octet)

  • 110 Main (192.168.110.0/24)
  • 120 IoT (192.168.120.0/24, plus 192.168.178.0/24 temporarily on the same VLAN interface, so I can migrate devices from the old FRITZ!Box subnet step by step)
  • 130 Guest (internet only, my work laptop goes here too)
  • 199 Management (optional, maybe later)

Considered for later:

  • 140 Server (192.168.140.0/24): Proxmox, Docker host, AI server, market data collectors. Main -> Server allowed, Server -> Main blocked.
  • 150 Cameras (192.168.150.0/24): no internet access, only Home Assistant may connect. Only if I add cameras.
  • 160 Work (192.168.160.0/24): wired port for the work laptop at my desk, as an alternative to putting it in Guest.
  • 210 Lab (192.168.210.0/24): CHR test router and experiments on Proxmox, fully isolated.
  • 220 DMZ (192.168.220.0/24): externally reachable services, e.g. a reverse proxy, separated from everything else.

KEY DESIGN DECISIONS

  • Home Assistant is dual-homed: untagged in VLAN 110 (default gateway there) and a tagged VLAN 120 interface without a gateway. That way Shelly Gen1 CoIoT multicast and mDNS discovery work without reflectors or firewall exceptions, and IoT -> Main stays fully blocked.
  • Printer in IoT. Two narrow exceptions: printer -> file server TCP 445 (scan to folder) and work laptop -> printer (TCP 9100/631, UDP 161).
  • 3 SSIDs (Main / IoT / Guest), one VLAN each, local forwarding on the CAPs. IoT SSID on 2.4 and 5 GHz, WPA2, no 802.11r.
  • RouterOS long-term channel, automatic updates at night outside of trading hours.
  • Migration in phases: first behind the existing FRITZ!Box (double NAT), then PPPoE once VDSL is live.

QUESTIONS

  1. Does the overall plan make sense, or would you change anything fundamental?
  2. AP choice for wall mounting: I was planning on cAP ax mounted high on the wall. I ruled out the wAP ax because of reports about weaker 2.4 GHz range and only 256 MB RAM, and 2.4 GHz matters a lot with my smart home devices. Would any of you go for the new hAP be lite (Wi-Fi 7, USB-C powered, no PoE-in) instead? Or something else entirely?
  3. Is the hEX refresh fine as router + CAPsMAN for VDSL with PPPoE, or should I use the RB5009UPr as the router right away?
  4. Any pitfalls with multinetting two subnets on one VLAN during the migration, or with the dual-homed Home Assistant?

Thanks a lot!

Mike

Hi Mike,

  1. Your overall plan makes sense. Main, IoT and Guest are a reasonable starting point, and you can add the other VLANs when you actually need them. I don’t see a reason to fundamentally redesign it.

  2. I’d stick with the cAP ax for your setup. Wall mounting is supported, although coverage will depend on placement and the walls. I wouldn’t rule out the wAP ax just because of its RAM, but I also wouldn’t switch to the hAP be lite just for Wi-Fi 7—your older IoT devices won’t benefit much, and USB-C powering makes the wall installation less convenient.

  3. For VDSL and two APs with local forwarding, I’d start with the hEX refresh. Running CAPsMAN isn’t a heavy enough workload by itself to justify an RB5009. I’d choose the RB5009 now if you expect substantial VPN or inter-VLAN traffic, or want faster uplinks for your servers.

  4. Two subnets on the IoT VLAN are fine as a temporary migration arrangement. Just make sure 192.168.178.0/24 isn’t also your upstream FRITZ!Box subnet during the double-NAT phase, and check the gateways of devices with static addresses.

    Dual-homed HA can work too. The important distinction is that IoT devices can reach HA directly, even without a gateway on its IoT interface. Your router firewall can still block IoT → other Main devices, but it won’t filter IoT → HA traffic on that shared VLAN. So HA becomes a trusted exception to your isolation policy.

You may want to look at this config genterator. It will do a lot of the grunt work for you setting up your vlans and firewall. But since you are going to be operating behind the FRITZ!Box for the initial setup, you will probably want to deselect "filter bogons" (you can start in "office with vlans) mode and select multiple devices, then you will only need to enter the vlan info 1 time. It is worth looking at the manual before playing with the Configuration Generator Tool. There are some use cases to look at, one is replacing an ISP router, but that doesn't cover vlans. This is a third party tool, but it's free, and does not require creating an account, the config is generated in your browser. The author has been very responsive to fixing things that have been reported. Even if you don't use it for your configs, it shows the config as you select things in real time, so it is a great learning tool.

Thank you very much for the great feedback – I’m really looking forward to switching to MikroTik!

One more detail question: I noticed there’s also a hEX S router (2025, E60iUGS). Since I’ll be switching to fiber in about two years, would the hEX S be the better choice as my router for VDSL right now, compared to the hEX refresh?

Mike

If you are choosing between U50GS (hEX refresh) and U60iUGS (hEX S 2025) I would spend the extra for the U60iUGS. I don't think the SFP will help much with a fiber connection from most ISPs, but there are other "improvements" in the E60iUGS over the E50UG than just the addition of the SFP cage. And having the option to use SFP is nice, in case you ever do need it.

I am not a particular fan of any of the EN7562 based MikroTik routers. But that's not from first hand experience, only from the problems reported with the new models. But there are users that have them and don't have compatibility issues, it is just more likely to have problems with any new model. The main incompatibility issues are using ether1, but there was a recent issue with an incompatibility with a whitebox google tv box, even when connected to a "switched" port. Users have worked around both of these incompatibility problems by placing a "dumb switch" between the hex refresh and the problem device, but that is not something that should be required.

Here's the latest thread (this was using a hap ax s (E62iUGS) where a dumb switch between the hap ax S (ether4, a port conneted to the internal switch in the EN7562) and the "problem device" (Dcolor, model GD2, ref:DC9124) mitigated the problem. Only one device not getting DHCP address

There were factory recalls on some batches of the hAP ax S, but that was more an issue with the wifi and heat problems if my understanding is correct.

I have the old RB760iGS (hEX S) and then upgraded to the RB5009 which has a lot more "headroom".

The hex refresh models do have advantages (the most important is extra NAND/flash 8 times as much). Other advantages: twice the RAM. Based on ARM instead of mips (supports BackToHome VPN).

Disadvantages of the new models: No beeper, no microSD slot. Probably not a deal breaker for most users.

If you do get one of the new models, you may want to have a dumb switch around that can be used for troubleshooting.

It is likely you won't have issues, but it is good to know about what issues others have found (and the work arounds that worked for them).

Some info in this thread about the hEX S 2025 having more flexible input PoE options

hAP ax S vs hex refresh

One thing that you might also consider is to go for the hAP ax S. It is basically a hEX S 2025, but then with added Wifi 6.

In the Netherlands, there is a bump from hEX Refresh to hEX S of 5 euro, and then another 5 euro for going from the hEX S to an hEX ax S. Depending on your need for the APs, this might be enough and safe you from separate APs. And otherwise, it might be a useful addition when you introduce a more powerful router in the future.

In my case, I think the 10 euros will buy you a lot of flexibility, so even though I actually only needed a switch, I ended up buying the hEX ax S (actually 2... so that I can try and setup my VLANs totally separate from my current hEX setup - my first attempt with introducting VLANs on my 'main' network together with openWRT flashed on a FritzRepeater 1750 was not really that successful - I only managed to completely screw up and block everything and lock myself out on 23:00 Friday...; so my next attempt is going to be done completely separate from my current equipment)

Wow, thanks a lot! I'm honestly amazed, MikroTik's portfolio feels endless :smiley: The hAP ax S is a great find. I would now replace Switch 1 (previously a hEX refresh) plus the wall-mounted AP with a single hAP ax S. I might also replace the other wall AP with a hAP ax S.

So my hardware would now be:

  • Router: hEX S 2025 (E60iUGS), also running CAPsMAN
  • Switch 1 incl. Wi-Fi: hAP ax S
  • Switch 2: CRS310-8G+2S+IN
  • A second hAP ax S as access point connected to Switch 2
  • DrayTek Vigor 167 later for VDSL

TOPOLOGY
Router (hEX S 2025) -> wall socket 1 -> Switch 1 (hAP ax S) -> Zigbee coordinator
Router (hEX S 2025) -> wall socket 2 -> Switch 2 (CRS310-8G+2S+IN) -> hAP ax S + Home Assistant + servers

A few follow-up questions:

  1. On the hAP ax S, is ether1 connected to the switch chip, or should I use ether2 as the uplink (like on the hEX refresh)?
  2. The hAP ax S at Switch 2 will sit on a shelf about 20 cm below the ceiling, at the edge of the flat next to the neighbour's wall. The two APs are at opposite ends of the flat. Do you see any issue with that placement?
  3. Does the hAP ax S support 802.11r with the current CAPsMAN, so roaming between the two works smoothly?
  4. Can the hAP ax S (MediaTek radios) receive the VLAN ID per SSID via the CAPsMAN datapath, like devices with the wifi-qcom package? Or do I need to configure the VLANs locally on the CAP?

Thanks again!

Mike

  1. see block diagram. Ether1 is not connected to switch chip but CPU.
  2. You have to experiment with positioning
  3. it should.
  4. As far as I know, it should behave as devices using wifi-qcom package.

PS don't double post please. I just rejected a new message from you more or less repeating your first post all over again.

Ok thanks. Sorry, thought for discussing the VLAN design it is better to have a separate thread :slight_smile:

Regarding the VLAN, I have the following open questions:

  1. For the final design: 192.168.x.x or 10.x.x.x? I chose 192.168.110-199 to avoid conflicts with some corporate VPN and with typical FRITZ!Box (192.168.178.x) and Speedport (192.168.2.x) networks when connecting via WireGuard from elsewhere. Would you rather use 10.x? When I would start from scratch, what would be better? 192.168.x or 10.x?
  2. Would you put the servers in their own VLAN at home, or keep them in Main?
  3. Where would you put the printer in? Into Main or IoT?

Kind regards,

Mike

Best to keep related things together, it will improve your chances on getting valid responses.

As for your questions:
1- IMHO it comes largely down to personal preference. Both ranges are private so you can do with them what you want. It is a good move however to stay clear from known ranges from other vendors/equipment/VPNs/... .

2- depends how sure you are nothing else gets in Main which should not (may not) interfere with those servers. Adding a vlan means adding some firewall rules, means added complexity and maintenance.

3- I put my printer in Main. IoT is for more "exotic" stuff here.
Similar remark as point 2.
Take care the clients who have to make use of the printer, are able to access it.

  1. avoiding the "common default" ranges is good. Especially if you want to use VPN from other locations.

Here's an old post of mine on the Ubiquiti forum about subnets to avoid.

  1. Remember that everything in a different vlan will need to be routed, and that will use CPU resources on the hEX S (2025) or hAP ax S, in addition to the routing for the internet. So if you have a NAS, you probably want it in the same vlan as its primary consumers, at least if it has lots of traffic. Any traffic in the same vlan can be handled at L2 (switching) and as long as you use switched ports, it will normally be done by the switch circuitry without any involvement of the CPU. This also implies that on the hAP ax S you probably do not want to use ether1 (or even the SFP) as the trunk between the switches; this way all the L2 forwarding between wired connections will be handled by the switch, not the CPU. wifi will still be handled by the CPU running the bridge driver, and I don't think there is any way to avoid that.

Update: my situation has changed, revised plan :see_no_evil_monkey:

Hi all, thanks again for the input so far, and sorry for the confusion! It turned out that DSL is not available at my location after all, so I'm staying with cable connection. That changes a few things, so here is the updated plan.

WHAT CHANGED

  • I'm staying with Vodafone cable (300/75 Mbit/s, dual stack with a public IPv4). No VDSL, so the Vigor 167 and PPPoE are gone.
  • The rented FRITZ!Box is the cable modem. There is no alternative device and no real bridge mode, so the MikroTik will sit behind it (double NAT). The FRITZ!Box Wi-Fi will be disabled, and its LAN moves to 192.168.100.0/24 as a transit network with only the MikroTik behind it.
  • The FRITZ!Box for cable is located in the same cabinet as my servers, so router, servers and one AP are now all in one place (where Switch 2 was planned).

NEW HARDWARE

  • Router + switch: RB5009UG+S+IN (in the cabinet next to the FRITZ!Box), also running CAPsMAN (instead of hEX S 2025 and CRS310-8G+2S+IN).
  • hAP ax S #1: switch + AP1 in the other room (via wall socket), also powers the Zigbee coordinator via USB
  • hAP ax S #2: AP2, on a shelf about 20 cm below the ceiling above the cabinet

WAY 1:

  1. FritzBox -> RB5009UG+S+IN
  2. RB5009UG+S+IN -> hAP ax S (for Wifi)
  3. RB5009UG+S+IN -> Several servers
  4. RB5009UG+S+IN -> wall socket -> hAP ax S (for Wifi) -> Zigbee Coordinator

Also possible as planned WAY 2 (hEX S 2025 and CRS310 instead of RB5009UG+S+IN):

  1. FritzBox -> hEX S 2025
  2. hEX S 2025 -> hAP ax S (for Wifi)
  3. hEX S 2025 -> CRS310 -> Several Servers
  4. hEX S 2025 -> wall socket -> hAP ax S (for Wifi) -> Zigbee Coordinator

Even also possible WAY 3 (no CRS310 and use hAP ax S as switch additionally):

  1. FritzBox -> hEX S 2025
  2. hEX S 2025 -> Some Servers
  3. hEX S 2025 -> hAP ax S (for Wifi)-> Some Servers via LAN as hAP ax S and hEX S 2025 are in the same room now and hEX S 2025 does not have enough ports.
  4. hEX S 2025 -> wall socket -> hAP ax S (for Wifi) -> Zigbee Coordinator

RB5009 PORTS

  • ether1 (2.5G): Proxmox host (trunk)
  • ether2: FRITZ!Box (WAN)
  • ether3: wall socket -> hAP ax S #1 (trunk 110/120/130/199)
  • ether4: hAP ax S #2 (trunk 110/120/130/199)
  • ether5: Home Assistant (VLAN 110 untagged, 120 tagged)
  • ether6: one more server
  • ether7-8: free
  • sfp-sfpplus1: later CRS310

VLAN PLAN unchanged

REMOTE ACCESS
I currently use WireGuard on the FRITZ!Box. I plan to keep it as a fallback during the migration and later move WireGuard to the RB5009 with a single UDP port forward on the FRITZ!Box.

QUESTIONS

  1. Good idea to go with RB5009UG+S+IN or would you choose Way 2 or Way 3?
  2. RB5009 as router and switch at the same time (bridge VLAN filtering with hardware offload): any pitfalls?
  3. Double NAT behind the FRITZ!Box: anything I should watch out for? Would you set the RB5009 as "exposed host" on the FRITZ!Box, or just forward the WireGuard port?

Thanks!

Mike

I have a similar setup at home (RB5009 behind cable modem/router).

  1. errrm, yes, very good idea even. Performance wise you are safe for quite some years to come.
  2. Not really. The device has plenty of juice.
  3. I always read about how double NAT is a deadly sin and to be avoided like the plague but ... I never had a single problem with it. I also expose 1 single port towards that cable modem/router (actually 3 since I terminate 3 Wireguard connections on that RB5009) and everything works just nicely.
    Only thing you may need to check is if your cable modem has a fixed IP. If not, you may have to do some more things wrt dynamic IP updates etc. (mostly IP/Cloud takes care of it until you need it and it doesn't work ...bummer).
    I am lucky to have a fixed IP (at no added cost).

All of your plans sound totally workable, so I don't think you'll be disappointed.

I see that you chose the rb5009, which I frequently recommend. A lot of people choose lower powered devices, and are then disappointed that there are constraints on exactly which configurations yield satisfactory (for them) results. While the rb5009 is somewhat more expensive, you'll have no such worries.

Of course I don't know about your situation, but I happen to know that the Fritzboxen do provide bridge mode. Sometimes (often?) the provider customization gates this feature. I know of quite a few ISPs who are willing to turn it on remotely in case the customer requests it. It may be worth a call on your part to find out...

Otherwise, double nat - while certainly not ideal - is not the devil, and it will work just fine.

As to the forward port vs. unprotected host question. As long as you only want to forward a limited number of UDP and TCP ports, both are fine and perform the same. Wireguard obviously fits in this category. If you want IPSec, gre, ipv6 over ip and other more exotic protocols, you'll have to go with the unprotected host setting.

Oha, you are absolutely right. I see in my FritzBox that there is a bridge mode configuration. I can set which LAN port should be used. I get a new FritzBox model in a few days, will have to recheck this.

Mike

Before you move into that direction, be sure and double check your external facing firewall is as it should be.
And default is already a very good starting point.

@lurker888
You like to win easy, don't you?

A RB5009 should be able to manage 10x that bandwidth.

In theory a hap Ax Lite should be (barely) enough.

But don't forget that vlans will be used, and that presents the possibility of much more "local" inter-vlan routing that will have to be done by the router, in addition to the routing to the internet.

And a NAS in a different vlan than its clients can generate a much higher load than many internet connections can, although NAT probably won't be involved.

If Mike has the budget for an RB5009, I don't think he will have buyer's regret. I think there is a much higher possibility of buyers's regret with the hEX refresh.

There may be more initial "sticker shock" with the RB5009, but it you amortize the additional cost over the userful lifetime, it isn't really that big of a cost (on a monthy basis) compared to what he is spending for his ISP.

Sure, the RB5009 is an excellent choice :slightly_smiling_face:, I was only pulling lurker888's legs a bit.

My mechanic also told me how an Aston Martin Vantage S has much better road handlng than a FIAT Panda.

More seriously a CRS310-8G+2S+IN should be a much better switch than a RB5009, if only for the 2.5 Gb ports.

It depends on license and bonds :slight_smile: