Two switches are not needed to accomplish what you are asking for. When you connect a VM to an External Virtual Switch (i.e. a virtual switch defined to a physical NIC), you connect that VM via a virtual NIC connected to the virtual switch. Simply define the virtual NIC on the VM to have the VLANs you want. A single NIC can have multiple VNICs each with different VLAN definitions.
Two Virtual Switches on one physical interface - hyper-v 2019 core.
Hi everyone,
As I mentioned in a title, we're looking for some specific solution.
We'd like to share one physical interface in our host between two virtual switches which would have other vlan's ranges. First 1-2000 and the second 2001-4096.
Now we've got one physical interface (lacp on two sfp+), one vmswitch (1-4096 vlans) and few virtual interfaces (every has it's own vlan).
So instead of a one vmswitch should be two switches (first 1-2000, second 2001-4096)
Adrian
Windows for business | Windows Client for IT Pros | Storage high availability | Virtualization and Hyper-V
2 answers
Sort by: Most helpful
-
-
Anonymous
2020-08-26T05:26:40.77+00:00 Hi,
You don't need two swithes as you set VLAN IDs in virtual NICs on VMs, not in virtual switches. In virtual switches you can only set VLAN for the Hyper-V host.
Best Regards,
Ian----------
Please remember to "Accept Answer" and upvote if the reply is helpful.