设置为静态时,IP地址更改虚拟机 [英] Ip address change virtual machine when setting to static

查看:219
本文介绍了设置为静态时,IP地址更改虚拟机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近我找到了一份新工作,我正在浏览Azure当前服务器的所有配置。我们的一个VM需要重启,我注意到之后IP地址发生了变化。所以我想将所有vm设置为一个静态IP地址,因为这会让生活
更容易一些。重启后,我们的测试vm从5​​5.xxx.xx.xxx地址更改为13.xxx.xx.xxx地址。不是一个大问题。但是,我们的生产VM的IP在55.xxx.xx.xxx的相同范围内。 Azure门户警告我,IP地址可能会更改。这个
会导致dns的一些问题,我想最大限度地减少停机时间。我确实注意到将测试VM更改为静态IP地址时,ip不再发生变化。我想知道当我将生产VM
的ip地址设置为静态时是否会出现相同的情况?

Recently I got a new job and I'm going over all the configurations of the current servers in Azure. One of our VM's needed a restart and I noticed the ip address changed afterwards. So I wanted to set all the vm's to a static ip address as this makes life a bit easier. Our test vm changed from a 55.xxx.xx.xxx address to a 13.xxx.xx.xxx address after a reboot. Not a huge problem. However our production VM has an ip in the same range 55.xxx.xx.xxx. Azure portal warns me that the ip address might change. This would cause some issues with the dns and I want to minimise downtime. I did notice when changing our test VM to a static ip address, the ip did not change anymore. I want to know if this would be the same case when I set the ip address of our production VM to static?

推荐答案

 

Hi, 

是的,如果您将公共IP设置为静态,则在重新启动或取消分配后不会更改。

Yes, if you set the public IP to static it would not change after reboot or deallocation.


这篇关于设置为静态时,IP地址更改虚拟机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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