Professional Documents
Culture Documents
PROTOCOLS
Enabling RIP
RIP
RIP exists in two versions RIP v1, RIP v2
RIP was designed for smaller networks (Max Hop
Count - 15)
Although it lacks the capabilities of many of its
successors, its simplicity and widespread use
Operates from UDP port 520
encapsulated in a UDP (User Datagram Protocol)
segment with both the Source and Destination
Port
fields set
RIP version
1 to that value.
RIP Version 2
Classful Routing
Classless Routing
No Summarization Support
Supports Summarization
No VLSM
VLSM
RIP Operation
RIP defines two message types:
Request messages - Used to ask neighboring routers to send
an update
Response messages - Carries the update.
RIP Process
On startup, RIP broadcasts a packet carrying a Request
message out each RIP-enabled interface
RIP process then enters a loop, listening for RIP Request or
Response messages from other routers
Neighbors receiving the Request send a Response containing
their route table If they have RIP Enabled on that Interface
RIP Operation
Administrative Distance 120
Case Study 1 - Classful Routing: Directly
Connected Subnets
Classful route lookups
IP Routing
Configuration Tasks
Router configuration
Select routing protocols.
Specify networks or
interfaces.
Dynamic Routing
Configuration
Router(config)#router protocol [keyword]
Router(config-router)#network network-number
RIP Configuration
Router(config)#router rip
Router(config-router)#network network-number
Displaying the
IP Routing Table
Andy#
RIP: received v1 update from 192.168.12.67 on Ethernet0
RIP: Update contains 1 routes
RIP: sending v1 update to 255.255.255.255 via Ethernet1
(192.168.83.1)
RIP: Update contains 4 routes
RIP: Update queued
RIP: Update sent via Ethernet1
RIP: sending v1 update to 255.255.255.255 via Ethernet2
(192.168.12.195)
RIP: Update contains 6 routes
RIP: Update queued
RIP: Update sent via Ethernet2
Andys Configuration
interface e1
ip address 10.33.55.2 255.255.240.0 secondary
interface e2
ip address 10.33.75.1 255.255.240.0 secondary
router rip
network 10.0.0.0
Ernest Configurations
interface e0
ip address 10.33.75.2 255.255.240.0 secondary
Troubleshooting RIP
Most difficulties with classful protocols such as RIP
involve
misconfigured subnet masks or
discontiguous subnets.
If a route table contains inaccurate or missing
routes, check all subnets for contiguity and all
subnet masks for consistency
When a high-speed router is sending multiple RIP
messages to a low-speed router. In such a case, the
low-speed router might not be able to process
updates as quickly as they are received, and routing
information might be lost.
output-delay delay can be used under the RIP
command to set an inter-packet gap of between 8
and 50 milliseconds
Review Questions
Configuration Examples
Write configurations for six routers in Figure to route to all
subnets via RIP
Configuration Examples
RIP Version 2
router rip
version 1
interface Ethernet0
ip address 192.168.50.129 255.255.255.192
ip rip send version 1
ip rip receive version 1
interface Ethernet1
ip address 172.25.150.193 255.255.255.240
ip rip send version 1 2
interface Ethernet2
ip address 172.25.150.225 255.255.255.240
router rip
version 2
RIP V1
RIP V2
Summary
RIP is a distance vector routing protocol that uses
hop count as the metric for route selection and
broadcasts routing updates every 30 seconds.
To enable a dynamic routing protocol, you will
select the routing protocol and then assign IP
network numbers.
The router rip command specifies RIP as the routing
protocol. The network command identifies a
participating attached network.
The show ip commands display information about
routing protocols and the routing table.
Use the debug ip rip command to display
information on RIP routing transactions.