SlideShare une entreprise Scribd logo
1  sur  6
Télécharger pour lire hors ligne
Abstract:
A routing protocol specifies the method of communication among routers
used in the inter connection of networks. There are many protocols like
OSPF, RIP, EIGRP, OPNET, IGRP, etc. The Routing Information Protocol (RIP)
comes under the distance vector algorithm and the Open Shortest Path First
Protocol (OSPF) is a link state routing algorithm. In RIP (Routing Information
Protocol) If any link failure with any new path happened, then the network
will update routing table again and find another shortest path. Whenever all
link failures are finished the first used path will be used again after updating,
that means the signal will back to the first path below. That if both failures
finished at the same time, but if not then, the signal will back to the path
which was used before that link failure happen.
On the other hand, Link State Routing Protocol (OSPF) works on a more
complicated algorithm where links costs have been defined according to the
bandwidth of that link, and the routing table for the entire network will be
set regarding to each node with it is neighbours. One router will be the
designated router that will be responsible for sending the link advertisement
to the other routers. To illustrate that, the same topology will be deployed
again and the configuration for the routing protocol will be set to work.
RIP (Routing Information Protocol)
RIP is intra domain routing protocols which is usually known as Distance
Routing Protocol. Here is referring to the number of hops which is calculated
by the router to reach a specific destination. I,e , the path that the router
chooses to reach the subnet. It is mainly used in small network. distance
vector routing protocol (RIP) defines the best path as the path with the least
number of router the lowest hop counts’ path) whatever the bandwidth of
that path was, and then it will always choose that path unless a link failure
happened.
Important Facts Of RIP:
1. Periodic :
In RIP the routing updates are sent in regular interval. The default interval
timer is 30 seconds.
2. Full Update:
The router sends full updates each and every time, Instead of sending changed
or new routing information.
RIP Configuration:
Concept of Route by Distance Vector Protocol:
Router 0:
Source Destination Next Hop Cost in hops
Con 192.168.1.0 N/A 0
Con 192.168.2.0 N/A 0
RIP 192.168.3.0 192.168.2.2 1
RIP 192.168.4.0 192.168.2.2 1
RIP 192.168.5.0 192.168.2.2 2
Router 1:
Source Destination Next Hop Cost in hops
Con 192.168.2.0 N/A 0
Con 192.168.4.0 N/A 0
Con 192.168.3.0 N/A 1
RIP 192.168.1.0 192.168.2.1 1
RIP 192.168.5.0 192.168.2.1 1
Router 2:
Source Destination Next Hop Cost in hops
Con 192.168.4.0 N/A 0
Con 192.168.5.0 N/A 0
RIP 192.168.1.0 192.168.4.1 2
RIP 192.168.2.0 192.168.4.1 1
RIP 192.168.3.0 192.168.4.1 1
Disadvantages of RIP:
1. It converges slowly, especially on large networks
2. It doesn’t have knowledge of the bandwidth of a link
3. It doesn’t support multiple paths for the same route
4. Routing updates can require significant bandwidth, as the entire routing
table is sent when a link’s status changes
5. Prone to routing loops
6. It can have only 16 hops.
Advantages of RIP:
1. Very easy to understand and configure
2. It is almost guaranteed to be supported by all routers
3. Generally loop free
OSPF (Open Shortest Path First)
It uses link-state technology in which routers send each other
information about the direct connections and links to all routers in the
network. Each OSPF router required to maintains an identical database to
describe the autonomous system's topology. From this database, a routing
table is calculated by constructing a shortest path tree. OSPF calculates the
cost of the path according to that link bandwidth even if that path was not
with the lowest routers number. OSPF is implemented as a program in the
network layer, using the service of the IP for propagation. The protocol
recalculates routes when network topology changes, using the
Dijkstra algorithm, and minimises the routing protocol traffic that it
generates. It provides support for multiple paths of equal cost.
Configuration of OSPF:
Disadvantages of OSPF:
1. OSPF is very processor intensive.
2. OSPF maintains multiple copies of routing information, increasing the
amount of memory needed.
3. Using areas, OSPF can be logically segmented (this can be a good thing and a
bad thing).
4. OSPF is not as easy to learn as some other protocols.
5. In the case where an entire network is running OSPF, and one link within it is
"bouncing" every few seconds, OSPF updates would dominate the network by
informing every other router every time the link changed state. OSPF routers
check the status of other routers on the network by sending a small hello
packet at regular intervals.
Advantages of OSPF:
1. OSPF is a Link State Algorithm
2. OSPF supports Variable Length Subnet Mask (VLSM)
3.OSPF uses multicasting within areas.
4. After initialization, OSPF only sends updates on routing table sections
which have changed, it does not send the entire routing table.

Contenu connexe

Tendances

OSPF (Open Shortest Path First) Case Study: Anil Nembang
OSPF (Open Shortest Path First) Case Study: Anil NembangOSPF (Open Shortest Path First) Case Study: Anil Nembang
OSPF (Open Shortest Path First) Case Study: Anil Nembang
Anil Nembang
 
Wireless sensor open flow
Wireless sensor open flowWireless sensor open flow
Wireless sensor open flow
KellyCheah
 
Rajesh basics of networking and routing
Rajesh basics of networking and routingRajesh basics of networking and routing
Rajesh basics of networking and routing
r123027
 
Chapter 06 - Routing
Chapter 06 - RoutingChapter 06 - Routing
Chapter 06 - Routing
phanleson
 
Network layer Part 7
Network layer Part 7Network layer Part 7
Network layer Part 7
Tutun Juhana
 
Spaning Tree Protocol
Spaning Tree ProtocolSpaning Tree Protocol
Spaning Tree Protocol
Atakan ATAK
 

Tendances (20)

Routing Protocols
Routing ProtocolsRouting Protocols
Routing Protocols
 
Layer 3
Layer 3Layer 3
Layer 3
 
OSPF (Open Shortest Path First) Case Study: Anil Nembang
OSPF (Open Shortest Path First) Case Study: Anil NembangOSPF (Open Shortest Path First) Case Study: Anil Nembang
OSPF (Open Shortest Path First) Case Study: Anil Nembang
 
Wireless sensor open flow
Wireless sensor open flowWireless sensor open flow
Wireless sensor open flow
 
OSPF Overview
OSPF OverviewOSPF Overview
OSPF Overview
 
Routing table
Routing tableRouting table
Routing table
 
Ospf
 Ospf Ospf
Ospf
 
Routing
RoutingRouting
Routing
 
Rajesh basics of networking and routing
Rajesh basics of networking and routingRajesh basics of networking and routing
Rajesh basics of networking and routing
 
Routing Protocols
Routing ProtocolsRouting Protocols
Routing Protocols
 
ospf routing protocol
ospf routing protocolospf routing protocol
ospf routing protocol
 
C C N A Day3
C C N A  Day3C C N A  Day3
C C N A Day3
 
Chapter 06 - Routing
Chapter 06 - RoutingChapter 06 - Routing
Chapter 06 - Routing
 
Open shortest path first (ospf)
Open shortest path first (ospf)Open shortest path first (ospf)
Open shortest path first (ospf)
 
Network layer Part 7
Network layer Part 7Network layer Part 7
Network layer Part 7
 
1 egp
1 egp1 egp
1 egp
 
Open Shortest Path First
Open Shortest Path FirstOpen Shortest Path First
Open Shortest Path First
 
Routing protocols
Routing protocolsRouting protocols
Routing protocols
 
Spaning Tree Protocol
Spaning Tree ProtocolSpaning Tree Protocol
Spaning Tree Protocol
 
Design and Implementation of Dynamic Routing in Wireless Networks
Design and Implementation of Dynamic Routing in Wireless NetworksDesign and Implementation of Dynamic Routing in Wireless Networks
Design and Implementation of Dynamic Routing in Wireless Networks
 

Similaire à RIP and OSPF

All in one q & ans
All in one q & ansAll in one q & ans
All in one q & ans
Ravi Kodoli
 
A Comparative Performance Analysis of Route Redistribution among Three Differ...
A Comparative Performance Analysis of Route Redistribution among Three Differ...A Comparative Performance Analysis of Route Redistribution among Three Differ...
A Comparative Performance Analysis of Route Redistribution among Three Differ...
IJCNCJournal
 

Similaire à RIP and OSPF (20)

IPv6 Routing.pdf
IPv6 Routing.pdfIPv6 Routing.pdf
IPv6 Routing.pdf
 
Layer3protocols
Layer3protocolsLayer3protocols
Layer3protocols
 
OSPF.pdf
OSPF.pdfOSPF.pdf
OSPF.pdf
 
Ospf
OspfOspf
Ospf
 
Routing protocols.pptx
Routing protocols.pptxRouting protocols.pptx
Routing protocols.pptx
 
Qs.pptx
Qs.pptxQs.pptx
Qs.pptx
 
Network Performance Analysis of Dynamic Routing Protocols for Real Time Appl...
Network Performance Analysis of Dynamic Routing Protocols for  Real Time Appl...Network Performance Analysis of Dynamic Routing Protocols for  Real Time Appl...
Network Performance Analysis of Dynamic Routing Protocols for Real Time Appl...
 
All in one q & ans
All in one q & ansAll in one q & ans
All in one q & ans
 
3 ip routing eigrp
3 ip routing eigrp3 ip routing eigrp
3 ip routing eigrp
 
Arun project-Final
Arun project-FinalArun project-Final
Arun project-Final
 
A Comparative Performance Analysis of Route Redistribution among Three Differ...
A Comparative Performance Analysis of Route Redistribution among Three Differ...A Comparative Performance Analysis of Route Redistribution among Three Differ...
A Comparative Performance Analysis of Route Redistribution among Three Differ...
 
Group 1
Group 1Group 1
Group 1
 
Optimal Performance Analysis Enabling OSPF and BGP in Internal and External WAN
Optimal Performance Analysis Enabling OSPF and BGP in Internal and External WANOptimal Performance Analysis Enabling OSPF and BGP in Internal and External WAN
Optimal Performance Analysis Enabling OSPF and BGP in Internal and External WAN
 
ppt (it).pdf
ppt (it).pdfppt (it).pdf
ppt (it).pdf
 
Dynamic routing protocols (CCNA)
Dynamic routing protocols (CCNA)Dynamic routing protocols (CCNA)
Dynamic routing protocols (CCNA)
 
Lecture number 5 Theory.pdf(machine learning)
Lecture  number  5 Theory.pdf(machine learning)Lecture  number  5 Theory.pdf(machine learning)
Lecture number 5 Theory.pdf(machine learning)
 
Packet Tracer: Routing protocols EIGRP and OSPF
Packet Tracer: Routing protocols EIGRP and OSPFPacket Tracer: Routing protocols EIGRP and OSPF
Packet Tracer: Routing protocols EIGRP and OSPF
 
CSC427_Week_11.pdf
CSC427_Week_11.pdfCSC427_Week_11.pdf
CSC427_Week_11.pdf
 
Day 8 1 introducing routing n
Day 8 1 introducing routing nDay 8 1 introducing routing n
Day 8 1 introducing routing n
 
Routing protocols
Routing protocolsRouting protocols
Routing protocols
 

Dernier

Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
jaanualu31
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
MayuraD1
 

Dernier (20)

Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal load
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLEGEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
Wadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxWadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptx
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 

RIP and OSPF

  • 1. Abstract: A routing protocol specifies the method of communication among routers used in the inter connection of networks. There are many protocols like OSPF, RIP, EIGRP, OPNET, IGRP, etc. The Routing Information Protocol (RIP) comes under the distance vector algorithm and the Open Shortest Path First Protocol (OSPF) is a link state routing algorithm. In RIP (Routing Information Protocol) If any link failure with any new path happened, then the network will update routing table again and find another shortest path. Whenever all link failures are finished the first used path will be used again after updating, that means the signal will back to the first path below. That if both failures finished at the same time, but if not then, the signal will back to the path which was used before that link failure happen. On the other hand, Link State Routing Protocol (OSPF) works on a more complicated algorithm where links costs have been defined according to the bandwidth of that link, and the routing table for the entire network will be set regarding to each node with it is neighbours. One router will be the designated router that will be responsible for sending the link advertisement to the other routers. To illustrate that, the same topology will be deployed again and the configuration for the routing protocol will be set to work.
  • 2. RIP (Routing Information Protocol) RIP is intra domain routing protocols which is usually known as Distance Routing Protocol. Here is referring to the number of hops which is calculated by the router to reach a specific destination. I,e , the path that the router chooses to reach the subnet. It is mainly used in small network. distance vector routing protocol (RIP) defines the best path as the path with the least number of router the lowest hop counts’ path) whatever the bandwidth of that path was, and then it will always choose that path unless a link failure happened. Important Facts Of RIP: 1. Periodic : In RIP the routing updates are sent in regular interval. The default interval timer is 30 seconds. 2. Full Update: The router sends full updates each and every time, Instead of sending changed or new routing information. RIP Configuration:
  • 3. Concept of Route by Distance Vector Protocol: Router 0: Source Destination Next Hop Cost in hops Con 192.168.1.0 N/A 0 Con 192.168.2.0 N/A 0 RIP 192.168.3.0 192.168.2.2 1 RIP 192.168.4.0 192.168.2.2 1 RIP 192.168.5.0 192.168.2.2 2
  • 4. Router 1: Source Destination Next Hop Cost in hops Con 192.168.2.0 N/A 0 Con 192.168.4.0 N/A 0 Con 192.168.3.0 N/A 1 RIP 192.168.1.0 192.168.2.1 1 RIP 192.168.5.0 192.168.2.1 1 Router 2: Source Destination Next Hop Cost in hops Con 192.168.4.0 N/A 0 Con 192.168.5.0 N/A 0 RIP 192.168.1.0 192.168.4.1 2 RIP 192.168.2.0 192.168.4.1 1 RIP 192.168.3.0 192.168.4.1 1 Disadvantages of RIP: 1. It converges slowly, especially on large networks 2. It doesn’t have knowledge of the bandwidth of a link 3. It doesn’t support multiple paths for the same route 4. Routing updates can require significant bandwidth, as the entire routing table is sent when a link’s status changes 5. Prone to routing loops 6. It can have only 16 hops. Advantages of RIP: 1. Very easy to understand and configure 2. It is almost guaranteed to be supported by all routers 3. Generally loop free
  • 5. OSPF (Open Shortest Path First) It uses link-state technology in which routers send each other information about the direct connections and links to all routers in the network. Each OSPF router required to maintains an identical database to describe the autonomous system's topology. From this database, a routing table is calculated by constructing a shortest path tree. OSPF calculates the cost of the path according to that link bandwidth even if that path was not with the lowest routers number. OSPF is implemented as a program in the network layer, using the service of the IP for propagation. The protocol recalculates routes when network topology changes, using the Dijkstra algorithm, and minimises the routing protocol traffic that it generates. It provides support for multiple paths of equal cost. Configuration of OSPF:
  • 6. Disadvantages of OSPF: 1. OSPF is very processor intensive. 2. OSPF maintains multiple copies of routing information, increasing the amount of memory needed. 3. Using areas, OSPF can be logically segmented (this can be a good thing and a bad thing). 4. OSPF is not as easy to learn as some other protocols. 5. In the case where an entire network is running OSPF, and one link within it is "bouncing" every few seconds, OSPF updates would dominate the network by informing every other router every time the link changed state. OSPF routers check the status of other routers on the network by sending a small hello packet at regular intervals. Advantages of OSPF: 1. OSPF is a Link State Algorithm 2. OSPF supports Variable Length Subnet Mask (VLSM) 3.OSPF uses multicasting within areas. 4. After initialization, OSPF only sends updates on routing table sections which have changed, it does not send the entire routing table.