I’m moving soon and planning some overhauls to our home lab and local network.
We have security cameras and I really want them on their own VLAN without internet access. Then I got even more ambitious and decided I want to separate a lot of things into different VLANs without internet access, but can still talk to each other.
My long term goal will be to have an OPNsense box that I can do even more intricate network configs with, however in the short term I don’t think I can afford the hardware to do so. So for now, I’m trying to find the simplest, ideally cheapest way to implement at least one VLAN in my local network.
My ISP’s router will not support it, however should support bridge mode. So I’m thinking the easiest way is to buy a VLAN capable router and pass through to it, however I’m still new to this and learning as I go.
Curious if anyone here has VLAN tips, tricks, or suggestions for a cheap/easy setup.
Cheers!
Does your router do a seperate guest network? If so, stick your IoT/untrusted devices on it.
Get one of these:
https://mikrotik.com/product/hex_s_2025
Does everything you need it to and works just as well as OPNSense.
I have opnsense . Can recommend!
You can look into OpenWRT. Maybe your router model is supported.
OpenWRT is capable of VLANs and if you get an OPNsense box later, you can use the router as an access point. You can also set up different SSID for your WLAN and tie each one to a different VLAN
You need a router. Opnsense is a router. You could buy a different one but if you want to go the route of opnsense, why would you get a different one? It doesn’t need much power, unless you’re trying to route gigabits - and then any router will cost you.
You also need a vlan aware switch or a second switch (and the router needs more than one local port). Just a switch won’t work; you need the firewall rules between vlans and internet to make it worthwhile.
My opnsense has ports to WAN, LAN, and IOT (cameras). LAN connects to a switch. IOT connects to a different (poe) switch that runs the cameras. I have a firewall rule on IOT blocking all outbound traffic, and allowing inbound from LAN.
I have lots of stitches already, but what’s a specific “VLAN aware” switch?
As for the opensense, the hardware I have seen recommended to run it is quite expensive right now due to AI shit. I’ve seen N100 or N150 devices recommended a lot. Add in ram and storage and building a whole device gets more expensive than a brand name router for now. For example, I can find Ubiquiti routers for a few hundred dollars.
Commonly a “Smart switch” or “layer 2”. Layer3 adds inter vlan routing in the switch which chances are more complexity than you want. Chances are your cameras won’t tag their own traffic and I would trust them to do that. So the switch needs to apply the tag to the port, or it needs to be a separate physical network (hence “virtual LAN”). I probably butchered that explanation.
If you can find a UI router for less than opnsense, I’d go that route. Their switches aren’t the cheapest but they’re pretty affordable, and the integration is convenient. I run opnsense because I got a device for $50 - used. It’s an Atom processor circa 2012 and has 4GB RAM. I think it should handle a couple hundred mbps and that’s fine for me. Gigabit speed needs more processing horsepower as the speeds increase.
“Someday” I’ll buy some UI access points, a switch, and a router.
A VLAN aware switch is probably a switch which can handle VLANs. If the switch does not, the behavior can vary from ignoring the VLAN-tag, stripping the tag or discarding the packet altogether.
If your are looking for a switch, look for support for “802.1Q”, “dot1q” or similar. It’s the IEEE standard for VLANs.
use an old laptop to start, routing doesn’t take much until you start doing fancy flow control/quality of service like CAKE or FQ-CODEL. connect a dot1q-aware “smart” switch to it and you have what you need.
I probably should have mentioned that I would like to achieve 1 gig speeds, which is why I believe building an opnsense machine would be more expensive at the moment.
However, looking again, I’m finding some Topton machines on Aliexpress that might work for much less than last time I looked. Maybe black Friday sales.
Most routers come with simple ARM SOCs so any relatively modern laptop CPU should be more than capable of handling gigabit routing. I used an i7-6700HQ laptop as a router for a while.



