Route Summarization / Supernetting
Learn how to aggregate multiple networks into a single route for more efficient routing tables.
What is Supernetting?
Supernetting (also called route aggregation or summarization) combines multiple smaller networks into one larger network announcement. Instead of advertising many routes, you advertise just one route that covers them all. This reduces routing table size and makes networks more manageable.
Requirements for Summarization
Two main requirements must be met: 1. **Contiguous Address Space**: The networks must be adjacent to each other 2. **Power of Two**: You need exactly 2, 4, 8, 16, etc. networks to summarize cleanly If you have 3 or 5 networks, you cannot create a perfect summary without including unused space.
Summarization Examples
Step-by-Step Process
- List all networks you want to summarize
- Convert network addresses to binary
- Find the common bits from left to right
- Count the common bits to get your new prefix length
- Verify the summary covers all your networks
- Check if any unwanted networks are included
Binary Example
Summarizing 192.168.0.0/24 and 192.168.1.0/24
Network | Binary Representation |
---|---|
192.168.0.0 | 11000000.10101000.00000000.00000000 |
192.168.1.0 | 11000000.10101000.00000001.00000000 |
Benefits of Route Summarization
- Smaller routing tables mean faster lookups
- Reduced memory usage on routers
- Less routing protocol overhead
- Simpler network management
- Better network stability (fewer route changes)
Common Pitfalls
Problem: Summary might include networks you don't own or want to advertise
Example: Summarizing 192.168.0.0/24 and 192.168.2.0/24 as 192.168.0.0/22 also includes 192.168.1.0/24 and 192.168.3.0/24
Problem: Trying to summarize networks that aren't adjacent
Example: Cannot cleanly summarize 10.1.0.0/24 and 10.1.5.0/24 without including unwanted space
Problem: Having 3, 5, 6, 7 networks instead of 2, 4, 8, 16
Example: Three /24s cannot be perfectly summarized without wasting addresses
Quick Reference Table
Input Networks | Summary Prefix | Routes Saved |
---|---|---|
2 × /24 | /23 | 1 route |
4 × /24 | /22 | 3 routes |
8 × /24 | /21 | 7 routes |
16 × /24 | /20 | 15 routes |
2 × /23 | /22 | 1 route |
4 × /23 | /21 | 3 routes |