Home > General, Microsoft > Windows 2008 VM’s losing default gateway

Windows 2008 VM’s losing default gateway

June 17th, 2010

I am currently in the process of deploying a number of new Windows 2008 virtual machines and came across an interesting little issue.  Every time I reboot the server the default gateway blanks itself, meaning I cannot connect to it via RDP as it is in a remote data centre.  Thank goodness for vCenter console access, if this was a physical server it would be a real pain in the you know what.

So how do you fix it? well simply open a command prompt and type the following

netsh int ip reset c:\resetlog.txt

This is basically a reset of the TCP/IP components and as a result all IP information for your network connections will be wiped back to the default dynamic DHCP setting. So now you need to re-enter the static IP information for the server and restart it. It’s worthwhile doing a couple of reboots just so you can be sure that the problem has actually disappeared.

Further information can be found in Microsoft KB article 299357

General, Microsoft

  • michael
    This is known issue with 2008 VMs:
    http://kb.vmware.com/kb/101687...
  • Thanks for that Michael, I have another couple of servers that I have not run the netsh TCP/IP reset on so I will use the VMware KB and check what the settings are in the registry.
blog comments powered by Disqus