28.06.2014 Views

Discussion

Discussion

Discussion

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter<br />

CHAPTER<br />

12<br />

12<br />

OSPF 12<br />

12.0 Introduction<br />

The Open Shortest Path First (OSPF) protocol is an IGP that routes packets within a<br />

single AS, or domain. The IETF began work on OSPF in the late 1980s to develop a<br />

replacement for RIP, which was the only routing protocol at the time, because people<br />

felt that a stronger routing protocol was needed and the link-state algorithm<br />

looked promising. OSPF was implemented by router vendors in the early 1990s and<br />

was eventually standardized by the IETF in 1997 as OSPF Version 1. The current<br />

standard is Version 2, defined in RFC 2328. Much of the OSPF design was lifted<br />

from IS-IS, which is an ISO routing-protocol standard developed at the same time.<br />

OSPF was designed specifically for TCP/IP and explicitly supports IP subnetting and<br />

the tagging of externally derived routing information. OSPF also provides for the<br />

authentication of routing updates. RFC 2740 defines OSPF for IPv6.<br />

As an IGP, OSPF works within a domain, which usually corresponds to an administrative<br />

boundary and focuses on determining the most efficient routes to destinations<br />

within a domain. EGPs, on the other hand, primarily focus on policy rather<br />

than on the most efficient routing.<br />

OSPF is a link-state protocol and uses link-state advertisements (LSAs) to describe<br />

the network topology. Each OSPF router generates LSAs that describe the topology it<br />

sees and floods the LSAs throughout the domain. As a result, each router ends up<br />

with a link-state database that describes the same network topology. Once the router<br />

has the complete network topology, it runs the Dijkstra SPF calculation to determine<br />

the shortest path to each destination in the network. The calculation results in<br />

destination/next-hop pairs that are placed in the OSPF routing database. Each router<br />

performs the SPF calculation independently, and the result is that each OSPF router<br />

has an identical routing database (though each router has different next hops for the<br />

destinations).<br />

OSPF runs directly over IP, using IP protocol 89. It does not use a transport layer<br />

protocol such as TCP or UDP.<br />

382<br />

This is the Title of the Book, eMatter Edition<br />

Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!