Thông tin tài liệu:
The following will be discussed in this chapter: Describe the functions, characteristics, and operation of the RIPv1 protocol; configure a device for using RIPv1; verify proper RIPv1 operation; describe how RIPv1 performs automatic summarization; configure, verify, and troubleshoot default routes propagated in a routed network implementing RIPv1; Use recommended techniques to solve problems related to RIPv1.
Nội dung trích xuất từ tài liệu:
Lecture CCNA Exploration 4.0 (Kỳ 2) - Chapter 5: RIP version 1
Chapter 5: RIP version 1
CCNA Exploration version 4.0
Objectives
• Describe the functions, characteristics, and operation
of the RIPv1 protocol.
• Configure a device for using RIPv1.
• Verify proper RIPv1 operation.
• Describe how RIPv1 performs automatic
summarization.
• Configure, verify, and troubleshoot default routes
propagated in a routed network implementing RIPv1.
• Use recommended techniques to solve problems
related to RIPv1
Học viện mạng Bách Khoa - Website: www.bkacad.com 2
RIPv1: Distance Vector,
Classful Routing Protocol
Học viện mạng Bách Khoa - Website: www.bkacad.com 3
RIP History
Học viện mạng Bách Khoa - Website: www.bkacad.com 4
RIP Characteristics
1. A classful, Distance Vector (DV)
routing protocol
2. Metric = hop count
3. Routes with a hop count > 15 are
unreachable (considers a metric of 16
as infinity )
4. Updates are broadcast every 30
seconds
5. Calculates metrics using the Bellman
Ford algorithm
Học viện mạng Bách Khoa - Website: www.bkacad.com 5
RIPv1 Message
5.1.2.1
Học viện mạng Bách Khoa - Website: www.bkacad.com 6
RIP Message Format
5.1.2.2
Why are there so many fields set to zero?
Học viện mạng Bách Khoa - Website: www.bkacad.com 7
RIP Message Format
• RIP header - divided into 3 fields
1. Command field
2. Version field
3. Must be zero
• Route Entry - composed of 3 fields
1. Address family identifier
2. IP address
3. Metric
Học viện mạng Bách Khoa - Website: www.bkacad.com 8
RIP Operation
5.1.3.1
1. Request message
– Each RIP-configured interface sends out a
request message on startup, requesting
that all RIP neighbors send their complete
routing tables.
2. Response message
– A response message is sent back by RIP-
enabled neighbors.
Học viện mạng Bách Khoa - Website: www.bkacad.com 9
RIPv1
a) b)
c)
Triggered update
Học viện mạng Bách Khoa - Website: www.bkacad.com 10
RIPv1
Học viện mạng Bách Khoa - Website: www.bkacad.com 11
RIPv1
• RIP is a classful routing protocol
1. Does not send subnet masks in routing
updates
2. When update routing information, using:
1. The subnet mask configured on a local
interface
2. or applies the default subnet mask based
on the address class.
3. RIPv1 networks cannot be discontiguous
nor can they implement VLSM.
Học viện mạng Bách Khoa - Website: www.bkacad.com 12
Administrative Distance
5.1.4
Học viện mạng Bách Khoa - Website: www.bkacad.com 13
Administrative Distance
• Default AD=120.
• When compared to other interior
gateway protocols, RIP is the
least-preferred routing protocol.
• IS-IS, OSPF, IGRP, and EIGRP
all have lower default AD values.
Học viện mạng Bách Khoa - Website: www.bkacad.com 14
Basic RIPv1 Configuration
Học viện mạng Bách Khoa - Website: www.bkacad.com 15
Basic RIPv1 Configuration
• Router(config)# router rip 5.2.2
• Router(config-router)# network A.B.C.D
Học viện mạng Bách Khoa - Website: www.bkacad.com 16
Basic RIPv1 Configuration
R1(config)#router rip
(config-router)#network 192.168.1.0
(config-router)#network 192.168.2.0
(config-router)#network 172.16.1.0
R2(config)#router rip
(config-router)#network 192.168.3.0
(config-router)#network 192.168.2.0
(config-router)#network 172.16.2.0
Học viện mạng Bách Khoa - Website: www.bkacad.com 17
Specifying Networks
Học viện mạng Bách Khoa - Website: www.bkacad.com 18
Specifying Networks
• Router(config-router)#network
directly-connected-classful-
network-address
– Enables RIP on all interfaces that belong
to a specific network. Associated
interfaces will now both send and receive
RIP updates.
– Advertises the specified network in RIP
routing updates sent to other routers
every 30 seconds.
Học viện mạng Bách Khoa - Website: www.bkacad.com 19
Specifying Networks
• Typing interface IP addresses as the following:
– Router(config-if)#router rip
– Router(config-router)#version 1
– Router(config-router)#network 1.1.1.1
– Router(config-router)#network 1.1.1.2
– Router(config-router)#network 3.3.3.2
• show running-config
router rip
network 1.0.0.0
network 3.0.0.0
Học viện mạng Bách Khoa - Website: www.bkacad.com 20