ccnaexp6
Transcript of ccnaexp6
![Page 1: ccnaexp6](https://reader034.fdocuments.in/reader034/viewer/2022052516/577cd10f1a28ab9e78938417/html5/thumbnails/1.jpg)
8/13/2019 ccnaexp6
http://slidepdf.com/reader/full/ccnaexp6 1/41
Chapter 6 VLSM and CIDR
![Page 2: ccnaexp6](https://reader034.fdocuments.in/reader034/viewer/2022052516/577cd10f1a28ab9e78938417/html5/thumbnails/2.jpg)
8/13/2019 ccnaexp6
http://slidepdf.com/reader/full/ccnaexp6 2/41
Classful and Classless
Addressing Classful IP Addressing
Classful Routing Protocols
Classless IP Addressing
Classless Routing Protocols
![Page 3: ccnaexp6](https://reader034.fdocuments.in/reader034/viewer/2022052516/577cd10f1a28ab9e78938417/html5/thumbnails/3.jpg)
8/13/2019 ccnaexp6
http://slidepdf.com/reader/full/ccnaexp6 3/41
3
Classful and Classless Routing Protocols
Routing protocols:
classful or classless. This is a result of the evolution from classful to classless IPv4
addressing.
As networks began to use classless addressing, classless routing
protocols had to be modified or developed to include the subnet
mask in the routing update.
![Page 4: ccnaexp6](https://reader034.fdocuments.in/reader034/viewer/2022052516/577cd10f1a28ab9e78938417/html5/thumbnails/4.jpg)
8/13/2019 ccnaexp6
http://slidepdf.com/reader/full/ccnaexp6 4/41
4
Classful IP Addressing
When the ARPANET was commissioned in 1969, no one anticipated thatthe Internet would explode out of the humble beginnings of this researchproject.
Over the next decade, the number of hosts on the Internet grewexponentially, from 159,000 in October 1989 to over 72 million by the end ofthe millennium.
As of January 2007, there were over 433 million hosts on the Internet.
Without the introduction of VLSM and CIDR notation in 1993 (RFC 1519),Network Address Translation (NAT) in 1994 (RFC 1631), and private
address ing in 1996 (RFC 1918), the IPv4 32-bit address space would nowbe exhausted.
![Page 5: ccnaexp6](https://reader034.fdocuments.in/reader034/viewer/2022052516/577cd10f1a28ab9e78938417/html5/thumbnails/5.jpg)
8/13/2019 ccnaexp6
http://slidepdf.com/reader/full/ccnaexp6 5/41
5
High-Order Bits
In the original specification of IPv4 (RFC 791), released in 1981, the
authors established the classes to provide three different sizes of
networks for large, medium, and small organizations.
As a result, Class A, B, and C addresses were defined with a
specific format for the high -order bits .
![Page 6: ccnaexp6](https://reader034.fdocuments.in/reader034/viewer/2022052516/577cd10f1a28ab9e78938417/html5/thumbnails/6.jpg)
8/13/2019 ccnaexp6
http://slidepdf.com/reader/full/ccnaexp6 6/41
6
IPv4 Classful Addressing Structure
RFC 790 (released with RFC 791).
Subnet mask for a network is determined based on its class.
Only choices were networks with very large number of hosts, large numberof hosts, or few number of hosts.
No medium sized networks
Only these three choices.
16,384
![Page 7: ccnaexp6](https://reader034.fdocuments.in/reader034/viewer/2022052516/577cd10f1a28ab9e78938417/html5/thumbnails/7.jpg)
8/13/2019 ccnaexp6
http://slidepdf.com/reader/full/ccnaexp6 7/41
7
Classful Routing Protocol
Routing protocols, such as RIPv1, only needed to propagate the network
address, not the subnet mask.
Subnet mask of a network address could be determined by the value of the
first octet (or more accurately, the first 3 bits of the address).
The subnet mask was directly related to the network address.
![Page 8: ccnaexp6](https://reader034.fdocuments.in/reader034/viewer/2022052516/577cd10f1a28ab9e78938417/html5/thumbnails/8.jpg)
8/13/2019 ccnaexp6
http://slidepdf.com/reader/full/ccnaexp6 8/41
8
Moving Toward Classless Addressing
By 1992, members of the IETF had serious concerns about the exponential
growth of the Internet and the limited scalability of Internet routing tables.
They were also concerned with the eventual exhaustion of 32-bit IPv4
address space.
1993, IETF introduced classless interdomain routing (CIDR) (RFC 1517).CIDR allowed the following:
More efficient use of IPv4 address space
Pref ix aggregat ion , which reduced the size of routing tables
![Page 9: ccnaexp6](https://reader034.fdocuments.in/reader034/viewer/2022052516/577cd10f1a28ab9e78938417/html5/thumbnails/9.jpg)
8/13/2019 ccnaexp6
http://slidepdf.com/reader/full/ccnaexp6 9/41
9
Moving Toward Classless Addressing
To CIDR-compliant routers, address class is meaning less .
The network portion of the address is determined by the network subnetmask, also known as the:
network pref ix , or
prefix length (/8, /19, and so on).
The network address is no longer determined by the class of the address.
ISPs could now more efficiently allocate address space using any prefixlength, starting with /8 and larger (/8, /9, /10, and so on).
ISPs were no longer limited to a /8, /16, or /24 subnet mask.
Blocks of IP addresses could be assigned to a network based on therequirements of the customer, ranging from a few hosts to hundreds or
thousands of hosts.
![Page 10: ccnaexp6](https://reader034.fdocuments.in/reader034/viewer/2022052516/577cd10f1a28ab9e78938417/html5/thumbnails/10.jpg)
8/13/2019 ccnaexp6
http://slidepdf.com/reader/full/ccnaexp6 10/41
10
11111111.00000000.00000000.00000000 /8 (255.0.0.0) 16,777,216 host addresses
11111111.10000000.00000000.00000000 /9 (255.128.0.0) 8,388,608 host addresses
11111111.11000000.00000000.00000000 /10 (255.192.0.0) 4,194,304 host addresses
11111111.11100000.00000000.00000000 /11 (255.224.0.0) 2,097,152 host addresses
11111111.11110000.00000000.00000000 /12 (255.240.0.0) 1,048,576 host addresses
11111111.11111000.00000000.00000000 /13 (255.248.0.0) 524,288 host addresses
11111111.11111100.00000000.00000000 /14 (255.252.0.0) 262,144 host addresses
11111111.11111110.00000000.00000000 /15 (255.254.0.0) 131,072 host addresses
11111111.11111111.00000000.00000000 /16 (255.255.0.0) 65,536 host addresses
11111111.11111111.10000000.00000000 /17 (255.255.128.0) 32,768 host addresses
11111111.11111111.11000000.00000000 /18 (255.255.192.0) 16,384 host addresses
11111111.11111111.11100000.00000000 /19 (255.255.224.0) 8,192 host addresses
11111111.11111111.11110000.00000000 /20 (255.255.240.0) 4,096 host addresses
11111111.11111111.11111000.00000000 /21 (255.255.248.0) 2,048 host addresses
11111111.11111111.11111100.00000000 /22 (255.255.252.0) 1,024 host addresses
11111111.11111111.11111110.00000000 /23 (255.255.254.0) 512 host addresses
11111111.11111111.11111111.00000000 /24 (255.255.255.0) 256 host addresses
11111111.11111111.11111111.10000000 /25 (255.255.255.128) 128 host addresses
11111111.11111111.11111111.11000000 /26 (255.255.255.192) 64 host addresses
11111111.11111111.11111111.11100000 /27 (255.255.255.224) 32 host addresses
11111111.11111111.11111111.11110000 /28 (255.255.255.240) 16 host addresses
11111111.11111111.11111111.11111000 /29 (255.255.255.248) 8 host addresses
11111111.11111111.11111111.11111100 /30 (255.255.255.252) 4 host addresses
11111111.11111111.11111111.11111110 /31 (255.255.255.254) 2 host addresses
11111111.11111111.11111111.11111111 /32 (255.255.255.255) “Host Route”
![Page 11: ccnaexp6](https://reader034.fdocuments.in/reader034/viewer/2022052516/577cd10f1a28ab9e78938417/html5/thumbnails/11.jpg)
8/13/2019 ccnaexp6
http://slidepdf.com/reader/full/ccnaexp6 11/41
11
11111111.00000000.00000000.00000000 /8 (255.0.0.0) 16,777,216 host addresses
11111111.10000000.00000000.00000000 /9 (255.128.0.0) 8,388,608 host addresses
11111111.11000000.00000000.00000000 /10 (255.192.0.0) 4,194,304 host addresses
11111111.11100000.00000000.00000000 /11 (255.224.0.0) 2,097,152 host addresses
11111111.11110000.00000000.00000000 /12 (255.240.0.0) 1,048,576 host addresses
11111111.11111000.00000000.00000000 /13 (255.248.0.0) 524,288 host addresses
11111111.11111100.00000000.00000000 /14 (255.252.0.0) 262,144 host addresses
11111111.11111110.00000000.00000000 /15 (255.254.0.0) 131,072 host addresses
11111111.11111111.00000000.00000000 /16 (255.255.0.0) 65,536 host addresses
11111111.11111111.10000000.00000000 /17 (255.255.128.0) 32,768 host addresses
11111111.11111111.11000000.00000000 /18 (255.255.192.0) 16,384 host addresses
11111111.11111111.11100000.00000000 /19 (255.255.224.0) 8,192 host addresses
11111111.11111111.11110000.00000000 /20 (255.255.240.0) 4,096 host addresses
11111111.11111111.11111000.00000000 /21 (255.255.248.0) 2,048 host addresses
11111111.11111111.11111100.00000000 /22 (255.255.252.0) 1,024 host addresses
11111111.11111111.11111110.00000000 /23 (255.255.254.0) 512 host addresses
11111111.11111111.11111111.00000000 /24 (255.255.255.0) 256 host addresses
11111111.11111111.11111111.10000000 /25 (255.255.255.128) 128 host addresses
11111111.11111111.11111111.11000000 /26 (255.255.255.192) 64 host addresses
11111111.11111111.11111111.11100000 /27 (255.255.255.224) 32 host addresses
11111111.11111111.11111111.11110000 /28 (255.255.255.240) 16 host addresses
11111111.11111111.11111111.11111000 /29 (255.255.255.248) 8 host addresses
11111111.11111111.11111111.11111100 /30 (255.255.255.252) 4 host addresses
11111111.11111111.11111111.11111110 /31 (255.255.255.254) 2 host addresses
11111111.11111111.11111111.11111111 /32 (255.255.255.255) “Host Route”
ISPs no longer restricted to
three classes. Can now
allocate a large range of
network addresses based
on customer requirements
![Page 12: ccnaexp6](https://reader034.fdocuments.in/reader034/viewer/2022052516/577cd10f1a28ab9e78938417/html5/thumbnails/12.jpg)
8/13/2019 ccnaexp6
http://slidepdf.com/reader/full/ccnaexp6 12/41
12
CIDR and Route Summarization
Recall from Chapter 2, “Static Routing,” that you can create one
static route for multiple networks.
Internet routing tables were now able to benefit from the same type
of aggregation of routes.
The capability for routes to be summarized as a single route helped
reduce the size of Internet routing tables.
A supernet summarizes multiple network addresses with a maskless than the classful mask.
![Page 13: ccnaexp6](https://reader034.fdocuments.in/reader034/viewer/2022052516/577cd10f1a28ab9e78938417/html5/thumbnails/13.jpg)
8/13/2019 ccnaexp6
http://slidepdf.com/reader/full/ccnaexp6 13/41
13
CIDR and Route Summarization
The 192.168.0.0/20, summarized or aggregated route includes all thenetworks belonging to customers A, B, C, and D.
192.168.0.0/23, 192.168.2.0/23, 192.168.4.0/22, and 192.168.8.0/21 are allsubnets of 192.168.0.0/20
![Page 14: ccnaexp6](https://reader034.fdocuments.in/reader034/viewer/2022052516/577cd10f1a28ab9e78938417/html5/thumbnails/14.jpg)
8/13/2019 ccnaexp6
http://slidepdf.com/reader/full/ccnaexp6 14/41
14
CIDR and Route Summarization
Propagating VLSM and supernet routes requires a classless routing protocol,because the subnet mask can no longer be determined by the value of the first octet.
Although the network address is the same;
one is a subnet of the other.The subnet mask is required in the routing
update to determine the network portion of the
address.
The network portion of the address is used by
the routing table to know whether or not the
destination IP address of the packet is a
match with the route in the routing table.
A classless routing protocol includes the
subnet mask with the network address in the
routing update.
![Page 15: ccnaexp6](https://reader034.fdocuments.in/reader034/viewer/2022052516/577cd10f1a28ab9e78938417/html5/thumbnails/15.jpg)
8/13/2019 ccnaexp6
http://slidepdf.com/reader/full/ccnaexp6 15/41
15
Classless Routing Protocol
Classless routing protocols include the subnet mask with the
network address in their routing updates.
![Page 16: ccnaexp6](https://reader034.fdocuments.in/reader034/viewer/2022052516/577cd10f1a28ab9e78938417/html5/thumbnails/16.jpg)
8/13/2019 ccnaexp6
http://slidepdf.com/reader/full/ccnaexp6 16/41
16
Classless Routing Protocol
With a classless routing protocol:
Networks 172.16.0.0/16, 172.17.0.0/16, 172.18.0.0/16, and 172.19.0.0/16 can be
summarized as 172.16.0.0/14, known as a supernet . The /14 (255.252.0.0) subnet mask is included in the routing update.
With a classful routing protocol:
If R2 sends the 172.16.0.0 summary route without the /14 mask, R3 only knowsto apply the default classful mask of /16.
Classful routing protocols cannot send supernet routes because the receivingrouter will apply the default classful mask to the network address in the routing
update.
![Page 17: ccnaexp6](https://reader034.fdocuments.in/reader034/viewer/2022052516/577cd10f1a28ab9e78938417/html5/thumbnails/17.jpg)
8/13/2019 ccnaexp6
http://slidepdf.com/reader/full/ccnaexp6 17/41
VLSM
VLSM in Action
VLSM and IP Addresses
![Page 18: ccnaexp6](https://reader034.fdocuments.in/reader034/viewer/2022052516/577cd10f1a28ab9e78938417/html5/thumbnails/18.jpg)
8/13/2019 ccnaexp6
http://slidepdf.com/reader/full/ccnaexp6 18/41
18
VLSM
The network 10.0.0.0/8 has been subnetted using the subnet mask of /16,which gives the potential of 256 subnets:
10.0.0.0/1610.1.0.0/16
10.2.0.0/16
.
.
.10.255.0.0/16
![Page 19: ccnaexp6](https://reader034.fdocuments.in/reader034/viewer/2022052516/577cd10f1a28ab9e78938417/html5/thumbnails/19.jpg)
8/13/2019 ccnaexp6
http://slidepdf.com/reader/full/ccnaexp6 19/41
19
Any of these /16 subnets can be subnetted further.
For example the 10.1.0.0/16 subnet is subnetted again using the /24 mask.
VLSM
![Page 20: ccnaexp6](https://reader034.fdocuments.in/reader034/viewer/2022052516/577cd10f1a28ab9e78938417/html5/thumbnails/20.jpg)
8/13/2019 ccnaexp6
http://slidepdf.com/reader/full/ccnaexp6 20/41
20
The 10.2.0.0/16 subnet is also subnetted again with a /24 mask.
The 10.3.0.0/16 subnet is subnetted again with the /28 mask.
The 10.4.0.0/16 subnet is subnetted again with the /20 mask.
VLSM
![Page 21: ccnaexp6](https://reader034.fdocuments.in/reader034/viewer/2022052516/577cd10f1a28ab9e78938417/html5/thumbnails/21.jpg)
8/13/2019 ccnaexp6
http://slidepdf.com/reader/full/ccnaexp6 21/41
21
VLSM: A different way to look at it
The 10.0.0.0/8 network is subnetted with a /16 mask on the first round of
subnetting. You already know that borrowing 8 bits (going from /8 to /16) creates 256
subnets.
With classful routing, that is as far as you can go.
You can choose only one mask for all your networks.
With VLSM and classless routing, you have more flexibility to createadditional network addresses and use a mask that fits your needs.
![Page 22: ccnaexp6](https://reader034.fdocuments.in/reader034/viewer/2022052516/577cd10f1a28ab9e78938417/html5/thumbnails/22.jpg)
8/13/2019 ccnaexp6
http://slidepdf.com/reader/full/ccnaexp6 22/41
22
VLSM: A different way to look at it
For subnet 10.1.0.0/16 (see Figure 6-10), 8 more bits are borrowed
again, to create 256 subnets with a /24 mask.
This mask will allow 254 host addresses per subnet.
The subnets ranging from 10.1.0.0/24 to 10.1.255.0/24 are subnets
of the subnet 10.1.0.0/16
![Page 23: ccnaexp6](https://reader034.fdocuments.in/reader034/viewer/2022052516/577cd10f1a28ab9e78938417/html5/thumbnails/23.jpg)
8/13/2019 ccnaexp6
http://slidepdf.com/reader/full/ccnaexp6 23/41
23
VLSM: A different way to look at it
Subnet 10.2.0.0/16 is also further subnetted with a /24 mask
Could be subnetted using a different mask (next)
The subnets ranging from 10.2.0.0/24 to 10.2.255.0/24 are subnets
of the subnet 10.2.0.0/16.
![Page 24: ccnaexp6](https://reader034.fdocuments.in/reader034/viewer/2022052516/577cd10f1a28ab9e78938417/html5/thumbnails/24.jpg)
8/13/2019 ccnaexp6
http://slidepdf.com/reader/full/ccnaexp6 24/41
24
VLSM: A different way to look at it
Subnet 10.3.0.0/16 is further subnetted with a /28 mask (different mask!).
This mask will allow 14 host addresses per subnet.
Twelve bits are borrowed, creating 4096 subnets ranging from 10.3.0.0/28to 10.3.255.240/28.
![Page 25: ccnaexp6](https://reader034.fdocuments.in/reader034/viewer/2022052516/577cd10f1a28ab9e78938417/html5/thumbnails/25.jpg)
8/13/2019 ccnaexp6
http://slidepdf.com/reader/full/ccnaexp6 25/41
25
VLSM: A different way to look at it
Subnet 10.4.0.0/16 is further subnetted with a /20 mask.
This mask will allow 4094 host addresses per subnet.
Four bits are borrowed, creating 16 subnets ranging from 10.4.0.0/20 to10.4.240.0/20.
These /20 subnets are big enough to subnet even further, allowing morenetworks.
![Page 26: ccnaexp6](https://reader034.fdocuments.in/reader034/viewer/2022052516/577cd10f1a28ab9e78938417/html5/thumbnails/26.jpg)
8/13/2019 ccnaexp6
http://slidepdf.com/reader/full/ccnaexp6 26/41
26
VLSM
All other /16
subnets are still
available for use
as /16 networks or
to be subnetted.
These subnets could be
subnetted further!
![Page 27: ccnaexp6](https://reader034.fdocuments.in/reader034/viewer/2022052516/577cd10f1a28ab9e78938417/html5/thumbnails/27.jpg)
8/13/2019 ccnaexp6
http://slidepdf.com/reader/full/ccnaexp6 27/41
27
VLSM
All other /16
subnets are still
available for use
as /16 networks or
to be subnetted.
Hosts are assigned
an IP address and
mask from a
specific subnet.
10.2.1.55/24
10.2.5.55/24
10.4.0.55/20
![Page 28: ccnaexp6](https://reader034.fdocuments.in/reader034/viewer/2022052516/577cd10f1a28ab9e78938417/html5/thumbnails/28.jpg)
8/13/2019 ccnaexp6
http://slidepdf.com/reader/full/ccnaexp6 28/41
28
VLSM
All other /16
subnets are still
available for use
as /16 networks or
to be subnetted.
Host can only be a member
of the subnet. Host can NOT
be a member of the network
that was subnetted.
10.2.1.55/24
10.2.0.55/16
NO!
YES!
![Page 29: ccnaexp6](https://reader034.fdocuments.in/reader034/viewer/2022052516/577cd10f1a28ab9e78938417/html5/thumbnails/29.jpg)
8/13/2019 ccnaexp6
http://slidepdf.com/reader/full/ccnaexp6 29/41
29
VLSM 1
![Page 30: ccnaexp6](https://reader034.fdocuments.in/reader034/viewer/2022052516/577cd10f1a28ab9e78938417/html5/thumbnails/30.jpg)
8/13/2019 ccnaexp6
http://slidepdf.com/reader/full/ccnaexp6 30/41
![Page 31: ccnaexp6](https://reader034.fdocuments.in/reader034/viewer/2022052516/577cd10f1a28ab9e78938417/html5/thumbnails/31.jpg)
8/13/2019 ccnaexp6
http://slidepdf.com/reader/full/ccnaexp6 31/41
![Page 32: ccnaexp6](https://reader034.fdocuments.in/reader034/viewer/2022052516/577cd10f1a28ab9e78938417/html5/thumbnails/32.jpg)
8/13/2019 ccnaexp6
http://slidepdf.com/reader/full/ccnaexp6 32/41
CIDR
Route Summarization
Calculating Route Summarization
![Page 33: ccnaexp6](https://reader034.fdocuments.in/reader034/viewer/2022052516/577cd10f1a28ab9e78938417/html5/thumbnails/33.jpg)
8/13/2019 ccnaexp6
http://slidepdf.com/reader/full/ccnaexp6 33/41
33
CIDR
Classless interdomain routing (CIDR) is a prefix-based standard for
the interpretation of IP addresses.
CIDR allows routing protocols to summarize multiple networks, a
block of addresses, as a single route.
With CIDR, IP addresses and their subnet masks are written as four
octets, separated by periods, and followed by a forward slash and a
number that represents the subnet mask (slash notation).
An example is 172.16.1.0/24.
CIDR Report: www.cidr-report.org
![Page 34: ccnaexp6](https://reader034.fdocuments.in/reader034/viewer/2022052516/577cd10f1a28ab9e78938417/html5/thumbnails/34.jpg)
8/13/2019 ccnaexp6
http://slidepdf.com/reader/full/ccnaexp6 34/41
34
Route Summarization
Route summarization, also known as route aggregation, is the
process of advertising a cont iguous set of addresses as a single
address with a less-specific, shorter subnet mask.
Remember that CIDR is a form of route summarization and is
synonymous with the term supernett ing .
ip route 172.16.0.0 255.248.0.0 s0/0/0
![Page 35: ccnaexp6](https://reader034.fdocuments.in/reader034/viewer/2022052516/577cd10f1a28ab9e78938417/html5/thumbnails/35.jpg)
8/13/2019 ccnaexp6
http://slidepdf.com/reader/full/ccnaexp6 35/41
35
Route Summarization
Remember: RIPv1 summarizes subnets to a single major network
classful address when sending the RIPv1 update out an interface
that belongs to another major network.
For example, RIPv1 will summarize 172.30.0.0/24 subnets
(172,30.1.0/24, 172.30.2.0/24 and 172.30.3.0/24) as 172.30.0.0.
![Page 36: ccnaexp6](https://reader034.fdocuments.in/reader034/viewer/2022052516/577cd10f1a28ab9e78938417/html5/thumbnails/36.jpg)
8/13/2019 ccnaexp6
http://slidepdf.com/reader/full/ccnaexp6 36/41
36
Route Summarization
A static route can be used to configure a supernet route because the
network address and mask are configured directly on that router.
Graphic shows a single static route with the address 172.16.0.0 and
the mask 255.248.0.0 summarizing all the 172.16.0.0/16 to
172.23.0.0/16 classful networks.
ip route 172.16.0.0 255.248.0.0 s0/0/0
![Page 37: ccnaexp6](https://reader034.fdocuments.in/reader034/viewer/2022052516/577cd10f1a28ab9e78938417/html5/thumbnails/37.jpg)
8/13/2019 ccnaexp6
http://slidepdf.com/reader/full/ccnaexp6 37/41
37
Route Summarization
Although 172.22.0.0/16 and 172.23.0.0/16 are not shown in the
graphic, these are also included in the summary route.
Notice that the /13 mask (255.248.0.0) is less than the default
classful mask /16 (255.255.0.0).
ip route 172.16.0.0 255.248.0.0 s0/0/0
![Page 38: ccnaexp6](https://reader034.fdocuments.in/reader034/viewer/2022052516/577cd10f1a28ab9e78938417/html5/thumbnails/38.jpg)
8/13/2019 ccnaexp6
http://slidepdf.com/reader/full/ccnaexp6 38/41
38
More specific match?
A router could have both a specific route entry and a summary route entrycovering the same network.
If a router has two routes in routing table:
172.16.0.0/16 - S0/0/0
172.16.10.0/24 - S0/0/1
A packet with the destination IP address 172.16.10.10 would match both
entries in the routing table. But the packet has a more specific (longer) match with 172.16.10.0/24, so
S0/0/1 would be used to forward this packet.
A minimum of 24 bits match between the IP address and the route.
Packets for other subnets, such as destination IP address 172.16.20.10would only match the summary route 172.16.0.0/16.
A minimum of 16 bits match between the IP address and the route.
S0/0/0 S0/0/1
172.16.10.0 /24172.16.0.0 /16
Different examp le from book.
![Page 39: ccnaexp6](https://reader034.fdocuments.in/reader034/viewer/2022052516/577cd10f1a28ab9e78938417/html5/thumbnails/39.jpg)
8/13/2019 ccnaexp6
http://slidepdf.com/reader/full/ccnaexp6 39/41
39
Calculating Route Summarization
Calculating route summaries and supernets is identical to the
process that you already learned in Chapter 2.
![Page 40: ccnaexp6](https://reader034.fdocuments.in/reader034/viewer/2022052516/577cd10f1a28ab9e78938417/html5/thumbnails/40.jpg)
8/13/2019 ccnaexp6
http://slidepdf.com/reader/full/ccnaexp6 40/41
40
Calculating Route Summarization
Consider the following four networks:
172.20.0.0/16
172.21.0.0/16
172.22.0.0/16
172.23.0.0/16
![Page 41: ccnaexp6](https://reader034.fdocuments.in/reader034/viewer/2022052516/577cd10f1a28ab9e78938417/html5/thumbnails/41.jpg)
8/13/2019 ccnaexp6
http://slidepdf.com/reader/full/ccnaexp6 41/41
41
Step 1. List the networks in binary format.
Step 2. Count the number of leftmost matching bits to determine the mask for thesummary route.
You can see in the figure that the first 14 leftmost bits match. This is the prefix, or subnet mask, for the summarized route: /14 or 255.252.0.0.
Step 3. Copy the matching bits and then add 0 bits to determine the summarized networkaddress.
The matching bits with 0s at the end result in the network address 172.20.0.0.
The four networks—172.20.0.0/16, 172.21.0.0/16, 172.22.0.0/16, and172.23.0.0/16