Two routers R1 and R2 connected using serial
the networks connected to R1 router are mentioned below.
the R1 advertise its networks to R2 using Route summarization
According to above networks R1 advertise 18.104.22.168 and plz explain how to summarize the subnet mask.
Re: route summarization
8 years 9 months ago #32845
X's here means the host bits which can be 0 or 1. You can see that the first bit of the 4th octet is 0 in the first network and 1 in the second network. This means that those two networks can be summarized by one network looking like this:
In other words turn the changing bit into an X and subtract 1 from the subnet mask (i.e 25 - 1 = 24). Back to decimal gives us:
Notice how the two last bits of the 3rd octet are changing. All combinations are there. 00, 01, 10 and 11. There are no more combinations for 2 bits. This means that those four networks can be summerized by one network looking like this:
In other words, turn the two changing bits into XX and subtract 2 from the subnet mask (i.e 24 - 2 = 22). Turning it back to decimal we get:
You can do this for 3,4,5.....etc changing bits. The thing that you have to make sure of is that ALL COMBINATIONS ARE PRESENT IN THE CHANGING BITS. Ofcourse, the networks that you want to summarize need to have the SAME subnet mask too.
This looks too lengthy only because I'm trying to explain it. You can do it much faster once you get used to it.
This question is an extract from Todd Lammle 6th edition
there is what we call block size or magic number, when you get it then you can summarize off hand . the block size give s a subnet mask that captures all listed networks. the only draw back to the block size methodology is that it can advertise route not actually available in the internal network. to solve this you have to choose a smaller block size that will leave fewer networks to be advertised induvidually
this is a class b IP, the third octet is call the interesing octet, because it is the octet that numbers start to differ 4,5, 6 etc. so it is the block size of 4 that can capture all the numbers in that octet. therefore your answer is the first IP which is
you see easier than taking candy
go through your block size again