Problem in assigning static ipv4 address to azure Microsoft server 2016

Bikram 0 Reputation points
2023-02-22T04:37:16.9966667+00:00

Hi,

I want to assign the static ipv4 address to my window server 2016 for my assignment.

I had already change it in azure portal under networking tab. but inside the server 2016, it is still assigned by DHCP. I tried do it manually giving my own IP address but the connection to my machine gets lost.

I want to show my IP address as shown in the marker in picture.Screen Shot 2023-02-21 at 8.27.27 PM

Please help ____

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,772 questions
Windows for business | Windows Server | User experience | Other
{count} votes

3 answers

Sort by: Most helpful
  1. Limitless Technology 44,766 Reputation points
    2023-02-23T10:23:08.7166667+00:00

    Hello

    Thank you for your question and reaching out. I can understand you are having query\issues related to static IP assign to Azure VM.

    Please make sure you have configure Subnet in Azure portal and assign IP range to subnet pool.

    Reference :

    https://learn.microsoft.com/en-us/azure/virtual-network/ip-services/virtual-network-network-interface-addresses?tabs=nic-address-portal

    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  3. KapilAnanth-MSFT 49,611 Reputation points Microsoft Employee Moderator
    2023-02-24T06:26:34.0633333+00:00

    @Bikram

    Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.

    I understand that you would like to assign a static IP to your Azure VM.

    Please note that, for any Azure VM, changing the IP assigned via OS is not recommended.

    This would result in misconfig between the Platform assigned IP and OS configured IP and would break the VM.

    You have to use the Portal to configure any IP/DNS changes.

    • Navigate to the VM
    • Go to the Networking tab and Click on the NIC of the VM
    • In the NIC, go to IP Configurations Tab.
    • Click on the Ipconfig which you would like to set as Static
    • Under "Assignment", select Static and set the appropriate IP from the subnet.
    • Refer : Change IP address settings

    Kindly let us know if the above helps or you need further assistance on this issue.

    Thanks,

    Kapil


    Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.

    0 comments No comments

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.