다음을 통해 공유


Default Gateway Missing after a Reboot

Applies to:  Windows Server 2008, Windows Server 2008 R2

I’ve had this issue on a couple of Windows Server 2008 virtual machines in a VMWare environment (ESXi 4.1).

I am not sure if it is related to VMWare. However, I could find a fix.

 You enter a default gateway and the gateway disappears after a reboot – it simply disappears !!!

This is how I fixed:

 

START è RUN èREGEDIT

 Navigate to the following key “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces”, select the interface that is missing the default gateway. You can identify which interface by the IP Address entry. Create a new STRING value in the selected interface key.

 Type: STRING (REG_MULTI_SZ)

Name: DefaultGateway

Value: enter the IP Address of the gateway; in this case it was 170.225.74.97


Post editing registry, I Rebooted the Server; I did not have any more issues with the gateway disappearing. I Opened up the properties of the network connection and I could see the gateway listed. 

Ref: http://blogs.technet.com/b/sbs/archive/2010/04/22/you-may-lose-the-default-gateway-on-sbs-2008-every-time-you-reboot.aspx