What is Supernetting? CIDR Aggregation Explained
Learn what supernetting is, how CIDR route aggregation combines networks, and why it shrinks routing tables — with interview Q&A.
Expected Interview Answer
Supernetting is the reverse of subnetting: it combines several contiguous, same-size smaller networks into one larger block by shortening the CIDR prefix, so a single route advertisement can represent many networks at once.
Where subnetting borrows bits from the host portion to make smaller networks, supernetting borrows bits back from the network portion to make a bigger one — for example, four contiguous /24 blocks (203.0.113.0/24 through 203.0.116.0/24 style ranges, when properly aligned) can be summarized as a single /22. This technique, formally called CIDR route aggregation or route summarization, is what let the internet keep scaling after classful addressing (Class A/B/C) proved wasteful. Routers that would otherwise need thousands of individual routing table entries instead carry one summarized entry, which shrinks table size, speeds up lookups, and reduces the churn that propagates when one small block flaps. The blocks being merged must be contiguous and properly aligned on a power-of-two boundary, or the aggregate would incorrectly include or exclude addresses that do not belong to it.
- Shrinks routing tables via a single summarized entry
- Reduces route-flap propagation across the internet
- Speeds up router lookups and convergence
- Enabled scaling beyond wasteful classful addressing
AI Mentor Explanation
Supernetting is like a league announcer merging four adjacent local club divisions into one combined regional zone for a single results bulletin instead of reading four separate scoreboards. As long as the four clubs sit in contiguous towns that line up neatly on the map, one zone label can stand in for all of them without confusion. If the clubs were scattered non-contiguously, one label could not honestly summarize them. This is exactly how a router merges four aligned /24 blocks into a single /22 route.
Step-by-Step Explanation
Step 1
Identify contiguous blocks
Find adjacent, equally sized networks such as four /24 blocks that share a common prefix boundary.
Step 2
Check alignment
Confirm the combined range starts on a valid power-of-two boundary for the shorter prefix.
Step 3
Shorten the prefix
Replace the four /24 entries with a single /22 that covers exactly the same address range.
Step 4
Advertise the summary
The router advertises one aggregated route instead of four, shrinking the table and reducing flap propagation.
What Interviewer Expects
- Correctly describes supernetting as the reverse of subnetting
- Explains prefix shortening and CIDR route aggregation
- Knows blocks must be contiguous and properly aligned to summarize
- Understands the routing-table and stability benefits
Common Mistakes
- Confusing supernetting with subnetting
- Assuming any four networks can be merged regardless of alignment
- Forgetting that misaligned summaries can leak or hide addresses
- Not connecting supernetting to the historical move away from classful addressing
Best Answer (HR Friendly)
“Supernetting is the opposite of subnetting — instead of breaking one network into smaller pieces, you combine several small, adjacent networks into one bigger block so a router can describe them all with a single route instead of many. It is one of the tricks that let the internet keep growing efficiently once the old rigid class-based addressing system ran out of room.”
Code Example
# Four contiguous /24 blocks aligned on a /22 boundary
# 203.0.112.0/24, 203.0.113.0/24, 203.0.114.0/24, 203.0.115.0/24
# Verify the aggregate covers exactly those addresses
ipcalc 203.0.112.0/22
# Address: 203.0.112.0
# Netmask: 255.255.252.0 = 22
# HostMin: 203.0.112.1
# HostMax: 203.0.115.254
# Broadcast: 203.0.115.255
# A router config summarizing the four /24s into one /22 (Cisco-style)
# ip route 203.0.112.0 255.255.252.0 Null0Follow-up Questions
- Why must supernetted blocks be contiguous and aligned?
- How does CIDR relate to the deprecated classful addressing scheme?
- What is route summarization and why do ISPs rely on it heavily?
- What happens if a summary route accidentally includes unassigned addresses?
MCQ Practice
1. Supernetting is best described as:
Supernetting merges contiguous, equally sized networks by shortening the CIDR prefix.
2. Four contiguous /24 networks can be summarized as which prefix?
Four /24 blocks (2^2) combine into one /22, since shortening the prefix by 2 bits covers 4x the addresses.
3. What is required for supernetting to correctly represent the merged blocks?
Only contiguous, alignment-boundary-respecting blocks can be summarized without misrepresenting addresses.
Flash Cards
What is supernetting? — Combining contiguous, equal-sized networks into one larger block by shortening the CIDR prefix.
Supernetting vs subnetting? — Supernetting merges networks (shorter prefix); subnetting splits them (longer prefix).
Why supernet? — Shrinks routing tables and reduces route-flap propagation via a single summarized entry.
Requirement to supernet? — Blocks must be contiguous and aligned on a valid power-of-two boundary.