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.
cmd
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.
Thanks! Fixed my issue.
thank you!!!!!!!!!! this fixed big issue for me
thanks dear