Interview Prep/Networking/Addressing, CIDR & Routing

Four /24s 10.1.0.0/24 through 10.1.3.0/24 sit behind a VPN. How do you advertise them efficiently?

IntermediateScenarioAddressing, CIDR & Routing
Answer

Situation read → Route summarization reduces table size and hides internal changes.

What I'd do →

  1. Check the prefixes are contiguous and aligned on a power of two: 0,1,2,3 in the third octet
  2. Summarize to 10.1.0.0/22
  3. Advertise only the /22 over BGP or add it as one static route on the remote side
  4. Confirm no other host uses 10.1.0.0 to 10.1.3.255 outside the intended subnets

Why → A summary is only valid if every address in it is reachable through that next hop, otherwise you attract traffic you cannot deliver.

Interview tip → Mention that over-summarizing creates black holes and that AWS TGW lets you advertise summaries with attachments.

All Networking questions Roadmap: Networking for DevOps

More on Addressing, CIDR & Routing