Search code examples
amazon-web-servicesnetworkingamazon-ec2ping

EC2 ping not working after moving to IPv6


I needed an ipv6 address for my ec2 instance so I reconfigured my vpc and subnet to provide ipv6 address. I got a new ipv6 address assigned to my ec2 instance. But now ping6 to any ipv6 address like 2a03:2880:f11c:8183:face:b00c::25de from ec2 instance is not working. Moreover wget command is also not able to connect (wget https://archive.apache.org/dist/kafka/2.6.0/kafka_2.12-2.6.0.tgz). Pings to ipv4 addresses from ec2 instance are working fine. What could be the problem?


Solution

  • Adding ::/0 and 0.0.0.0/0 route to igw in route tables fixed the issue.