[英]How can I ping ipv6 from a google cloud instance
I have a google cloud instance.我有一个谷歌云实例。 I do not need ipv6 but I need to be able to connect to public ipv6.
我不需要 ipv6,但我需要能够连接到公共 ipv6。 I have added a firewall rule which allows ::/0 for outgoing traffic.
我添加了一个防火墙规则,允许 ::/0 用于传出流量。 Now When I try to ping ipv6.google.com, it gives response- network is unreachable.
现在,当我尝试 ping ipv6.google.com 时,它给出了响应 - 网络无法访问。 What do I need to do to be able to ping any ipv6 like ipv6.google.com.
我需要做什么才能 ping 任何 ipv6,例如 ipv6.google.com。 Thank you.
谢谢你。
Google cloud now supports external ipv6 on VM instances. Google Cloud 现在支持虚拟机实例上的外部 ipv6。 Each instance can get a /96 external ip range and it can be used to access internet (without NAT) or be used for VM to VM traffic.
每个实例可以获得一个 /96 外部 ip 范围,它可用于访问互联网(无 NAT)或用于 VM 到 VM 的流量。
At this moment (July 2021) it's only supported limited regions:目前(2021 年 7 月)仅支持有限区域:
See more detailed in详见
https://cloud.google.com/compute/docs/ip-addresses/configure-ipv6-address https://cloud.google.com/vpc/docs/vpc#ipv6-addresses https://cloud.google.com/compute/docs/ip-addresses/configure-ipv6-address https://cloud.google.com/vpc/docs/vpc#ipv6-addresses
Note that connecting to Google APIs and services using external IPv6 addresses is currently not supported and will result in a destination unreachable ICMP response.请注意,当前不支持使用外部 IPv6 地址连接到 Google API 和服务,这将导致目标无法到达 ICMP 响应。 Most applications will fallback to IPv4 transparently.
大多数应用程序将透明地回退到 IPv4。 So don't be surprise if you cannot ping ipv6.google.com.
因此,如果您无法 ping ipv6.google.com,请不要感到惊讶。 You should able to ping other ipv6 websites.
您应该能够 ping 其他 ipv6 网站。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.