Hello there,
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
This article provides a workaround for an issue where IP address and default gateway settings are assigned incorrectly. https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/ip-default-gateway-settings-assigned-incorrectly
Hope this resolves your Query !!
--If the reply is helpful, please Upvote and Accept it as an answer–