Several unresolved questions have been made in various online forums looking for any options that may exist for a USB to Ethernet adapter that supports multiple VLANs.
Past questions have often been sidetracked due to confusion as to what is being asked for. The requirement here involves advanced Ethernet networking and the 802.1q standard / VLAN trunking - something that is typically not used in home or small-office networking. This is something that would be more suited to the enterprise, or possibly someone working towards a networking certification.
The intent for this question is to act as a central source, and which can hopefully be cross-linked to with all other related posts. Once a suitable solution is found or developed, an answer posted here will hopefully benefit everyone.
Related questions include:
- USB to Ethernet adapter supporting multiple VLANs
- https://communities.intel.com/thread/77934 (Various replies within)
- See the 2012-02-02 comment regarding VLAN ID.
(Anyone please feel free to edit and add additional links as they are discovered.)
Unfortunately, there are 2 issues here:
- No known USB-to-Ethernet adapters that provides a Windows driver (for any version of Windows) with multiple VLAN support.
Broken support in Windows 10 for trunking support / virtual miniport drivers.
It seems that what we are looking for here is a bugger to search by - as even "802.1q" and "VLAN" aren't even good enough search terms. (We not only need "tagging", but also "trunking".)
(An attempt is being made to write this question in 3rd-person, assuming that it may become Community Wiki. Please feel free to edit and contribute!)
No known USB-to-Ethernet adapters that provide a Windows driver with multiple VLAN support.
Take, for example, a StartTech.com USB 3.0 to Gigabit Ethernet Adapter NIC with USB Port (http://www.amazon.com/dp/B00ECQZM1A/). It is based on the ASIX AX88179 Gigabit Ethernet Controller. Listed features include "IEEE 802.1Q VLAN Tagging support". This is what the related properties of the installed driver (220.127.116.11 / 2014-01-24) look like under Windows 8.1:
What is missing is any sort of trunking support / virtual miniport driver - such as the additional capabilities provided by the full driver installs of the Intel Advanced Networking Suite (iANS), the Broadcom Advanced Server Program (BASP), or the Realtek Teaming or Realtek Ethernet Diagnostic Utility.
The difference is, we could configure a switch port to provide access to multiple VLANs, and configure this adapter to choose which VLAN to be a part of - from the client device, not the switch. Or we could add another unmanaged switch with access to the multiple VLANs, then use multiple of these or similar adapters - configuring each one to be on a different VLAN. Something like this (link broken, but still available through the Internet Archive - please update if anyone can find a relocated copy):
With proper trunking support, however - everything could be done with one switch port, one wire, and one adapter - very efficient, convenient, and economical.
As @Flexo had noted, full 802.1 support is practically guaranteed to be available under Linux as long as the adapter works, as Linux provides all of the VLAN support by itself as standard feature of the kernel. Windows, however, doesn't provide these services itself, and depends upon a vendor-provided driver package (e.g. iANS or BASP) to provide them instead.
Unfortunately, it looks like we're not aware of any USB Ethernet adapter that provides such a driver package for Windows, nor have we seen Intel or Broadcom creating any USB Ethernet adapters of their own that would compare to their internal components. (Hint, hint! Build it, and then take our money!)
One example from @ziesemer:
I have the full capabilities on an aging (Dell Latitude E6500) laptop, compliments of the Intel chipset (82567LM) and driver (very similar to @bwilliot). I would be very anxious to find a current replacement for this functionality as well - especially for usage with devices like the Microsoft Surface Pro 3 or 4. (The Ethernet controllers provided on the Surface Pro 3 or 4 docking stations are no better than the ASIX AX88179 - I checked. It is also internally connected off of the USB, so I guess I shouldn't be too surprised.)
Broken support in Windows 10 for trunking support / virtual miniport drivers
- New supporting driver released on 2017-02-17 (following dependent Windows Updates).
Now, using the Virtual Switch Manager in Hyper-V might be a way to support this under Windows 10 (similar to the above link) - but requires a new enough CPU to support the Hyper-V hypervisor. Additionally, running Hyper-V at the same time as VMware or VirtualBox is not supported, and doesn't currently work.
One ugly work-around from @ziesemer:
Previously, I was running a minimal OpenWrt in VirtualBox as an ugly work-around. Directly bind / bridge the one virtual network adapter to the physical LAN, then bridge additional network adapters to additional Host-only Networks within VirtualBox. Obviously, this creates quite a bit of overhead, slows everything down, and the virtual network adapters don't support advanced features such as Jumbo Frames.