How do you handle CIDR overlap between VPCs or with on-prem?
IntermediateProductionVPC & Network Architecture
Answer
Best fix is prevention with central IPAM. If already overlapping: PrivateLink for the specific service, NAT between the networks (a private NAT gateway or an appliance), or renumber by building a new VPC and migrating. Peering and TGW routes cannot carry overlapping prefixes.
For EKS, add a secondary CIDR such as 100.64.0.0/16 with custom networking so pods use non-overlapping space.
More on VPC & Network Architecture
How would you design a production VPC for a three-tier web application?IntermediateHow many AZs and subnets should a production VPC use, and why?BeginnerWhat makes a subnet public versus private?BeginnerHow do you avoid NAT gateway single points of failure and cross-AZ charges?IntermediateWhen should you use VPC endpoints?IntermediateHow do you design connectivity for 50+ VPCs across accounts and regions?Advanced