Windows Server 2008: Default Gateway disappears upon Reboot, every time


I had a battle with a Windows Server 2008 machine. It’s TCP/IP default gateway disappears upon reboot. I tried to retype the default gateway and reboot many times. It seemed like a strange issue.

I found this forum discussion here. Essence of the discussion is TCP/IP stack or file might be corrupted and the solution is to reset the TCP/IP stack. This is also explained in this MSKB-299357.

If above links are not working, following the instructions below.

  • To open a command prompt, click Start and then click Run. Copy and paste (or type) the following command in the Open box and then press ENTER:

    cmd

  • At the command prompt, copy and paste (or type) the following command and then press ENTER:

    netsh int ip reset c:resetlog.txt

  • Reboot the server and re-type the IP address if it is static address.

  • Note If you do not want to specify a directory path for the log file, use the following command:

    netsh int ip reset resetlog.txt

  •  

     

    Optionally you can also reset the winsock with the following command:

    netsh winsock reset catalog

    Hope this helps you when you need it.

    Advertisements

    2 thoughts on “Windows Server 2008: Default Gateway disappears upon Reboot, every time

    Leave a Reply

    Fill in your details below or click an icon to log in:

    WordPress.com Logo

    You are commenting using your WordPress.com account. Log Out / Change )

    Twitter picture

    You are commenting using your Twitter account. Log Out / Change )

    Facebook photo

    You are commenting using your Facebook account. Log Out / Change )

    Google+ photo

    You are commenting using your Google+ account. Log Out / Change )

    Connecting to %s