The majority of my homelab consists of two servers: A Proxmox hypervisor and a TrueNAS file server. The bulk of my LAN traffic is between these two servers. At the moment, both servers are on my “main” VLAN. I have separate VLANs for guests and IoT devices, but everything else lives on VLAN2.

I have been considering the idea of creating another VLAN for storage, but I’m debating if there is any benefit to this. My NAS still needs to be accessible to non-VLAN-aware devices (my desktop PC, for instance), so from a security standpoint, there’s not much benefit; it wouldn’t be isolated. Both servers have a 10Gb DAC back to the switch, so bandwidth isn’t really a factor; even if it was, my switch is still only going to switch packets between the two servers; it’s not like it’s flooding the rest of my network.

Having a VLAN for storage seems like it’s the “best practice,” but since both servers still need to be accessible outside the VLAN, the only benefit I can see is limiting broadcast traffic, and as far as I know (correct me if I’m wrong), SMB/NFS/iSCSI are all unicast.

  • @[email protected]
    link
    fedilink
    English
    19 months ago

    I do it because I don’t want to run short of IP space.

    I’ve worked on networks that are reaching the limit of how many systems they can hold, and I don’t want that to happen, so I intentionally oversize basically every subnet and usually over segregate the traffic. I use a lot of subnets.

    They’re not all VLANs, some are on independent switches. What I did for storage in one case is gave a single NIC to the management Network for administration, and the rest connected to a storage subnet with fully dedicated links. I was using the same switch so they were vlanned but it easily could have been done on another switch. The connections from the storage to the compute systems was all done with dedicated links on dedicated NICs, so 100% of the bandwidth was available for the storage connections.

    I’m very sensitive to bottlenecks in my layer 2 networks and I don’t want to share bandwidth between a production interface and a storage interface. NICs are cheap. My patience is not.