SlideShare a Scribd company logo
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.

More Related Content

What's hot

Routing Protocols
Routing ProtocolsRouting Protocols
Layer 3
Layer 3Layer 3
Layer 3
aaa10425
 
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
 
OSPF Overview
OSPF OverviewOSPF Overview
OSPF Overview
NetProtocol Xpert
 
Routing table
Routing tableRouting table
Routing table
obadahamdan
 
Ospf
 Ospf Ospf
Routing
RoutingRouting
Routing
Saima Azam
 
Rajesh basics of networking and routing
Rajesh basics of networking and routingRajesh basics of networking and routing
Rajesh basics of networking and routing
r123027
 
Routing Protocols
Routing ProtocolsRouting Protocols
Routing Protocols
NetProtocol Xpert
 
ospf routing protocol
ospf routing protocolospf routing protocol
ospf routing protocol
Ameer Agel
 
C C N A Day3
C C N A  Day3C C N A  Day3
C C N A Day3
darulquthni
 
Chapter 06 - Routing
Chapter 06 - RoutingChapter 06 - Routing
Chapter 06 - Routing
phanleson
 
Open shortest path first (ospf)
Open shortest path first (ospf)Open shortest path first (ospf)
Open shortest path first (ospf)
Respa Peter
 
Network layer Part 7
Network layer Part 7Network layer Part 7
Network layer Part 7
Tutun Juhana
 
1 egp
1 egp1 egp
1 egp
PAF-KIET
 
Open Shortest Path First
Open Shortest Path FirstOpen Shortest Path First
Open Shortest Path First
Atakan ATAK
 
Routing protocols
Routing protocolsRouting protocols
Routing protocols
Sourabh Goyal
 
Spaning Tree Protocol
Spaning Tree ProtocolSpaning Tree Protocol
Spaning Tree Protocol
Atakan ATAK
 
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
Satish Reddy
 

What's hot (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
 

Similar to RIP and OSPF

IPv6 Routing.pdf
IPv6 Routing.pdfIPv6 Routing.pdf
IPv6 Routing.pdf
niran10
 
Layer3protocols
Layer3protocolsLayer3protocols
Layer3protocols
assinha
 
OSPF.pdf
OSPF.pdfOSPF.pdf
OSPF.pdf
Jayaprasanna4
 
Ospf
OspfOspf
Ospf
gopi1985
 
Routing protocols.pptx
Routing protocols.pptxRouting protocols.pptx
Routing protocols.pptx
MNSUAM
 
Qs.pptx
Qs.pptxQs.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...
IJMER
 
All in one q & ans
All in one q & ansAll in one q & ans
All in one q & ans
Ravi Kodoli
 
3 ip routing eigrp
3 ip routing eigrp3 ip routing eigrp
3 ip routing eigrp
SagarR24
 
Arun project-Final
Arun project-FinalArun 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...
IJCNCJournal
 
Group 1
Group 1Group 1
Group 1
lifetobeart
 
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
ijdpsjournal
 
ppt (it).pdf
ppt (it).pdfppt (it).pdf
ppt (it).pdf
GouravJain420954
 
OSPF Open Shortest Path First protocol full details
OSPF Open Shortest Path First  protocol full detailsOSPF Open Shortest Path First  protocol full details
OSPF Open Shortest Path First protocol full details
Vignesh kumar
 
Dynamic routing protocols (CCNA)
Dynamic routing protocols (CCNA)Dynamic routing protocols (CCNA)
Dynamic routing protocols (CCNA)
Varinder Singh Walia
 
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)
ZainabShahzad9
 
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
Rafat Khandaker
 
CSC427_Week_11.pdf
CSC427_Week_11.pdfCSC427_Week_11.pdf
CSC427_Week_11.pdf
muazumuhammad6
 
Day 8 1 introducing routing n
Day 8 1 introducing routing nDay 8 1 introducing routing n
Day 8 1 introducing routing n
CYBERINTELLIGENTS
 

Similar to 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
 
OSPF Open Shortest Path First protocol full details
OSPF Open Shortest Path First  protocol full detailsOSPF Open Shortest Path First  protocol full details
OSPF Open Shortest Path First protocol full details
 
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
 

Recently uploaded

Hematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood CountHematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood Count
shahdabdulbaset
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
IJECEIAES
 
Introduction to AI Safety (public presentation).pptx
Introduction to AI Safety (public presentation).pptxIntroduction to AI Safety (public presentation).pptx
Introduction to AI Safety (public presentation).pptx
MiscAnnoy1
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
Victor Morales
 
AI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptxAI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptx
architagupta876
 
Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...
Prakhyath Rai
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
KrishnaveniKrishnara1
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Sinan KOZAK
 
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
Las Vegas Warehouse
 
Welding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdfWelding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdf
AjmalKhan50578
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
171ticu
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
bijceesjournal
 
Software Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.pptSoftware Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.ppt
TaghreedAltamimi
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
RamonNovais6
 
Material for memory and display system h
Material for memory and display system hMaterial for memory and display system h
Material for memory and display system h
gowrishankartb2005
 
artificial intelligence and data science contents.pptx
artificial intelligence and data science contents.pptxartificial intelligence and data science contents.pptx
artificial intelligence and data science contents.pptx
GauravCar
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
Anant Corporation
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
Data Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason WebinarData Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason Webinar
UReason
 

Recently uploaded (20)

Hematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood CountHematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood Count
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
 
Introduction to AI Safety (public presentation).pptx
Introduction to AI Safety (public presentation).pptxIntroduction to AI Safety (public presentation).pptx
Introduction to AI Safety (public presentation).pptx
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
 
AI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptxAI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptx
 
Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
 
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
 
Welding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdfWelding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdf
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
 
Software Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.pptSoftware Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.ppt
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
 
Material for memory and display system h
Material for memory and display system hMaterial for memory and display system h
Material for memory and display system h
 
artificial intelligence and data science contents.pptx
artificial intelligence and data science contents.pptxartificial intelligence and data science contents.pptx
artificial intelligence and data science contents.pptx
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
Data Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason WebinarData Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason Webinar
 

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.