Supernet Calculator
Calculate route summarization (supernetting) for multiple networks to optimize routing tables.
How to use:
Enter multiple network addresses in CIDR notation (one per line) to calculate the optimal route summarization. This helps reduce routing table size by combining multiple routes into a single summarized route.
Published: December 2025 | Author: TriVolt Editorial Team | Last Updated: February 2026
Understanding Route Summarization (Supernetting)
Route summarization, also called supernetting or route aggregation, is the process of combining multiple network routes into a single, more general route. This reduces routing table size, improves routing efficiency, and simplifies network management. Supernetting is the opposite of subnetting - instead of dividing networks into smaller subnets, it combines multiple networks into a larger supernet.
Supernetting is essential in large networks and service provider environments where routing tables can contain thousands of routes. By summarizing routes, network administrators can reduce memory usage, improve routing performance, and minimize routing update traffic. Understanding supernetting is crucial for efficient network design and optimization.
How Supernetting Works
Supernetting works by finding the common network prefix shared by multiple networks:
- Convert all network addresses to binary
- Find the longest common prefix (leftmost matching bits)
- Count the number of matching bits - this becomes the supernet CIDR
- The supernet address is the common prefix with remaining bits set to 0
The supernet must include all original networks. If networks don't share a common prefix, they cannot be summarized together.
Benefits of Route Summarization
Reduced Routing Table Size
Summarization reduces the number of routes in routing tables. Instead of 100 individual routes, you might have 1 summarized route covering all 100 networks.
Improved Routing Performance
Smaller routing tables mean faster route lookups and less memory usage. This improves router performance and scalability.
Reduced Routing Updates
When a summarized route changes, only one route update is needed instead of multiple updates for individual networks.
Network Stability
Changes to individual networks within a summary don't trigger routing updates outside the summarized area, improving network stability.
Practical Applications
Service Provider Networks
ISPs use route summarization extensively to reduce BGP routing table size. Summarizing customer routes reduces global routing table growth.
Enterprise Networks
Large organizations summarize routes at area boundaries (e.g., OSPF areas) to reduce routing table size and improve performance.
Network Design
Hierarchical network design uses summarization at each level. Access layer routes are summarized at distribution layer, distribution routes at core layer.
Route Redistribution
When redistributing routes between routing protocols, summarization reduces the number of routes injected into the target protocol.
Real-World Examples
Example 1: Multiple /24 Networks
Networks: 192.168.1.0/24, 192.168.2.0/24, 192.168.3.0/24:
192.168.1.0 = 11000000.10101000.00000001.00000000
192.168.2.0 = 11000000.10101000.00000010.00000000
192.168.3.0 = 11000000.10101000.00000011.00000000
Common prefix: 11000000.10101000.000000 (22 bits)
Supernet: 192.168.0.0/22
Covers 192.168.0.0 through 192.168.3.255
Example 2: Route Table Reduction
Summarizing 16 /24 networks into one /20:
Before: 16 routes
After: 1 route
Reduction: 93.75% fewer routes
Important Considerations
Contiguous Networks
Networks must be contiguous (sequential) to be summarized effectively. Non-contiguous networks may require multiple summary routes or cannot be summarized.
Subnet Mask Alignment
Networks must align on bit boundaries for proper summarization. Networks with different subnet masks may not summarize cleanly.
Route Specificity
More specific routes (longer prefixes) take precedence over less specific routes. Ensure summarized routes don't accidentally include unwanted networks.
Summarization Boundaries
Summarization should occur at area or autonomous system boundaries. Summarizing within an area can cause routing problems.
Tips for Using This Calculator
- Enter network addresses in CIDR notation (e.g., 192.168.1.0/24), one per line
- Calculator finds the longest common prefix and calculates supernet
- Results show supernet address, CIDR, subnet mask, and wildcard mask
- Networks must be contiguous for effective summarization
- Verify that supernet includes all intended networks and no unintended ones
- Use for route table optimization and hierarchical network design
- Always verify critical calculations independently, especially for network design
Common Pitfalls
Summarizing non-contiguous ranges. A common mistake is trying to summarize 192.168.1.0/24 and 192.168.3.0/24 together. The shortest prefix that covers both (/22) also includes 192.168.0.0/24 and 192.168.2.0/24 — two extra networks that may not belong to you. The result advertises ranges you don't own, black-holing traffic. Only summarize contiguous blocks, or accept the extra reachability.
Boundary misalignment. Networks must start at an address divisible by the block size. 10.0.1.0 through 10.0.4.0 cannot summarize to one prefix because the block doesn't align on a power-of-two boundary. The smallest clean summary that covers 10.0.0.0–10.0.7.255 is 10.0.0.0/21. Check boundaries by converting the starting address to binary.
Auto-summarization footguns. EIGRP and RIPv1 historically auto-summarized at classful boundaries, producing broken routing across discontinuous subnets. Always disable auto-summary (no auto-summary on Cisco EIGRP/RIPv2) and configure explicit summary addresses at deliberate boundaries — typically ABRs in OSPF, or boundary routers between IGP and BGP.
Overly aggressive summarization. Summarizing to /0 (the default route) hides everything behind that route. If one of the covered networks goes down, the router still advertises the summary, silently black-holing traffic to the dead network. Use discard/null routes on the summarizing router to drop unknown destinations within the summary range rather than forwarding them.
Forgetting the more-specific override. Summary routes are overridden by more-specific routes anywhere in the network. If you summarize 10.0.0.0/22 but a rogue device advertises 10.0.1.0/24, traffic to that /24 bypasses your summary. Use the Subnet Calculator to verify the actual range each prefix covers.
Frequently Asked Questions
What's the smallest supernet that covers my four /24 networks?
Convert the lowest and highest network addresses to binary and find the longest common leading bit pattern. For 192.168.0.0 through 192.168.3.0, the first 22 bits match, giving /22. For 192.168.4.0 through 192.168.7.0 you also get /22, but covering a different range. This calculator finds the answer automatically when you paste the list.
Can I summarize across public IP boundaries?
Only if you actually hold the full range. Summarizing 203.0.113.0/24 and 203.0.114.0/24 into 203.0.112.0/22 advertises 203.0.112.0/24 and 203.0.115.0/24 — blocks you don't own. Upstream providers will either filter your announcement or, worse, the traffic for those ranges will be silently attracted to you.
How is supernetting different from CIDR?
CIDR (Classless Inter-Domain Routing) is the addressing and notation scheme; supernetting is the technique of aggregating prefixes into shorter ones under CIDR. Both were introduced together in RFC 1519 (1993) to slow IPv4 routing-table growth. "Summarization" is the more common modern term; "supernetting" shows up in older CCNA-style material.
Where should I apply summarization in a hierarchical network?
At every tier boundary going up. OSPF summarizes at ABRs (area borders) via area range. EIGRP summarizes on the outbound interface with ip summary-address. BGP summarizes at the AS edge with aggregate-address. The access → distribution → core pattern lets each layer advertise one prefix covering everything below it.
Does summarization help with IPv6?
Yes — probably more so. IPv6 allocations are designed for aggregation (an ISP gets a /32, assigns /48s to customers, and each customer subnets into /64s). Proper aggregation keeps the global IPv6 routing table under ~200k entries despite the vast address space. Without it, the table would explode as IPv6 deployment scales.
Related Calculators
Combine supernetting with other network tools:
- Subnet Calculator — verify each network within your summary range.
- VLSM Calculator — subdivide a summary block into variable-sized subnets.
- IP Converter — convert addresses to binary to find common prefixes manually.
- Wildcard Mask Calculator — generate ACL entries for your summarized prefix.
- Bandwidth Calculator — estimate link utilization across aggregated routes.
Disclaimer
This calculator is provided for educational and informational purposes only. While we strive for accuracy, users should verify all calculations independently, especially for critical applications. Route summarization requires careful planning to avoid routing loops and connectivity issues. We are not responsible for any errors, omissions, or damages arising from the use of this calculator.
Also in Technical
- → ACL Wildcard Tester — Test whether IPs match a Cisco ACL wildcard mask. Step-by-step binary breakdown and multi-IP match table.
- → Bandwidth Calculator — Calculate data transfer time, throughput, and bandwidth requirements
- → Base64 Encoder/Decoder — Encode and decode Base64 strings
- → Color Code Converter — Convert between HEX, RGB, and HSL color formats