Router summarization question

in CCNA & CCENT
Hi,
I'm currently studying for my CCNA and I'm struggling with router summarization.
Have look at this example:
In my book they say that you can summarize addresses when the number of addresses is a power of 2.
I know how summarization works but I don't understand why the addresses from the router in the upper left corner can be summarized. There are 3 subnets and to my knowledge, 3 is not a power of 2. So, why can they be summarized? And if they can be summarized, why can't the subnets from the router in the bottom left corner be summarized?
Thanks in advance for your help
I'm currently studying for my CCNA and I'm struggling with router summarization.
Have look at this example:
In my book they say that you can summarize addresses when the number of addresses is a power of 2.
I know how summarization works but I don't understand why the addresses from the router in the upper left corner can be summarized. There are 3 subnets and to my knowledge, 3 is not a power of 2. So, why can they be summarized? And if they can be summarized, why can't the subnets from the router in the bottom left corner be summarized?
Thanks in advance for your help
Comments
Always keep this in mind when summarizing addresses. For the CCNA exam, be very careful with this on exam day.
I understand what's explained in the video but I'm still having difficulties with the words contiguous and discontiguous. Is there an easy way to see if networks are contiguous (or discontiguous)?
Personally,
i recommend that you cease using the term "networks". In my opinion, it's somewhat too vague when it comes to learning this stuff.
Instead, use the term "Subnet".
So, you want some examples of contiguous subnets.
Here's an example :
(assume a tradational Subnet mask of 255.255.255.0)
192.168.1.0
192.168.2.0
192.168.3.0
192.168.4.0
There you have it.
I just listed 4 contiguous subnets.
Just by 'eyeballing' it... i think you can see WHY they are contiguous.
So how about a discontiguous example:
(again, assume a 255.255.255.0 sub-mask)
192.168.1.0
192.168.2.0
192.168.4.0
192.168.5.0
Do you see the difference?
In this example, there is block of ip addresses that is missing; the 192.168.3.0 subnet.
Thus,
these 4 subnets are NOT contiguous.
I hope that my example made sense.
subnet 172.16.1.128/26 ranges from 172.16.1.128 to 172.16.1.191 and has an increment of 64 in the 4th octet
subnet 172.16.1.192/26 ranges from 172.16.1.192 to 172.16.1.255 and has an increment of 64 in the 4th octet
subnet 172.16.1.2.0/27 ranges from 172.16.2.0 to 172.16.2.255 and has an increment of 1 in the 3rd octet
I don't see any "skipped" subnet. So, I don't understand why they are discontiguous. I am surely missing something but I don't know what.
Hmmm... i see what you mean.
And, in fact, i agree with your logic.
I would argue that the 3 subnets ARE contiguous.
Additionally, if you asked me to SUMMARIZE them under a single route....
the summarization would be (i made up "serial 1/0" just to use as an example)
Of course, this Summarization would actually include all addresses from
172.16.0.0 - 172.16.3.255
(after some reflective thought):
Hmmm...
so my summarization is Overly-Broad.
It is NOT an exact fit.
So perhaps that is why your material says it is Not contiguous?
Whatever.
Semantics.
It doesn't matter, imo.
What matters is that you understand HOW to summarize them together :]
I say you can summarize them, and you would do it with a --> 172.16.0.0/22
But what do i know! Perhaps someone else can point out my error?
For what it's worth, this level of detail was NOT on the ccent :]
Hopefully this clears up any confusion on this.