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!

  • Great Blue@infosec.pub
    link
    fedilink
    English
    arrow-up
    10
    ·
    18 hours ago

    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

    • Guiorgy@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 hours ago

      I use OpenWRT with separate VLANS for internal, guest, IoT, and a few other networks, and it’s sufficient for my use.

    • lemmyvore@feddit.nl
      link
      fedilink
      English
      arrow-up
      5
      ·
      14 hours ago

      I second OpenWRT.

      You might not even have to do actual VLANs. OpenWRT has very useful abstractions already set up: devices, interfaces, wireless AP, and firewall zones. You can tell it how to connect physical devices and wireless AP into networks, associate networks into firewall zones, and configure how the zones can talk to each other. It takes a moment to wrap your head around it but then it’s quite nice.

      It’s very simple to create a separate wifi AP that’s only for cameras and/or reserve a switch port for them, connect that AP/port to a separate network, assign it a firewall zone, and configure it to be accessible from other zones but to not be able to connect outside to other zones or WAN.

      The only time I’ve had to do an actual tagged VLAN was when I wanted to put a wired machine with a single Ethernet cable in multiple networks.

      • 🄯 CarlOS@lile.cl
        link
        fedilink
        arrow-up
        1
        ·
        8 hours ago

        OpenWRT. That is. Get an openWRT router, you can configure isolated LAN in different VLAN and use firewall rules to control communication between networks and internet.
        If you need a switch, just buy a cheap 20USD 5 or 8 port gigabit one. They all can forward packets with vlan tags (not to manage and read tags, but it should be enough)

        @selfhosted
        @lemmyvore @GreatBlue @iamthetot