Route Summarization: A Step-by-Step Supernetting Guide

As enterprise networks grow, so do their routing tables. If a core router has to memorize the individual paths to thousands of small /24 or /28 networks, its CPU and RAM will quickly become overwhelmed, leading to dropped packets and network latency.

The solution is Route Summarization, also known as Supernetting. By mathematically combining multiple smaller, contiguous networks into a single large route, engineers can drastically reduce the size of routing tables. Let's break down exactly how it works.

What is Supernetting?

Supernetting is the exact opposite of subnetting. Instead of borrowing host bits to create more networks, supernetting borrows network bits to create more hosts (and merge networks together). This results in a subnet mask that is smaller than the default classful mask.

The Golden Rules of Route Summarization

  • Contiguity: The networks you are summarizing must be contiguous (sequential). You cannot summarize 10.0.1.0 and 10.0.5.0 without also including networks 2, 3, and 4.
  • Powers of Two: You should always try to summarize networks in blocks of 2, 4, 8, 16, etc.
  • Boundary Alignment: Networks must align on proper binary boundaries. If you summarize networks that cross an irregular boundary, you risk "over-summarization" (advertising routes that don't actually exist).

Calculate Summary Routes Instantly

Don't risk network outages by miscalculating binary boundaries. Paste your network list into our Supernetting tool to find the perfect summary route.

Open the Free Supernetting Calculator →

Step-by-Step Example

Let's say a branch office has four networks that need to be advertised back to the core data center over an OSPF link:

  • 192.168.4.0/24
  • 192.168.5.0/24
  • 192.168.6.0/24
  • 192.168.7.0/24

Step 1: Convert to Binary

Focus on the third octet, since the first two (192.168) are identical across all four networks.

4 = 00000100
5 = 00000101
6 = 00000110
7 = 00000111

Step 2: Find the Matching Bits

Look at the binary values above from left to right. Notice that the first six bits (000001) are exactly the same for all four networks. The bits only start changing at the 7th position.

Step 3: Calculate the New Subnet Mask

The first two octets perfectly matched, which is 16 bits (8+8). We found 6 matching bits in the third octet.
16 + 6 = 22.

Your summarized route is 192.168.4.0/22.

Instead of the router advertising four separate /24 networks, it now only advertises one single /22 network, saving valuable memory and bandwidth!