CIDR / supernet calculator
Combine contiguous networks into one summary route to keep routing tables small.
Runs on your device · nothing is uploaded
What is route summarisation?
Summarisation (supernetting) is the reverse of VLSM: instead of splitting a block into smaller subnets, you combine several contiguous networks into one larger prefix. A router can then advertise one route instead of many, which keeps routing tables smaller and hides changes inside the summarised block.
Single summary vs exact summary
- Single summary route is the smallest one prefix that covers every network you entered. If your networks have gaps, it also covers addresses you don't own, which could attract traffic for them.
- Exact summary is the fewest prefixes that cover exactly your networks and nothing else.
Example: 192.168.0.0/24 to 192.168.3.0/24 summarise perfectly to 192.168.0.0/22, because four /24s are one /22 and they start on a /22 boundary.
How to work out a summary by hand
- Write the networks in binary, at least the octet where they differ.
- Count how many leading bits they all share. That count is the prefix length.
- Keep the shared bits and set the rest to 0: that is the summary address.
Example: 10.1.4.0/24 to 10.1.7.0/24. In the third octet, 4 is 00000100 and 7 is 00000111. The first six bits match, so the prefix is 16 + 6 = /22, and the summary is 10.1.4.0/22.
When a summary covers too much
Try 10.1.3.0/24 to 10.1.6.0/24. The only single route that covers them is 10.1.0.0/21, which also includes .0, .1, .2 and .7 that you don't own. The exact summary is three routes: 10.1.3.0/24, 10.1.4.0/23 and 10.1.6.0/24. This is why addressing plans that give each site a neat, aligned block make life much easier.
Where engineers use summaries
- OSPF:
area rangeon area border routers. - EIGRP:
summary-addresson an interface. - BGP:
aggregate-addressto advertise one prefix to a provider. - Firewalls and ACLs: one object instead of a long list of networks.
Read more in route summarisation made simple.