?
Solved

Static IP address in virtualized SBS 2011 not recognized as static by key services

Posted on 2013-01-03
3
Medium Priority
?
978 Views
Last Modified: 2013-01-07
I have a Windows 2011 SBS running as a guest VM on Windows 2008 R2 Hypervisor. There are two NICS in the server. One is dedicated to management, the other to the guest.

When the VM boots up it fails to assign the static IP address (192.168.0.7) to the virtual NIC. If you look in the GUI, its there. Sometimes, the DGW entry is missing. re-adding it causes it to stick, at least for a time. If you go to the command prompt and do a ipconfig the address is an APIPA.

If I do a

netsh interface ip set address name "local area connection" static 192.168.0.7 255.255.255.0  192.168.0.1

then the address will stick, can be pinged both locally and from computers on the same subnet, etc. The DHCP and DNS services though, even if restarted, fail to recognize it as an active card with a bound static IP.

Rebooting the server after doing this reverts back to the original problem.

I spent much of today ripping out the virtual NIC, recreating it in HyperV, and generally trying to clear what I assume is most likely some sick / corrupted registry entry, all to no avail. Anyone out there run into this, or have some ideas about what to do or how to narrow down the issue?

I was half tempted to restore from last nights backup (which allegedly was successful) but I didnt want to lose the email, and now of course there was work done on the server today (done while the workaround was in place).  I probably should have just wiped it and gone on.
0
Comment
Question by:Eric_Price
  • 2
3 Comments
 
LVL 40

Accepted Solution

by:
Philip Elder earned 2000 total points
ID: 38742794
First:
Make sure Integration Services are installed and up to date.

Second:
Run the Connect to the Internet and the Internet Address Wizards.
Then run the Fix My Network Wizard.

Then, the server may be losing its Gateway IP setting:
http://blogs.technet.com/b/sbs/archive/2010/04/22/you-may-lose-the-default-gateway-on-sbs-2008-every-time-you-reboot.aspx
0
 
LVL 1

Author Comment

by:Eric_Price
ID: 38751166
All very good ideas. Fortunately, Ive since resolved the issue

In the end, I ended up using a tool to programmatically clean out the registry and settings of all my old network information.

nvspscrub

It allowed me to do what I apparently could do manually. Or maybe I just got lucky. I linked to the tool though in case someone else comes along with the same problem.

Almost makes me pine for the old days of real network cards.

Almost.

Thanks again!
0
 
LVL 40

Expert Comment

by:Philip Elder
ID: 38751299
You are welcome. :)

P.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…

840 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