Hot Downloads

Welcome, Guest
Username: Password: Remember me

TOPIC: route summarization

route summarization 6 years 10 months ago #32832

  • lav_plsb1
  • lav_plsb1's Avatar
  • Offline
  • Frequent Member
  • Posts: 34
  • Karma: 0
Two routers R1 and R2 connected using serial
the networks connected to R1 router are mentioned below.
172.1.4.0/25
172.1.4.128/25
172.1.5.0/24
172.1.6.0/24
172.1.7.0/24
the R1 advertise its networks to R2 using Route summarization
According to above networks R1 advertise 172.1.4.0 and plz explain how to summarize the subnet mask.
The administrator has disabled public write access.

Re: route summarization 6 years 10 months ago #32845

  • S0lo
  • S0lo's Avatar
  • Offline
  • Moderator
  • Posts: 1577
  • Thank you received: 7
  • Karma: 3
You can summarize the above networks with 172.1.4.0/22. So how it's done, lets first convert the first two networks to binary (because they have the same netmask of /25):

10101100.00000001.00000100.0XXXXXXX /25
10101100.00000001.00000100.1XXXXXXX /25

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:

10101100.00000001.00000100.XXXXXXXX /24

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:

172.1.4.0/24

Now we have the following networks:

172.1.4.0/24
172.1.5.0/24
172.1.6.0/24
172.1.7.0/24

Again since all have the same subnet mask may be we can summarize further. So again we will find the binary of all:

10101100.00000001.00000100.XXXXXXXX /24
10101100.00000001.00000101.XXXXXXXX /24
10101100.00000001.00000110.XXXXXXXX /24
10101100.00000001.00000111.XXXXXXXX /24

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:

10101100.00000001.000001XX.XXXXXXXX /22

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:

172.1.4.0/22

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.
Studying CCNP...

Ammar Muqaddas
Forum Moderator
www.firewall.cx
The administrator has disabled public write access.

Re: route summarization 6 years 10 months ago #32846

  • lav_plsb1
  • lav_plsb1's Avatar
  • Offline
  • Frequent Member
  • Posts: 34
  • Karma: 0
Hi solo,

i am confused with different subnet mask. Thanks for your reply. your explanation is awesome.

Thnks.
The administrator has disabled public write access.

Re: route summarization 6 years 9 months ago #32894

  • sose
  • sose's Avatar
  • Offline
  • Honored Member
  • Posts: 813
  • Thank you received: 4
  • Karma: 3
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

block sizes for class b IP

128 -- /17
64 -- /18
32 -- /19
16 -- /20
8 -- /21
4 -- /22


example

172.1.4.0/25
172.1.4.128/25
172.1.5.0/24
172.1.6.0/24
172.1.7.0/24

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

172.1.4.0/22

you see easier than taking candy
go through your block size again
sose
Network Engineer
analysethis.co/index.php/forum/index
The administrator has disabled public write access.
Time to create page: 0.082 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup