Differences between RIP and OSPF

maidtweetNetworking and Communications

Oct 29, 2013 (4 years and 11 days ago)

79 views


Differences between RIP and OSPF


1.

Routers running RIP exchange the contents of the
routing tables with each of its neighbours, not with all
routers. This happens by default every 30 secs. Leads
to heavy network traffic.

2.

Every RIP router knows the next ho
p router to all
reachable networks, plus a hop count to each network.
It does not know the topology/interconnection of the
network beyond the next hop router.

3.

RIP routers suffer from slow convergence.

4.

A hop count is the only metric maintained.

5.

RIP v 1 does

not support subnetting or the use of
CIDR. RIP v 2 does.

6.

Routers running OSPF exchange messages with all
other routers in the Autonomous System to which it
belongs. Those messages contain information
regarding the state of its local links. I.e either
up/
down, IP addresses, masks etc

7.

OSPF routers build up a database of network topology
information. From this they build a tree diagram to
show routes to every other reachable network. Then
calculate the shortest path, based on a variety of
metrics. Can derive

a ‘shortest path’ based on
reliability, bandwidth, distance, security, cost etc.

8.

Once data base is synchronized, messages are sent
only on topology change detection.

9.

Requires considerable calculation to synchronize the
databases. After that, in the absenc
e of topology
changes, low overhead.