



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




1
VLSM and CIDR RIPv
Routing Protocols and Concepts – Chapters 6 and 7
2
Compare and contrast classful and classless IP addressing. Review VLSM and explain the benefits of classless IP addressing.
Describe the role of the Classless Inter- Domain Routing (CIDR) standard in making efficient use of scarce IPv4 addresses
3
Prior to 1981, IP addresses used only the first 8 bits to specify the network portion of the address
In 1981, RFC 791 modified the IPv4 32-bit address to allow for three different classes IP address space was depleting rapidly
In 1993 Classless Inter-Domain Routing (CIDR) CIDR uses Variable Length Subnet Masking (VLSM) to help conserve address space. VLSM is simply subnetting a subnet 4
As of January 2007, there are over 433 million hosts on Internet Initiatives to conserve IPv4 address space include: -VLSM & CIDR notation (1993, RFC 1519) -Network Address Translation (1994, RFC 1631) -Private Addressing (1996, RFC 1918)
An IP address has 2 parts: The network portion Found on the left side of an IP address The host portion Found on the right side of an IP address The High Order Bits are the leftmost bits in a 32 bit address (^6)
Class A addresses = 0.0.0.0 to 127.255.255. Class B addresses = 128.0.0.0 to 191.255.255.
Class C addresses = 192.0.0.0 to 223.255.255.
7
8
Purpose of a subnet mask It is used to determine the network portion of an IP address
Classful routing updates do not include subnet masks Receiving router must ‘assume’ the mask:
9
10
A major network is subnetted using a single subnet mask so that all of its subnets are the same size
The subnets of a major network must be contiguous
Example: 172.30.1.0 / 172.30.2.0 / 172.30.3.0 /
Classless Inter-domain Routing (CIDR – RFC 1517)
Advantages of CIDR
More efficient use of IPv4 address space Route summarization – smaller routing tables
Requires subnet mask to be included in the routing updates because address class is meaningless
Recall purpose of subnet mask
To determine the network and host portion of an IP address
CIDR allows for routes to be summarized as a single route
19
To use CIDR, VLSM, discontiguous subnets You cannot run a classful routing protocol, which means you cannot run RIPv1 or IGRP
All other routing protocols covered on this course are classless routing protocols, i.e.:
RIPv2, EIGRP, OSPF, IS-IS, BGP
We now look at RIPv
20
RIPv
A classful distance vector routing protocol Does not support discontiguous subnets
Does not support VLSM Does not send subnet mask in routing update
Routing updates are broadcast
Automatically summarizes routes at class boundary (this cannot be disabled) RIPv1 is the default
21
RIPv
A classless distance vector routing protocol that is an enhancement of RIPv1’s features. Subnet mask and next hop address is included in updates Routing updates are multicast (uses less bandwidth)
Automatic summarization of routes can be disabled
The use of authentication is an option 22
Use of hold-down timers to prevent routing loops
Use of split horizon or split horizon with poison reverse
Use of triggered updates Hop count used as metric
Maximum hop count of 15 Both do automatic summarization of routes at the class boundary by default
RIPv2 Message format is similar to RIPv1 but includes subnet mask and next hop address fields
A RIPv1 configured router will: Accept updates from RIPv2 routers but will not recognize the subnet mask information Will only send RIPv1 updates
25
26
Configure the 3 routers using RIPv Do this by pasting in the prepared configuration files Observe the problem on R due to discontiguous subnets of 172.30.0.
int fa0/ ip address 10.1.0.1 255.255.0. no shutdown ! int s0/ ip address 209.165.200.229 255.255.255. no shutdown ! int s0/ ip address 209.165.200.233 255.255.255. clock rate 64000 no shutdown ! router rip passive-interface fa0/ network 10.0.0. network 209.165.200.
27
To solve the problem
Configure RIPv
Disable auto- summary
int fa0/ ip address 10.1.0.1 255.255.0. no shutdown ! int s0/ ip address 209.165.200.229 255.255.255. no shutdown ! int s0/ ip address 209.165.200.233 255.255.255. clock rate 64000 no shutdown ! router rip version 2 no auto-summary passive-interface fa0/ network 10.0.0. network 209.165.200. 28
RIPv2 Yes Yes Yes Yes Yes Yes Yes Yes Yes
RIPv1 Yes No Yes Yes Yes Yes No No No
Uses Authen- tication
Supports VLSM Support CIDR Auto Summary (by default)
Max Hop count = 15
Use of Split Horizon or Split Horizon w/ Poison Reverse
Uses Hold- Down Timers
Classless Routing Protocol
Distance Vector Routing Protocol
Classful IP addressing IPv4 addresses have 2 parts: Network & Host Class A, B, & C addresses were designed to provide IP addresses for different sized organizations The class of an IP address is determined by the decimal value found in the 1 st^ octet IP addresses are running out so the use of Classless Inter Domain Routing (CIDR) and Variable Length Subnet Mask (VLSM) are used to try and conserve address space
Classful Routing Updates –Subnet masks are not sent in routing updates
Benefits of classless IP addressing –Can create additional network addresses using a subnet mask that fits your needs –Uses Classless Interdomain Routing (CIDR)