Netmatics Supernet Calculator

Netmatics Supernet Calculator can analyze a set of addresses and calculate supernets. Supernetting, also known as route summarization or aggregation, is required in large networks to keep routing table size manageable and latency low. It is one of the key goals of design and planning for network scalability. The calculator is easy to use and this tutorial shows its features.

As the name suggests ‘supernetting’ is the reverse of ‘subnetting’ that divides a large network into smaller networks or subnets. In supernetting smaller networks in routing table are aggregated into a larger network so fewer routes have to be advertised and maintained in remote routers. The technique requires routing protocol to support CIDR and variable length masks.

Let’s look at a simple example to explain the concept. Suppose a routing table shows following 4 subnets connected to interfaces of a router:

These subnets can be represented by one address, which is the supernet in this case, and meets the following two conditions:

  1. All addresses in any one of the four subnets, with prefix /24, are in
  2. All addresses in will be in one of the four subnets.

With this information instead of advertising routes to the four subnets individually the router can just advertise and the remote routers store just the supernet address instead of routes to all four subnet.

The Netmatics Supernet Calculator calculates supernets that meet the two conditions above for a given set of subnet addresses.   For those interested to learn how to manually calculate supernets there is a good blog entry at Subnetting Made Easy blog by Chris Bloomfield.

Now lets look at 3 examples of supernetting using the calculator.

Example 1: Let’s start with a simple example where the addresses neatly fit in a Supernet. Find the supernet for the following 8 subnets

Using the tool is very simple – just copy or enter the list of addresses to be aggregated in the input box, click the aggregate button and we get the route summary, as shown in figure 1:

Figure 1

The Route Summary outputs the supernet addresses, in bold.  You can click the icon beside to expand or collapse the subnet addresses contained in the supernet address.

Example 2: We will now look at an example where the addresses that we want to aggregate do not fit in one supernet address – often the case in real life so lets see what to expect from the tool.

Supernetting Example 2

Figure 2

As shown in the Route Summarization Table

  • does not fit and must remain as is.
  • is the supernet of and
  • is the supernet of to

The tool has summarized the 7 routes into 3.

Example 3: Lets consider one more example where subnet addresses have different prefix. Find the supernet of

Simply enter these addresses in the input box and click the ‘Aggregate’ button.

Following screen shot shows the input and output.

Supernet Tutorial Example 3

Figure 3

The calculated supernet is because the tool is able to detect that is the supernet of and, which have the same prefix as the other two subnets.

Give it a test drive – you may find it useful.

About Furrukh Fahim
A software engineer and a carpenter interested in making useful things, be it a software solution or a pergola.

One Response to Netmatics Supernet Calculator

  1. Fahad says:

    i hope this route summarization could have it on android application

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: