Interview Prep/Networking/Addressing, CIDR & Routing

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 →

  1. 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-1 10.20.0.0/14
  2. Inside each region give each environment one VPC /16
  3. Split every VPC into tier subnets sized per AZ, public /24, private app /22, data /24, plus reserved space
  4. Reserve a pod CIDR separately (for example 100.64.0.0/10) if running EKS
  5. 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.

All Networking questions Roadmap: Networking for DevOps

More on Addressing, CIDR & Routing