aws ipv6

 

 


 

Notes

 * No IPv6 EIP

 * instance was launched from an AMI that is not configured to use DHCPv6

Steps

1. VPC with an IPv6 /56 CIDR block

2. Creates a subnet with /64 CIDR block

3. Add ::/0 route on the "Routes Tables" menu which point to your "Internet Gateways"

4. Assign IPv6 addresses to your instances

EC2 -> Instances -> YOUR-INSTANCE -> Actions button -> Networking -> Manage IP Addresses

5. To configure DHCPv6 on instances

Centos 7

/etc/sysconfig/network-scripts/ifcfg-eth0

IPV6INIT=yes           # Lan IP
DHCPV6C=yes
NM_CONTROLLED=no

/etc/sysconfig/network

NETWORKING_IPV6=yes

service network restart

ip addr | grep inet6

inet6 ::1/128 scope host
inet6 2406:da1e:893:be00:568a:7472:1746:a5e7/128 scope global dynamic
inet6 fe80::493:f0ff:fefc:ed2c/64 scope link