Solved

IP addressing with Hyper V

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Upgrade 2008R2 to 2016 with Hyper-V 4 84
eigrp routing loop 5 39
Mysterious disks wanting to be formatted 6 37
DNS issue with resolving request 14 85
The following article is comprised of the pearls we have garnered deploying Hyper-V since Virtual Server 2005 and subsequent 2008 RTM+ standalone and clustered.
A common practice in small networks is making file sharing easy which works extremely well when intra-network security is not an issue. In essence, everyone, that is "Everyone", is given access to all of the shared files - often the entire C: drive …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

785 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