IP address and Default Gateway settings are assigned incorrectly or missing


To totally unlock this section you need to Log-in


Login

On a computer that is running Windows Vista, Windows Server 2008, Windows 7, or Windows Server 2008 R2, you may experience one of the following issues:

  • IP address and default gateway settings are assigned incorrectly.
  • After you configure additional IP addresses, the IP addresses are displayed incorrectly when you run the ipconfig command.
  • After you restart the computer, IP address settings revert to previous settings.
  • Default Gateway is not configured, missing, or it is not configurated by DHCP.
  • Cause

    These issues occur because of conflicts between TCP/IP registry settings and data that are managed by Network Input Output (NetIO).

    In Windows Vista or in later versions of Windows, IP address and default gateway settings are managed by both TCP/IP registry settings and NetIO components. TCP/IP registry settings are under the following registry subkey:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip
    

    Solution

    To work around this issue, run the following command, with administrative privileges, to resolve the conflict:

    netsh interface ip reset
    

    After you run the command, previous IP address and default gateway settings are reset, and you can reconfigure to the correct settings.

    If you are under DHCP, just run the following command to request a new IP address, Default Gateway and Netmask:

    ipconfig /renew