I was working on a Windows 2008 Server in an segmented network. This was a fresh new installation of Windows 2008. After a reboot the server was not reachable from another VLan. After some troubleshooting I found the problem. The gateway address has disappeared. Strange, so I started searching on the internet and I found an Knowledgebase article at the VMware site describing my problem, this is VMware KB1016878.
- 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 registry keys DefaultGateway and DefaultGatewayMetric.
Microsoft has identified this issue and has released a hotfix. For more information and to download the hotfix, see the Microsoft Knowledge Base article 973243.
To work around this issue:
- From the Windows Registry Editor, navigate to HKLM/System/CurrentControlSet/Services/Tcpip/Parameters/Interfaces/%CLSID%.
- Check the DefaultGateway and DefaultGatewayMetric keys for issues. For example:
- Remove any newline feeds before the correct default gateway IP
- If the address is missing, add it manually.
The information in this article is provided “AS IS” with no warranties, and confers no rights. This article does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.