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.

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.

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
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…

691 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