Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 680
  • Last Modified:

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

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?)

Thanks

Regards

Rainer
0
rainer01
Asked:
rainer01
  • 3
  • 3
2 Solutions
 
BusbarSolutions ArchitectCommented:
create a switch type external, connect the VM to that switch and in this case you can assign IPs
0
 
Ram BalachandranCommented:
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.
0
 
rainer01Author Commented:
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.

Thanks
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
BusbarSolutions ArchitectCommented:
Public IP 1 on Virtual NIC on the host and Public IP 2 on NIC within the VM
0
 
rainer01Author Commented:
Thanks busbar and ram_kerala!
0
 
BusbarSolutions ArchitectCommented:
I am not sure why he got all the points...
0
 
rainer01Author Commented:
Sorry husbar clicked the wrong button - wanted to split the points!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now