SlideShare a Scribd company logo
RIP Loop Prevention
www.netprotocolxpert.in
Split Horizon
• Distance vector protocols are susceptible to routing
loops.
• Split horizon is one of the features of distance vector
routing protocols that prevents them.
• This feature prevents a router from advertising a
route back onto the interface from which it was
learned.
For example, consider the following
network topology.
• Router R2 has a route to the subnet 10.0.1.0/24 that is
advertised to router R1 by using RIP. Router R1 receives
the update and stores the route in its routing table.
Router R1 knows that the routing update for that route
has come from R2, so it won't advertise the route back
to router R2. Otherwise, if the network 10.0.1.0/24 goes
down, router R1 could receive a route to the subnet
10.0.1.0/24 from R2. Router R1 now thinks that R2 has
the route to reach the subnet, and uses that route. R2
receives the packets from R1 and sends them back to
R2, because R2 thinks that R1 has a route to reach the
subnet, thereby creating a routing loop.
Route Poisoning
• Route poisoning is another method for preventing routing
loops employed by distance vector routing protocols.
• When a router detects that one of its directly connected
routes has failed, it sends the advertisement for that route
with an infinite metric ("poisoning the route").
• A router that receives the update knows that the route has
failed and doesn't use it anymore.
Consider the following example.
• Router R1 is directly connected to the 10.0.1.0/24 subnet. Router
R1 runs RIP and the subnet is advertised to R2. When the R1's
Fa0/1 interface fails, an route advertisement is sent by R1 to R2,
indicating that the route has failed. The route has a metric of 16,
which is more than the RIP's maximum hop count of 15, so R1
considers the route to be unreachable.
Holddown
• Holddown is a loop-prevention mechanism employed by
distance vector routing protocol.
• This feature prevents a router from learning new information
about a failed route.
• When a router receives an information about an unreachable
route, a holddown timer is started.
• The router ignores all routing updates for that route until the
timer expires (by default, 180 seconds in RIP).
• Only updates allowed during that period are updates sent
from the router that originally advertised the route.
• If that router advertise the update, the holddown timer is
stopped and the routing information is processed.
An example will help you understand the concept better.
Consider the following network topology.
• Router R1 has advertised its directly connected subnet
10.0.1.0/24 through RIP. After some period of time, the
interface Fa0/1 on R1 fails and router R1 sends the poisoned
route to R2. R2 receives the routing update, marks the route
as unreachable and starts the holddown timer. During that
time all updates from any other routers about that route are
ignored to prevent routing loops. If interface Fa0/1 on R1
comes back up, R1 again advertises the route. R2 process
that update even if the holddown timer is still running,
because the update is sent by the same router that
originally advertised the route.

More Related Content

PPTX
Introdution and designing a learning system
PPTX
Computer Network - Network Layer
PPTX
Distance Vector Routing Protocols
PPTX
WSN NETWORK -MAC PROTOCOLS - Low Duty Cycle Protocols And Wakeup Concepts – ...
PPTX
Energy consumption of wsn
PPTX
Network layer - design Issues
PPTX
Genetic algorithms
PDF
Agreement Protocols, distributed File Systems, Distributed Shared Memory
Introdution and designing a learning system
Computer Network - Network Layer
Distance Vector Routing Protocols
WSN NETWORK -MAC PROTOCOLS - Low Duty Cycle Protocols And Wakeup Concepts – ...
Energy consumption of wsn
Network layer - design Issues
Genetic algorithms
Agreement Protocols, distributed File Systems, Distributed Shared Memory

What's hot (20)

PPTX
SENSOR TASKING AND CONTROL in WSN .pptx
PPTX
Interconnection Network
PPTX
Recognition-of-tokens
PPTX
Butterfly network
PDF
Vc dimension in Machine Learning
PPT
Amortized Analysis of Algorithms
PPTX
Computer Organization and Design
PPTX
Mac protocols for ad hoc wireless networks
PPTX
Mac protocols
PDF
PDF
AI 7 | Constraint Satisfaction Problem
PPTX
Linear regression with gradient descent
PDF
Interconnection Network
PPTX
Transport layer protocols : Simple Protocol , Stop and Wait Protocol , Go-Bac...
PPTX
Hetro associative memory
PDF
Artificial Neural Networks Lect3: Neural Network Learning rules
PDF
Target language in compiler design
PPTX
Neural network & its applications
PPTX
Non- Deterministic Algorithms
SENSOR TASKING AND CONTROL in WSN .pptx
Interconnection Network
Recognition-of-tokens
Butterfly network
Vc dimension in Machine Learning
Amortized Analysis of Algorithms
Computer Organization and Design
Mac protocols for ad hoc wireless networks
Mac protocols
AI 7 | Constraint Satisfaction Problem
Linear regression with gradient descent
Interconnection Network
Transport layer protocols : Simple Protocol , Stop and Wait Protocol , Go-Bac...
Hetro associative memory
Artificial Neural Networks Lect3: Neural Network Learning rules
Target language in compiler design
Neural network & its applications
Non- Deterministic Algorithms
Ad

Viewers also liked (20)

PPTX
RIP Overview
PPSX
RIP - Routing Information Protocol
PPTX
RIP Metric Hope Count and Hop Count Calculation
PPTX
IS-IS Protocol Introduction
PDF
IPv6 Transition,Transcición IPv6
PDF
IPv6 Transition
PDF
2011 TWNIC SP IPv6 Transition
PPT
Chapter 07 - Dvr
PPT
Exploration Routing Chapter 4
PDF
IPv6 Transition Strategies Tutorial, by Philip Smith [APNIC 38]
PPTX
network convergence problem and solutions
PDF
IPv6 Transition Considerations for ISPs
PDF
IPv6 Transition Strategies
PDF
Distance vector and link state routing protocol
PPT
Dynamic Routing RIP
PPT
PPT
IPV4 Frame Format
PPTX
bus and memory tranfer (computer organaization)
RIP Overview
RIP - Routing Information Protocol
RIP Metric Hope Count and Hop Count Calculation
IS-IS Protocol Introduction
IPv6 Transition,Transcición IPv6
IPv6 Transition
2011 TWNIC SP IPv6 Transition
Chapter 07 - Dvr
Exploration Routing Chapter 4
IPv6 Transition Strategies Tutorial, by Philip Smith [APNIC 38]
network convergence problem and solutions
IPv6 Transition Considerations for ISPs
IPv6 Transition Strategies
Distance vector and link state routing protocol
Dynamic Routing RIP
IPV4 Frame Format
bus and memory tranfer (computer organaization)
Ad

Similar to RIP Loop Prevention (20)

PPT
Day 10 rip (2)
PPT
Day 10 loops+ rip+ igrp
PPT
Day 10 rip
PPT
Routing Information Protocol (RIP)
PPT
Dvrp 1
PPTX
PPTX
Rip 1 rip 2
PPTX
Introduction-to-RIP(Routing Information Protocol).pptx
PPTX
Routing Protocols.pptx
PPTX
Router Information Protocol
PPT
DSR,LSR,IGMP,RIP,OSPF.ppt
PPT
Routing in Engineering: Principles and Applications.ppt
PPT
Chapter 08
PPT
Chapter 08
PPT
Chapter 08
PDF
Routing Information Protocol (RIP)
PPTX
Rip presentation
PDF
Distributed Path Computation Using DIV Algorithm
PDF
C0431320
PPT
Day 8 2 distance vector routing
Day 10 rip (2)
Day 10 loops+ rip+ igrp
Day 10 rip
Routing Information Protocol (RIP)
Dvrp 1
Rip 1 rip 2
Introduction-to-RIP(Routing Information Protocol).pptx
Routing Protocols.pptx
Router Information Protocol
DSR,LSR,IGMP,RIP,OSPF.ppt
Routing in Engineering: Principles and Applications.ppt
Chapter 08
Chapter 08
Chapter 08
Routing Information Protocol (RIP)
Rip presentation
Distributed Path Computation Using DIV Algorithm
C0431320
Day 8 2 distance vector routing

More from NetProtocol Xpert (20)

PPTX
Basic Cisco ASA 5506-x Configuration (Firepower)
PPTX
MPLS Layer 3 VPN
PPTX
Common Layer 2 Threats, Attacks & Mitigation
PPTX
Storm-Control
PPTX
Dynamic ARP Inspection (DAI)
PPTX
IP Source Guard
PPTX
DHCP Snooping
PPTX
Password Recovery
PPTX
Application & Data Center
PPTX
Cisco ISR 4351 Router
PPTX
Cisco ASR 1001-X Router
PPTX
Securing management, control & data plane
PPTX
Point to-point protocol (ppp), PAP & CHAP
PPTX
Avoid DNS lookup when mistyping a command
PPTX
TCLSH and Macro Ping Test on Cisco Routers and Switches
PPTX
Private VLANs
PPTX
MTU (maximum transmission unit) & MRU (maximum receive unit)
PPTX
OTV Configuration
PPTX
Cisco OTV 
PPTX
OTV(Overlay Transport Virtualization)
Basic Cisco ASA 5506-x Configuration (Firepower)
MPLS Layer 3 VPN
Common Layer 2 Threats, Attacks & Mitigation
Storm-Control
Dynamic ARP Inspection (DAI)
IP Source Guard
DHCP Snooping
Password Recovery
Application & Data Center
Cisco ISR 4351 Router
Cisco ASR 1001-X Router
Securing management, control & data plane
Point to-point protocol (ppp), PAP & CHAP
Avoid DNS lookup when mistyping a command
TCLSH and Macro Ping Test on Cisco Routers and Switches
Private VLANs
MTU (maximum transmission unit) & MRU (maximum receive unit)
OTV Configuration
Cisco OTV 
OTV(Overlay Transport Virtualization)

Recently uploaded (20)

PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PDF
PPT on Performance Review to get promotions
PPTX
CURRICULAM DESIGN engineering FOR CSE 2025.pptx
PDF
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
PDF
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
PPTX
Artificial Intelligence
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
Analyzing Impact of Pakistan Economic Corridor on Import and Export in Pakist...
PPT
Occupational Health and Safety Management System
PDF
Abrasive, erosive and cavitation wear.pdf
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
UNIT 4 Total Quality Management .pptx
PPT
introduction to datamining and warehousing
PDF
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
PDF
Integrating Fractal Dimension and Time Series Analysis for Optimized Hyperspe...
PPTX
introduction to high performance computing
PDF
UNIT no 1 INTRODUCTION TO DBMS NOTES.pdf
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
PPTX
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PPT on Performance Review to get promotions
CURRICULAM DESIGN engineering FOR CSE 2025.pptx
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
Artificial Intelligence
Automation-in-Manufacturing-Chapter-Introduction.pdf
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Analyzing Impact of Pakistan Economic Corridor on Import and Export in Pakist...
Occupational Health and Safety Management System
Abrasive, erosive and cavitation wear.pdf
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
UNIT 4 Total Quality Management .pptx
introduction to datamining and warehousing
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
Integrating Fractal Dimension and Time Series Analysis for Optimized Hyperspe...
introduction to high performance computing
UNIT no 1 INTRODUCTION TO DBMS NOTES.pdf
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx

RIP Loop Prevention

  • 2. Split Horizon • Distance vector protocols are susceptible to routing loops. • Split horizon is one of the features of distance vector routing protocols that prevents them. • This feature prevents a router from advertising a route back onto the interface from which it was learned.
  • 3. For example, consider the following network topology. • Router R2 has a route to the subnet 10.0.1.0/24 that is advertised to router R1 by using RIP. Router R1 receives the update and stores the route in its routing table. Router R1 knows that the routing update for that route has come from R2, so it won't advertise the route back to router R2. Otherwise, if the network 10.0.1.0/24 goes down, router R1 could receive a route to the subnet 10.0.1.0/24 from R2. Router R1 now thinks that R2 has the route to reach the subnet, and uses that route. R2 receives the packets from R1 and sends them back to R2, because R2 thinks that R1 has a route to reach the subnet, thereby creating a routing loop.
  • 4. Route Poisoning • Route poisoning is another method for preventing routing loops employed by distance vector routing protocols. • When a router detects that one of its directly connected routes has failed, it sends the advertisement for that route with an infinite metric ("poisoning the route"). • A router that receives the update knows that the route has failed and doesn't use it anymore.
  • 5. Consider the following example. • Router R1 is directly connected to the 10.0.1.0/24 subnet. Router R1 runs RIP and the subnet is advertised to R2. When the R1's Fa0/1 interface fails, an route advertisement is sent by R1 to R2, indicating that the route has failed. The route has a metric of 16, which is more than the RIP's maximum hop count of 15, so R1 considers the route to be unreachable.
  • 6. Holddown • Holddown is a loop-prevention mechanism employed by distance vector routing protocol. • This feature prevents a router from learning new information about a failed route. • When a router receives an information about an unreachable route, a holddown timer is started. • The router ignores all routing updates for that route until the timer expires (by default, 180 seconds in RIP). • Only updates allowed during that period are updates sent from the router that originally advertised the route. • If that router advertise the update, the holddown timer is stopped and the routing information is processed.
  • 7. An example will help you understand the concept better. Consider the following network topology.
  • 8. • Router R1 has advertised its directly connected subnet 10.0.1.0/24 through RIP. After some period of time, the interface Fa0/1 on R1 fails and router R1 sends the poisoned route to R2. R2 receives the routing update, marks the route as unreachable and starts the holddown timer. During that time all updates from any other routers about that route are ignored to prevent routing loops. If interface Fa0/1 on R1 comes back up, R1 again advertises the route. R2 process that update even if the holddown timer is still running, because the update is sent by the same router that originally advertised the route.