Supernetting (Route Aggregation) Explained
Learn supernetting and route aggregation to combine multiple smaller networks into a single larger CIDR block. Reduce routing table size efficiently.
192.168.0.0/22ConceptDetailed Explanation
Supernetting Explained
Supernetting (also called route aggregation or route summarization) is the process of combining multiple smaller, contiguous networks into a single larger network prefix. It is essentially the opposite of subnetting.
How Supernetting Works
If you have four contiguous /24 networks:
192.168.0.0/24
192.168.1.0/24
192.168.2.0/24
192.168.3.0/24
You can supernet them into a single /22 prefix:
192.168.0.0/22
This works because these four /24s occupy a contiguous address block from 192.168.0.0 to 192.168.3.255, and 192.168.0.0 is properly aligned on a /22 boundary.
The Math Behind It
Four /24 networks = 4 x 256 = 1,024 addresses = 2^10 host bits. Since 32 - 10 = 22, the aggregate prefix is /22.
In general: 2^n contiguous subnets of size /x can be aggregated into a single /(x-n) prefix.
Requirements for Supernetting
- Contiguous addresses — the networks must be adjacent with no gaps
- Proper alignment — the starting network must be on the correct boundary (the network address must be divisible by the total aggregate size)
- Power of two — you can only aggregate 2, 4, 8, 16, etc. networks at a time
Why Supernetting Matters
Reduced routing table size: Instead of carrying thousands of individual /24 routes, ISPs aggregate them into larger prefixes. This conserves router memory and speeds up lookups.
Faster convergence: Fewer routes mean faster routing protocol calculations during topology changes.
Simplified management: Fewer routing entries are easier to maintain, audit, and troubleshoot.
Real-World Application
ISPs practice supernetting extensively. An ISP allocated a range of /24 blocks would advertise a single aggregate route to their upstream providers, reducing the global routing table burden significantly.
Use Case
An ISP combines 256 customer /24 networks into a single /16 route advertisement to reduce the number of prefixes in the global BGP routing table.
Try It — Subnet Calculator
Related Topics
VLSM: Variable Length Subnet Masking Explained
10.1.0.0/16 · Concept
CIDR Notation Explained: How IP Addressing Works
10.0.0.0/16 · Concept
/16 Subnet (255.255.0.0)
172.16.0.0/16 · IPv4
/24 Subnet (255.255.255.0)
192.168.1.0/24 · IPv4
The /0 Default Route (0.0.0.0/0)
0.0.0.0/0 · IPv4
Network vs. Host Portion of an IP Address
192.168.1.0/24 · Concept