Search the VMware Knowledge Base (KB)
View by Article ID

Windows 2008 virtual machines lose their Gateway IP address after rebooting (1016878)

  • 29 Ratings


  • After every reboot, Windows 2008 virtual machines lose their Gateway IP address
  • Gateway IP address is lost or reset after rebooting


This issue may occur if there is a problem with the DefaultGateway and DefaultGatewayMetric registry keys.

Microsoft has identified this issue and has released a hotfix. For more information and to download the hotfix, see Microsoft Knowledge Base article 973243.

To work around this issue:

Note: This procedure modifies the Windows registry. Before making any registry modifications, ensure that you have a current and valid backup of the registry and the virtual machine. For more information on backing up and restoring the registry, see Microsoft Knowledge Base article 136393.

  1. From the Windows Registry Editor, navigate to:


  2. Check the DefaultGateway and DefaultGatewayMetric keys for issues. For example:

    • Remove any line feeds before the correct default gateway IP.
    • If the address is missing, add it manually.

Note: The preceding links  were correct as of April 18, 2013. If you find a link is broken, provide feedback and a VMware employee will update the link.

Additional Information

To be alerted when this article is updated, click Subscribe to Document in the Actions box.

See Also

Update History

10/02/2010 - Added link to hotfix. 4/18/2013 - Added ESXi/ESX 4.1, ESXi 5.0 and ESXi 5.1

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.


  • 29 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)

Please enter the Captcha code before clicking Submit.
  • 29 Ratings