Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

OSPF Definition: Open Shortest Path First (OSPF), Is A Routing

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 14

OSPF Definition:

Open Shortest Path First (OSPF), is a


routing protocol used to determine the
correct route for packets within IP
networks. It was designed by the
Internet Engineering Task Force to
serve as an Interior Gateway Protocol
replacing RIP.
BACKGROUND
 Open Shortest Path First (OSPF) is a routing
protocol developed for Internet Protocol (IP)
networks by the Interior Gateway Protocol
(IGP) working group of the Internet
Engineering Task Force (IETF). The working
group was formed in 1988 to design an IGP
based on the Shortest Path First (SPF)
algorithm for use in the Internet. Similar to
the Interior Gateway Routing Protocol (IGRP),
OSPF was created because in the mid-1980s,
the Routing Information Protocol (RIP) was
increasingly incapable of serving large,
heterogeneous internetworks.
 OSPF was derived from several research
efforts, including Bolt, Beranek, and
Newman's (BBN's) SPF algorithm developed
in 1978 for the ARPANET (a landmark packet-
switching network developed in the early
1970s by BBN), and Dr. Radia Perlman's
research on fault-tolerant broadcasting of
routing information (1988).
 OSPF has two primary characteristics. The
first is that the protocol is open, which means
that its specification is in the public domain.
The OSPF specification is published as
Request For Comments (RFC). The second
principal characteristic is that OSPF is based
on the SPF algorithm, which sometimes is
referred to as the Dijkstra algorithm, named
for the person credited with its creation.
 OSPF is a link-state routing protocol that calls
for the sending of link-state advertisements
(LSAs) to all other routers within the same
hierarchical area. Information on attached
interfaces, metrics used, and other variables
is included in OSPF LSAs. As OSPF routers
accumulate link-state information, they use
the SPF algorithm to calculate the shortest
path to each node.
ROUTING HIERARCHY
 Unlike RIP, OSPF can operate within a hierarchy. The
largest entity within the hierarchy is the autonomous
system (AS), which is a collection of networks under a
common administration that share a common routing
strategy. OSPF is an intra-AS (interior gateway) routing
protocol, although it is capable of receiving routes
from and sending routes to other ASs.
 An AS can be divided into a number of areas, which
are groups of contiguous networks and attached
hosts. Routers with multiple interfaces can participate
in multiple areas. These routers, which are called Area
Border Routers, maintain separate topological
databases for each area.
 A topological database is essentially an
overall picture of networks in relationship to
routers. The topological database contains
the collection of LSAs received from all
routers in the same area. Because routers
within the same area share the same
information, they have identical topological
databases.
 An area's topology is invisible to entities
outside the area. By keeping area topologies
separate, OSPF passes less routing traffic
than it would if the AS were not partitioned.
 Area partitioning creates two different types
of OSPF routing, depending on whether the
source and the destination are in the same or
different areas. Intra-area routing occurs
when the source and destination are in the
same area; inter-area routing occurs when
they are in different areas.
Backbone area

 An OSPF backbone is responsible for distributing


routing information between areas. The backbone
area is also known as area 0 or area 0.0.0.0
 It forms the core of an OSPF network. All other
areas are connected to it, and inter-area routing
happens via routers connected to the backbone
area and to their own associated areas
 It consists of all Area Border Routers, networks
not wholly contained in any area, and their
attached routers. Figure 46-1 shows an example of
an internetwork with several areas.
 Figure 46-1 An OSPF AS Consists of Multiple
Areas Linked by Routers
SPF ALGORITHM
 The Shortest Path First (SPF) routing algorithm is the
basis for OSPF operations. When an SPF router is powered
up, it initializes its routing-protocol data structures and
then waits for indications from lower-layer protocols that
its interfaces are functional.
 After a router is assured that its interfaces are
functioning, it uses the OSPF Hello protocol to acquire
neighbors, which are routers with interfaces to a common
network. The router sends hello packets to its neighbors
and receives their hello packets. In addition to helping
acquire neighbors, hello packets also act as keep alives to
let routers know that other routers are still functional
ADVANTAGES OF OSPF:
 Changes in an OSPF network are propagated
quickly.
 OSPF is heirarchical, using area 0 as the top of
the heirarchy
 Using areas, OSPF networks can be logically
segmented to decrease the size of routing
tables. Table size can be further reduced by
using route summarization.
 OSPF is an open standard, not related to any
particular vendor.
 After initialization, OSPF only sends updates on
routing table sections which have changed, it
does not send the entire routing table.
DISADVANTAGES OF OSPF:
 OSPF is very processor intensive.
 OSPF maintains multiple copies of routing
information, increasing the amount of
memory needed.
 OSPF is not as easy to learn as some other
protocols.
 In the case where an entire network is
running OSPF, and one link within it is
"bouncing" every few seconds, OSPF updates
would dominate the network by informing
every other router every time the link
changed state (I've done this).

You might also like