- Newest
- Most votes
- Most comments
Hello.
I was able to check the IPv6 address set on EC2 by running "ip a" in my environment.
Does it not appear even if you recreate EC2?
root@ip-10-0-0-180:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9001 qdisc fq_codel state UP group default qlen 1000
link/ether 06:13:93:d4:4c:57 brd ff:ff:ff:ff:ff:ff
inet 10.0.0.180/25 metric 100 brd 10.0.0.255 scope global dynamic eth0
valid_lft 3051sec preferred_lft 3051sec
inet6 yyyy:yyyy:yyy:yyyy:yyyy:yyyy:yyyy:bd41/128 scope global dynamic noprefixroute
valid_lft 391sec preferred_lft 81sec
inet6 fe80::413:93ff:fed4:4c57/64 scope link
valid_lft forever preferred_lft forever
Hey, thanks for the response!!! This is what I get... there is nothing in there that looks like the ipv6 address on the EC2 dashboard of my instance... when you say "recreate the EC2" - what I did was reboot the instance. Is "recreate" a different process?
$ ifconfig ens3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 9001 inet 172.31.X.XX netmask 255.255.240.0 broadcast 172.31.XX.XX inet6 fe80::82c:d4ff:fe6f:XXXX prefixlen 64 scopeid 0x20<link> ether 0a:2c:d4:6f:XX:XX txqueuelen 1000 (Ethernet) ... lo: ...
@Riku_Kobayashi - yes, I went through the instructions in the document you referenced, and when I go to the EC2 dashboard of my instance, it does show the ipv6 address. So since I see the address, I think I must have done things right. But I don't see the ipv6 address in Ubuntu with ifconfig...
Relevant content
- asked 17 days ago
- asked 2 months ago
- asked 6 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
Have you attached an IPv6 address to EC2 using the steps in the document below? For existing EC2, you need to attach an IPv6 address yourself. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-instance-addressing.html#working-with-ipv6-addresses