SlideShare ist ein Scribd-Unternehmen logo
1 von 6
Downloaden Sie, um offline zu lesen
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.

Weitere ähnliche Inhalte

Was ist angesagt?

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 NembangAnil Nembang
 
Wireless sensor open flow
Wireless sensor open flowWireless sensor open flow
Wireless sensor open flowKellyCheah
 
Rajesh basics of networking and routing
Rajesh basics of networking and routingRajesh basics of networking and routing
Rajesh basics of networking and routingr123027
 
ospf routing protocol
ospf routing protocolospf routing protocol
ospf routing protocolAmeer Agel
 
Chapter 06 - Routing
Chapter 06 - RoutingChapter 06 - Routing
Chapter 06 - Routingphanleson
 
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 7Tutun Juhana
 
Open Shortest Path First
Open Shortest Path FirstOpen Shortest Path First
Open Shortest Path FirstAtakan ATAK
 
Spaning Tree Protocol
Spaning Tree ProtocolSpaning Tree Protocol
Spaning Tree ProtocolAtakan 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 NetworksSatish Reddy
 

Was ist angesagt? (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
 

Ähnlich wie RIP and OSPF

IPv6 Routing.pdf
IPv6 Routing.pdfIPv6 Routing.pdf
IPv6 Routing.pdfniran10
 
Layer3protocols
Layer3protocolsLayer3protocols
Layer3protocolsassinha
 
Routing protocols.pptx
Routing protocols.pptxRouting protocols.pptx
Routing protocols.pptxMNSUAM
 
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 & ansRavi Kodoli
 
3 ip routing eigrp
3 ip routing eigrp3 ip routing eigrp
3 ip routing eigrpSagarR24
 
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
 
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 WANijdpsjournal
 
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 OSPFRafat Khandaker
 
Day 8 1 introducing routing n
Day 8 1 introducing routing nDay 8 1 introducing routing n
Day 8 1 introducing routing nCYBERINTELLIGENTS
 

Ähnlich wie 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
 

Kürzlich hochgeladen

Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueBhangaleSonal
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapRishantSharmaFr
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdfSuman Jyoti
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...SUHANI PANDEY
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Christo Ananth
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptMsecMca
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 

Kürzlich hochgeladen (20)

Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 

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.