I am setting up a new Hyper-V 2016 server. The physical machine has 6 network ports. I read that it is best practice to have one network port dedicated to remote management of the Hyper-V Host, so that leaves me with 5 ports. I have 2 subnets - a LAN and a DMZ. Some of the VMs that will live on this server will be in the LAN, and some will be in the DMZ.
So in the Network Adapter control panel I have the following:
- Onboard NIC 1 10.0.0.140
Onboard NIC 2 10.0.0.141
Slot 1 Port 1 10.0.0.150
- Slot 1 Port 2 10.0.0.151
- Slot 1 Port 3 192.168.12.150
- Slot 1 Port 4 192.168.12.151
I am thinking it would be best to team 2 of the NICs to be used for the LAN. Then take 2 more and use that for the DMZ.
So in Server Manager I enabled NIC Teaming and then I created 2 switch-independent dynamic Teams, as follows:
Slot 1 Port 1 \ |---- LAN 10.0.0.152 Slot 1 Port 2 / Slot 1 Port 3 \ |---- DMZ 192.168.12.152 Slot 1 Port 4 /
After creating the teams, The 4 individual NICs are in a sense no longer used. IPv4 is unchecked in each of their Properties windows, and they are part of the team.
- Can I re-use the IPs I had manually assigned to these 4 NICs? Are are they still necessary? (I am not hurting for IPs. I am just curious if they are now available to me as long as those NICs are part of a Team)
Next, I am going to install the Hyper-V role. During the installation of Hyper-V, the wizard says "One virtual switch will be created for each network adapter you select". In the list, I see the 2 teams I created ("LAN" and "DMZ") but interestingly I ALSO see the individual NICs here in the list.
Why would the individual NICs appear here? If I select them and the wizard creates a virtual switch, does my NIC team break?
Should I select the teamed NICs only?
So later on let's say I create my first hyper-v vm, assign the teamed NIC called 'LAN' to it, and install Windows. When I log into that VM, I assume I will only have one network adapter. But is the throughput of this adapter "teamed" meaning 2gb instead of 1gb?
...or... Should I NOT team the NICs on the Hyper-V host, and INSTEAD, assign the same 2 NICs to each VM and then inside the VM, do the teaming?
What's the best practice way to take advantage of multiple NICs on a physical host so that each of the VMs get the maximum network throughput? Team the NICs on the Hyper-V Host? Or instead, team the NICs inside of each VM?