Solved

Server 2008 Hyper-V Network Configuration

Posted on 2014-11-25
6
132 Views
Last Modified: 2014-12-04
I am setting up a 2008 host with 2 physical nics and, at present, 1 guest OS, also 2008. I know, I'm in the dark ages. I want this guest to connect to internet, LAN and potentially another guest, without interfering with the host networking at all. How would I handle IP addressing on the 2nd nic and how it's handled in Hyper-V (External, Internal, Private).
0
Comment
Question by:jconklin-ansinc-net
  • 3
  • 2
6 Comments
 
LVL 2

Accepted Solution

by:
FinServCo earned 500 total points
ID: 40465364
NIC2 shouldn't have an IP address.  In Hyper-V manager, click on Virtual Network Manager at the right.

Click New Virtual Network, select External.  Name it, select the NIC you want to use, and you could uncheck "allow management operating system to share this network adapter".  That will set up a virtual network adapter that you can assign to one or more guest VMs.

When you do that, it will uncheck most of the settings under the NICs properties in control panel and leave checked the driver and Microsoft Virtual Network Switch Protocol.  

Then any IPs get set in the Guest OS NIC.
0
 
LVL 42

Expert Comment

by:kevinhsieh
ID: 40465937
Ouch, serious dark ages. I highly recommend that you not use Windows 2008 as the host. Any other version of Windows Server or Hyper-V server is acceptable. You can manage the free Hyper-V Server from itself or any version of Windows using the excellent 5nine Manager for Hyper-V. This eliminates the worries of not having a full Windows GUI or having the correct version of the client OS for management. Performance and stability from the later versions of Hyper-V is much better.

http://www.5nine.com/5nine-manager-for-hyper-v-free.aspx
0
 

Author Comment

by:jconklin-ansinc-net
ID: 40473584
FinServCo: It required an IP on the host NIC 2. If I didn't set it static then it picked one up via DHCP.  It also created the virtual switch NIC.
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 2

Expert Comment

by:FinServCo
ID: 40480639
Yes, but once you created the virtual switch, it should have lost the IP and the only things bound to NIC2 on the HOST machine should be the driver and Microsoft Virtual Network Switch Protocol.

Then you configure the IP settings within the GUEST machines, having set the guests to use the virtual switch associated with NIC2.
0
 

Author Comment

by:jconklin-ansinc-net
ID: 40480745
FinServCo- No, the Host NIC2 still has an IP address. It also has the interface showing the Virtual Network Switch Protocol, and the guest OS has an IP. It seems like a waste of an IP address but maybe it's because it's 2008.
0
 
LVL 2

Expert Comment

by:FinServCo
ID: 40480840
Okay, that's because you have "allow management operating system to share this network adapter" checked.

When you set a NIC as a Hyper-V virtual network, Hyper-V takes it over.  So if you have the "allow management operating system to share this network adapter" checked, you won't see the IP address in the adapter properties, but it will show up at the command line.

This is so that you can have one NIC that's dedicated to management, and another NIC that's part of a virtual network that can be assigned to guest VMs and also used to manage the Hyper-V host server if NIC1 loses connectivity.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

To effectively work with Diskpart on a Server Core, it is necessary to write some small batch script's, because you can't execute diskpart in a remote powershell session. To get startet, place the Diskpart batch script's into a share on your loca…
Redirected folders in a windows domain can be quite useful for a number of reasons, one of them being that with redirected application data, you can give users more seamless experience when logging into different workstations.  For example, if a use…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

749 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