Defult Gateway not regisering on windows server 2022 data center edition

Joshi 20 Reputation points
2023-05-25T14:18:54.4+00:00

I have windows server 2022 edition virtual machine on Hyper-V .

IP configuration - Static IP

Every time i register the default gate way in in IP settings. But the default gateway getting wiped out every time. I can see the IP address, subnet, and DNS entries. But the gateway filed is blank!

If any one faced this problem and found the solution,then please advice

Thank you

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,360 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Limitless Technology 44,441 Reputation points
    2023-06-01T10:47:54.2+00:00

    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–

    0 comments No comments

  2. Anonymous
    2023-06-02T01:19:03.4466667+00:00

    Please post an unedited

    ipconfig /all  
    
    

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.