ca ex s2m05 rip version 1
TRANSCRIPT
-
8/3/2019 CA Ex S2M05 RIP Version 1
1/38
Please purchase a personal license.
CCNA Ex loration version 4.0
-
8/3/2019 CA Ex S2M05 RIP Version 1
2/38
Objectives
Describe the functions, characteristics, and operationof the RIPv1 protocol.
Configure a device for using RIPv1. Verify proper RIPv1 operation. Describe how RIPv1 erforms automatic
Hc vin mng Bch Khoa - Website: www.bkacad.com 2
summarization. Configure, verify, and troubleshoot default routes
propagated in a routed network implementing RIPv1.
Use recommended techniques to solve problemsrelated to RIPv1
-
8/3/2019 CA Ex S2M05 RIP Version 1
3/38
RIPv1: Distance Vector,
Hc vin mng Bch Khoa - Website: www.bkacad.com 3
-
8/3/2019 CA Ex S2M05 RIP Version 1
4/38
RIP History
Hc vin mng Bch Khoa - Website: www.bkacad.com 4
-
8/3/2019 CA Ex S2M05 RIP Version 1
5/38
RIPv1
RIP CharacteristicsA classful, Distance Vector (DV) routing protocol
Metric = hop count
Routes with a ho count > 15 are unreachable
Hc vin mng Bch Khoa - Website: www.bkacad.com 5
Updates are broadcast every 30 seconds
-
8/3/2019 CA Ex S2M05 RIP Version 1
6/38
RIP Message Format
RIP header - dividedinto 3 fieldsCommand field
Version field
Hc vin mng Bch Khoa - Website: www.bkacad.com 6
Must be zero Route Entry -
composed of 3 fields
Address family
identifier IP address
Metric
-
8/3/2019 CA Ex S2M05 RIP Version 1
7/38
RIPv1 Message
Hc vin mng Bch Khoa - Website: www.bkacad.com 7
-
8/3/2019 CA Ex S2M05 RIP Version 1
8/38
RIP Operation
RIP uses 2 message types: Request message
Each RIP-configured interface sends out arequest message on startup,
requesting that all RIP neighbors send their
Hc vin mng Bch Khoa - Website: www.bkacad.com 8
comp e e rou ng a es. Response message
A response message is sent back by RIP-enabled neighbors.
-
8/3/2019 CA Ex S2M05 RIP Version 1
9/38
RIPv1
a) b)
Hc vin mng Bch Khoa - Website: www.bkacad.com 9
c)Triggered update
-
8/3/2019 CA Ex S2M05 RIP Version 1
10/38
RIPv1
IP addresses initially divided intoclasses:
Class A
Class B
Class C
RIP is a classful routing protocol
Hc vin mng Bch Khoa - Website: www.bkacad.com 10
in routing updates a router either uses the
subnet mask configured on alocal interface, or applies thedefault subnet mask basedon the address class.
RIPv1 networks cannotbe discontiguous nor canthey implement VLSM.
-
8/3/2019 CA Ex S2M05 RIP Version 1
11/38
Administrative Distance
RIPs default administrativedistance is 120.
When compared to otherinterior gateway protocols, RIP
is the least-preferred routingprotocol. IS-IS, OSPF, IGRP,
Hc vin mng Bch Khoa - Website: www.bkacad.com 11
default AD values.
-
8/3/2019 CA Ex S2M05 RIP Version 1
12/38
Basic RIPv1 Configuration
Hc vin mng Bch Khoa - Website: www.bkacad.com 12
-
8/3/2019 CA Ex S2M05 RIP Version 1
13/38
Basic RIPv1 Configuration
A typical topologysuitable for use by RIPv1includes:
Hc vin mng Bch Khoa - Website: www.bkacad.com 13
Three router set upNo PCs attached to
LANs
Use of 5 different IPsubnets
-
8/3/2019 CA Ex S2M05 RIP Version 1
14/38
Basic RIPv1 Configuration
Router RIPCommand To enable RIP enter:
Router rip at the global configuration promptPrompt will look like R1(config-router)#
Hc vin mng Bch Khoa - Website: www.bkacad.com 14
-
8/3/2019 CA Ex S2M05 RIP Version 1
15/38
Specifying Networks
Hc vin mng Bch Khoa - Website: www.bkacad.com 15
Use the networkcommand to: 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 RIPupdates.
Advertises the specified network in RIP routing updates sent to
other routers every 30 seconds.
-
8/3/2019 CA Ex S2M05 RIP Version 1
16/38
Verification and Troubleshooting
Hc vin mng Bch Khoa - Website: www.bkacad.com 16
-
8/3/2019 CA Ex S2M05 RIP Version 1
17/38
Verifying RIP: show ip route
To verify and troubleshootrouting
Use the followingcommands:
show ip route
Hc vin mng Bch Khoa - Website: www.bkacad.com 17
show ip protocolsdebug ip rip
-
8/3/2019 CA Ex S2M05 RIP Version 1
18/38
Verifying RIP: show ip protocols
show ip protocols
command: RIP routing is
configured
The correct interfaces
Hc vin mng Bch Khoa - Website: www.bkacad.com 18
send and receive RIPupdates
The router advertisesthe correct networks
RIP neighbors aresending updates
Animation 5.3.2
-
8/3/2019 CA Ex S2M05 RIP Version 1
19/38
Used to display RIP routing updates as they are happening . Animation 5.3.3
Verifying RIP: debug ip rip
Hc vin mng Bch Khoa - Website: www.bkacad.com 19
-
8/3/2019 CA Ex S2M05 RIP Version 1
20/38
Passive interfaces
Used to prevent a router from sending updates through aninterface:
Example:Router(config-router)#passive-interfaceFastEthernet 0/0
Hc vin mng Bch Khoa - Website: www.bkacad.com 20
-
8/3/2019 CA Ex S2M05 RIP Version 1
21/38
Passive interfaces
Hc vin mng Bch Khoa - Website: www.bkacad.com 21
-
8/3/2019 CA Ex S2M05 RIP Version 1
22/38
Remove RIP
Hc vin mng Bch Khoa - Website: www.bkacad.com 22
Configuration Details To remove the RIP routing process use the following
command
Router(config)#no router rip
To check the configuration use the following command
Router#show running-config
-
8/3/2019 CA Ex S2M05 RIP Version 1
23/38
Automatic Summarization
Hc vin mng Bch Khoa - Website: www.bkacad.com 23
-
8/3/2019 CA Ex S2M05 RIP Version 1
24/38
Automatic Summarization
Hc vin mng Bch Khoa - Website: www.bkacad.com 24
Modified Topology The original scenario has been modified such that: Three classful networks are used:
172.30.0.0/16192.168.4.0/24192.168.5.0/24
The 172.30.0.0/16 network is subnetted into three subnets:172.30.1.0/24172.30.2.0/24172.30.3.0/24
The following devices are part of the 172.30.0.0/16 classful network address: All interfaces on R1
S0/0/0 and Fa0/0 on R2
-
8/3/2019 CA Ex S2M05 RIP Version 1
25/38
Automatic Summarization
Boundary Routers RIP automatically summarizes classful networks
Boundary routers summarize RIP subnets from onemajor network to another.
Hc vin mng Bch Khoa - Website: www.bkacad.com 25
-
8/3/2019 CA Ex S2M05 RIP Version 1
26/38
Processing RIP Updates
2 rules govern RIPv1 updates: If a routing update and the
interface its received on belongto the same network then thesubnet mask of the interface isa lied to the network in the
Hc vin mng Bch Khoa - Website: www.bkacad.com 26
routing update If a routing update and the
interface its received on belongto a different network then theclassful subnet mask of the
network is applied to thenetwork in the routing update.
-
8/3/2019 CA Ex S2M05 RIP Version 1
27/38
Sending RIP Updates
RIP uses automatic summarization to reduce the sizeof a routing table.
Hc vin mng Bch Khoa - Website: www.bkacad.com 27
-
8/3/2019 CA Ex S2M05 RIP Version 1
28/38
Advantages of Automatic Summarization
The size of routingupdates is reduced
Single routes are used torepresent multiple routeswhich results in faster
Hc vin mng Bch Khoa - Website: www.bkacad.com 28
lookup in the routing table.
-
8/3/2019 CA Ex S2M05 RIP Version 1
29/38
Disadvantages of Automatic Summarization
Does not support discontiguous networks
Hc vin mng Bch Khoa - Website: www.bkacad.com 29
-
8/3/2019 CA Ex S2M05 RIP Version 1
30/38
Disadvantages of Automatic Summarization
DiscontiguousTopologies do notconverge with RIPv1
A router will only
Hc vin mng Bch Khoa - Website: www.bkacad.com 30
advertise majornetwork addresses outinterfaces that do notbelong to the
advertised route.
-
8/3/2019 CA Ex S2M05 RIP Version 1
31/38
Default Route and RIPv1
Hc vin mng Bch Khoa - Website: www.bkacad.com 31
-
8/3/2019 CA Ex S2M05 RIP Version 1
32/38
Default Route and RIPv1
Hc vin mng Bch Khoa - Website: www.bkacad.com 32
Modified Topology: Scenario C Default routes
Packets that are not defined specifically in a routing table will go to
the specified interface for the default route Example: Customer routers use default routes to connect to an ISP
router.
Command used to configure a default route is
ip route 0.0.0.0 0.0.0.0 s0/0/1
-
8/3/2019 CA Ex S2M05 RIP Version 1
33/38
Default Route and RIPv1
Hc vin mng Bch Khoa - Website: www.bkacad.com 33
-
8/3/2019 CA Ex S2M05 RIP Version 1
34/38
Default Route and RIPv1
Propagating the Default Route in RIPv1 Default-information originatecommand
This command is used to specify that the router isto originate default information, by propagating thestatic default route in RIP update.
Hc vin mng Bch Khoa - Website: www.bkacad.com 34
-
8/3/2019 CA Ex S2M05 RIP Version 1
35/38
Labs
1. Basic RIP Configuration2. Challenge RIP Configuration3. RIP Troubleshooting
Hc vin mng Bch Khoa - Website: www.bkacad.com 35
-
8/3/2019 CA Ex S2M05 RIP Version 1
36/38
Summary
RIP characteristics include:Classful, distance vector routing protocol
Metric is Hop Count
Does not support VLSM or discontiguous subnets
Hc vin mng Bch Khoa - Website: www.bkacad.com 36
p a es every secon s
Rip messages are encapsulated in a UDP segment withsource and destination ports of 520
-
8/3/2019 CA Ex S2M05 RIP Version 1
37/38
Summary: Commands used by RIP
Command Commands purpose
Rtr(config)#router rip Enables RIP routing process
Rtr(config-router)#network Associates a network with a RIP routing process
Rtr#debug ip rip used to view real time RIP routing updates
Hc vin mng Bch Khoa - Website: www.bkacad.com 37
tr con g-router pass ve- nter ace a revent up ates rom go ng out an nter ace
Rtr(config-router)#default-information originate Used by RIP to propagate default routes
Rtr#show ip protocols Used to display timers used by RIP
-
8/3/2019 CA Ex S2M05 RIP Version 1
38/38
Hc vin mng Bch Khoa - Website: www.bkacad.com 38