0

我正在与服务提供商建立一个 bgp ipsec 隧道。Azure 端的公共 IP 地址设置为动态,我想知道这些地址是否会改变?

这是关于地址分配的文档站点:

动态:只有在公网IP地址关联到虚拟机的网卡并且虚拟机第一次启动后,才会分配动态地址。如果 NIC 连接到的 VM 停止(解除分配),动态地址可能会发生变化。如果 VM 重新启动或停止(但未解除分配),该地址将保持不变。静态:在创建公共 IP 地址时分配静态地址。即使 VM 处于停止(解除分配)状态,静态地址也不会改变。只有当网卡被删除时,地址才会被释放。您可以在创建 NIC 后更改分配方法。

但它似乎特定于虚拟机。

4

1 回答 1

2

When dynamic IP is associated to VPN gateway, the IP address will not change.

Please refer to this FAQ.

Can I request a Static Public IP address for my VPN gateway?

No. Only Dynamic IP address assignment is supported. However, this does not mean that the IP address changes after it has been assigned to your VPN gateway. The only time the VPN gateway IP address changes is when the gateway is deleted and re-created. The VPN gateway public IP address doesn't change across resizing, resetting, or other internal maintenance/upgrades of your VPN gateway.

于 2017-06-21T01:12:56.820 回答