Professional Documents
Culture Documents
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
RIP History
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 Bch Khoa - Website: www.bkacad.com 5
RIPv1 Message
RIP Operation
RIPv1
a)
b)
c)
Triggered update
10
RIPv1
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.
12
Administrative Distance
13
Administrative Distance
14
15
16
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 Bch Khoa - Website: www.bkacad.com 17
Specifying Networks
18
Specifying Networks
Router(config-router)#network
directly-connected-classfulnetwork-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 Bch Khoa - Website: www.bkacad.com 19
Specifying Networks
show running-config
21
show ip route
22
show ip route
23
show ip protocols
24
show ip protocols
debug ip rip
Animation 5.3.3
26
Passive interfaces
To prevent a router from sending updates through an interface. Example:
Router(config-router)#passive-interface FastEthernet 0/0
27
Passive interfaces
28
Remove RIP
29
Automatic Summarization
30
Automatic Summarization
31
Automatic Summarization
Automatic Summarization
33
Automatic Summarization
34
.1
Router 2
.1 10.3.0.0/16
Same major
Y N
Summarize to major
Y
Same major
Subnet in RT
Same mask
Y
Advertise update
Discontiguous network
.2 .2 10.1.0.0/16
Router 1
172.16.0.0/16
.1
Router 2
.1
10.2.0.0/16
+ 10.1.0.0/16 is same major net as sourcing of update 172.16.0.0/16 ? + Is 10.0.0.0 same major net as receiving interface 172.16.0.0/16 ? -No:Summarize to 10.0.0.0 to advertise -No: do any of this major net exist in RT known from interfaces other than that which received the update? - Yes : Router 2 ignore the update
Static route:
ip route network [ mask ] { address | interface } [ distance ] [ permanent ]
On Router 1: ip route 10.2.0.0 255.255.0.0 172.16.0.1 On Router 2 ip route 10.1.0.0 255.255.0.0 172.16.0.2
38
39
40
43
44
45
46
47
48
49
50
Propogate the static default route Gate(config)# Ip route 0.0.0.0 0.0.0.0 serial0/1 Gate(config)#router rip default-information originate Or Gate(config)#router rip redistribute static
H c vi n m ng Bch Khoa - Website: www.bkacad.com 51
Other command
52
Other command
53
Other command
54
Q/A
All routers are configured with valid interface addresses in the indicated networks and are running RIPv1. The network is converged. Which routes are present in the routing tables?
H c vi n m ng Bch Khoa - Website: www.bkacad.com 55
Q/A
The Ethernet interface on Router2 goes down and the administrator notices that the route is still valid in the routing table of Router1. How much longer will it take for Router1 to mark the route invalid by setting the metric to 16?
H c vi n m ng Bch Khoa - Website: www.bkacad.com 56
Labs
1. Basic RIP Configuration 2. Challenge RIP Configuration 3. RIP Troubleshooting
57
Summary
RIP characteristics include: Classful, distance vector routing protocol Metric is Hop Count Does not support VLSM or discontiguous subnets Updates every 30 seconds Rip messages are encapsulated in a UDP segment with source and destination ports of 520
H c vi n m ng Bch Khoa - Website: www.bkacad.com 58
Commands purpose Enables RIP routing process Associates a network with a RIP routing process
used to view real time RIP routing updates Prevent RIP updates from going out an interface Used by RIP to propagate default routes Used to display timers used by RIP
59
60