Tuesday 30 November 2010

Windows Server 2008 losing IP address after reboot and cannot change Primary IP address at all


There is a bug in Windows Server 2008 which causes the server to randomly loose IP addresses after a reboot. Also for some reason I cannot remove/replace the primary IP address with any other IP address either.

You can see all the IP addresses that are meant to be assigned to the NIC in the GUI but when you do ipconfig you only see some of the IP addresses. If you try to ping the missing IPs, you will not get a response either.

There is a Microsoft patch will fix the problem with missing IP addresses.


KB Article Number(s): 982931


Request the hotfix from MS, install and reboot. By the way, the exe MS provides suggests that it is for VISTA only, but it is for Windows Server 2008 also.

Sadly the primary IP issue continued post hotfix and needed the removal of IP's, disable the card, delete the reg key (HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Network   'Config' reg_binary), restart, enable the card, assign IP's and test

This did not work for me.

After reboot I still have missing primary IP and the only solution is to remove all IPs manually and the run a script which adds all the IPs back to the server with a number of the following:



netsh interface IP add address name="Local Area Connection" 192.168.1.20  255.255.255.0 skipassource=true

1 comment:

  1. I am experiencing this on a 2008 R2 VM. When the Cloud Host issues me with a new IP and I bind it to the NIC one of the other IPs disappears. I have been reading it through the NIC config... Very annoying and embarrassing when the IP is used for a public web site by one of my clients!

    ReplyDelete