Jumbo Frames are basically invisible to this. Just make sure all adapters have it enabled then you will send bigger packets which will proportionally make more traffic be used for the data content rather than packet overhead.
This video helped me get further along to understanding networking in a H-V cluster. Even implemented it into a 2012 R2 H-V and Storage Clusters. The H-V Cluster took it well, but the Storage Cluster is complaining about IP's not being able to be registered with DNS. Sort of makes sense as all of my DNS server are also AD's and none have the extra IP subnets on them. The complaints deal with the Roles running on the DS Cluster. The IP's for the Roles are not in our primary management subnet, but in a dedicated subnet for H-V and DS data transfers.
It should be noted that when you use the GUI to create this, you cannot set the VMSwitch with the -MinimumBandwidthMode to weight...you HAVE to use Powershell to create the VMSwitch to use QoS.
Great video. In your config team mode was set to static which means you're using Cisco ether channel. So I take it your ether channel poX interface was set up as an access link ? so all ur different traffic flows are (mgmt, lm, cluster, VM) using the same vlan ? Or was it more likely setup as trunk and each flow would have its own vlan defined in both the switch and the vsw and VM settings ? wouldn't you need to enable the nic team trunk mode in powershell as well ?
Thank you John. That's brilliant stuff, very easy to follow. A request - Could you also do a video on 'HYPER-V 2012 Virtual Switch, specifically around the differences between 'switch mode' and 'switch independent mode'. Thanks -Ashwin
Hi John, Great video and content. One question, your whiteboard drawing shows networks for LM, Mgmt, CSV and VM. How do you ensure VM traffic goes over the correct vethernet adapter?
+Jamie Jones VM traffic actually is not via a VNIC on the host. Instead the VMs are just attached to the virtual switch which will use the physical NICs as needed.
Gday, when you refer to seperate links, are you referring to a qaud port card, or 4 individua singlel pcie cards? also how are multiple port network cards addressed? as in their range within the the machine configuration address space?
Great job thanks very much. I have just started a Hpyer-V design so this has come in very handy as I was going to opt for the normal VMWare / Windows 2008 design. This solution make more sense, nice one :-)
If you create a managementOS VM adapter using add-VMNetAdapter to pick off additional VLANs off a NIC team (in the host) that's trunked from the switch, where do you configure the VLAN tag for that new interface? Similar to the management VLAN checkbox in the virtual switch.
+ John Savill Sorry if this has already been covered, but how will Live Migration know that it needs to associate itself with the LiveMigration Virtual NIC? Same for all the others as well. What would stop it from just utilizing all the bandwidth? The video was brilliant by the way!
+Scott Cnockaert You would do it the same way. i.e. in failover clustering right click on networks and select the IP you want to use for live migration. cluster communications enable network for cluster communication etc etc.
Nice explanation. Unfortunately, other sources say that for performance reasons one should never create the NIC team on the host but should create teaming in the guest VMs instead. That way one could also use SR-IOV for the teams.
Most environments don't use SR-IOV but for those that do NIC teaming would stop that. Teaming in the guest is limited to two NICs plus that would stop being able to share the adapters for other purposes such as CSV, live migration etc. Many organizations use teaming at the host. Each to their own :-)
John, one more question: If I have a single VM, will it be able to use the increased bandwidth of multiple physical NICs if these NICs are teamed in the host?
Is there an easy way to tag each vmnetwork adapter interface with a VLAN? We are operating on all trunked switch ports. Also, would a dedicated vmnetwork adapter be necessary for SMB storage traffic (like you would in a VMWare world)? Taking us a little while to break ourselves of the old VMWare methodologies! Thanks!
Yes, you can tag each vNIC. You don't have to have a separate SMB vNIC as you could use QoS to ensure SMB gets enough bandwidth but certainly you could.
John Patterson I don't have a configuration in front of me right now however I'm pretty sure you would set it the same way as a regular NIC in the properties of the vNIC on the host.
HI guys...I recently created a VM with server 2016 running on a server 2012 as a base ON. I created an external network hence I wanted the vm to be on the same network as the base OS. Now on the VM I can a message that says "Unidentified Network for HyperV Internal Switch"" the based OS is on the internet but not the VM.... please assist
I have one question John (or anyone else who has done this). As I understand from your video - I have created a NIC team of 8 physical adapters, and from this I have created a virtual switch. I have then created virtual NICs for LM, Cluster/CSV, iSCSI 1 and 2 (for MPIO) and one for VM. I want to use the weighted bandwidth management to give the minimum QoS, but when I go to create a VM it tries to create an additional NIC attached to the vSwitch, is that correct? Will it create a vNIC on the host for every VM I have? I thought that multiple VMs could use one vNIC.
+Ryan McAllister No, that's not right. VMs use a vmNIC that attaches to the virtual switch. It should not create additional vNICs on the host. Make sure you select the virtual switch for the VMs being added.
+John Savill OK yes, My mistake - it creates the vNIC inside the guest, not on the host. My question is - how do I then apply weighted minimum bandwidth to the VMs then? I am assuming for my LM traffic, cluster, iSCSI etc I apply the weight values using powershell on the host. How do I apply the weight values to the VMs?
+Ryan McAllister I am facing the same problem. Got 4 ethernet teamed together. Created a vethernet for management and 1 the virtual machines. But how can I make the virtual machines use the vethernet?
+John Savill yeah but how can you reserve 35% for the vm's? Isn't it possible that LM + Mgmt + Cluster traffic takes nearly 100% of the bandwith? The other way around is protected by the MinimumBandwidthWeight Thx for replying!
++ Now Created Team2 with rest of 2 NIC Cards, now Created 2 Interfaces over Team2 via Add Interface Option in NIC Team Console of Windows 2012, now Assigned Management IP Address, Subnet Mask, Gateway, DNS Server in One Newly created Interface and Only IP Address and Gateway for Heartbeat in Another Interface
John, I have a requirement on a similar structure to as you have showed here. My requirement is to have a 3 VM's in a Hyper-V Core environment and 2VM's on a 192.168.2.X Range and 1 other VM on 192.168.22.X range. All of the VM's need to be accessible externally. I understand the simple solution for this to to just dedicate 1 physcial NIC to 2.X IP range and the second NIC to the 22.X IP range. I only have 2 physical NIC's and am sure my requirement is possible i just am very unsure of how this needs to be configured. Any help will be greatly appreciated. Thanks,
KyraaaaaanHD It's possible and you can mix subnets/vlans on a single NIC assuming the switch its connected to has connectivity to the different subnets and/or is configured for multiple VLANs. you don't need multiple vNICs on the host to support different subnets/vlans for the guests. The guests don't see vNICs on the host, only the switch. So check your switch that the NICs connect to and if the ports can see both your subnets you'll be fine.
***** John, Would it be possible to receive some assistance from you in setting this up? I can explain what i have done and where i am at, i am very close but something is missing and i have a feeling you may be able to spot what that is.
KyraaaaaanHD The best way to get that level of help would be post to the Microsoft forums where I'm sure someone can assist. Unfortunately I just don't have the cycles to help 1:1 in detail. Sorry.
Great video - thanks! I basically am having the same issue as MrZami1981. You cannot choose an adapter for VM's to use when in the settings for a VM, you can only choose a switch. However, you show creating a virtual NIC for the VMs to use and assigning a weight to that. How can that be implemented? Thanks
Virtual machines have to be connected to the virtual switch which would be the same switch that you created vNICs for the host on. QoS the other types of traffic and VMs would get the rest is one option.
Same issue here. I created the management, live migration, and vm vadapters. How can i make sure my vm are going through the vm adapter? Another question, my management vadapter is part of the same network as my vm vadapter so do i even need a management adapter? i want each vadapter to be part of a specific vlan as well. Great video
Thanks John - very useful! You explained it in a way that was easy to understand.
Thank you John, great show and i learnt alot. you just nic team someone here,
Jumbo Frames are basically invisible to this. Just make sure all adapters have it enabled then you will send bigger packets which will proportionally make more traffic be used for the data content rather than packet overhead.
This video helped me get further along to understanding networking in a H-V cluster. Even implemented it into a 2012 R2 H-V and Storage Clusters. The H-V Cluster took it well, but the Storage Cluster is complaining about IP's not being able to be registered with DNS. Sort of makes sense as all of my DNS server are also AD's and none have the extra IP subnets on them. The complaints deal with the Roles running on the DS Cluster. The IP's for the Roles are not in our primary management subnet, but in a dedicated subnet for H-V and DS data transfers.
Very good tutorial, I will be changing my dedicated NIC's to this set up! Thanks for the valuable information!!
It should be noted that when you use the GUI to create this, you cannot set the VMSwitch with the -MinimumBandwidthMode to weight...you HAVE to use Powershell to create the VMSwitch to use QoS.
A good tutorial John, clean & concise. Thank you.
Excellent. You also gave commands.
Wow, old video :) takes me back :)
Great video. In your config team mode was set to static which means you're using Cisco ether channel. So I take it your ether channel poX interface was set up as an access link ? so all ur different traffic flows are (mgmt, lm, cluster, VM) using the same vlan ? Or was it more likely setup as trunk and each flow would have its own vlan defined in both the switch and the vsw and VM settings ? wouldn't you need to enable the nic team trunk mode in powershell as well ?
Thank you John. That's brilliant stuff, very easy to follow. A request - Could you also do a video on 'HYPER-V 2012 Virtual Switch, specifically around the differences between 'switch mode' and 'switch independent mode'. Thanks -Ashwin
Network adapters will only run at the available speed so they will just run at 1Gbps so should be fine.
A real eye opener... Cheers.
I have a similar setup using NPAR on 2k8r2 but I cannot get the VM traffic to team without MAC Collisions, this looks way better
Hi John, Great video and content. One question, your whiteboard drawing shows networks for LM, Mgmt, CSV and VM. How do you ensure VM traffic goes over the correct vethernet adapter?
+Jamie Jones VM traffic actually is not via a VNIC on the host. Instead the VMs are just attached to the virtual switch which will use the physical NICs as needed.
+John Savill So if I only have VM and Mgmt traffic I only need the Vnic for the management traffic set to whatever percentage of bandwidth I want?
Gday, when you refer to seperate links, are you referring to a qaud port card, or 4 individua singlel pcie cards? also how are multiple port network cards addressed? as in their range within the the machine configuration address space?
Great job thanks very much. I have just started a Hpyer-V design so this has come in very handy as I was going to opt for the normal VMWare / Windows 2008 design. This solution make more sense, nice one :-)
Yes but don't mix speeds as very unpredictable things will happen.
If you create a managementOS VM adapter using add-VMNetAdapter to pick off additional VLANs off a NIC team (in the host) that's trunked from the switch, where do you configure the VLAN tag for that new interface? Similar to the management VLAN checkbox in the virtual switch.
Just excellent John.
+ John Savill Sorry if this has already been covered, but how will Live Migration know that it needs to associate itself with the LiveMigration Virtual NIC? Same for all the others as well. What would stop it from just utilizing all the bandwidth?
The video was brilliant by the way!
+Scott Cnockaert You would do it the same way. i.e. in failover clustering right click on networks and select the IP you want to use for live migration. cluster communications enable network for cluster communication etc etc.
Great video, thanks for that!
I was reading Live Migration networks can benefit from Jumbo Frames. How does Jumbo Frames add to the mix?
Would it be ok to create a Team with NICs from different adapter cards? So if you have two 4 port network cards can you bind two adapters from each?
Brilliant video John
Nice explanation. Unfortunately, other sources say that for performance reasons one should never create the NIC team on the host but should create teaming in the guest VMs instead. That way one could also use SR-IOV for the teams.
Most environments don't use SR-IOV but for those that do NIC teaming would stop that. Teaming in the guest is limited to two NICs plus that would stop being able to share the adapters for other purposes such as CSV, live migration etc. Many organizations use teaming at the host. Each to their own :-)
Thanks again for the good explanation.
John, one more question: If I have a single VM, will it be able to use the increased bandwidth of multiple physical NICs if these NICs are teamed in the host?
I've heard different stories around this - but can NIC Teaming increase bandwidth on a local network?
Is there an easy way to tag each vmnetwork adapter interface with a VLAN? We are operating on all trunked switch ports. Also, would a dedicated vmnetwork adapter be necessary for SMB storage traffic (like you would in a VMWare world)? Taking us a little while to break ourselves of the old VMWare methodologies! Thanks!
Yes, you can tag each vNIC. You don't have to have a separate SMB vNIC as you could use QoS to ensure SMB gets enough bandwidth but certainly you could.
Awesome! Thanks John! Could you pass along how you would tag the vNIC? I am assuming it is a Powershell cmdlet.
John Patterson I don't have a configuration in front of me right now however I'm pretty sure you would set it the same way as a regular NIC in the properties of the vNIC on the host.
HI guys...I recently created a VM with server 2016 running on a server 2012 as a base ON. I created an external network hence I wanted the vm to be on the same network as the base OS. Now on the VM I can a message that says "Unidentified Network for HyperV Internal Switch"" the based OS is on the internet but not the VM.... please assist
I have one question John (or anyone else who has done this).
As I understand from your video - I have created a NIC team of 8 physical adapters, and from this I have created a virtual switch. I have then created virtual NICs for LM, Cluster/CSV, iSCSI 1 and 2 (for MPIO) and one for VM. I want to use the weighted bandwidth management to give the minimum QoS, but when I go to create a VM it tries to create an additional NIC attached to the vSwitch, is that correct? Will it create a vNIC on the host for every VM I have? I thought that multiple VMs could use one vNIC.
+Ryan McAllister No, that's not right. VMs use a vmNIC that attaches to the virtual switch. It should not create additional vNICs on the host. Make sure you select the virtual switch for the VMs being added.
+John Savill OK yes, My mistake - it creates the vNIC inside the guest, not on the host. My question is - how do I then apply weighted minimum bandwidth to the VMs then? I am assuming for my LM traffic, cluster, iSCSI etc I apply the weight values using powershell on the host. How do I apply the weight values to the VMs?
+Ryan McAllister I am facing the same problem.
Got 4 ethernet teamed together. Created a vethernet for management and 1 the virtual machines. But how can I make the virtual machines use the vethernet?
+belrpr The VMs are connected to the virtual switch that you created, not to the vethernet which was for the management OS to access.
+John Savill yeah but how can you reserve 35% for the vm's? Isn't it possible that LM + Mgmt + Cluster traffic takes nearly 100% of the bandwith? The other way around is protected by the MinimumBandwidthWeight
Thx for replying!
++
Now Created Team2 with rest of 2 NIC Cards, now Created 2 Interfaces over Team2 via Add Interface Option in NIC Team Console of Windows 2012, now Assigned Management IP Address, Subnet Mask, Gateway, DNS Server in One Newly created Interface and Only IP Address and Gateway for Heartbeat in Another Interface
John,
I have a requirement on a similar structure to as you have showed here.
My requirement is to have a 3 VM's in a Hyper-V Core environment and 2VM's on a 192.168.2.X Range and 1 other VM on 192.168.22.X range.
All of the VM's need to be accessible externally. I understand the simple solution for this to to just dedicate 1 physcial NIC to 2.X IP range and the second NIC to the 22.X IP range.
I only have 2 physical NIC's and am sure my requirement is possible i just am very unsure of how this needs to be configured.
Any help will be greatly appreciated.
Thanks,
KyraaaaaanHD It's possible and you can mix subnets/vlans on a single NIC assuming the switch its connected to has connectivity to the different subnets and/or is configured for multiple VLANs. you don't need multiple vNICs on the host to support different subnets/vlans for the guests. The guests don't see vNICs on the host, only the switch. So check your switch that the NICs connect to and if the ports can see both your subnets you'll be fine.
***** John, Would it be possible to receive some assistance from you in setting this up? I can explain what i have done and where i am at, i am very close but something is missing and i have a feeling you may be able to spot what that is.
KyraaaaaanHD The best way to get that level of help would be post to the Microsoft forums where I'm sure someone can assist. Unfortunately I just don't have the cycles to help 1:1 in detail. Sorry.
Great video - thanks! I basically am having the same issue as MrZami1981. You cannot choose an adapter for VM's to use when in the settings for a VM, you can only choose a switch. However, you show creating a virtual NIC for the VMs to use and assigning a weight to that. How can that be implemented? Thanks
Virtual machines have to be connected to the virtual switch which would be the same switch that you created vNICs for the host on. QoS the other types of traffic and VMs would get the rest is one option.
***** OK, thanks John. That's what I figured. I am using the vmswitch option of "-DefaultFlowMinimumBandwidthWeight" to give "35" for the VMs.
Same issue here. I created the management, live migration, and vm vadapters. How can i make sure my vm are going through the vm adapter? Another question, my management vadapter is part of the same network as my vm vadapter so do i even need a management adapter? i want each vadapter to be part of a specific vlan as well. Great video
Great Video
can i do all this using the gui? I know powershell is the hot new thing but i like to know where to click for these options.
thanks!
To use a GUI you need to use SCVMM and logical switches.
much better than mva lol
Thanks for the video man but if you are going to teach on a topic such as NIC teaming stick to that and don't intertwine it with PowerShell training.