Solved

IP address assignment in Hyper-V

Posted on 2014-03-25
6
3,840 Views
Last Modified: 2014-11-12
TCP IP error in W2012DHCP in SBS2011Hi,
 
 I have Windows 2012 installed with Hyper-V. Among several VMs, I have SBS2011 that does DHCP.
 My W2012 is currently receiving IP address (192.168.1.39) from the VM/SBS2011 DHCP server. Is that the way it is supposed to be? When I tried to assign a static IP address to W2012 TCP/IP property, I got a popup window with error message as posted above.
 Why can't I assign a static IP to W2012 network adapter?

 FYI. on this network, SBS2011 will be the only server and DHCP server.

Thanks.
0
Comment
Question by:sglee
6 Comments
 
LVL 56

Accepted Solution

by:
Cliff Galiher earned 82 total points
Comment Utility
You are trying to change the IP on the wrong NIC in the management (sometimes called the host) OS. When you create a virtual network, a virtual switch is created. If you look at the first screengrab you posted, you'll see that everything has been unchecked *except* the virtual switch. The virtual switch "NIC" does not get an IP, either manually or by DHCP. You'll have one or more other NICs in the management OS that represent the NIC for the OS.
0
 
LVL 78

Assisted Solution

by:David Johnson, CD, MVP
David Johnson, CD, MVP earned 81 total points
Comment Utility
See the Difference?  The middle NIC is the one that is in the virtual switch
0
 
LVL 35

Assisted Solution

by:Mahesh
Mahesh earned 162 total points
Comment Utility
you have selected "The Allow management operating system to share this network adapter" in the properties of VM network which actually turned your original network card to switch and created new virtual network card
You can guess, you can't assign IP address to switch
If you want to assign static IP, please assign it to virtual NIC created by Hyper-V network

Mahesh.
0
Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

 

Author Comment

by:sglee
Comment Utility
I got you and now I know where to go to assign a static IP.
 
That said what are experts doing in these cases - let hyper v receive IP from DC VM or assign static IP so that Hyper v does not depend on DC VM for ip?
0
 
LVL 35

Assisted Solution

by:Mahesh
Mahesh earned 162 total points
Comment Utility
You should always provide static IP address to servers, and create exclusion for that in DHCP
Its very rate cases where servers are also getting DHCP IP, I do not recommend that

Also its not wise to have DHCP IP to Hyper-V here from one of the guest
In any point if you have to reboot Hyper-V server guess what will happens, your Hyper-V will unable to get IP from your virtual guest
0
 

Author Comment

by:sglee
Comment Utility
Thanks for your help.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

From Coral's  "So You Want To Play With Computers" Series A bit of background first, so this story will make a little sense. One day, probably because he needed a good laugh, Finagle hooked me up with a church to upgrade/run their Media Booth.…
This article will review the basic installation and configuration for Windows Software Update Services (WSUS) in a Windows 2012 R2 environment.  WSUS is a Microsoft tool that allows administrators to manage and control updates to be approved and ins…
In this Micro Tutorial viewers will learn how to use Windows Server Backup to create full image of their system. Tutorial shows how to install Windows Server Backup Feature on Windows 2012R2 and how to configure scheduled Bare Metal Recovery backup.…
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…

772 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now