Virtual Switch and physical NIC in team

Gloria Gu 3,896 Reputation points
2020-07-16T07:59:31.223+00:00

Hi all,

as far as I know, NIC associated with external virtual switch are "dedicated" to virtual machine communication , unless they are flagged as "shared".

Now, I have two physical NIC in team. When I try to create an external virtual switch, I have the option to connect NIC1, NIC2 or the virtual teamed NIC.

What happens if I set virtual switch with :

a) only NIC1?

b) only NIC2?

c) only with virtual teamed NIC?

Is it correct to say that with the c) option the Server cannot communicate with external network unless it is flagged as shared?

With option a) or b) i'm confused.

This is what I think could happen with option a) and "shared" flag not set:

  • The traffic to the physical server pass all through NIC 2 with NIC1 dedicated to virtual machines. Am Iright? But if this is true, which benefits I could have from having the physical NIC in team?

thanks

Thread source link: https://social.technet.microsoft.com/Forums/windowsserver/en-US/cdbee333-5ec9-4102-9e13-32173f1a1e89/virtual-switch-and-physical-nic-in-team?forum=winserverhyperv

Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,613 questions
0 comments No comments
{count} votes

Accepted answer
  1. Xiaowei He 9,876 Reputation points
    2020-07-16T08:17:58.52+00:00

    Hi lu_luca,

    Now, I have two physical NIC in team. When I try to create an external virtual switch, I have the option to connect NIC1, NIC2 or the virtual teamed NIC.

    If you have two physical NIC team on the host, and create a NIC team with the two physical adapters, then we can't use the single NIC to create external virtual switch on Hyper V manager. So option a and option b is not possible.

    If we use single NIC team member to create external switch, we will get the error message below:
    12636-image.png

    So, after teaming, please use the NIC team to create the external virtual switch:

    12637-image.png

    Is it correct to say that with the c) option the Server cannot communicate with external network unless it is flagged as shared?

    If the NIC team get external IP address, and the external virtual switch bind to the nic team, then VM connect to the external virtual switch will get an external IP address from physical network DHCP, so it can also communicate with external network.

    The option "Allow management operating system to share this network adapter", allow the Hyper-V host to share the use of the virtual switch and NIC or NIC team with the virtual machine. With this enabled, the host can use any of the settings that you configure for the virtual switch like Quality of Service (QoS) settings, security settings, or other features of the Hyper-V virtual switch.

    12638-image.png

    Thanks for your time!

    Best Regards,

    0 comments No comments

0 additional answers

Sort by: Most helpful