大网数据广告活动
网络与域名解析

IP and default gateway settings are assigned incorrectly

· 52CE 我爱测

Works around an issue where IP address and default gateway settings are assigned incorrectly.

This article provides a workaround for an issue where IP address and default gateway settings are assigned incorrectly.

Original KB number:   2473489

Symptoms

On a Windows computer, 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.

Cause

These issues occur because of conflicts between TCP/IP registry settings and data that is 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

Workaround

To work around this issue, run the following command 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.

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
- Supported versions of Windows Server · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。