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

Posted on 2013-11-30
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 250 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 250 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.

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

The following article is comprised of the pearls we have garnered deploying virtualization solutions since Virtual Server 2005 and subsequent 2008 RTM+ Hyper-V in standalone and clustered environments.
Issue: One Windows 2008 R2 64bit server on the network unable to connect to a buffalo Device (Linkstation) with firmware version 1.56. There are a total of four servers on the network this being one of them. Troubleshooting Steps: Connect via h…
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…

738 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