Route Summarization

Hi Rene,

Regarding the below example , how are you determining that the block size is 64? Also 172 is a class B address. How it is having /24 which is a class C address.?
Can you pls explain?

172.16.10.0/24
172.16.20.0/24
172.16.30.0/24
172.16.40.0/24
172.16.50.0/24

Ananth
Classful addressing is considered out of date meaning that nobody cares about it any more. So while technically 172.x.x.x used to be called Class B, there is no reason you can’t further subnet it–this is called Variable Length Subnet Mask (VLSM). In modern networks, class A vs B vs C really doesn’t mean anything anymore.

Now, as far as why the block size in your example is 64 … If you read my post about two above yours ----^ I gave an explanation on how I personally do subnetting. So, let’s apply what I said there to your example.

Start by determining what size our subnet needs to cover. In your case, you want the third octet to range from 10 - 50. This means the whatever block size we come up with has to be at least 40 (50 minus 10). Now, let’s apply the formula I talked about: 2^x >= 40, so that reads: “two to the Xth power is greater than or equal to 40.” Solve for X …

If we choose X = 5, we know that is too small because 2 to the 5th power = 32.
If we choose x = 6, we know this is big enough, because 2 to the 6th power = 64.

This is how we came up with 64. The summary address would be 172.16.0.0 255.255.192.0, or 172.16.0.0/18

Thanks, Andrew. But Rene had mentioned the summary address as 172.16.0.0/18. Can you pls clarify here?

Oops! I made a mistake. The calculation of 6 (which means 6 bits are required for the summarization) is correct, but I applied those six bits to the “host” portion of the subnet mask and not the “network” portion. I have corrected my original post–thanks for pointing that out.

Hi Rene,

Would appreciate if you could bring out the difference between CIDR, Summarization and Supernetting.

Vikas,
CIDR and Supernetting are the same thing. This is where you can aggregate networks together into larger networks beyond their natural network boundary.

Although Supernetting/CIDR might be considered a type of summarization, “summarization” generally is considered to be constrained by natural (classful) network boundaries. The distinction is somewhat subtle. Suppose you have the following:

192.168.1.0/28
192.168.1.16/28

These could be summarized as 192.168.1.0/27 because /27 is smaller than the natural /24 boundary.

Now, if you had this:
192.168.0.0/24
192.168.1.0/24

The supernet (or CIDR) of these would be 192.168.0.0/23 because /23 is greater than the natural /24 boundary.

1 Like

19 posts were merged into an existing topic: Route Summarization

2 posts were merged into an existing topic: Subnetting in Decimal (Fast Way)

Hello Rene, Thanks for explaining the Summarization in a simple way.

I have a question regarding the example you used.
Let’s look at another example. Let’s say we want to summarize the following networks:

172.16.0.0 / 16 subnet mask 255.255.0.0
172.17.0.0 / 16 subnet mask 255.255.0.0
172.18.0.0 / 16 subnet mask 255.255.0.0
172.19.0.0 / 16 subnet mask 255.255.0.0
172.20.0.0 / 16 subnet mask 255.255.0.0
172.21.0.0 / 16 subnet mask 255.255.0.0
172.22.0.0 / 16 subnet mask 255.255.0.0
172.23.0.0 / 16 subnet mask 255.255.0.0

using the binary method it is clear that the subnet mask is 255.248 or in CIDR /13 i.e.
The summary address will be 172.16.0.0 /13 (subnet mask will be 255.248.0.0).
using the number of networks also it is clear as 8 networks so 256 - 8 is 248

However when we use the block size method .

128 64 32 16 8 4 2 1
then block size 32 is covering all the networks and 256 - 32 = 224 so the subnet is coming as 255.224.0.0 and the range is 172.0.0.0 - 172.31.0.0 and all 8 networks are coming in this range.

where as with 8 block size we can have network from 172.0.0.0 - 172.15.0.0 and it is not covering all networks.

also, want to know if my understanding is not correct then on what section should i go back to study it more.

Also, why you are consider summary as 172.16.0.0 / 13

as the changes are happening in the second octet and first octet is not changing so is the summary below is correct ???

172.0.0.0 / 11

Hello Andrew,

Thanks for explaining difference between Supernetting and summarization.
but still having confusion and not able to grasp it completely.
Is is possible if you can explain with some examples and using the same example both summarization and supernetting. like for
192.168.1.0/28
192.168.1.16/28
what will be summarization and what will be supernetting.

Hello Tejpal

For this particular example, the number of networks is once again 8, not 32. We are looking at it from the point of view of the second octet and not the third as is the case in the previous example. So using 8, we have 256-8 = 248, so the subnet mask would be 255.248.0.0, once again, focusing on the second octet. This would result in 172.16.0.0 255.248.0.0 or 172.16.0.0/13 which encompasses IP addresses between 172.16.0.0 to 172.23.255.255.

An 8 block size will give us a subnet mask of 255.248.0.0 which will cover networks from

  • 172.0.0.0 to 172.7.255.255
  • 172.8.0.0 to 172.15.255.255
  • 172.16.0.0 to 172.23.255.255
  • etc

Notice that the third point is indeed the subnet we are looking for.

Actually, Rene states the following:

The summary address will be 172.16.0.0 /13 (subnet mask will be 255.248.0.0).

I hope this has been helpful!

Laz

Hello Tejpal

Supernetting and summarization are similar operations, but are applied differently to networks. If you have two networks such as the ones you mentioned in your post, the summarization of the two will be: 192.168.1.0/27. This represents two separate and distinct networks as they are shown in your post. Now this can be used in a routing table to represent these two networks with a single routing table entry.

Supernetting on the other hand is the actual concatenation of networks, that is, changing the configuration of the devices found in these two subents so that the two sets of devices are no longer on two different subnets but on one subnet, the supernet of the two. So devices in such a network will change their subnet masks from /28 to /27 and any other default gateway addresses that may need changing as well.

So summarization is the representation of multiple networks with a single statement.
Supernetting is the act of actually concatenating multiple existing subnets into a single subnet or supernet.

I hope this has been helpful.

1 Like

OK, Thanks Lazaros for your reply and it helps me understanding it in a more better way. :blush:
Please let me know if my answer is correct regarding the explanation give below :
so, if i understand correctly then the reason as why the summary address used is 172.16.0.0/13
and not 172.17.0.0/13 or 172.18.0.0/13 or any other network because if we use the subnet /13 then
the network starts with 172.16.0.0 and the first usable IP address is 172.16.0.1 and the last usable IP address is 172.16.23.255.254 and broadcast address 172.23.255.255
Please let me know if my above statement is true for selecting 172.16.0.0/13 as the summary address.

Thanks, Lazaros. Just want to clear one more thing regarding the subnet 172.16.0.0 - 172.23.255.255

Please let me know the order in which IP address increase for this subnet is correct.
172.16.0.1, 172.16.0.2, ,172.16.0.255 ( first the value of 4th Octet will increase and once it becomes
255 the value of 3rd octet will increase from 0 to 1)
172.16.0.255, 172.16.1.1 ,172.16.1.255, 172.16.2.1, 172,16,2,2 , 172.16.2.255, 172.16.3.1, 172.16.3.2, 172,16,3,3 , 172,16,253.255, 172.16.254.255, 172.16.255.255
172.16.255.255, 172.17.1.1 --------------- 172.17.1.255 (now the 4th and 3rd octet becomes 255 then the
2nd octet value changed to 17 from 16 )
,
172.22.255.255, 172.23.1.1, 172.23.1.2 ,172.23.151, 155, 172.23.252.255, 172.23.253.255, 172.23.254.255, 172.23.255.255

so first 4th octet value increases and then once it becomes 255 then the third octet value increases
and when both 4th and 3rd octet Values become 255 then the 2nd octet value increases.
Please, guide if the above statement and the IP addresses are used in the correct order.

Sorry Lazaros, disturbing again but can you explain how summarization is 192.168.1.0/27 for

192.168.1.0 /28
192.168.1.16/28

as with 16 block size i.e. with subnet /28 also it will cover network 192.168.1.0 -192.168.1.15, 192.168.1.16 - 192.168.1.31, 192.168.1.32 - 192.168.1.48,

so did not know why you take 32 block size and subnet as /27 for the summarization

Hello Tejpal

Yes, you are absolutely correct. It looks like you’ve grasp the concept well!

Laz

Hello Tejpal

Yes, you are correct once again. Just a small little issue, after 172.16.255.255 comes 172.17.0.0, 172.17.0.1 etc… Don’t forget the 0 values in the octets as well!

I hope this has been helpful!

Laz

Hello Again Tejpal

The /28 prefix provides 16 addresses while the /27 provides 32. The two address spaces of 192.168.1.0/28 and 192.168.1.16/28 together make a single /27 address space. This means that both can fit into the 192.168.1.0/27 summary.

If you look at the 192.168.1.0/27 summary, you’ll see that the first address is 192.168.1.0 and the last is 192.168.1.31 which encompasses both subnets.

I hope this has been helpful!

Laz

How come we do not use a block size of 4?

Hello Rick

A block size of four would cover the addresses first four networks, that is 192.168.0.0 - 192.168.3.255, but here we have five blocks of /24 addresses. In order to cover this we need a block of eight, to include that one extra address block.

I hope this has been helpful!

Laz

1 Like