Rip Version 1 (Ripv1)
Rip Version 1 (Ripv1)
Rip Version 1 (Ripv1)
Objectives
RIP Background
RIP Characteristics and operation
Basic RIP configurations & Commands
Passive interfaces
RIP Automatic Summarization; advantages & disadvantages
Default Route & RIP1
Propagating the Default Route
RIP Version 1
RIPv1: Distance Vector,
Classful Routing Protocol
Background and Perspective
RIP evolved from the Xerox Network System (NS) in the late 1970’s.
Various vendors included their own, slightly different, version of the protocol in
their networking software.
In 1988, it was standardized under RFC 1058.
Why learn RIP?
Still in use today.
Help understand fundamental concepts and comparisons of protocols such as classful
(RIPv1) and classless (RIPv2).
RIP is not a protocol “on the way out.”
An IPv6 form of RIP called RIPng (next generation) is now available..
RIPv1 Characteristics and Message Format
NOTE:
The first version of RIP is often called RIPv1 to distinguish it from RIP version 2
(RIPv2).
Both versions share many of the same features.
When discussing features common to both versions, we will refer to RIP.
When discussing features unique to each version, we will use RIPv1 and RIPv2.
RIPv1 Characteristics and Message Format
RIP Characteristics:
Distance vector routing protocol.
Uses hop count as its only metric for path selection.
Advertised routes with hop counts greater than 15 are considered unreachable.
Routing Table Updates:
RIPv1: Broadcast every 30 seconds.
RIPv2: Multicast every 30 seconds.
RIPv1 Characteristics and Message Format
On Start-up:
Each RIP-configured interface broadcasts a request message, asking any RIP
neighbours to send their complete routing table.
Each RIP neighbour responds with the information.
The requesting router evaluates each route:
If it’s a new route, it gets added to the routing table.
If it’s already in the routing table and has a better hop count (lower), the routing table is
updated.
If there are no changes, it is ignored.
The requesting router then sends a triggered update out all interfaces that contains its
routing table.
RIP Operation
1. R3 Start-up Request
2. R2, R1 Respond
No Subnet
Mask
Issue command
Prompt changes
Issue command
Prompt changes
No Router
Some routers can have interfaces that do not connect to another router.
There is no reason to send routing updates out that interface.
You can use the passive-interface command with RIP to configure an
interface to NOT send those updates.
Passive Interfaces
No Router
Automatic Summarization
Modified Topology
Scenario B
Modified Topology: Scenario B
172.30.0.0/16 192.168.4.0/24
192.168.5.0/24
172.30.0.0/16 192.168.4.0/24
192.168.5.0/24
Fewer routes in a routing table means that the routing table process can more
quickly locate the route needed to forward the packet.
Summarizing several routes into a single route is known as route
summarization or route aggregation.
Modified Topology: Scenario B
Configuration Changes – R1
IOS automatically
corrects subnet
entries to a classful
network address.
Boundary routers summarize RIP subnets from one major network to the other.
Updates for the 172.30.1.0, 172.30.2.0, and 172.30.3.0 networks will
automatically be summarized into 172.30.0.0 when sent out R2’s Serial 0/0/1
interface.
Processing RIP Updates
Classful routing protocols such as RIPv1 do not include the subnet mask in the
routing update.
However, the routing table includes RIPv1 routes with both the network
address and the subnet mask.
So…..How does a router running RIPv1 determine what subnet mask it should
apply to a route when adding it to the routing table?
Rules for Processing RIP Updates
172.30.2.2/24
Smaller routing
updates are sent
and received,
which uses less
bandwidth for
routing updates
between R2
and R3.
R3 has a single route for the 172.30.0.0/16 network, regardless of how many
subnets there are or how it is subnetted.
Using a single route results in a faster lookup process in the routing table for R3.
Disadvantages of Auto-Summarization
209.165.200.0/24 209.165.200.0/24
172.30.0.0/16 172.30.0.0/16
172.30.0.0/16 172.30.0.0/16
Routers R1 and R3 will both advertise the 172.30.0.0/16 major network address
(a summary route) to R2.
Discontiguous Networks Do Not Converge
172.30.0.0/16 172.30.0.0/16
Discontiguous Networks Do Not Converge
Modified Topology
Scenario C
Default Routes
ISP
ISP
RIPv1 Configuration R2 and R3
Routing Tables
Propagating the Default Route
Routing Table
RIP Background
RIP Characteristics and operation
Basic RIP configurations & Commands
Passive interfaces
RIP Automatic Summarization; advantages & disadvantages
Default Route & RIP1
Propagating the Default Route