Home Microsoft Windows Server 2008 and Server 2008 R2
Windows Server 2008 R1 SP2 Losing Network Interface Default Gateway on Reboot Print E-mail


There has been something bugging me with Windows Server 2008 (Release 1) when Service Pack 2 is installed.
That is after a reboot the server always loses its IP address you set for the default gateway on its network interface.

I have tried alsorts to resolve this in testing, and a quick browse of the web shows this is actually quite a problem other IT guys are experiencing. With some even rebooting servers hundreds of miles away to find they can no longer reach it due to losing its default gateway!

Fortuntley for me its something I identified in servers beng deployed from a virtual machine template, and they could be fixed via the vSphere client console :-)

Even clean installs have this issue after service pack 2 is installed, but at the time of writing no-one has had an official response from Microsoft as to a bug or a fix. The only way I found that worked in my situation is to use NETSH to reset TCP/IP on the network interfaces as follows.


Note: Do this on the console (NOT RDP!) as you will lose network connectivity (All IP settings on the NIC are reset)!

1. Record the network settings on the server
IP address
Network mask
Default gateway
DNS
WINS


2. Open a command prompt and reset TCP/IP
netsh int ip reset




3. Reboot the server


4. Re-enter the previously recorded network settings for the NIC.
IP address
Network mask
Default gateway
DNS
WINS


5. Perform a final reboot to confirm the default gateway now remains after a reboot





 

        
            

      

 

DISCLAIMER: All advice, tips, guides and other information on this website is provided as-is with no warranty or guarantee. While most information is correct to the best of my knowledge, I am not reponsible for any issues that may arise in using the information, and you do so at your own risk. As always before doing anything; check, double check, test and always make a backup.

 

Help VMadmin

All resources on this site are provided absolutley free. However it takes time and money to keep the site running. If any information has been helpful to you or your company, and you wish to make a donation to help keep VMadmin.co.uk running you can do so via paypal, and it would be much appreciated.

Click to donate to VMadmin.co.uk via paypal.