Hi All,
After watching some videos, and reading some text, user manuals forums also this here: Using RouterOS to VLAN your network I have some basic questions to the experienced users regarding VLAN.
My HW setup looks like the following:
1 hex s 2025 as router
1 linksys unmanaged switch (part of the setup independently from the future CSS318!)
1 soon to be CSS318-16g-2s switch
2 cap AX (1 for each floor)
This is a 2 floor little house. All LAN cables are routed to the basement where the switch will sit, some end devices like TV, Pi, homeassistant, PC will have LAN connection, others like phones tables will use the cap AX wifi.
My SW setup so far on the hex s, looks like this:
I currently setup all devices under 192.168.2.xxx/24 this is enough for me. eth1 on hex s is WAN. I did my LAN segmentation by grouping different devices and sorting them out by IPs such as:
Mikrotik devices sitting under 192.168.2.1- 10
home assistant and all IoT is 192.168.2.200 - 250
home cinema is for example 192.168.2.100 - 130
every device currently which is connected to my network (cable or wifi) is having a fix IP given by the hex s DHCP via MAC. nothing is dynamically allocated.
hex s also having wireguard running under 192.168.10.x (finally I managed to set that up
)
Firewall rules, defconf copy mikrotik + a couple of test rules which I posted about in the past.
Now I would like to turn to the VLAN side of the setup, where I am in the planning phase (collecting IP ranges, grouping devices, creating rules on paper). In order to plan properly I have some questions regarding VLAN. Before the questions I would like to share the aim and reason for VLAN.
a) I have some devices which I would like to expose to Internet, but strictly not to LAN so like a DMZ.
b) I have IoT devices where I would like to disable Internet and LAN access so isolate them 100%, it is running good if I pull the WAN plug right now, so it should be
In case of SW/FW update I disable the firewall rule, do the update via OTA and then enable the rule again.
c) I have some 100% trusted devices which I consider as management devices, those should see everything no matter what
d) guest wifi, dynamic DHCP range, should be no LAN access, but internet
And the questions:
- Can I do a setup where I leave my core mikrotik devices in the range 192.168.2.1 - 10 and then create a VLAN with ID 30 for IoT but only for the range 192.168.2.200 - 250. ?
1a) Does it make sense to leave mikrotik devices out of the VLAN? or any other device? Or it would be preferred to add them to the management VLAN?
-
executing the aim/rule (b) above I have some IoT devices like HomePod, whom I would like to keep the Internet connection, but if I apply any filter for the whole IoT range the homepods are in there... Is it possible to create a firewall rule to VLAN ID 30 but exclude 1 IP out of it? Does this make sense?

-
I read a lot about SAFE MODE and I can shut myself out, but if my understanding is correct, the hex S does not do anything VLANs until the firewall rules are not there. Is this correct? So in other words I can create bridge, VLANs (IoT, management, etc...) start tagging and until I not start to implement any firewall rule I am safe, or am I missing something?
-
Reading this Forum guide (link on the top) I do not really want my mikrotik switch to act like this blue, green, red setup --> Switch with a separate router (RoaS) a, because I bundle myself to fix IPs, is then this is a right understanding that I need trunk port setup everywhere?
-
cap AX both are managed via hex S (CAPSMAN) in this case, I see wifi-1-2-3-4 in the Interfaces of hexS, so when I talk wifi needed VLANs, then I need to do this over those wifi-1-2-3-4 right?
-
Last but not least, Is there a simple way to do this? Do I overcomplicate it? I thought with the fix IP setup and the strict no dynamic DHCP allowed I would be half way in the winner side, seeing tutorials it looks also easy just add VLAN ID 10/20/30 with different IPs, firewall and job done, but then some setups / tutorials (like this tutorial here with the color coding) starts to talk about interface VLANs and this is really something which I cannot do.
Thank you for the answers from all of you in advance!
