Adding promiscuous mode in server 2012 hyper-v
-
Friday, February 01, 2013 9:19 PM
I am running a esxi lab within hyper-v and the vms within this do not want to connect to the network. I have been told that I need to enable promiscuous mode on the virtual switch and I can't find the option anywhere. I cannot get guest OSes to connect to the network under the vmware vsphere.
Is there any way to enable this? Please respond. Thank you.
All Replies
-
Friday, February 01, 2013 10:20 PMModerator
The Hyper-V Virtual Switch does not support promiscuous.
The best that Server 2012 offers is vNIC ACLs - one of which does allow traffic to be mirrored. But flat out promiscuous is not possible.
Aidan covers it here: http://www.aidanfinn.com/?p=12634
Brian Ehlert
http://ITProctology.blogspot.com
Learn. Apply. Repeat.
Disclaimer: Attempting change is of your own free will.- Marked As Answer by Lawrence LvMicrosoft Contingent Staff, Moderator Monday, February 11, 2013 6:44 AM
-
Friday, February 01, 2013 10:23 PMModerator
Nope - I take that back. The built in ACLs are only allow, block, and measure.
It is some of the third parties that take this farther with their switch extensions.
Sorry about that.
Brian Ehlert
http://ITProctology.blogspot.com
Learn. Apply. Repeat.
Disclaimer: Attempting change is of your own free will. -
Friday, February 01, 2013 11:01 PM
so we can't run hypervisors within a hyper-v hypervisor with networking?
Promiscuous mode is required in order to achieve my result. Is there any other way?
Switch extensions:
Can you point me to some switch extensions that would work?
-
Friday, February 01, 2013 11:16 PMModerator
Another hypervisor as a VM within Hyper-V?
Or, Hyper-V as a VM on top of another hypervisor?
You can run Hyper-V Server as a VM on Hyper-V Server - but you cannot boot any of the second level VMs - you could only use it for development (essentially).
There is no need for promiscuous - unless there is a particular hypervisor that requires that.
Brian Ehlert
http://ITProctology.blogspot.com
Learn. Apply. Repeat.
Disclaimer: Attempting change is of your own free will. -
Saturday, February 02, 2013 12:17 AM
I have server 2012 as the host OS running Hyper-V
The "guest OS" is VMWare Vsphere
The "Guest" "Guest" OS is Windows 8
The "guest" "guest" OS can not connect to the network. It connects as "unidentified network" and does not have internet connectivity and shows up as "limited"
-
Monday, February 04, 2013 3:17 AMModerator
Hi,
Hyper-V technology does not support Hypervisor nesting, although you can nest Hyper-V inside VMware, or nest VMware inside Hyper-V. But this kind of configurations is beyond our support policy.
Thanks for your understanding.
For you scenario, you may set external network for guest OS VMWare Vsphere; in the guest OS, create an internal NIC for guest guest SO Windows 8. Create a network bridge between guest OS NIC and virtual guest guest NIC.
Try that and give us feedback for further troubleshooting.
For more information please refer to following MS articles:
Microsoft server software and supported virtualization environments
http://support.microsoft.com/kb/957006
Hyper-V: Virtual Networking Survival Guide
http://social.technet.microsoft.com/wiki/contents/articles/151.hyper-v-virtual-networking-survival-guide-en-us.aspx
Bringing Hyper-V to “Windows 8”
http://blogs.msdn.com/b/b8/archive/2011/09/07/bringing-hyper-v-to-windows-8.aspxHope this helps!
If you are TechNet Subscription user and have any feedback on our support quality, please send your feedback here.
Lawrence
TechNet Community Support
-
Wednesday, February 06, 2013 2:34 AMModerator
-
Wednesday, February 06, 2013 10:11 AM
Thanks for checking on me. :)
I have not resolved this. I have tried all the software options I have. :(
Would this work better with a dedicated network device?
- Edited by RemixedCat Wednesday, February 06, 2013 10:12 AM
-
Thursday, February 07, 2013 3:34 AMModerator
Hi,
> I have tried all the software options I have
You have tried the network bridge solution?
You can assign a dedicated network for Hyper-V guest, the VMWare Vsphere server, then the server should has external network connection. In the VMWare Vshpere server create an internal network for its guest Hyper-V VM, in the VMware Vshpere server create network bridge between its external network and internal network (the virtual network adapter created for guest VM).
Assign internal network for guest guest Hyper-V, the Hyper-V VM should get external network connection from the bridge network.
Lawrence
TechNet Community Support
-
Thursday, February 07, 2013 8:09 AM
I am able to get as far as to get an IP from my router to the esxi/vsphere VM but no DNS/internet connectivity works.
I am able to ping my router, however no DNS resolves.
-
Friday, February 08, 2013 8:13 AM
pen the XML file for your VM.
I am not sure where best to try this. The first place I would suggest is under the <global_settings> node. Add the line:
<allow_promiscuous_mode type="boolean">TRUE</allow_promiscuous_mode>THIS WORKED!
- Marked As Answer by Lawrence LvMicrosoft Contingent Staff, Moderator Monday, February 11, 2013 6:43 AM
-
Monday, February 11, 2013 6:44 AMModerator
-
Monday, February 11, 2013 5:58 PM
No problem!
Glad to help!
-
Tuesday, February 19, 2013 5:10 PM
Lawrence,
I have Hyper-V 2012. I would like to have a Cisco port mirror/span sent into a server in Hyper-V so I can capture data and create flow records. I have a dedicated hardware nic on the host server that I have configured in the Hyper-V switch as a separate network and attached this def to the server in Hyper-V. So far I do not see all the traffic I do with a real separate box (test laptop). Can you point me in the correct direction.
Thanks
Ron

