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.

1
  • 6
    OSPF is a routing protocol. RIP is what you say when someone dies. Jan 24, 2013 at 12:01

5 Answers 5

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.

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

2
  • 3
    OSPF is an open standard, EIGRP is probably the Cisco proprietary protocol you're thinking of. Jun 20, 2011 at 2:40
  • 1
    ahh yes Shane u're absolutely correct. My bad. Jun 20, 2011 at 7:02
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.
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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .