Route Summarization Calculator

Write one prefix per line. Adjacent prefixes of the same length fold into one shorter aggregate. IPv4 and IPv6 are summarized separately.

Prefixes to summarize

One prefix per line, such as 10.0.0.0/24. Each address is normalized to the network boundary of that prefix.

Leave blank for no floor. Enter 24 to stop a /24 from folding into a /23.

Summary

Aggregates0
Routes removed0

Aggregate routes

    Duplicate or covered

      Before you advertise

        Limits
        • The summary follows address adjacency. It does not look at whether those routes exist in a network.
        • A shorter aggregate covers address space that was not in the list. Confirm that space should not be advertised before you publish the summary.
        • IPv4 and IPv6 stay separate.
        • The shortest prefix length stops further aggregation. It is not a router command.
        How summarization works

        Route summarization folds several longer prefixes into fewer, shorter ones. The routing table and the routes you advertise get smaller. A fold depends on whether the addresses sit in the same parent network, not on whether the names look similar.

        1. Each prefix is normalized to its network address. 10.0.0.5/24 is written as 10.0.0.0/24.
        2. A prefix already covered by a shorter one is not advertised on its own. 10.0.0.0/25 is redundant once 10.0.0.0/24 is present.
        3. Remaining prefixes of the same length that are the pair inside one parent fold into that shorter prefix. 10.0.0.0/24 and 10.0.1.0/24 become 10.0.0.0/23.
        4. The step repeats until nothing else folds. If they become one route, that one route is the result. 10.0.1.0/24 and 10.0.2.0/24 are not a pair, so they stay as more than one route.
        5. IPv4 and IPv6 are summarized separately.

        A shorter prefix covers addresses that were not in the list. Confirm that space should not be advertised before you publish the summary.

        Questions

        Do two /24s always become a /23?

        Only when they are the pair inside one /23. 10.0.1.0/24 and 10.0.2.0/24 are not that pair, so they do not become 10.0.0.0/22.

        Can the result be pasted into a routing protocol?

        No. The result only compares address blocks. Advertising it, and keeping longer-prefix exceptions, still depends on the topology and the equipment notes.

        ENGINEERING WORKFLOW

        Continue the engineering workflow

        Current workflowEnterprise LAN & IP Planning Workflow

        Plan addressing, VLAN capacity, packet size, uplinks, optics, access policy and DNS behavior as one LAN design sequence.

        Step 12 of 12

        Related tools