Azure Virtual Rogue How to set an internal static IP address

Source: Internet
Author: User
Keywords Azure azure machines static IP address
What is a static IP address? &http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; As the latest version of PowerShell appears, you can now define and configure a static IP address within the Microsoft Azure virtual network (phantom receptacle) and assign it to an IaaS virtual machine under that virtual network. When a static internal IP address is configured to a virtual machine, the internal IP address can always be maintained regardless of whether the virtual machine is currently in a startup state or a stop state. Even if you delete the virtual machine and then rearrange the virtual machines, the virtual machine can still maintain the same IP address.   When will it be used? If you need to establish an Active Directory domain controller (DC, domain Controller) in the Azure virtual network (receptacle), you can be frustrated in the past and don't know how to build a static fixed IP Address virtual machines, virtual machines with fixed IP locations to play the role of DNS servers. Now that you no longer need to use complex settings, you can select an internal fixed static IP address directly for an Active Directory/dns virtual machine, allowing your other virtual machines to connect easily. Even after the Active Directory virtual organization shuts down, the virtual machine retains the internal IP address and remains unchanged the next time the virtual machine is started.   How do I use it? The following example shows how to add a virtual machine named Staticipvm to a virtual network named Spautovnet and assign its static IP address to 10.20.1.30 when the virtual machine is complete, the Azure portal site appears as follows: You can also use PowerShell instructions get-azurestaticvnetip to view the static IP addresses that you have configured.   Make full use of Poweshell documentation to achieve the goal in different settings. In the following example, you can see that I have recently made a SharePoint update, the current virtual machine is playing the role of Ad/dns server, so I first take out the current virtual machine IP address, and ensure that the IP address settings will not be changed in the future. Note that this behavior that sets the virtual machine to a fixed static IP address causes the virtual machine to reboot.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.