Improve VLAN support and Service Binding

Having come from Proxmox, I have found the Networking Config in QNAP somewhat frustrating…

  1. In single QNAP NIC configuration (e.g TS-462a) creation of a switch for the native network prevents additional switches for other VLANs

  2. Service Binding can’t be enabled in a single NIC configuration, but Service Binding for vSwitches on different VLANs makes sense

  3. Service Binding is enabled on a per physical NIC with binding on different VLANs/switches buried in the separate Service Settings (e.g. SMB)

  4. “Software defined switch” means something completely different in the I.T. industry - I think you mean private/internal switch?

  5. It would be better to integrate the VLAN setting in the vSwitch settings rather than with the NICs

For reference (I’m a retired I.T. Sys Admin, so…) I have core systems on a default management VLAN, with my user devices and guest devices on separate VLANs - e.g. so home users see Windows/Mac shares. but Guest users can see anything…

Bottom line - vSwitches needs a bit of spit and polish I think?

Thanks for your suggestions! I’ve forwarded your feedback on VLAN support and Service Binding to the relevant team for evaluation.

To help our team better understand your needs, could you let us know which services you’d like to bind to specific VLANs/vSwitches — for example, SMB, AFP, or the web interface — or whether there are services you’d like to use this way that aren’t currently supported? Also, in the scenario you described, is the issue that devices currently can’t connect, or that you’d like to restrict which VLANs can access certain services? Thanks!

So I have three vlans, a management van (default), VLAN 10 which is the house VLAN and guests on VLAN 30. The primary requirement is to avoid binding any services to the Guest VLAN for security reasons as I offer that to visitors and the odd trades person as 4g is pretty non existent where I live.

As I run a couple of VMs on the Qnap, I wanted 3 virtual switches one for each vlan, but I couldn’t set this up on a TS-462a, as it only has one NIC. Since my plan involved getting a second Qnap for my daughter I picked up a TS-464 with dual NICs so I have a virtual switch on NIC 1 for the default management VLAN and two VLANs 10 and 30 associated virtual switches on NIC 2.

Hope that helps understand the setup.

Ps: PLEASE enable quts hero on the TS-462a - as far as I can tell it’s the same hardware as the TS-464 minus a pci-e slot! I’d love to run the same os on both

So I’m a little confused by your request…

If you have a guest VLAN, then I am assuming that you wouldn’t want them on your QNAP at all. Set the VLAN rules up in your router. If done correctly, they will have a completely separate IP address space from your LAN anyhow and no routing path into it.

I would never use the QNAP is my “switch” to handle VLAN routing and all those rules…Do the VLAN routing on your router…

1 Like

I’ve got UniFi doing the routing etc, the virtual switches in the QNAP are purely for VMs - Technically I shouldnt need any VMs on the Guest network, but I’ve just tried to mirror what I do on Proxmox to see how the QNAP works (am new to these) - I’ve used the guest network for testing odd things in the past which probably still has VM capability

If you have a NAS with multiple NICs, you can put a VM on its own NIC and connect that NIC to the VLAN of your choice.

I do see what you mean though especially when it comes to VMs.

I agree it is too bad that you can’t trunk multiple VLANs to a QNAP and let NVS break the VLANs out according to services. That would be pretty cool.

Thanks for the details! For each of the three VLANs — management (default), VLAN 10 (house), and VLAN 30 (guest) — could you let us know which services you’d like to bind and which you’d like to keep unbound? For example, would you want SMB and the web interface on the management VLAN, only SMB on VLAN 10, and no services at all on VLAN 30? Thanks!

It’s not about specifics, especially as I play about a lot with interesting tech solutions - still a hobby after 40+ years as a Sys Admin! For example, I could spin up a test VLAN on which I need iSCSI or NFS but not SMB, Or I might temporary want to enable a share on the guest network for read only file access to someone. Point is I think that the service binding interfaces are spread between services, so it’s the UX piece that needs to be more joined up?

Could do, but I only have two NICs on one unit, and one on the other, so Virtual Switches and VLANs are what I need to work. At the least you should be able to have 2 virtual switches a 1 NIC box - one for default VLAN, one for a tagged VLAN - I tried setting this up and lost contact with the box completely! (Fortunately its new and am only at the trial and error stage, so nothing critical on it)