Hyper-V homework question
-
So our instructor has us on a homework assignment. It's not a question she knows, it's one that is a glitch in Hyper-V that she's been trying to solve for quite some time.
*Our host workstations have Windows Server 2012 R2 installed.
*We have two physical NICs (one on the motherboard, plus one PCI card).
*We put those NICs into a team.
*Internet connectivity works fine.
*As soon as you put that team into a virtual switch, the physical host loses Internet connectivity until you delete the virtual switch it connects to. -
Does the physical hosts' NIC get added to the switch?
-
Make sure the vSwitch is setup to work with an External network, not an internal, or private one. There is also a checkbox labeled "Allow Management Operating System to share this network adapter" In the configuration page that must be checked in order for the hypervisor to use the physical NICs as well.
-
@scottalanmiller said in Hyper-V homework question:
Does the physical hosts' NIC get added to the switch?
As a NIC team, yes.
-
@coliver said in Hyper-V homework question:
Make sure the vSwitch is setup to work with an External network, not an internal, or private one.
It's setup to work with the External network, same issue.
-
I posted this on that other site, but it appears that you do the teaming inside of Hyper-V, and not in the host OS: http://www.serverwatch.com/server-tutorials/configuring-nic-teaming-for-virtual-machines-with-hyper-v-3.0.html.
-
@Kelly said in Hyper-V homework question:
I posted this on that other site, but it appears that you do the teaming inside of Hyper-V, and not in the host OS: http://www.serverwatch.com/server-tutorials/configuring-nic-teaming-for-virtual-machines-with-hyper-v-3.0.html.
Trying the first recommendation you posted on Spiceworks then I'll have her check out that article.
-
@Kelly said in Hyper-V homework question:
I posted this on that other site, but it appears that you do the teaming inside of Hyper-V, and not in the host OS: http://www.serverwatch.com/server-tutorials/configuring-nic-teaming-for-virtual-machines-with-hyper-v-3.0.html.
As soon as the team is added, connectivity is lost. Can't even get as far as adding the adapter before connectivity is lost.
-
Something to note, the cards are not from the same manufacturer.
-
@BBigford said in Hyper-V homework question:
@Kelly said in Hyper-V homework question:
I posted this on that other site, but it appears that you do the teaming inside of Hyper-V, and not in the host OS: http://www.serverwatch.com/server-tutorials/configuring-nic-teaming-for-virtual-machines-with-hyper-v-3.0.html.
As soon as the team is added, connectivity is lost. Can't even get as far as adding the adapter before connectivity is lost.
From the article, you create two separate vSwitches, one for each adapter, then set up teaming inside of Hyper-V for the guest.
-
@BBigford said in Hyper-V homework question:
@scottalanmiller said in Hyper-V homework question:
Does the physical hosts' NIC get added to the switch?
As a NIC team, yes.
But does the physical VM ever get adding back to the switch?
-
@scottalanmiller said in Hyper-V homework question:
@BBigford said in Hyper-V homework question:
@scottalanmiller said in Hyper-V homework question:
Does the physical hosts' NIC get added to the switch?
As a NIC team, yes.
But does the physical VM ever get adding back to the switch?
I guess I don't understand the question as VMs are taken out of the equation... it's the physical host (the workstation I'm sitting at in this case) that loses all connectivity to the external network/Internet.
-
@Kelly said in Hyper-V homework question:
@BBigford said in Hyper-V homework question:
@Kelly said in Hyper-V homework question:
I posted this on that other site, but it appears that you do the teaming inside of Hyper-V, and not in the host OS: http://www.serverwatch.com/server-tutorials/configuring-nic-teaming-for-virtual-machines-with-hyper-v-3.0.html.
As soon as the team is added, connectivity is lost. Can't even get as far as adding the adapter before connectivity is lost.
From the article, you create two separate vSwitches, one for each adapter, then set up teaming inside of Hyper-V for the guest.
So you're suggesting do not setup teaming inside of Server Manager? That doesn't really make sense to me because you have to create the team in Server Manager, then add the virtual switch, choosing the team as the adapter...
-
TL;DR
a) Type: External Switch
b) Host sharing allowed? E.g. is the host getting its "own virtual NIC"?
c) Type of teaming: Only "Switch independent mode" does work without the switch being aware of the team.Maybe look at Aidan Finn's blog for some more info, he got quite a few good posts about this topic there.
-
@BBigford said in Hyper-V homework question:
@scottalanmiller said in Hyper-V homework question:
@BBigford said in Hyper-V homework question:
@scottalanmiller said in Hyper-V homework question:
Does the physical hosts' NIC get added to the switch?
As a NIC team, yes.
But does the physical VM ever get adding back to the switch?
I guess I don't understand the question as VMs are taken out of the equation... it's the physical host (the workstation I'm sitting at in this case) that loses all connectivity to the external network/Internet.
If you have Hyper-V there is a VM. There is no way for Hyper-V to work without one. Any interaction with Hyper-V is through a VM. Only a VM can get an IP address for example. Whatever GUI or API you are using is from the VM.
-
@BBigford said in Hyper-V homework question:
@scottalanmiller said in Hyper-V homework question:
@BBigford said in Hyper-V homework question:
@scottalanmiller said in Hyper-V homework question:
Does the physical hosts' NIC get added to the switch?
As a NIC team, yes.
But does the physical VM ever get adding back to the switch?
I guess I don't understand the question as VMs are taken out of the equation... it's the physical host (the workstation I'm sitting at in this case) that loses all connectivity to the external network/Internet.
Hyper-V is a type 1 hypervisor. Bare metal. There can't be any other code on the bare metal. Your "physical host" is a VM.
-
@scottalanmiller said in Hyper-V homework question:
@BBigford said in Hyper-V homework question:
@scottalanmiller said in Hyper-V homework question:
@BBigford said in Hyper-V homework question:
@scottalanmiller said in Hyper-V homework question:
Does the physical hosts' NIC get added to the switch?
As a NIC team, yes.
But does the physical VM ever get adding back to the switch?
I guess I don't understand the question as VMs are taken out of the equation... it's the physical host (the workstation I'm sitting at in this case) that loses all connectivity to the external network/Internet.
Hyper-V is a type 1 hypervisor. Bare metal. There can't be any other code on the bare metal. Your "physical host" is a VM.
Do recall correctly, the OPs first VM is Dom0?
@BBigford what @coliver is saying makes sense, you don't want teaming inside the Dom0, you want teaming inside Hyper-V which has to be done (I'm assuming) as he suggests inside Hyper-v Manager, not inside Dom0. It's confusing because it seems like that first install is what is controlling the box, but it really isn't any more once you install Hyper-V role.
-
@Dashrender said in Hyper-V homework question:
@scottalanmiller said in Hyper-V homework question:
@BBigford said in Hyper-V homework question:
@scottalanmiller said in Hyper-V homework question:
@BBigford said in Hyper-V homework question:
@scottalanmiller said in Hyper-V homework question:
Does the physical hosts' NIC get added to the switch?
As a NIC team, yes.
But does the physical VM ever get adding back to the switch?
I guess I don't understand the question as VMs are taken out of the equation... it's the physical host (the workstation I'm sitting at in this case) that loses all connectivity to the external network/Internet.
Hyper-V is a type 1 hypervisor. Bare metal. There can't be any other code on the bare metal. Your "physical host" is a VM.
Do recall correctly, the OPs first VM is Dom0?
Dom0 is what we call it in the Xen world. Microsoft, in their infinite desire to make Hyper-V hard, calls it the "Physical" VM. The dumbest name ever. But same thing, potato, poe-tah-toe.
-
@Dashrender said in Hyper-V homework question:
@BBigford what @coliver is saying makes sense, you don't want teaming inside the Dom0, you want teaming inside Hyper-V which has to be done (I'm assuming) as he suggests inside Hyper-v Manager, not inside Dom0. It's confusing because it seems like that first install is what is controlling the box, but it really isn't any more once you install Hyper-V role.
Hyper-V itself can't be networked. Only the Dom0 / Physical VM can be. Same with Xen. The hypervisors in both cases are sans networking. It's exclusively VMs that get to see the network at all.
-
@Dashrender said in Hyper-V homework question:
@scottalanmiller said in Hyper-V homework question:
@BBigford said in Hyper-V homework question:
@scottalanmiller said in Hyper-V homework question:
@BBigford said in Hyper-V homework question:
@scottalanmiller said in Hyper-V homework question:
Does the physical hosts' NIC get added to the switch?
As a NIC team, yes.
But does the physical VM ever get adding back to the switch?
I guess I don't understand the question as VMs are taken out of the equation... it's the physical host (the workstation I'm sitting at in this case) that loses all connectivity to the external network/Internet.
Hyper-V is a type 1 hypervisor. Bare metal. There can't be any other code on the bare metal. Your "physical host" is a VM.
Do recall correctly, the OPs first VM is Dom0?
@BBigford what @coliver is saying makes sense, you don't want teaming inside the Dom0, you want teaming inside Hyper-V which has to be done (I'm assuming) as he suggests inside Hyper-v Manager, not inside Dom0. It's confusing because it seems like that first install is what is controlling the box, but it really isn't any more once you install Hyper-V role.
Thank you @Dashrender for putting it so much better than I had been able to.