The new QNAP firmware (3.4.0) supports 802.1q VLAN tagging, but you can't create multiple interfaces in different VLANs on the same physical interface through the webinterface.
In the case of link aggregation (LACP 802.3ad for example), that means only 1 VLAN and 1 IP address can be used.
Fortunately, QNAP allows full access to the underlying Linux system. Adding a VLAN interface goes like this (the example uses VLAN 234)
# /usr/local/bin/vconfig add bond0 234
# ifconfig bond0.234 192.168.2.30 broadcast 192.168.2.255 netmask 255.255.255.0
of course, this change is not permanent, a reboot will not automatically start this interface. I'll blog about making it permanent later.
Comments
I was hoping for multiple virtual interfaces so I could setup a few vlans for my ESXi home lab. i would really like to have one for NFS and one for management. So I look forward to your next post.
On a side note, have you noticed any performance issue on the network interfaces since updating to 3.4. I have noticed my bandwith drop significantly in the resource monitor. My test VMs seem to hang for a few seconds while things get caught up. Have you noticed anything like this?
I haven't configured my VLANs permanently yet, just temporarily as I've shown, and it works very well. I've tested network speed using ping -f. and that pulls 1Gbps without problems. I haven't noticed disk speed issues either, but haven't done real testing yet.
Any help is appreciated.