Comment on Simplest VLAN setup?
CompactFlax@discuss.tchncs.de 9 hours ago
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? I’m not following.
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.
iamthetot@piefed.ca 9 hours ago
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.
CompactFlax@discuss.tchncs.de 8 hours ago
Commonly a “Smart switch”.
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.
GreatBlue@infosec.pub 8 hours ago
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.