简体   繁体   English

如何从谷歌云实例 ping ipv6

[英]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 月)仅支持有限区域:

  • asia-east1亚洲-东方1
  • asia-south1亚南1
  • europe-west2欧洲西部2
  • us-west2美国西部2

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.

相关问题 谷歌云计算实例,IPv6 - Google Cloud Compute Instance, IPv6 如何更改为双栈子网并更新 VM 实例栈类型 - Google 云 - IPv6 支持 - How to change to dualstack subnet and update a VM Instance stacktype - Google cloud - IPv6 support 如何在Google Cloud上运行iOS应用程序,即使它缺乏对IPv6的支持 - How can you run iOS Apps on the Google Cloud even though it lacks support for IPv6 如何在 Google Cloud VM 实例上分配 IPV6 - How to assign IPV6 on Google Cloud VM instances 如何让 Google Cloud Run 使用 IPv4 而不是 IPv6 到容器应用程序 - How to make Google Cloud Run to use IPv4 instead of IPv6 to container app 如何从谷歌云实例访问启动盘 - How can I access boot disk from google cloud instance 无法为 Google Cloud VM 的 IPv6 地址设置 PTR 记录 - Can't set PTR record for IPv6 address for Google Cloud VM 将IPv6添加到Google Cloud SQL白名单/授权 - Add IPv6 To Google Cloud SQL Whitelist / Authorization 如何使用 Google Cloud Function 将文件从 Cloud Storage 存储桶推送到实例中? - How can I use a Google Cloud Function to push a file from a Cloud Storage bucket into an instance? 如何设置防火墙规则以仅允许 ssh 从 Google Cloud 控制台访问实例 - How can I set firewall rule to allow ssh to a instance from Google Cloud console only
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM