Professional Documents
Culture Documents
16th hop is discarded. It is a classfull protocol. There is also no iv) Efficient and reliable transport of routing updates.
support for router authentication, making RIP prone to various v) It provides scalability.
attacks.
A. OSPFv1
B. RIPv2
RIPv2 is a distance vector routing protocol which is an N number of routers are supported in the OSPF protocol with
enhancement of RIPv1. It is also called as hybrid routing fast convergence.The OSPFv1 is used for detecting any errors
protocol. RIPv2 uses multicasts whereas RIPv1 in the network.OSPFv1 cannot support IPv6 network.
uses broadcasts. RIPv2 supports triggered updates.It notifies
any changes that RIPv2 is a classless protocol and it B. OSPFv2
supports variable-length subnet masking (VLSM). Both
RIPv1 and RIPv2 uses hop count as the metric.
This is the next version of the OSPF v1.There are many
TABLE.I.DIFFERENCES BETWEEN RIPv1 AND RIPv2 limitations for OSPFv1 which can be overcome by OSPFv2. It
is used for fast convergence in IPV4 network with accurate
RIPv1 RIPv2 error detection. .It cannot be used for an IPv6 network.
- classful routing -classless
routing(supports VLSM) C. OSPFv3
-No authentication -authentication is
available
-it uses broadcast -it uses multicast This version of OSPF protocol is used for IPv6 network.It is
very similar to OSPFv2 in its functioning, the only difference
C. RIPng being that it is used for IPV6 network and OSPFv2 is used for
IPV4 network.It uses area 0 as the backbone of the
network.OSPv3 will be having three types of addresses like
RIPng stands for RIP next generation. It is an extension of area id, router id and link state id. Using these ids the OSPF
RIPv2 which supports IPv6. The major enhancement in RIPng protocol communicates with the routers in the network.
is that it supports Ipv6 and it does not support authentication.
RIPv2 allows attaching arbitrary tags to routes, RIPng does V. COMPARITIVE ANALYSIS
not. RIP also has architectural limitations to not exceed 15
hop counts. It is prone to routing loops when the routing tables
An overall comparative analysis of RIP and OSPF protocols is
are reconstructed especially when it is implemented in large
given in table 2. RIP sends the contents of the routing table
networks. It might take extremely long time to resolve routing
every 30s whereas OSPF sends hello packets in every 10s and
loops.
when any data is updated, it sends the updated data alone and
IV. OPEN SHORTEST PATH FIRST
not the whole routing database. OSPF may be considered
better than RIP, but its complexity doesn’t allow it to be used
OSPF is a router protocol which is used for larger networks by everyone. The comparison between RIP and OSPF is done
other than using RIP. OSPF immediately multicasts any in terms of Latency, Throughput, Convergence time and
changes that is made in the network to all the other hosts. RIP Packet Loss. The result obtained is shown in the form of a bar
advertises the entire routing table, whereas OSPF sends only graph.
the part that has changed. RIP sends the routing table to the
neighbors in every 30 seconds. OSPF multicasts the updated
information only when a change has taken place. It also sends
hello packets in every 10s.
Architecture
6 ROUTERS-R1,R2,R3,R4,R5,R6
5 SWITCHES-SW1,SW2,SW3,SW4,SW5
8 CLOUDS-C1,C2,C3,C4,C5,C5,C7,C8
TABLE.II.COMPARISON OF RIP AND OSPF other hand has fast convergence and efficiently uses the
METRICS RIP OSPF bandwidth. Since OSPF has fast convergence, packet loss is
No of nodes Maximum of 16 N number of nodes less. The throughput rate is higher for OSPF than RIP. Hence
nodes only can be can be used reliability and efficiency of OSPF is more than RIP. OSPF has
used the least cost of transmission compared to RIP. When OSPF
Shares Shares the whole Shares the link alone and RIP are implemented together in a network, OSPF is
database chosen over RIP as it has a lower administrative distance
Data known Contains details Contains details of value than RIP. OSPF is the best choice for larger networks
only about its the entire database and RIP can be limited to simple and small networks.
neighbors
Advertising time The The advertisements
advertisements are sent in every 10s
are sent in every
30s
References
Advertising data The whole Only the updated data
database is is advertised which
advertised each minimizes overhead
time which
results in [1]. Jagdeep Singh, Rajiv Mahajan ,“Simulation Based
overhead comparitive study of RIP, OSPF and EIGRP”,
Algorithm used Distance vector Link state algorithm International Journal of Advanced Research in
algorithm Computer Science and Software Engineering,
Error detection It cannot detect It can detect errors or Vol3,Iss.8, pp.1-4, August 2013.
errors or failures failures [2]. Rajendra kumar, Jitendra Vats, Arvind
Metric used It uses hop count It uses cost metrics Kumar,“Comparitive Study of Routing Protocols”,
Summarization Auto- Manual International Journal of Computer Science and
summarization summarization Information Technology, Vol.3, iss.6, pp.1-5,2011
Implementation RIP is easy to OSPF consists of [3]. Vetriselvan.V, Mahendran.M , “Survey on RIP,
implement complex processes OSPF and EIGRP Routing protocols”, International
Journal of Computer Science and Information
Network Efficient for Efficient for large
Technology, Vol.5(2), iss.3, pp.2-7, 2014.
small networks networks
[4]. Shah.A, Waqs J. Rana ,“Performance analysis of
Packet loss More when there Comparatively less
RIP and OSPF protocols in Network using OPNET”,
is a failure than RIP
International Journal of Computer Science Issues,
Latency Latency is more Latency is less
Vol.10, Iss.6, pp. 2-5,November 2013.
Throughput Less information Throughput is more [5]. A. Abu,” Comparison study between IPV4 &
is processed as as the Latency is less. IPV6”,International Journal of Computer Science
the Latency is Throughput=Packet Issues,Vol.10, No 2, pp.3-4,2012.
more. size/ Latency [6]. Dan Pei,Xiaoliang Zhao, LAn Wang “Detection of
Throughput is Invalid Routing Announcements in RIP Protocol”
computed as ,International Journal of Computer
Packet Applications”, Volume 665-0-5622 2652-6/10,June
Size/Latency 2010.
Administrative AD value is 120 AD value is 110 [7]. R. Coltun,et al., "RFC 5340 OSPF for
Distance IPv6,"IETF,vol.24, Iss 6,pp.352-365,2010.
[8]. IKram Ud Din,Saeed Mahfooz, Muhammad Adnan,
VI. Conclusion: “Analysis of the Routing Protocols in Real Time
Transmission: A Comparitive Study”,Global Journal
RIP sends the whole routing information through periodic of Computer Science and Technology,Vol 4, Iss.5,
updates which overloads the network and results in pp.4-6,2010.
unnecessary waste of bandwidth. RIP has a high latency value [9]. Pankaj Rakheja, Prabhjot kaur, Anjali gupta, Aditi
than OSPF. RIP has higher convergence time than OSPF and Sharma, “Performance Analysis of RIP,
hence it is suitable only for smaller networks. OSPF on the OSPF,IGRP and EIGRP Routing Protocols in a
IEEE Sponsored 2nd International Conference on Innovations in Information Embedded and Communication Systems ICIIECS’15