简体   繁体   English

用于 VPN 的 Azure 静态 IP?

[英]Azure Static IP for VPN?

I am establishing a site to site vpn from on prem to Azure, however, i cannot assign a static public ip to it.我正在建立一个从本地到 Azure 的站点到站点 vpn,但是,我无法为其分配静态公共 ip。 Per this link, https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-ip-addresses-overview-arm , it's designed that way.根据此链接https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-ip-addresses-overview-arm ,它就是这样设计的。 Can someone please explain why and what if the dynamic ip changes on azure end?有人可以解释为什么动态 ip 在 azure 端发生变化以及怎么办? Then the site-site vpn breaks.然后站点站点 vpn 中断。 Unless Azure assumes the tunnel is always running, it will keep that dynamic IP.除非 Azure 假定隧道始终在运行,否则它将保留该动态 IP。

VPN gateways An Azure VPN Gateway connects an Azure virtual network to other Azure virtual networks, or to an on-premises network. VPN 网关 Azure VPN 网关将 Azure 虚拟网络连接到其他 Azure 虚拟网络或本地网络。 A public IP address is assigned to the VPN Gateway to enable it to communicate with the remote network.为 VPN 网关分配了一个公共 IP 地址,使其能够与远程网络进行通信。 You can only assign a dynamic basic public IP address to a VPN gateway. VPN网关只能分配动态基本公网IP地址。

The only time the VPN gateway IP address changes is when the gateway is deleted and re-created. VPN网关IP地址唯一的更改是删除并重新创建网关时。 The VPN gateway public IP address doesn't change across resizing, resetting, or other internal maintenance/upgrades of your VPN gateway. VPN网关的公共IP地址不会在VPN网关的大小调整,重置或其他内部维护/升级中更改。

From the docs :文档

zone-redundant and zonal gateways (gateway SKUs that have AZ in the name) both rely on a Standard SKU Azure public IP resource.区域冗余和区域网关(名称中包含 AZ 的网关 SKU)都依赖于标准 SKU Azure 公共 IP 资源。 Azure Standard SKU public IP resources must use a static allocation method. Azure 标准 SKU 公共 IP 资源必须使用静态分配方法。

For non-zone-redundant and non-zonal gateways (gateway SKUs that do not have AZ in the name), only dynamic IP address assignment is supported.对于非区域冗余和非区域网关(名称中没有 AZ 的网关 SKU),仅支持动态 IP 地址分配。 However, this doesn't mean that the IP address changes after it has been assigned to your VPN gateway.但是,这并不意味着 IP 地址在分配给您的 VPN 网关后会发生变化。 The only time the VPN gateway IP address changes is when the gateway is deleted and then re-created. VPN 网关 IP 地址更改的唯一时间是网关被删除然后重新创建。 The VPN gateway public IP address doesn't change when you resize, reset, or complete other internal maintenance and upgrades of your VPN gateway.当您调整大小、重置或完成 VPN 网关的其他内部维护和升级时,VPN 网关公共 IP 地址不会更改。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM