8

What is the difference between OSPF and RIP? Could someone explain the advantages and disadvantage? Also when I should use one or the other.

Grace
  • 93
  • 1
  • 1
  • 5

5 Answers5

6

http://livinginternet.com/i/iw_route_igp_ospf.htm

The main difference between OSPF and RIP is that RIP only keeps track of the closest router for each destination address, while OSPF keeps track of a complete topological database of all connections in the local network.

This was the first search term google returned when I pasted your question there.

To more closely answer your question, if you're maintaing a very small network, RIP is fine, if you go beyond 3 or 4 routers then perhaps look at a more advanced routing protocol like OSPF.

SpacemanSpiff
  • 8,733
  • 1
  • 23
  • 35
2

RIP is more common to the internet where you cannot know the topology of the entire network and what devices are neighboring you. For example you connect to the ISP but you do not know about your neighbors or rest of ISP connection. RIP is therefore simpler to use in a limited network. OSPF is used in larger networks in larger orgnizations where topology and devices can all use OSPF (most of them) but there is no way to manage so many devices (imagine defining routes in every system when you have 100s or 1000s). So OSPF helps here by handling outage to a certain extent.

RIP is more available though. OSPF if I remember correctly was proprietary protocol and most likely found in Cisco devices

edit: RIP is older than OSPF and said to be slower but much simpler in design

Abhishek Dujari
  • 567
  • 2
  • 5
  • 17
2

RIP takes up bandwidth by broadcasting the entire route table update every 30 Seconds. OSPF and EIGRP does not they only update when a change in the route table occurs. RIP is only good for 16 hops and anything pass that you get Network is unreachable.

1
  1. RIP takes hop count into consideration but OSPF takes Path Cost into consideration to exchange routing information between the routers.
  2. RIP serves good when small network is taken care of while OSPF is mostly used for large network.
pankmish
  • 111
  • 4
0

RIP : Distance vector Protocol. hop Count 15. use distance vector protocol to calculate path. not divided into area or path. OSPF : State Protocol. have no hop. use SPF to calculate path.

mazhar
  • 1