在Azure中还原虚拟机的原始IP [英] Restore original IP of a Virtual Machine in Azure

查看:79
本文介绍了在Azure中还原虚拟机的原始IP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在Azure中有一个已停止并重新启动的VM.再次启动后,机器将收到一个新的公共IP地址.我们的DNS映射指向计算机的旧(原始)IP地址.您能帮助我们如何获得 旧的,原始的IP而不是新的?我们确实需要帮助,我们需要迅速完成它.

We have a VM in Azure that we have stopped and started again. Once started again, the machine has received a new public IP address. We have our DNS mappings pointing to the old (original) IP address of the machine. Could you please help us on how to get the old, original IP back instead of the new one? We really need help on this and we need to get it done quickly. 

推荐答案

在Azure中创建Vm时,默认情况下,公共ip将与Dyanamic ip一起提供.您需要在NIC中将该IP设置为静态.

When you created Vm in Azure, by default the public ip  will come with Dyanamic ip. You need to make that IP as a static in the NIC .

https://docs.microsoft.com/zh-cn/azure/virtual-network/virtual-networks-static-private-ip-arm-pportal#how-to-retrieve-static-private-ip-address -in-formation-for-a-vm

https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-static-private-ip-arm-pportal#how-to-retrieve-static-private-ip-address-information-for-a-vm


这篇关于在Azure中还原虚拟机的原始IP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆