Windows 2008 virtual machines lose their Gateway IP address after rebooting
search cancel

Windows 2008 virtual machines lose their Gateway IP address after rebooting

book

Article ID: 339476

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

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


Environment

VMware ESX 4.1.x
VMware ESX 4.0.x
VMware ESXi 3.5.x Installable
VMware vSphere ESXi 5.0
VMware ESXi 4.0.x Embedded
VMware ESXi 3.5.x Embedded
VMware ESXi 4.1.x Embedded
VMware ESX Server 3.0.x
VMware ESXi 4.0.x Installable
VMware ESXi 4.1.x Installable
VMware vSphere ESXi 5.1
VMware ESX Server 3.5.x

Resolution

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.
 
  1. From the Windows Registry Editor, navigate to:

    HKLM/System/CurrentControlSet/Services/Tcpip/Parameters/Interfaces/%CLSID%
     
  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 document is updated, click the Subscribe to Article link in the Actions box..
Windows 2008 仮想マシンを再起動すると、そのゲートウェイ IP アドレスが失われる
Windows 2008 虚拟机在重新引导后丢失其网关 IP 地址