Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


MS Server 2012 Hyper-V 1 Physical NIC 2 Public IPs Virtual Switch Configuration

Posted on 2013-11-30
Medium Priority
Last Modified: 2014-11-12
Hi there,

I have only 1 physical NIC, 1 host (MS Server 2012) and 1 Virtual machine (Hyper-V) running on the host. The host and the VM should be reachable form outside under their public IP.
How do I have to configure the virtual switch (extern, intern or private). Where do I assign the 2 public IP addresses to (physical NIC on host - both or on the physical NIC one and within the VM the other one?)



Question by:rainer01
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
LVL 33

Accepted Solution

Busbar earned 1000 total points
ID: 39687773
create a switch type external, connect the VM to that switch and in this case you can assign IPs
LVL 14

Assisted Solution

by:Ram Balachandran
Ram Balachandran earned 1000 total points
ID: 39687784
1) The host physical adapter needs to be configured to route through a virtual switch, and IP details must be assigned properly to the physical adapter.
2) The virtual switch that Hyper-V sets up needs to be configured properly.
3) The Hyper-V "Virtual Network Manager" needs to have the virtual adapters set up properly so that you can assign virtual network cards to the guest operating systems.
4) The guest operating system then needs to have the static IP address assigned to the virtual network adapter.

Author Comment

ID: 39687794
Ok I unerstand the setup of the Virtual switch.

Where do I assign the IP Adresses to:

Public IP 1 on Virtual NIC on the host and Public IP 2 on NIC within the VM. Or Both Public IPs to the Host Virtual NIC.

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

LVL 33

Expert Comment

ID: 39687795
Public IP 1 on Virtual NIC on the host and Public IP 2 on NIC within the VM

Author Comment

ID: 39687832
Thanks busbar and ram_kerala!
LVL 33

Expert Comment

ID: 39688006
I am not sure why he got all the points...

Author Comment

ID: 39688068
Sorry husbar clicked the wrong button - wanted to split the points!

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
Why should I virtualize?  It’s a question that’s asked often enough.  My response is usually “Why SHOULDN’T you virtualize?”
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question