Interview Prep/Networking/Addressing, CIDR & Routing

Your team wants to roll out IPv6 in an existing AWS VPC. What is your plan?

IntermediateScenarioAddressing, CIDR & Routing
Answer

Situation read → Dual-stack is the safe migration path because you keep IPv4 while adding IPv6.

What I'd do →

  1. Associate an Amazon-provided /56 with the VPC and a /64 with each subnet
  2. Add ::/0 routes to the IGW (or egress-only IGW for private subnets)
  3. Update security groups and NACLs with ::/0 or the correct IPv6 CIDRs
  4. Add AAAA records and test with curl -6 https://example.com
  5. Roll out per service and watch dual-stack client behaviour (Happy Eyeballs)

Why → IPv6 addresses are public by default, so private subnets use an egress-only gateway and rules instead of NAT.

Interview tip → Say security rules are the usual forgotten part: teams add AAAA records but forget the IPv6 rules.

All Networking questions Roadmap: Networking for DevOps

More on Addressing, CIDR & Routing