Accc
Accc
CCNA2-2
Chapter 6
CCNA2-3
Chapter 6
One of the ways to characterize routing protocols is either as classful or classless. As networks evolved and began to use classless addressing, classless routing protocols had to be modified or developed to include the subnet mask in the routing update.
CCNA2-4 Chapter 6
Classful IP Addressing
ARPANET 1969 By 1989, it was transformed into what we now call the Internet. 1989 159,000 By 2000, it grew to over 72 million hosts. As of January 2008, there were over 541 million hosts on the Internet. Without VLSM and CIDR, the IPv4 address space would have been exhausted long ago.
CCNA2-5 Chapter 6
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.
CCNA2-6 Chapter 6
Subnet masks were determined based on class. The only choices were networks with very large number of hosts, large number of hosts, or few number of hosts.
CCNA2-7 Chapter 6
CCNA2-8
Chapter 6
CCNA2-9
Chapter 6
Classless IP Addressing
Moving Toward Classless Addressing: By 1992, members of the IETF had serious concerns about the exponential growth of the Internet. Limited scalability of Internet routing tables. Eventual exhaustion of 32-bit IPv4 address space. In 1993, the IETF introduced Classless Inter-Domain Routing (CIDR). More efficient use of IPv4 address space. Prefix aggregation, which reduced the size of routing tables.
CCNA2-10
Chapter 6
Classless IP Addressing
To CIDR-compliant routers, address class is meaningless. The network portion of the address is determined by the network subnet mask, also known as the network prefix, or prefix length (/8, /19, etc.). The network address is no longer determined by the class of the address.
CCNA2-11 Chapter 6
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 mask that is less than (or a summary of) the classful mask.
CCNA2-12 Chapter 6
192.168.0.0/23
11000000.10101000.00000000.00000000
192.168.2.0/23 192.168.4.0/22
192.168.8.0/21
11000000.10101000.00000010.00000000 11000000.10101000.00000100.00000000
11000000.10101000.00001000.00000000 11000000.10101000.00000000.00000000
Summary 192.168.0.0/20
Networks are converted to binary. The summary route is comprised of the least number of bits that are common to all subnets.
CCNA2-13 Chapter 6
192.168.0.0/23
11000000.10101000.00000000.00000000
192.168.2.0/23 192.168.4.0/22
192.168.8.0/21
11000000.10101000.00000010.00000000 11000000.10101000.00000100.00000000
11000000.10101000.00001000.00000000 11000000.10101000.00000000.00000000
Summary 192.168.0.0/20
Requires a classless routing protocol (RIPv2, EIGRP, OSPF). The subnet mask of the network MUST be included with the routing update.
CCNA2-14 Chapter 6
Classful Update
R3 applies the default /16 subnet mask (different major network)
CCNA2-15
Chapter 6
Classless Update
CCNA2-16
Chapter 6
CCNA2-17
Chapter 6
To subnet a network, the IP address host portion of the subnet mask is divided into two parts. Bits are borrowed from the host portion and assigned to the network portion to create a new network address. The new network address covers a smaller portion of the original network number. It is a sub-network of the original or a subnet.
CCNA2-18 Chapter 6
The borrowed bits become part of the network portion of the IP Address and form the network number.
become the host portion and are used to identify individual network hosts and create broadcasts for the new subnet.
Chapter 6
CCNA2-19
CCNA2-20
Chapter 6
CCNA2-21
Chapter 6
4 192.168.80.128 192.168.80.129 192.168.80.158 192.168.80.159 5 192.168.80.160 192.168.80.161 192.168.80.190 192.168.80.191 6 192.168.80.192 192.168.80.193 192.168.80.222 192.168.80.223
192.168.80.64/27
192.168.80.96/27
CCNA2-25
Chapter 6
Assigned 30 30
Required 5 5
30 2 28
192.168.80.0/27
Network 3
Network 4 Network 5
30
30 30
4
5
2 192.168.80.128/27 28
Network 6
Network Available:7 30 Total Required: 4 Wasted: 26
30
30 210
2
5 28
28
25 182
192.168.80.96/27
CCNA2-26
Chapter 6
Subnet 10.0.0.0/16
10.1.0.0/16 10.2.0.0/16 10.3.0.0/16 Sub-subnet Etc. Using /24 10.255.0.0/16
Broadcast 10.0.255.255
10.1.255.255 10.2.255.255 Last Host 10.2.0.254 10.3.255.255 10.2.1.254 Broadcast 10.2.0.255 10.2.1.255 10.2.2.255
10.2.255.0/24
10.2.255.1
10.2.255.254
10.2.255.255
CCNA2-28
Chapter 6
192.168.20.32/27
192.168.20.96/27
192.168.20.64/27
7 Networks with 30 usable addresses for each network Wasted 28 addresses on each WAN link
CCNA2-29 Chapter 6
192.168.20.192/30
192.168.20.196/30
192.168.20.200/30
CCNA2-30
Chapter 6
110001 00
110010 00 110011 00 110100 00 110101 00 110110 00 110111 00
192.168.20.196
192.168.20.200 192.168.20.204 192.168.20.208 192.168.20.212 192.168.20.216 192.168.20.220
Chapter 6
192.168.20.96 192.168.20.128
192.168.20.160 192.168.20.192 192.168.20.224
CCNA2-31
01100000 10000000
10100000 11000000 11100000
If you know how to subnet, you can do VLSM. Whats the trick?
Always satisfy the requirements of your biggest LAN and then work your way down .
CCNA2-32 Chapter 6
CCNA2-34
Chapter 6