Solved

IP addressing with Hyper V

Posted on 2015-02-24
4
93 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
An article on effective troubleshooting

756 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