积极答复者
网卡名称变更

问题
-
虚拟机没关过,我发现azure的虚机网卡老是自己变动, 现在都到10了,从一开始的ethernet,到ethernet1,再2,3,4……慢慢升,一直到现在的10,估计还会一直升下去……
我用azure虚机配置了一台vpn server自己上网用,用的单网卡自定义配置,开启rras和nat,配置了sstp和l2tp,sstp给电脑用,l2tp给手机用。
每过一段时间,长则十几天,短则1,2天,NAT里面设置的公网接口的网络接口就没有了,要关掉vpn重新配置一次才行每次变化的时候,IP和Mac地址也都有变化
在IT的路上,You'll never walk alone
答案
-
hi,
据我所知,暂时还没有方法让网卡固定不变。在我第2个回复中有个关于投票的链接,您可以在该feature request中进行投票,微软会根据需求在之后的版本中加入或者完善该功能。感谢您的反馈。
Regards,
Will
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.- 已标记为答案 Anfield.KOP 2014年5月5日 3:34
全部回复
-
Hi,
您可以尝试下使用azure powershell去设置VM的IP地址为静态地址:看这篇文章:
请试下。希望对你有所帮助。
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey. -
hi,
网卡或者是MAC 地址的改变都是系统行为, 当我们启动或者关机或者更新VM或者服务修复的过程中都会导致虚拟网络适配器和MAC地址的改变(http://msdn.microsoft.com/zh-cn/library/azure/jj156090.aspx#BKMK_Glossary )。
从官网的FAQ中可以看出:
Will the MAC address remain the same for my virtual machine once it has been created?
No. A virtual machine’s MAC address can change for a few different reasons. If the VM is put in the status Stopped (Deallocated), if you change the virtual machine size, or if there is service healing or planned maintenance of the host server, the MAC address is not retained.
您也可以参考这个类似的case:Static Ethernet MAC Address Virtual Machine 和 Ethernet MAC Address Virtual MAchine Change each time the VM is Started 。
同时我建议你可以对该功能进行投票:http://feedback.azure.com/forums/216843-virtual-machines/suggestions/5217933-static-mac-address
希望对你有所帮助。We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey. -
您可以检查下VM中的系统日志文件,看看里面日志文件中有哪些记录,可以查询到VM发生过什么状况。同时建议可以看下这篇blog的第8点:
希望能够帮到你。
Will
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey. -
hi,
据我所知,暂时还没有方法让网卡固定不变。在我第2个回复中有个关于投票的链接,您可以在该feature request中进行投票,微软会根据需求在之后的版本中加入或者完善该功能。感谢您的反馈。
Regards,
Will
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.- 已标记为答案 Anfield.KOP 2014年5月5日 3:34