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 →
- Associate an Amazon-provided /56 with the VPC and a /64 with each subnet
- Add
::/0routes to the IGW (or egress-only IGW for private subnets) - Update security groups and NACLs with
::/0or the correct IPv6 CIDRs - Add AAAA records and test with
curl -6 https://example.com - 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.
More on Addressing, CIDR & Routing
You own 10.0.0.0/16 for a new VPC and need separate /24 subnets for dev, QA and prod across two AZs. How do you carve it up?BeginnerA host is configured as 192.168.1.130/25. What network does it belong to and what is the broadcast address?BeginnerHow many usable IPs does an AWS subnet of /28 have?BeginnerA route table has 10.0.0.0/16 -> local and 10.0.1.0/24 -> vpn-gw. Where does a packet to 10.0.1.5 go?BeginnerA newly built server can ping everything in its subnet but nothing outside. What is the first thing you check?BeginnerYou are picking a private range for a new company network. Which RFC 1918 range do you choose and why?Beginner