Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question
    
OSPF is a routing protocol. RIP is what you say when someone dies. –  Tom O'Connor Jan 24 '13 at 12:01
add comment

4 Answers

up vote 4 down vote accepted

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.

share|improve this answer
add comment

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

share|improve this answer
1  
OSPF is an open standard, EIGRP is probably the Cisco proprietary protocol you're thinking of. –  Shane Madden Jun 20 '11 at 2:40
    
ahh yes Shane u're absolutely correct. My bad. –  Vangel Jun 20 '11 at 7:02
add comment

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.

share|improve this answer
add comment
  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.
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.