So you don’t need a hardware switch
Comment on How to physically isolate a camera with OpenWRT, tagged VLANs and Docker
hendrik@palaver.p3x.de 1 day ago
Interesting. Any reason to prefer the driver-level VLANs over the hardware switch? That’s how I’ve done it in the past, and also how the linked wiki article starts.
Archer@lemmy.world 1 day ago
lemmyvore@feddit.nl 1 day ago
I’m not an expert so take this with a grain of salt, but it seemed to me that the driver approach is the more useful abstraction and also the more modern, and that the old one will get eventually phased out (or stay there under the hood, out of the way).
possiblylinux127@lemmy.zip 1 day ago
I’m not sure what you mean by “driver level.” Configuring vlans in openwrt will configure the hardware. (It is really the Linux kernel that does the heavy lifting)
hendrik@palaver.p3x.de 1 day ago
I don’t really know, either. “driver-level VLAN” is the terminology the OpenWRT wiki you linked uses. You went for the strategy at the bottom, with going to the bridge settings and make it add a new interface. Waht I’ve done before, and what that article talks about at the top is, go to the Switch settings, and set the port to the corresponding VLAN, or keep the tags…
https://openwrt.org/docs/guide-user/network/vlan/switch_configuration
possiblylinux127@lemmy.zip 23 hours ago
OpenWRT now uses DSA so that article is dated
hendrik@palaver.p3x.de 19 hours ago
Thanks! You’re right. Seems it’s distributed switch architecture on my wifi router. I used Luci to configure it. Didn’t even know this was more than a UI change…