Illustrated TCP/IP Illustrated TCP/IP
by Matthew G. Naugle
Wiley Computer Publishing, John Wiley & Sons, Inc.
ISBN: 0471196568   Pub Date: 11/01/98
  

Previous Table of Contents Next


Chapter 117
A Routing Protocol Comparison

When reading through the following sections on the OSPF protocol, keep one main goal in mind: network design. OSPF allows us to build very efficient networks through segmenting of an autonomous system into small groups called areas, variable-length subnet masks, Type of Service routing, and a host of other betterments compared to the RIP protocol. It was mentioned at the beginning of this section that there are two types of routing methods: IGP and EGP. The table compares RIP with OSPF.

Function/Feature RIPv1 RIPv2 OSPF
Standard number RFC 1058 RFC 1723 RFC 2178
Link-state protocol No No Yes
Large range of metrics Hop count (16=Infinity) Hop count (16=Infinity) Yes, based on 1–65535
Update policy Route table every
30 seconds
Route table every
30 seconds
Link-state changes, or every
30 seconds
Update address Broadcast Broadcast, multicast Multicast
Dead interval 300 seconds total 300 seconds total 300 seconds total, but usually much less
Supports authentication No Yes Yes
Convergence time Variable (based on number
of routers × dead interval)
Variable (based on number
of routers × dead interval)
Media delay + dead interval
Variable-length subnets No Yes Yes
Supports supernetting No Yes Yes
Type of Service (TOS) No No Yes
Multipath routing No No Yes
Network diameter 15 hops 15 hops 65535 possible
Easy to use Yes Yes No

A Routing Protocol Comparison

Function/Feature RIPv1 RIPv2 OSPF
Standard number RFC 1058 RFC 1723 RFC 2178
Link-state Protocol No No Yes
Large range of metrics Hop count (16=Infinity) Hop count (16=Infinity) Yes, based on 1–65535
Update policy Route table every
30 seconds
Route table every
30 seconds
Link-state changes or every
30 minutes
Update address Broadcast Broadcast, multicast Multicast
Dead interval 300 seconds total 300 seconds total Up to 300 seconds total; usually shorter
Supports authentication No Yes Yes
Convergence time Variable based on
(number of routers
× dead interval)
Variable based on
(number of routers
× dead interval)
Media delay +
dead interval
Variable-length subnets No Yes Yes
Supports supernetting No Yes Yes
Type of Service (TOS) No No Yes
Multipath routing No No Yes
Network diameter 15 hops 15 hops N/A but up to 65535
Easy to use Yes Yes No


Previous Table of Contents Next