Plan IP addressing for a platform that will run 3 environments in 3 regions with 3 AZs each and 2 years of growth.
IntermediateScenarioAddressing, CIDR & Routing
Answer
Situation read → This is a design question where the interviewer wants hierarchy and summarization, not a random list of CIDRs.
What I'd do →
- Assign each region a /12 or /14 from the corporate 10.0.0.0/8 plan, for example eu-west-1
10.16.0.0/14, ap-south-110.20.0.0/14 - Inside each region give each environment one VPC /16
- Split every VPC into tier subnets sized per AZ, public /24, private app /22, data /24, plus reserved space
- Reserve a pod CIDR separately (for example 100.64.0.0/10) if running EKS
- Document it in IPAM and enforce with Terraform validation
Why → Hierarchical allocation means one summary route per region on the TGW or backbone and small firewall rule sets.
Interview tip → Mention that you size private app subnets generously because they hold nodes, pods and load balancer ENIs.
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