azure reserved IP for VM is diffrent than the given

余生颓废 提交于 2019-12-11 11:36:47

问题


any help appreciated:

I'm a bit confused with the fact that when I add a reserved IP to a cloud service, the IP address matches the one reserved. When I do the same but add an instance IP address to a certain machine, it only adds a random public IP address to the machine, and changes the name accordingly to the one reserved but the IP address does not matches the one reserved. Any ideas?

This is my reserved IP

ReservedIPName       : name
Address              : XX.XX.11.119
Id                   : AA
Label                : sipserver
Location             : West Europe
State                : Created
InUse                : False

if I do

Get-AzureVM -ServiceName mycloud -Name vm1inmycloud | Set-AzurePublicIP -PublicIPName ippublic1 | Update-AzureVM

It goes ok, but then ippublic1 looks like not in use

ReservedIPName       : name
Address              : XX.XX.11.119
Id                   : AA
Label                : sipserver
Location             : West Europe
State                : Created
InUse                : False

and the machine has now a public ip address

InstanceEndpoints     : {SSH}
InstanceErrorCode     :
InstanceFaultDomain   : 0
InstanceName          : vm1inmycloud
InstanceSize          : Small
InstanceStateDetails  :
InstanceStatus        : ReadyRole
InstanceUpgradeDomain : 0
RoleName              : mycloud
DeploymentID          : BB
IPAddress             : XX.XX.70.17
PublicIPAddress       : XX.XX.1.26
PublicIPName          : name
ServiceName           : mycloud
OperationDescription  : Get-AzureRole
OperationId           : CC
OperationStatus       : Succeeded

with the name as the reserved IP but with a different IP, I don't get it!

Regards

Helio

来源:https://stackoverflow.com/questions/25033685/azure-reserved-ip-for-vm-is-diffrent-than-the-given

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!