Solved

IP addressing with Hyper V

Posted on 2015-02-24
4
94 Views
Last Modified: 2015-03-13
Question about how to assign static IPs to a VM server...

I have a Virtual Server running Hyper V that hosts 4 different VMs...and the physical server itself has 3 NICs on it.
Here is my setup:
NIC 1: Static IP used for physical server for management
NIC 2: I want to use this NIC for VMs #1-3
NIC 3: I want this solely for VM #4, so it's a static ip.

My question is, do I leave NIC #2 open to DHCP on the physical side, and then assign it a static address inside each VM? Or should I assign both the physical and VM network interfaces a different static address?
0
Comment
Question by:jumpassociates
[X]
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
  • 2
4 Comments
 
LVL 26

Expert Comment

by:DrDave242
ID: 40631330
It shouldn't matter what you do with NIC 2 and 3 in the parent partition (host). Assuming you create two external virtual switches (one for VMs 1-3 and one for VM 4) and don't share them with the management OS (since you're dedicating NIC 1 to management), only the IP configuration on the VMs will matter.
0
 
LVL 5

Assisted Solution

by:Manojkumar Rane
Manojkumar Rane earned 250 total points
ID: 40663118
NIC 1: Static IP used for physical server for management
-- Assign static IP address for NIC1 for management purpose.

NIC 2: I want to use this NIC for VMs #1-3
-- Create External switch and bind it to NIC2. In VM (1-3) setting attach VMNIC to this switch.

NIC 3: I want this solely for VM #4, so it's a static ip.
-- Create External switch and bind it to NIC3. In VM 4 setting attach VMNIC to this switch.
0
 
LVL 26

Accepted Solution

by:
DrDave242 earned 250 total points
ID: 40663422
Exactly right. On the two external switches, make sure to leave the Allow management operating system to share this network adapter checkbox unchecked. As long as you do that, NICs 2 and 3 will only be used by Hyper-V and therefore won't have IP addresses in the host OS. Addressing with be done strictly on the VMs.
0
 

Author Closing Comment

by:jumpassociates
ID: 40663660
Thanks for the specific answer and the help!
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.

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.
Why should I virtualize?  It’s a question that’s asked often enough.  My response is usually “Why SHOULDN’T you virtualize?”
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

736 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