When I try to ping6 ipv6.google.com
I get ping6: connect: Network is unreachable
. When restarting my network interface ens5 it shows a no link-local IPv6 address for ens5
message. I am pretty sure IPv6 is configured correctly on Amazon EC2's side (I followed this guide). Does anybody know why this could be happening? I left a few commands I executed below. Thanks.
root@ip-172-31-40-213:~# ifdown ens5 && ifup ens5
Killed old client process
Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/ens5/0a:aa:60:52:6c:6c
Sending on LPF/ens5/0a:aa:60:52:6c:6c
Sending on Socket/fallback
DHCPRELEASE of 172.31.40.213 on ens5 to 172.31.32.1 port 67
Killed old client process
Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
no link-local IPv6 address for ens5
If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug. These pages explain the proper
process and the information we find helpful for debugging.
exiting.
Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/ens5/0a:aa:60:52:6c:6c
Sending on LPF/ens5/0a:aa:60:52:6c:6c
Sending on Socket/fallback
DHCPDISCOVER on ens5 to 255.255.255.255 port 67 interval 5
DHCPOFFER of 172.31.40.213 from 172.31.32.1
DHCPREQUEST for 172.31.40.213 on ens5 to 255.255.255.255 port 67
DHCPACK of 172.31.40.213 from 172.31.32.1
bound to 172.31.40.213 -- renewal in 1624 seconds.
Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on Socket/ens5
Sending on Socket/ens5
PRC: Confirming active lease (INIT-REBOOT).
root@ip-172-31-40-213:~# ifconfig
ens5: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 9001
inet 172.31.40.213 netmask 255.255.240.0 broadcast 172.31.47.255
inet6 fe80::8aa:60ff:fe52:6c6c prefixlen 64 scopeid 0x20<link>
inet6 2600:1f1e:8c9:4c00:1a6e:56e3:12dc:d5c2 prefixlen 128 scopeid 0x0<global>
ether 0a:aa:60:52:6c:6c txqueuelen 1000 (Ethernet)
RX packets 51 bytes 5714 (5.5 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 51 bytes 13532 (13.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 34 bytes 3308 (3.2 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 34 bytes 3308 (3.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500
inet 10.8.0.1 netmask 255.255.255.0 destination 10.8.0.1
inet6 fd42:42:42:42::1 prefixlen 112 scopeid 0x0<global>
inet6 fe80::b25c:3ee4:c340:6665 prefixlen 64 scopeid 0x20<link>
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 500 (UNSPEC)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 26 bytes 1748 (1.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0