2. Slide 2
Student Objectives
Upon completion of this module, you will be able to:
Describe the RIP routing protocol.
Identify the limitations of RIP version 1.
List the benefits of RIP version 2.
Interpret RIP routing table entries.
Describe the Split Horizon and Poison Reverse loop resolution protocols.
Describe the operation of triggered updates.
Configure the RIP routing protocol.
Verify the RIP configuration.
Test RIP operation.
Note: Depending on the needs of the students, the instructor may
choose to reduce or eliminate the protocol overview portion of this module.
3. Slide 3
Limitations of Manual Configuration
What if you have 50 switches, 10 subnetworks, a meshed
topology, and 500 devices, what now?
4. Slide 4
Routing Information Protocol
A distance-vector protocol used
as an Interior Gateway Protocol.
First used in the Advanced
Research Projects Agency
Network (ARPAnet) as early as
1969.
It is primarily intended for use in
homogeneous networks of
moderate size (20-30 switches or
less).
Relatively simple to understand
and implement.
Each router creates its routing
table based on route information
exchanged between neighbors.
Supported by all Extreme
Networks switches.
Distance-Vector
Distance - Hop Count
Vector - Next Hop Router
RIP Network
?
5. Slide 5
Routing Information Protocol (Continued…)
The router exchanges update
messages with each neighbor
every 30 seconds.
Stale routes are removed from the
routing table.
There are two versions of RIP.
In RIP V1, 25 routes can be
advertised in a single packet. This
limits the maximum packet size to
512 octets.
Supports 2 types of loop
resolution protocols.
• Split Horizon, Poison Reverse
Supports triggered updates.
RIP Network
Updates Every 30 Seconds
?
6. Slide 6
Limitations of RIP Version 1
Only understands class A, B, and
C IP addresses.
Does not propagate subnetwork
mask information in its updates.
Cannot support variable length
subnetwork masks.
Uses broadcasts for update
delivery.
It is an insecure routing protocol.
Updates:
• Sent as broadcast
• Networks only (no subnetwork
masks)
RIP Network
?
7. Slide 7
RIP Version 2
Fixes many of the limitations of
RIP-1.
Is a classless routing protocol.
Supports variable length
subnetwork masking.
Supports Classless Internet
Domain Routing (CIDR).
Has features to make it backward
compatible with RIP Version 1.
Supports authentication (not
supported on Extreme Switches).
• Clear text password
• MD5 – checksum (RFC 2082)
Uses multicast for update
delivery.
RIPv2 network
Network 129.128.128.0
Subnet 255.255.192.0
Network 129.128.128.0
Subnet 255.255.192.0
Network 129.128.0.0
RIPv1 network
RIPv2 network
8. Slide 8
Routing Table and Route Advertisement
Contains an entry for every known
destination network.
Contains the following
information:
• Origin of the route.
• IP Address of destination network.
• IP address of the next router
(gateway).
• Metric (hop count) to the destination
network.
• Duration of time since the last entry
update.
Route Advertisement of VLANs
• Only those VLANs configured with
an IP address, configured to forward
IP, and running RIP have their
subnetworks advertised.
Ori Destination Gateway Mtr Flags VLAN Duration
*r 10.10.11.0/24 10.10.99.121 2 UG-----um-- bbone 0d:0h:18m:36s
*r 10.10.20.0/24 10.10.99.122 3 UG-----um-- bbone 0d:0h:09m:06s
*r 10.10.33.0/24 10.10.99.124 2 UG-----um-- bbone 0d:0h:18m:53s
*d 10.10.55.0/24 10.10.55.126 1 U------u--- white 0d:3h:21m:52s
d 10.10.60.0/24 10.10.60.126 1 -------u--- brown 0d:3h:21m:00s
*d 10.10.99.0/24 10.10.99.126 1 U------u--- bbone 0d:3h:21m:35s
*d 127.0.0.1/8 127.0.0.1 0 U-H----um-- white 0d:3h:34m:16s
Route Table
9. Slide 9
Routing Loops
Router A advertises the route to
the target network to Router B.
Router B advertises the route to
the target network learned from A
to C.
Router C advertises the route
back to router B over the port that
supplied the route.
Router B believes it has two
routes to the target network when
actually only one exists.
When the valid route becomes
unavailable the router tries to use
the alternate route.
Traffic is sent over the original
route and looped back again.
Target Network
A
C
B
Problem!!
Target Network
Using A M=1
Target Network
Using B M= 2
Target Network
Using C M=3
B Routing Table
Target network using A M=1
Target network using C M=3
C Routing Table
Target network using B M=2
10. Slide 10
Counting to Infinity Problem
Complex networks can contain
multiple routing loops.
Routers re-advertise routes out
interfaces from which they were
learned.
When the valid route becomes
unavailable routers advertise
routes with ever increasing hop
count metrics.
Old route entries will be replaced
by new route entries.
Behavior repeats until the max
hop count reaches infinity (16 -
unreachable).
Causes slow convergence.
Target Network
C
B
C Routing Table
Target network using B M=16
B Routing Table
Target network using A M=1
Target Network using C M=16
A
11. Slide 11
Split Horizon
Used to prevent routing loop.
Enabled by default on the switch.
Router does not advertise a route
back out the port that the route
was originally learned on.
The possibility of a loop has been
eliminated using split horizon.
Split Horizon prevents
route from being sent!!
Target Network
Target Network
Using C M=3
A
C
B
Target Network
Using A M=0
Target Network
Using B M= 1
C Routing Table
Target network using B M=2
B Routing Table
Target network using A M=1
12. Slide 12
Poison Reverse
Routers advertise routes with hop
count of 16 (unreachable).
Faster convergence.
Poison Reverse takes precedence
over split horizon when both are
enabled to prevent loops.
Enabled by default.
Possible increased size of routing
messages.
Target Network
Target Network
Using C M=16
A
C
B
Target Network using C M=16
Target Network using A M=1
B Routing Table
Target Network using B M=2
C Routing Table
Target Network
Using A M=0
Target Network
Using B M= 1
Poison Reverse causes
Router C to advertises
route as unreachable.
13. Slide 13
Triggered Updates
Sent out whenever the metric for a
route changes and the router is
required to send an update
immediately.
• Even if it is not yet time for a regular
update message to be sent.
Generally result in faster
convergence.
Results in more RIP-related traffic.
Target Network
BA Target = 0
Target = 1
Target = 2
Target = 4Target = 4
Target = 6
Target = 3
Target = 5
Target = 2
Target = 6
Target = 3
Target = 1
Target = 7
Target = 2
Target = 8
failed route
14. Slide 14
RIP Limitations
Limit of 15 hops between the
source and the destination
networks.
Bandwidth taken up by periodic
broadcasts of entire routing table.
Slow convergence.
Routing decisions based on hop
count.
Flat networks; no concept of
areas or boundaries.
RIP Network
15. Slide 15
RIP Configuration Steps
Create and configure VLANs.
1. Configure the VLAN with an IP address.
2. Enable IP Forwarding.
3. Enable RIP on VLANs that do RIP routing.
4. Enable RIP globally on the switch.
5. Verify RIP configuration.
16. Slide 16
General IP Configuration Commands
Create and configure VLANs:
• create vlan <vlan name>
• configure vlan <vlan name> add ports <portlist>
Configure VLAN with an IP address:
• configure vlan <vlan name> ipaddress <ipaddr>
{<netmask> | <mask length>}
Enable IP forwarding:
• enable ipforwarding
17. Slide 17
RIP Specific Configuration Commands
Enable RIP on VLANs that do RIP routing:
• configure rip add vlan [<vlan name> | all]
Enable RIP globally on the switch:
• enable rip
Disable RIP on VLANs:
• configure rip delete vlan [<vlan name> | all]
Disable RIP globally on the switch:
• disable rip
When RIP is disabled on the interface, the parameters are not reset
to their defaults.
25. Slide 25
Summary
You should now be able to:
Describe the RIP routing protocol.
Identify the limitations of RIP version 1.
List the benefits of RIP version 2.
Interpret RIP routing table entries.
Describe the Split Horizon and Poison Reverse loop resolution
protocols.
Describe the operation of triggered updates.
Configure the RIP routing protocol.
Verify the RIP configuration.
Test RIP operation.
26. Slide 26
Lab
Turn to the Routing Information Protocol (RIP) Lab
in the ExtremeXOS™ Operations and Configuration - Lab Guide Rev. 12.1
and complete the hands-on portion of this module.