Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 678
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

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