Windows 管理中心 - 添加 Azure 网络适配器

Windows Admin Center - Add Azure Network adapter

想要在 Windows Server 2019 DE 计算机上设置 Azure 网络适配器。但是,无论我尝试什么,都会出现同样的错误:

Error: Virtual Network Gateway submission

Message Failed to submitted the update request of Microsoft Azure Virtual Network Gateway WAC-Created-vpngw-99, Detail error message from Azure: The BgpPeeringAddress for the virtual network gateway /subscriptions/xxxxx/resourceGroups/Nett/providers/Microsoft.Network/virtualNetworkGateways/VPN-Gateway cannot be modified

还尝试在 Azure 网关适配器上配置 BGP ASN,ASN 编号在专用范围内。没有运气。

如有任何帮助,我们将不胜感激。

据我所知,虚拟网关的 BgpPeeringAddress 是一个特定的 IP 地址,它是 GatewaySubnet 范围内的 倒数第二个地址official DOC 指出:

The Azure VPN gateway will allocate a single IP address from the GatewaySubnet range defined for the virtual network. By default, it is the second last address of the range. For example, if your GatewaySubnet is 10.12.255.0/27, ranging from 10.12.255.0 to 10.12.255.31, the BGP Peer IP address on the Azure VPN gateway will be 10.12.255.30. You can find this information when you list the Azure VPN gateway information.

当我将 BgpPeeringAddress 更改为无效的 IP 地址 172.24.1.250 时,我可以重现您的问题。有效的 IP 地址应该是我的 GatewaySubnet 范围 172.24.1.0/24

中的 IP 地址 172.24.1.254

我通过 Azure Resource Explorer. You can get more details from this blog 检查这个。