目前,我的负载均衡器有一个 IPv4 前端地址和一个后端池,其中包含 5 个具有 IPv4 专用地址的虚拟机。 我们希望向 Service Fabric 集群添加 IPv6 支持。我找到这篇文章:https://learn.microsoft.com/en-us/azure/load-balancer/load-balancer-ipv6-overview我看到很多“当前不支持”的文字。
IPv6地址已分配给LB,但我无法制定规则:
Failed to save load balancer rule 'rulename'. Error: Frontend ipConfiguration '/subscriptions/...' referring to PublicIp with PublicIpAddressVersion 'IPv6' does not match with PrivateIpAddressVersion 'IPv4' referenced by backend ipConfiguration '/subscriptions/...' for the load balancer rule '/subscriptions/...'.
当我尝试添加新的后端池时,我收到以下消息:
One basic SKU load balancer can only be associated with one virtual machine scale set at any point of time
问题:
- 我们什么时候可以期望该功能在一个 VMSS 之前拥有多个 LB?
- 是否可以添加 IPv6 前端而不将 IPv6 添加到后端(NAT64?)?
- 是否可以将 IPv6 地址添加到现有虚拟机规模集而不重新创建它?
最佳答案
不确定我是否完全理解你的意思,that article 中似乎有一些限制。 .
对于您的问题:
我猜您的意思是将多个 LB 前端映射到一个后端池。如果是这样,则相同的前端协议(protocol)和端口将在多个前端之间重复使用,因为每个规则必须生成具有目标 IP 地址和目标端口的唯一组合的流。您可以获取更多详细信息multiple frontend configurations with LB .
这是不可能的。前端IP地址的IP版本必须与目标网络IP配置的IP版本匹配。
NAT64 (translation of IPv6 to IPv4) is not supported.
- 这是不可能的,VM 规模集本质上是一组负载平衡的 VM。 VM和A Vmss有一些区别,可以引用this.此外,如果网络接口(interface)分配有私有(private) IPv6 地址,则在创建 VM 时必须将其添加(附加)到 VM。读取网络接口(interface)constraints .
You may not upgrade existing VMs to use IPv6 addresses. You must deploy new VMs.
关于具有 IPv6 和 IPv4 前端支持的 Azure 负载均衡器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53786081/