Private IP Static configuration on the network interface properties within the Azure VM

Ratish Kumar - External 21 Reputation points
2020-11-19T16:42:31.55+00:00

In the past we have tried configuring static IP at the NIC level for an Azure VM which we were hosting as additional domain controller in the Azure cloud but the VM lost is connectivity after that. So we have never configured any IP at NIC level after that.

We have a new requirement from Cyberark vendor where the IP needs to be configured at the NIC level inside the VM as a static entry. we are skeptical due to our previous experience.

what is the recommendation for Azure hosted VM's

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,778 questions
0 comments No comments
{count} votes

Accepted answer
  1. ChristopherW-MSFT 1,681 Reputation points
    2020-11-19T19:09:35.75+00:00

    It's fine to set a Static Private IP in OS - It's just critical to set the IP through the VM's Virtual NIC first, in Azure. Without specifying the IP in Azure first, it will lose connection to the NIC. If that happens, you may need to attach a new, clean NIC and delete the old disconnected one.

    https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-static-private-ip-arm-pportal

    2 people found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Ratish Kumar - External 21 Reputation points
    2020-11-20T08:44:15.303+00:00

    @ChristopherW-MSFT Thank you. That was very helpful.

    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.