Your company acquired another one and both use 10.0.0.0/8 with overlapping subnets. How do you connect them?
IntermediateScenarioAddressing, CIDR & Routing
Answer
Situation read → Full routed connectivity is impossible with overlap, so the answer is selective connectivity or renumbering.
What I'd do →
- List which services really need cross-company access, often fewer than 10
- Expose those via PrivateLink endpoints or an API gateway instead of routing the networks
- Where a network path is unavoidable use a NAT appliance with a translated non-overlapping range on one side
- Start a re-IP project for the smaller network, migrating subnet by subnet
- Block the old ranges in the shared VPN to avoid half-working routes
Why → NAT between overlapping networks works but is fragile (logs show translated IPs, protocols with embedded addresses break), so it must be a bridge, not the destination.
Interview tip → Say the end state is renumbering, with NAT or PrivateLink only as the bridge.
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