RFC 1246
Experience with the OSPF Protocol
RFC 1246: Experience with the OSPF protocol ๐
Okay bestie, this one's the title block tea โ. It's RFC 1246, written for the Network Working Group by J. Moy, who's the Editor ๐ . It's dated July 1991 ๐ธ. It's an informational memo, not a standard (more on that in a sec). There's no "obsoletes" or "updates" line in the header, so it doesn't replace or change any earlier RFC โจ.
Status of this Memo ๐ฆ
So this memo is here to provide information for the Internet community ๐. It does not specify any Internet standard, so it's giving "here's what we learned" energy, not "you must do this" energy ๐ซถ. Distribution of this memo is unlimited, so everyone can read it ๐.
Abstract ๐ธ
Okay so this is the second of two reports on the OSPF protocol ๐. The IAB/IESG needs these reports before an Internet routing protocol can move up to Draft Standard Status, so they're kind of a big deal ๐. OSPF is a TCP/IP routing protocol built to be used inside an Autonomous System (aka, it's an Interior Gateway Protocol) ๐ง.
OSPF is currently a Proposed Standard โญ. Version 1 was published in RFC 1131, and then OSPF Version 2 got developed, which is documented in RFC 1247. The changes between V1 and V2 are explained in Appendix F of RFC 1247 ๐. This report is all about OSPF Version 2, bestie ๐ .
This report documents experience with OSPF V2. That includes interoperability testing, field experience, simulations, and the current state of OSPF implementations ๐ฅ. It also has a summary of the OSPF Management Information Base (MIB), plus a summary of the OSPF authentication mechanism ๐.
Send comments to ospf@trantor.umd.edu ๐.
1.0 Introduction โจ
This document covers how OSPF V2 meets the requirements the IAB/IESG set for an Internet routing protocol to become a Draft Standard. These requirements are briefly summarized below, and the rest of the report shows how OSPF V2 satisfies them ๐.
- The specification for the routing protocol MUST be well written, so that independent, interoperable implementations can be built just from the specification. For example, it SHOULD be possible to build an interoperable implementation without asking the original developers of the routing protocol for help ๐.
- A Management Information Base (MIB) MUST be written for the protocol. The MIB MUST be in the standardization process, but it doesn't need to be at the same level of standardization as the routing protocol ๐.
- The security architecture of the protocol MUST be set forth explicitly. That architecture MUST include mechanisms for authenticating routing messages, and it MAY include other forms of protection ๐.
- Two or more interoperable implementations MUST exist. At least two MUST be written independently ๐ฏโโ๏ธ.
- There MUST be evidence that all features of the protocol have been tested, running between at least two implementations. This MUST include showing that all of the security features have been demonstrated to operate, and that the mechanisms defined in the protocol actually provide the intended protection ๐ก๏ธ.
- There MUST be significant operational experience. This MUST include running in a moderate number of routers configured in a moderately complex topology, and it MUST be part of the operational Internet. All significant features of the protocol MUST be exercised. For an Interior Gateway Protocol (IGP), both interior and exterior routes MUST be carried (unless another mechanism is provided for the exterior routes). For an Exterior Gateway Protocol (EGP), it MUST carry the full complement of exterior routes ๐.
This report is a compilation of info from lots of people, so when you want more detail on something, you can go straight to the right person ๐ซถ. People references are gathered into Section 10.0, in a format similar to the one used in [4] ๐.
1.1 Acknowledgments ๐ท
The OSPF protocol was developed by the OSPF Working Group of the Internet Engineering Task Force ๐งโ๐ป. Tons of people contributed to this report, and they're all listed in Section 10.0 of this report ๐.
2.0 Documentation ๐
Version 1 of OSPF is documented in RFC 1131 [1] ๐ฑ. OSPF Version 2 supersedes Version 1 and is documented in RFC 1247 [2] ๐ฆ. The differences between V1 and V2 are pretty minor, and they're listed in Appendix F of RFC 1247 [2] โจ. Everything in this report is about OSPF V2 unless it's explicitly said otherwise ๐ .
The OSPF Working Group has a mailing list, ospf@trantor.umd.edu, where people talk about protocol features and how things work ๐. The group also meets during the quarterly IETF conferences ๐ธ. The meeting reports get published in the IETF's Proceedings ๐. Two reports on OSPF have also been presented to the IETF plenary: "Everything You Ever Wanted to Know about OSPFIGP" in [5], and "OSPF Update" in [6] ๐ค.
Field trials for OSPF began in Spring of 1990 ๐ท. A mailing list, ospf-tests@seka.cso.uiuc.edu, got set up to chat about how the field trials were going ๐ฌ. Ross Veach of the University of Illinois maintains that list [rrv], and the archives are available too ๐๏ธ. There's been a lot of discussion on the list about OSPF/RIP/EGP interaction ๐.
An OSPF V2 MIB was also developed and published in [3]. Check out Section 3.0 of this report for more ๐.
There's a free implementation of OSPF from the University of Maryland ๐. Rob Coltun wrote it [rcoltun], so reach out to Rob for details ๐.
3.0 MIB ๐
The OSPF MIB is published in RFC 1248 [3] ๐. Rob Coltun [rcoltun] and Fred Baker [fbaker] wrote it ๐ซถ. It sits on the mgmt subtree as SMI standard-mib 13 ๐ณ.
Rob Coltun first developed the OSPF MIB at the University of Maryland, under contract to Advanced Computer Communications ๐ง . Part of his proposal got implemented to help their development, which counts as operational experience, sort of ๐ฅ.
The MIB has a general variables group and ten tables ๐:
TABLE 1. OSPF MIB Organization
Group Name Description
________________________________________________________________
ospfGeneralGroup General Global Variables
ospfAreaTable Area Descriptions
ospfStubAreaTable Default Metrics, by Type of Service
ospfLsdbTable Link State Database
ospfAreaRangeTable Address Range Specifications
ospfHostTable Directly connected Hosts
ospfIfTable OSPF Interface Variables
ospfIfMetricTable Interface Metrics, by Type of Service
ospfVirtIfTable Virtual Links
ospfNbrTable (Non-virtual) OSPF Neighbors
ospfVirtNbrTable Virtual OSPF Neighbors
As MIBs go, the OSPF MIB is quite large, with 105 objects ๐ญ. Here's how those variables break down ๐:
- 11 define the above Group and Tables
- 10 define the Entry in a Table
- 7 are Counters
- 6 are Gauges
- 68 objects mandated by the OSPF Version 2 Specification
Section D.2 of the OSPF V2 specification [2] lists a set of required statistics that an implementation MUST maintain ๐ . Those statistics got folded into the OSPF MIB โจ. The MIB's thirteen Counters and Gauges let people measure how OSPF performs in an operational environment ๐. Most of the rest of the MIB's variables are knobs that let the network administrator tune the many features OSPF offers ๐๏ธ.
For more on the MIB, contact Fred Baker [fbaker] ๐.
4.0 Security architecture ๐
Okay, security is serious in OSPF ๐ค. All protocol packet exchanges get authenticated ๐ก๏ธ. The OSPF packet header, which every OSPF packet has, includes a 16-bit Authentication type field and 64-bits of Authentication data ๐. Each OSPF area MUST run a single authentication scheme, as indicated by the Authentication type field ๐. Still, the system administrator can configure authentication keys on a per-network basis ๐.
When an OSPF packet comes in from a network, the router first checks that it has the correct Authentication type ๐. Then the router authenticates the packet with a verification algorithm, using the configured authentication key, the 64-bits of Authentication data, and the rest of the OSPF packet data as input ๐งฎ. The exact algorithm is decided by the Authentication type ๐. Packets that fail authentication get dropped, and the failure gets noted in a MIB-accessible variable (see [3]) ๐ซ.
There are only a few Authentication type values in use right now. The current assignments are ๐:
TABLE 2. Current OSPF Authentication types.
Type code Algorithm
____________________________________________________________________
0 No authentication performed.
1 Simple (clear) password.
2-255 Reserved for assignment by the IANA (iana@isi.edu)
> 255 Available for local (per-AS) definition.
For more on OSPF's authentication procedures, check Sections 8.1, 8.2, and Appendix E of [2] ๐ฅ.
5.0 Implementations ๐ง
There are multiple interoperable implementations of OSPF out there now ๐ฅณ. This section gives a quick overview of the five implementations that joined at least one round of interoperability testing ๐. (For the full scoop on OSPF interoperability testing, see Section 7.0 of this report.) Other implementations exist too, but because of commercial realities (like a product that isn't announced yet), they unfortunately can't be listed here ๐.
The five implementations that took part in the OSPF interoperability testing are, in alphabetical order ๐:
- 3com. This one was wholly developed by 3com ๐ข. It joined all three rounds of interoperability testing ๐. It's also the only implementation of OSPF's TOS routing ๐ฏ. The 3com implementation is about 9000 lines of C code, including comments but not the user interface and MIB code ๐ป. Consult Dino Farinacci [dino] for more details ๐ง.
- ACC. This one is based on the University of Maryland code ๐ฆ. It took part in the last two rounds of interoperability testing ๐ . It's also the only implementation of (a precursor to) the OSPF MIB (see Section 3.0 for details), and it uses that for monitoring and configuration ๐. The ACC implementation is about 24,000 lines of C code, including its OSPF MIB code ๐คฏ. Consult Fred Baker [fbaker] for more details ๐.
- Proteon. This one was wholly developed by Proteon ๐ธ. It joined all three rounds of interoperability testing ๐. It's also the only implementation with a significant amount of field experience (see Section 6.0 for details) ๐ฅ. The Proteon implementation is about 9500 lines of C code, including comments but not the user interface code โจ. Consult John Moy [jmoy] for more details ๐.
- Wellfleet. This one joined all three rounds of interoperability testing ๐. Consult Jonathan Hsu [jhsu] for more details ๐.
- University of Maryland. Rob Coltun developed this one wholly at the University of Maryland ๐. It became the basis for a bunch of commercial OSPF implementations, and it also joined the latest round of interoperability testing ๐. It's about 10,000 lines of C code ๐ป. Consult Rob Coltun [rcoltun] for more details ๐ซถ.
Note that, as the IAB/IESG requires for Draft Standard status, there are multiple interoperable independent implementations, namely those from 3com, Proteon, and the University of Maryland ๐โจ.
6.0 Operational experience ๐
This section talks about how OSPF has actually been used out in the wild ๐. Version 1 of OSPF began to be deployed in the Internet in RFC
(to be continued in part 2 ๐ฆ๐)
Spring of 1990 was when it all kicked off, bestie ๐ธ The results from that first rollout went to the ospf-tests@seka.cso.uiuc.edu mailing list. (Archives are available from Ross Veach [rrv].) No protocol bugs turned up in that first deployment, but a few extra features were requested, and those got added in OSPF Version 2 ๐
OSPF is now running in a bunch of places across the Internet ๐ฆ This section zooms in on three super visible systems: the NASA Sciences Internet, BARRNet, and OARnet. Here's how the three OSPF systems stack up:
TABLE 3. Three operational OSPF deployments
Name Version 1 date Version 2 date # routers
_____________________________________________________
NSI 4/13/90 1/1/91 15
BARRNet 4/90 11/90 14
OARnet 10/15/90 not yet 13
All of these deployments use the Proteon OSPF implementation ๐ There's one more deployment worth mentioning. 3com has started rolling OSPF out on their corporate network. Eight of their routers are running OSPF (the 3com implementation), and they're planning to cut over the remaining routers, 20 in all ๐ Right now they have two operational routers running OSPF and RIP at the same time. One converts OSPF data to RIP data, and the other converts RIP data to OSPF data ๐ง For more details, contact Dino Farinacci [dino].
6.1. NSI โจ
The NASA Science Internet (NSI) is a multiprotocol network, currently supporting both DECnet and TCP/IP protocols ๐ NSI's mission is to provide reliable high-speed communications to the NASA science community. It connects with other national networks, including the National Science Foundation's NSFNET, the Department of Energy's ESnet, and the Department of Defense's MILNET. NSI also has international connections to Japan, Australia, New Zealand, Chile, and several European countries ๐
For more info on NSI, contact Jeffrey Burgan [jeff] or Milo Medin [medin].
6.1.1. NSI's OSPF system
NSI was one of the initial deployment sites for OSPF Version 1, and they deployed the protocol in April 1990 ๐ NSI has been running OSPF V2 since 1/1/91, and they currently have 15 routers in their OSPF system. The system is pictured in Figure 1. It's a nationwide collection of serial lines, with ethernets at the hub sites. The numbers attached to the interfaces and links in Figure 1 are the associated OSPF costs. Some links have been weighted so that they're less preferable than others, so pay attention to those ๐
Lots of NSI's OSPF routers are speaking RIP and/or EGP as well as OSPF. Routes from those other routing protocols are selectively imported into the OSPF system as externals. The current number of imported externals is 496 ๐
All NSI externals are imported as OSPF type 2 metrics. NSI also uses the OSPF external route tag to manage the readvertisement of external routes, and this is lowkey genius ๐ง For example, a route learned at one edge of the NSI system via EGP can be tagged with the number of the AS it was learned from. Then, as the OSPF external LSA describing that route gets flooded through the OSPF system, the tagging info goes out to all the other AS boundary routers. A router on the other edge of NSI can then say it wants to readvertise (via EGP) routes learned from one particular AS, but not routes learned from another AS. This lets NSI implement transit policies at the granularity of Autonomous Systems instead of network numbers, which greatly reduces the configuration burden. It's giving efficiency ๐ซถ
NSI has also experimented with OSPF stub areas, so that routers with a small amount of memory can still take part ๐ง
6.1.2. NSI - Deployment analysis
NSI ran a couple of experiments after OSPF was deployed, to test how fast OSPF converges when the network fails and to compare the amount of routing traffic in OSPF with the amount in RIP ๐ The results were included in NSI status reports to the OSPF plenary.
The first experiment ran a continuous ICMP ping, then brought down one of the links in the ping packet's path. They timed how long it took OSPF to find an alternate path by noticing when the pings resumed. The result is in Milo Medin's "NASA Sciences Internet Report" in [8]. It shows that the interrupted ping resumed in three seconds โฑ๏ธ Literally no notes.
The second experiment analyzed how much routing protocol traffic flowed over an NSI link. One of the NSI links had been installed but didn't have any active users yet, so all the traffic on it was routing protocol traffic. The link was instrumented to continuously measure how much bandwidth was consumed, first while RIP was running, and then while OSPF was running. The result is shown graphically in Jeffrey Burgan's "NASA Sciences Internet" report in [9]. It shows that OSPF consumes many times less network bandwidth than RIP ๐ฅ
6.2. BARRNet ๐ธ
BARRNet is the NSFNet regional network in Northern California ๐ Right now it serves about 80 member sites in an area stretching from Sacramento in the north-east to Monterey in the south-west. Sites connect to the network at speeds from 9.6Kbps up to a full T1, using Proteon and cisco routers as well as a Xylogics terminal server. The membership is a mix of university, government, and commercial organizations. BARRNet has interconnections to NSFNet (peering with both T1 and T3 backbones at Stanford University), ESNet (peering at LLNL, with additional multi-homed sites at LBL, SLAC, and NASA Ames), and DDN national networks (peering at the FIX network at NASA Ames). It also connects to the statewide networks of the University of California (peering at U.C. Berkeley) and the California State University system (peering at San Francisco State and Sacramento State) ๐
Topologically, the network is made up of fourteen OSPF-speaking Proteon routers, which act as a "core." Six of these are redundantly connected into a ring. All "core" sites are interconnected via full T1 circuits. Other member sites attach as "stub" connections to the "core" sites. Most of them are connected in a "star" configuration at Stanford University, with smaller numbers at other "core" sites โญ
Contact Vince Fuller [vaf] for more info on BARRNet.
6.2.1. BARRNet's OSPF system
BARRNet was also one of the initial deployment sites for OSPF Version 1, deploying the protocol in April 1990 ๐ฅฐ BARRNet has been running OSPF V2 since November 1990, and it currently has 14 routers in its OSPF system. The BARRNet OSPF system is pictured in Figure 2. It's a collection of T1 serial lines, with ethernets at the hub sites.
Most of BARRNet's OSPF routers are speaking RIP and/or EGP as well as OSPF. Routes from those other routing protocols are selectively imported into the OSPF system as externals. That's a LOT of external routes: the current number is 1816 ๐ The bulk of these are the T1 NSFNet routes, followed by several hundred NSN routes, around 60-80 BARRNet routes from the non-OSPF system, and several dozen from ESNet.
All external routes are imported into the BARRNet system as external type 1 metrics. BARRnet, like NSI, also uses OSPF's external route tagging feature to help manage the readvertisement of external routes via EGP ๐ท๏ธ
BARRnet is also using four stub OSPF areas to collapse subnet information. Each of these stub areas consists of a single LAN, and none of them have any OSPF routers in their interiors ๐งธ
6.2.2. BARRNet - Deployment analysis
The initial deployment of OSPF Version 1 in BARRNet pointed to the need for two new protocol features, which were then added to OSPF V2 ๐ Those were:
- Addition of the forwarding address to OSPF external LSAs. This got rid of the extra hops that were being taken in BARRNet when only routers BR5 and BR6 were exchanging EGP information with the NSS (see Figure 2). Without the forwarding address feature, NSFNet traffic handled by routers BR10, BR16, and BR28 was taking an extra hop to get to the NSS ๐
- Addition of stub areas. This was an attempt to get OSPF running on some of the BARRNet routers that didn't have enough memory to deal with all of BARRNet's external routes ๐ง
6.3. OARnet ๐
OARnet, the Ohio Academic Resources Network, is the regional network for the state of Ohio ๐ It serves the entire higher education community and gives Ohio schools access to colleagues worldwide. The Ohio Supercomputer Center and the NSF Supercomputer Centers are reached through OARnet. Libraries, databases, and national and international laboratories and research centers are accessible to faculty, which helps make Ohio schools competitive ๐
OARnet was established in 1987 to provide statewide access to the CRAY at the Ohio Supercomputer Center in Columbus, Ohio. Since then it has grown into a network supporting all aspects of higher education within Ohio. A primary goal of OARnet is to facilitate collaborative projects and the sharing of resources between institutions, including ones outside the state. OARnet connections are available to Ohio academic institutions and to corporations engaged in research, product development, or instruction. Colleges, universities, and industries currently use OARnet to communicate within the state and with colleagues around the country ๐ค
OARnet uses the Internet (TCP/IP) and DECNET protocols. OARnet participants using TP/IP protocols are connected to the worldwide Internet, which includes all the major networks open to non-classified research. OARnet is also connected to NSFNet, the national research and education network sponsored by the National Science Foundation. It has gateways to BITNET, CSNET, CICNet (a network connecting the Big Ten universities), and the NASA Science Internet ๐ฐ๏ธ
For more info on OARnet, contact Kannan Varadhan [kannan].
6.3.1. OARnet's OSPF system
OARnet has been running OSPF Version 1 since October 15, 1990. They currently have 14 routers in their OSPF system, and the OARnet OSPF system is pictured in Figure 3 ๐บ๏ธ
There are 29 sites connected directly to the OARnet backbone. All 13 of OARnet's OSPF routers act as ASBRs. There are 40 OSPF internal routes on OARnet's network, and they import about 120 routes from RIP. OARnet runs EGP on the DMZnet at Columbus, which connects them to CICNet. The router connecting OARnet to DMZnet (OAR1 in Figure 3) runs EGP on the DMZnet side and OSPF and RIP on the OARnet backbone. No EGP routes are imported into the OSPF system. The OAR1 router is configured to generate a default when EGP routes are available. OAR1 is the keystone for routing on OARnet's network, because it acts as an intermediary for all of OARnet's RIP-centric routers ๐
OARnet uses the Event Logging System on its Proteon routers to generate traps for "interesting" routing events. Those traps get sent to an SNMP management station, where the logs are collected for later perusal ๐
6.3.2. OARnet - Deployment analysis
OARnet monitors its OSPF system by collecting traps on its SNMP management station. Here's their report on what they've observed. It was edited slightly to fit better with the other text and maps in this report. For more info, contact Kannan Varadhan [kannan]:
3 of our 10 DS1 circuits are on digital microwave, and these tend to flap occasionally. Our observations indicate that the routers bring up links, and adjacencies, in about 2 seconds on average. Routes fall back to alternate backup paths instantly. Whole blocks of routes cut over the instant the adjacencies are formed ๐
In contrast, our RIP routes would take about 3-6 minutes to
The OARnet folks had a rough time with RIP, bestie. ๐ญ Route cutover was so slow that they kept losing packets, and the preferred paths never came back.
This was our prime motivation in switching to OSPF. ๐ฆ
We tried to copy Milo Medin's ping test to really show how RIP compares to OSPF. ๐ They picked a host at the farthest point from their workstation and ran a continuous ping to it. Then they took down a primary DS1 circuit and watched how long it took to switch to the fallback route. After that, they brought the circuit back up and timed how long it took to re-sync to the new path. ๐
With RIP, they couldn't finish the experiment. ๐ The farthest point was exactly equal to the new (and preferred) primary path, so RIP would never pick it on its own until the path it was already using failed. With OSPF, it took about 2 seconds to synchronize over a new, much slower 56kb path, and less than a second when the DS1 circuit came back up. โจ
Here are some more observations of the OARnet OSPF system's behavior. ๐ธ
- 131.187.36.0 is the 56kb line to Kent State University. Kent also has a DS1 circuit leading into ASP, the Akron Pop. UAkron.edu has a similar setup. When traffic heads up to Cleveland, it takes a roundabout backup path over a couple of DS1 circuits, and then down a 56kb backup path used by another school in the Cleveland area. ๐บ๏ธ
Some statistical information:
1. 09:55:17: SPF.37: new route to Net 131.187.36.5,
type SPF cost 32
2. 09:55:18: SPF.37: new route to Net 131.187.36.6,
type SPF cost 22
3. 09:55:20: SPF.21: State Change, nbr 131.187.27.6,
new state <Full>, event 9
4. 09:55:21: SPF.37: new route to Net 131.187.36.5,
type SPF cost 31
5. 09:55:22: SPF.37: new route to Net 131.187.36.6,
type SPF cost 21
6. 09:55:28: SPF.21: State Change, nbr 131.187.21.5,
new state <Full>, event 9
7. 09:55:29: SPF.21: State Change, nbr 131.187.51.6,
new state <Full>, event 9
8. 09:55:31: SPF.37: new route to Net 131.187.36.5,
type SPF cost 22
9. 09:55:33: SPF.37: new route to Net 131.187.36.5,
type SPF cost 11
The Akron router restarts and has to re-sync with all the lines. ๐ You can confirm this by looking at the traps from gwCSP1. Traps from gwASP1 still don't get through to us, because traps are sent via UDP, and gwASP1's routing tables aren't fully configured yet. ๐ค
Events 1 and 2 are route changes that send traffic via Cleveland, across 2 DS1 circuits and a 56kb line. ๐ฆ
When the DS1 circuit to UAkron came up, routes instantly cut over to use it as a better least cost path. You can see this in events 3, 4 and 5. โก
In a few seconds, the line to Columbus is next up. That's event 6. Event 8 relates to this cutover and is the best path yet. ๐ When the DS1 circuit to Kent came up, the link was used instantly. ๐ซถ
We can make such a definitive conclusion from these traps because of the topological information we have about the network and the means we used to monitor it. ๐ง
- To show how long it takes to fully synchronize a database, we pieced together a few adjacency forming traces... ๐งฉ
Please keep in mind that these time stamps are from the management station and are not the absolute truth. โฐ We didn't account for transit times of messages, the ordering of events (SNMP traps are sent using UDP), loss of event reports (remember that an entire synchronization sequence of gwASP1 on the ASP-CSP link is missing), and so on. ๐
The trace below corresponds to the Akron router, gwASP1, bringing up the link from the previous section. It was observed on the other end of the line, gwCSP1. ๐
REPORT DATE: 02/26/91 ROUTER: gwcsp1
09:55:06: SPF.15: State Change, ifc 131.187.22.6,
new state <Point-To-Point>, event 1
09:55:06: GW.xxx: Link Up Trap: 09:55:07: SPF.37:
new route to Net 131.187.22.5, type SPF cost 1
09:55:07: SPF.21: State Change, nbr 131.187.22.5,
new state <Init>, event 1
09:55:09: SPF.37: new route to Net 131.187.27.5,
type SPF cost 22
09:55:11: SPF.21: State Change, nbr 131.187.22.5,
new state <ExStart>, event 14
09:55:11: SPF.21: State Change, nbr 131.187.22.5,
new state <2-Way>, event 3
09:55:12: SPF.21: State Change, nbr 131.187.22.5,
new state <Exchange>, event 5
09:55:12: SPF.21: State Change, nbr 131.187.22.5,
new state <Full>, event 9
09:55:12: SPF.21: State Change, nbr 131.187.22.5,
new state <Loading>, event 6
Next up is another trace of the same router restart sequence, where the router is bringing up other DS1 circuits. ๐ Bringing up the first adjacency took about 5 seconds. Subsequent adjacencies took the router less than a second, as seen below. ๐๏ธ
REPORT DATE: 02/26/91 ROUTER: gwasp1
09:55:20: SPF.15: State Change, ifc 131.187.27.5,
new state <Point-To-Point>, event 1
09:55:20: GW.xxx: Link Up Trap: 09:55:20: SPF.21:
State Change, nbr 131.187.27.6, new state <Init>, event 1
09:55:20: SPF.21: State Change, nbr 131.187.27.6,
new state <ExStart>, event 14
09:55:20: SPF.21: State Change, nbr 131.187.27.6,
new state <Exchange>, event 5
09:55:20: SPF.21: State Change, nbr 131.187.27.6,
new state <Full>, event 9
09:55:21: SPF.21: State Change, nbr 131.187.27.6,
new state <Loading>, event 6
09:55:24: SPF.21: State Change, nbr 131.187.51.6,
new state <Init>, event 1
09:55:24: SPF.21: State Change, nbr 131.187.21.5,
new state <Init>, event 1
09:55:25: SPF.37: new route to Net 131.187.21.6, type SPF cost 13
09:55:25: SPF.37: new route to Net 131.187.51.5, type SPF cost 22
09:55:28: SPF.21: State Change, nbr 131.187.21.5,
new state <ExStart>, event 14
09:55:28: SPF.21: State Change, nbr 131.187.21.5,
new state <2-Way>, event 3
09:55:28: SPF.21: State Change, nbr 131.187.21.5,
new state <Exchange>, event 5
09:55:28: SPF.21: State Change, nbr 131.187.21.5,
new state <Full>, event 9
09:55:28: SPF.21: State Change, nbr 131.187.21.5,
new state <Loading>, event 6
09:55:29: SPF.37: new route to Net 131.187.51.6, type SPF cost 1
09:55:29: SPF.37: new route to Net 131.187.21.5, type SPF cost 1
09:55:29: SPF.21: State Change, nbr 131.187.51.6,
new state <Exchange>, event 5
09:55:29: SPF.21: State Change, nbr 131.187.51.6,
new state <ExStart>, event 14
09:55:29: SPF.21: State Change, nbr 131.187.51.6,
new state <2-Way>, event 3
09:55:29: SPF.21: State Change, nbr 131.187.51.6,
new state <Full>, event 9
09:55:29: SPF.21: State Change, nbr 131.187.51.6,
new state <Loading>, event 6
A transient fault on a DS1 circuit makes the line flap. ๐ข All routers quickly reroute around the flap, and the router itself takes about 2 seconds to bring up the adjacency once more. ๐ช
REPORT DATE: 02/26/91 ROUTER: gwasp1
14:33:43: GW.xxx: Link Up Trap:
14:34:19: SPF.15: State Change, ifc 131.187.22.5,
new state <Down>, event 7
14:34:19: GW.xxx: Link Failure Trap:
14:34:19: SPF.47: Net 131.187.22.6 now unreachable
14:34:36: SPF.15: State Change, ifc 131.187.22.5,
new state <Point-To-Point>, event 1
14:34:36: GW.xxx: Link Up Trap:
14:34:37: SPF.37: new route to Net 131.187.22.6, type SPF cost 1
14:34:45: SPF.21: State Change, nbr 131.187.22.6,
new state <2-Way>, event 3
14:34:45: SPF.21: State Change, nbr 131.187.22.6,
new state <Init>, event 1
14:34:46: SPF.21: State Change, nbr 131.187.22.6,
new state <ExStart>, event 14
14:34:46: SPF.21: State Change, nbr 131.187.22.6,
new state <Exchange>, event 5
14:34:47: SPF.21: State Change, nbr 131.187.22.6,
new state <Full>, event 9
14:34:47: SPF.21: State Change, nbr 131.187.22.6,
new state <Loading>, event 6
- On how long a router takes to restart and become fully synchronized: going by the logs in the previous instance, the CSP-ASP link comes up at 9:55:06. โฑ๏ธ The last link is observed to be up at 9:55:29, which is less than a minute. ๐
- For the RIP equivalent of the tests, it took them 3 minutes to cut over to the slower speed fallback route, and they lost countless packets. ๐ฉ The routes never cut over to the higher speed paths when they were available, and they waited well over 30 minutes watching this, wondering why. ๐ค Unfortu- nately, they seem to have lost the RIP statistics at this point. ๐
On the OSPF version, they have...
{nisca danw 51}
ping 131.187.25.6 PING 131.187.25.6 (131.187.25.6):
56 data bytes 64 bytes from 131.187.25.6:
icmp seq=0 ttl(255-ttl)=54(201). time=20 ms
[...]
icmp seq=10 ttl(255-ttl)=54(201). time=20 ms
|| T1 down
icmp seq=14 ttl(255-ttl)=54(201). time=180 ms
icmp seq=15 ttl(255-ttl)=54(201). time=60 ms
[...]
icmp seq=38 ttl(255-ttl)=8(247). time=1300 ms
icmp seq=39 ttl(255-ttl)=54(201). time=820 ms
|| Tl Up
icmp seq=40 ttl(255-ttl)=54(201). time=20 ms
icmp seq=41 ttl(255-ttl)=54(201). time=20 ms
131.187.25.6 PING Statistics
51 packets transmitted, 48 packets received, 5% packet loss
round-trip (ms) min/avg/max = 20/277/1300
6.4. Features exercised during operational deployment โจ
In operational environments, all the basic mechanisms of the OSPF protocol have been put through their paces. ๐ These mechanisms include:
- Designated Router election. Operational deployments have had as many as 8 OSPF routers attached to a single broadcast network. ๐
- Database synchronization. This covers OSPF's adjacency bringup and reliable flooding procedures. Large operational OSPF link state databases (e.g., BARRNet) have given these mechanisms a thorough test. ๐ฅ
- Flushing advertisements. The procedure for flushing old or unreachable advertisements (the MaxAge procedure) has been tested operationally. ๐งน It's interesting that flushing happens more during interoperability testing (because of the constant restarting of routers) than it does operationally. For example, in a week of BARRNet statistics, 9650 advertisements were flushed, while 688,278 new advertisements were flooded. ๐
- Import of external routes. All options of external LSAs have been tested operationally: type 1 metrics, type 2 metrics, forwarding addresses and the external route tag. ๐ฆ
- Authentication. The OSPF authentication procedure has been tested operationally. ๐
- Equal-cost multipath ๐ฃ๏ธ Operational deployments have included topologies with equal-cost, redundant paths. bestie, that's giving redundancy realness โจ
- Stub areas ๐ฟ These have been deployed both in BARRNet and NSI.
6.5. Limitations of operational deployments ๐
okay so these things have NOT been tested in a real operational environment, so let's be honest about it ๐ซถ
- Multi-vendor deployments. So far all deployments have used a single implementation. However, extensive interoperability testing of OSPF has been done (see Section 7.0 of this report). it's not a total mess, the testing just happened in a different place ๐
- Regular OSPF areas. These have however been tested in all three rounds of the OSPF interoperability testing. so they're not untested, just not operational yet ๐ธ
- Virtual links. These have however been tested in OSPF's interoperability testing. ngl, they got the lab treatment ๐งช
- Non-broadcast networks. However, OSPF interoperability testing has been performed over X.25 networks. X.25 said "not today" to being left out ๐ก
- TOS routing. However, this has been tested in OSPF's interoperability testing. TOS got a whole glow-up in the lab ๐
6.6. Conclusions ๐
bestie, the final verdict is SO good ๐ฅ All basic features of the OSPF protocol have been exercised. Very large OSPF link state databases (for example, BARRNet's OSPF system) have been deployed, which gave OSPF's database synchronization mechanisms a seriously thorough workout ๐ช No OSPF protocol problems have been found in operational deployments. literally zero, iconic ๐ฆ
Most of the hassles in operational deployments have to do with the OSPF/RIP interchange ๐ญ Many of these issues have been ironed out on the ospf-tests mailing list (see Section 2.0). However, the interaction between OSPF, RIP, and EGP continues to be an active area of research. so yes, the drama is still cooking ๐ณ
7.0. Interoperability Testing ๐
There have been three separate OSPF V2 interoperability testing sessions. Five separate implementations have participated in at least one session: implementations from the companies 3com, ACC, Proteon and Wellfleet, plus the publicly available implementation from the University of Maryland. the whole gang showed up ๐ฅณ
Each of the testing sessions is described in a succeeding section. For each session, the participants are identified, the testing topologies are described, and the particular protocol features that were exercised are listed. Any protocol problems that came up during testing are described too. In addition, for the second and third rounds, testing reports were sent to the ospf mailing lists, and those reports are reproduced in this document. receipts, all of it ๐งพโจ
There is quite a bit of commonality in the features tested from session to session, and there are a few reasons for that ๐ First, in each testing session an attempt was made to increase the size of the OSPF system under test. For example, the number of external routes imported has doubled each session. Secondly, the interoperability sessions were debugging sessions as well as protocol sessions. Many things tested in the third round were there to verify that implementations had successfully fixed problems found in earlier sessions. main character growth arc, honestly ๐ A brief overview of the testing sessions is presented in the following table:
TABLE 4. OSPF interoperability testing at a glance.
Site Week Routers Externals Implementations
_____________________________________________________________________________
Proteon 9/25/90 6 20-30 3com, Proteon, Wellfleet
SURAnet 12/17/90 10 96 3com, ACC, Proteon, Wellfleet
3com 2/4/91 16 400 3com, ACC, Proteon, Wellfleet, UMD
For more information on the interoperability testing, you can contact these people: Fred Baker [fbaker], Rob Coltun [rcoltun], Dino Farinacci [dino], Jonathan Hsu [jhsu], John Moy [jmoy], and William Streilein [bstreile]. the dream team ๐
7.1. Testing methodology ๐งช
In the interoperability tests, the routers were interconnected using ethernet, serial lines (PPP and proprietary), X.25 and 802.5 token ring. Monitoring of the routers was done by connecting terminals (either directly or via telnet) to the router consoles. Each implementation has a different user interface, which makes monitoring somewhat difficult ๐ฉ As explained earlier in this document, there is now an OSPF MIB, which in the future will enable a common monitoring interface to all implementations. the future is looking bright ๐
In general, each implementation has an error logging capability, and this is often how problems were discovered. LAN protocol analyzers were also used to capture OSPF protocol packet exchanges that were causing problems. These packet traces are available for analysis either during or after the testing sessions. detective era activated ๐ต๏ธโโ๏ธ
Verification of routing was done through visual inspection of each implementation's routing table and link state databases (via the console interface), and through network debugging tools such as "ping" and "traceroute".
7.2. First round (Proteon, 9/25/90 - 9/29/90) ๐ข
The first round of OSPF protocol testing took place at Proteon Inc.'s Westborough facility, the week of September 25, 1990. Three implementations participated, from the vendors 3com, Proteon and Wellfleet. the first ever round, so it's giving pioneer energy ๐
There were two 3com routers, two Wellfleet routers and two Proteon routers available for testing. These routers were interconnected with ethernets and serial lines. External routes were imported from the Proteon company internet. In addition, during off hours the routers under test could be connected to the Proteon company internet, forming one fairly large OSPF system ๐
The testing at Proteon went like this:
- All routers were connected to a single ethernet. Then, as routers were taken up and down, the Designated Router election algorithm and the Database Description process were tested. OSPF's reliable flooding algorithm was also tested in this configuration. up, down, up again, slay ๐
- Twenty to thirty external routes were imported into the OSPF system by a Proteon router (which was simultaneously running RIP). It was then verified that these external routes were installed into the router's routing tables. ๐ค๏ธ
- One of the 3com routers was configured to originate an OSPF default route. This tested OSPF default route processing, and it also tested how the system behaved when multiple routers were importing external routes. โจ
- The OSPF system was split into areas. Both regular OSPF areas (non-stub) and stub areas were tested. ๐งฉ
- The six routers under test were connected to the Proteon company internet (which was also running OSPF), forming an OSPF system of eighteen routers. This configuration was shortlived, due to a disagreement between the 3com and Proteon routers about how to represent an OSPF default route. the default route beef was real ๐ญ๐ซ
Unfortunately, incomplete records were kept of this testing, so no maps of the testing configurations can be reproduced for this document. ๐
7.2.1. Problems found in the First round testing ๐
A couple of OSPF protocol/specification problems were uncovered in the first round of testing. First, it was noticed that there was a window in the Database Description process where concurrently flooded MaxAge advertisements could prevent database synchronization from completing. This required a change in the specification's handling of MaxAge LSAs. the bug that almost ate the whole sync ๐ฝ๏ธ
Secondly, it was found that the OSPF specification did not say how the Network Mask field should be set in external LSAs that were advertising the DefaultDestination. This was a minor problem, but it caused difficulties because one implementation had made assumptions about how the mask should be set. a spec gap with big consequences, iykyk ๐
7.3. Second round (SURAnet, 12/17/90 - 12/21/90) ๐ธ
The second round of OSPF protocol testing took place at SURAnet's College Park facility, the week of December 12, 1990. Four implementations participated, from the vendors 3com, ACC, Proteon and Wellfleet. four is a bigger crowd, we love to see it ๐
There were two 3com routers, two ACC routers, two Wellfleet routers and four Proteon routers available for testing. These routers were interconnected with ethernets, serial lines and token rings. External routes were imported from SURAnet by one of the Proteon routers. ๐งต
The testing at SURAnet went like this. Initially nine routers were configured as a single backbone area, with six of the routers connected to a single ethernet. This is pictured in Figure 4. In this configuration, the Designated Router transition and the database synchronization process were tested. Ninety-six external routes were imported from SURAnet to stress the flooding algorithm. By restarting the router that was importing the routes, the flushing of advertisements from the routing domain was tested. Additionally, variable-length subnets and OSPF's optional TOS routing capability were tested in this configuration. stress test, but make it iconic ๐
Next, the routers were configured into four separate OSPF areas, with each area directly connected to the OSPF backbone (which was a single ethernet). There were no virtual links in this configuration. Inter-area routing was tested, including having AS boundary routers internal to a non-backbone area. Also tested was the case where a single router was both an area border router and an AS boundary router. multi-area glow-up ๐ฆ
For more details of the testing, see the "Official report of the Second Round Testing" listed below. ๐
7.3.1. Official report of the Second round testing ๐
The following report was sent to the ospf, ospf-tests, and router-requirements mailing lists after the second round of interoperability tests:
The second round of OSPF multi-vendor testing was done in College Park, Maryland the week of 12/17/90. The facilities were provided by SURAnet. Four major router vendors were present: Advanced Computer Communications (ACC), Proteon, 3Com, and Wellfleet. A press conference and presentation was provided for 3 different data communication magazine representatives. the press was there, bestie ๐ธ
Each vendor provided at least 2 routers. Each vendor had a device connected to a common Ethernet. This Ethernet was configured as the OSPF backbone area. The rest of the routers were attached to the various backbone routers via Ethernet, Token Ring, proprietary serial line, PPP serial line, and X.25 type media. The following test scenarios were performed and completed in this order:
- Intra-area routing. All routers were configured to reside in the backbone area. Designated Router election was performed a number of times so each vendor could be designated router for a period of time. Packet data was captured on a Sniffer for later observation. ๐
- Variable Length Subnet Masks. Some of the serial lines in the configuration were set to be on the same IP network but with different subnet masks. It was observed that all routers stored routes for the different length subnets. ๐งฉ
- Import SURAnet routes. The Proteon router was listening for RIP routes generated by the SURAnet routers. These routes were imported into our OSPF test system, and 96 external link state advertisements were generated as a result. Many scaling type implementation problems surfaced for each vendor during this exercise. scaling got messy, we learned a lot ๐ญ
- Type of Service generation. While the test setup was still configured as a single area, the 3Com router generated Type of Service link state advertisements. It was observed how the other vendor implementations reacted to them. Some problems were found. ๐ฏ
- Inter-area routing. Multiple areas were configured. Common non-backbone areas were shared by Proteon and Wellfleet, and by ACC and 3Com. It was observed that the correct Intra-area and Inter-area routes appeared in each router's routing table. At this point in the test setup, the Proteon router regenerated the 96 SURAnet routes into the configuration. It was observed that the routes were learned and propagated over area boundaries. Some problems occurred at this point. More emphasis on this scenario will be placed at the next round of testing. the plot thickens ๐
- OSPF over X.25. A point-to-point link was connected between the Proteon router and the 3Com router. The X.25 packet level was configured to run over the link. OSPF was enabled over the link to verify that multi-vendor OSPF over X.25 worked. Both of these routers were in the same area. X.25 shows up again, the comeback is real ๐ก๐ฆ
- MaxAge advertisements ๐งน this one was giving clean-up crew! Link state advertisements were flushed from the routing domain using the MaxAge procedure. We verified that all routers removed the advertisements from their databases, after they were properly acknowledged by the flooding procedure. Some problems were found in this test, although not nearly as many as in the first round of testing. ๐
Each vendor agreed that this sort of testing was extremely valuable and that it should occur again. 3Com has offered for the third round of testing to occur in Santa Clara sometime in February. 3Com will encourage other OSPF implementations to join in the testing. Items that will be tested are: ๐
- Intra-area routing with loops (as well as equal-cost multipath). ๐ฆ
- Inter-area testing including Stub and Transit area support, with both Intra-area and Inter-area loops. ๐ธ
- Virtual link testing in the looped Inter-area configuration. ๐ง
- RIP/OSPF route interchange including testing forwarding address capability in external link state advertisements. ๐
- EGP/OSPF router interchange including the use of the route tag field in external link state advertisements. ๐
- More than two routers connected to an X.25 network. We would like to test OSPF's non-broadcast multi-access capabilities by attaching more than two vendor's routers to an X.25 packet switch. ๐ฅ
- Several vendors running OSPF and RIP simultaneously. This will further test the OSPF/RIP interactions. ๐
- Test processing of links with cost LSInfinity. These links should be treated as unreachable. ๐
Furthermore, we hope that in future rounds of testing an OSPF MIB would allow us to also use a network management station to gather test data. ๐
In summary, the stability of implementations was better this time, more so than in the first round of testing. No problems with the protocol design were encountered. The exchange of ideas and the cooperation among implementors that occurred during this test effort continues the spirit that OSPF is truly an open protocol. ๐ซถโจ
7.3.2. Problems found in the Second round testing
No problems were found in the OSPF protocol during the second round of testing. ๐ฅณ
7.4. Third round (3com, 2/4/91 - 2/8/91)
The third round of OSPF protocol testing took place at 3com's Santa Clara facility, the week of February 4, 1991. Five implementations participated, from the vendors 3com, ACC, Proteon and Wellfleet and the publicly available University of Maryland implementation (running on a SUN workstation). ๐
There were five 3com routers, four ACC routers, three Wellfleet routers, three Proteon routers and the UMD Sun workstation available for testing (giving a total of 16 routers available). These routers were interconnected with ethernets, serial lines and X.25. External routes were imported from BARRNet by one of the 3com routers. ๐ฆ
The initial testing configuration is shown in Figure 5. Three areas were configured, along with a non-contiguous backbone. The backbone was then joined by configuring two virtual links. In this configuration the following OSPF functionality was tested: inter-area routing and virtual links. ๐งฉ
The system was then reconfigured so that twelve of the routers were connected to a single ethernet. This configuration is pictured in Figure 6. By bringing routers up and down, this configuration tested Designated Router election, database synchronization and reliable flooding. To see how this functionality, and also the implementations, scale, 400 external routes were imported from BARRNet. ๐
7.4.1. Official report of the Third round testing
The following report was sent to the ospf, ospf-tests, and router-requirements mailing lists after the third round of interoperability tests: ๐ฌ
The third round of OSPF interoperability testing was held at 3com Corporation in Santa Clara the week of February 4-8. Four router vendors came to the testing: 3com, ACC, Proteon and Wellfleet. In addition, Rob Coltun brought the University of Maryland implementation, which was run on a Sun Workstation. ๐ธ
Testing was performed over ethernet, point-to-point networks (using PPP) and X.25. In all we had 16 routers available: five 3com routers, four ACC routers, three Proteon routers, three Wellfleet routers and Rob's SUN. We also were able to import external routes from BARRNet. ๐
Specific tests performed included the following:
- Initially we configured the routers into three separate areas and a physically disconnected backbone. The backbone was then reconnected through configuration of several virtual links. These tests verified the generation and processing of summary link advertisements, as well as the operation of virtual links. ๐
- We connected multiple routers to an X.25 packet switch, testing OSPF's non-broadcast network capability. OSPF was successfully run over the X.25 network, using routers that were both DR eligible and DR ineligible. Some problems were encountered, but they all involved running IP over X.25 (i.e., they were not X.25 specific). ๐
- We also connected a 3com router, Proteon router, and Rob's SUN to an ethernet, and then treated the ethernet as a non-broadcast network. This allowed us to connect Rob's SUN into the rest of the routing domain without installing the IP multicast modifications to the SUN kernel. It also further tested the OSPF's non-broadcast network capability. ๐ง
- We then reconfigured the OSPF system so that all but three of the routers were connected to a single ethernet. This tested the Designated Router functionality (12 routers were synchronizing with the DR). We then also tested the DR election algorithm, by selectively restarting the DR, or sometimes both the DR and the Backup DR. This also tested OSPF's Database Description process. ๐
- In this configuration, we then imported 400 external routes from BARRNet (one of the 3com routers ran both OSPF and EGP). Some problems were encountered in implementations' buffer allocation strategies, and problems were also found in the way implementations avoid IP fragmentation. But overall, this system was fairly stable. ๐ฅน
The following problems we found in the OSPF specification:
- The specification should say that the "Network mask" field should not be verified in OSPF Hellos received over virtual links. ๐ฉ
- The specification should say that on multi-access networks neighbors are identified by their IP address, and on point-to-point networks and virtual links by their OSPF Router ID. This eliminates confusion when, for example, a router is restarted and comes up with the same IP address but a different Router ID. ๐ซ
Thanks to 3com for providing the testing facility, cables. terminals, X.25 switch. etc. Also thanks to Vince Fuller of BARRNet for helping us import the BARRNet routes. ๐
7.4.2. Problems found in the Third round testing
A couple of specification/protocol problems were found in the third round of interoperability testing. First, it was noticed that the specification did not specify the setting of the Network Mask field in Hellos sent over virtual links. This caused some initial difficulty in bringing up virtual links between routers belonging to different vendors. Secondly, it was noticed that the specification was not strict enough in defining how OSPF neighbors are identified on multi-access networks. This caused difficulties in one implementation when another vendor's router was restarted with the same IP address but a different OSPF Router ID. This is discussed more fully in the above "Official Report of the Third Round Testing". ๐ต๏ธโโ๏ธ
7.5. Overall: Features tested
All significant protocol features and mechanisms have been tested in the three rounds of interoperability testing. In particular, the following basic pieces of the protocol have been tested: ๐
- Designated Router election. With as many as thirteen routers attached to a single LAN, the election of Backup Designated Router and Designated router was verified by bringing routers up and down, singly and in pairs. ๐
- Adjacency bringup. The Database Description process was verified, with databases having over 400 LSAs. Adjacency bringup was also verified in times when flooding was taking place simultaneously. ๐ค
- Reliable flooding. It was verified that OSPF's flooding algorithm maintains database synchronization, both in the presence of loops in the topology, and with large databases (over 400 LSAs). ๐
- Flushing advertisements from routing domain. OSPF's procedure for flushing old or unreachable LSAs from the routing domain was verified, both in the presence of topology loops and with many LSAs being flushed at once. This is also referred to as OSPF's MaxAge procedure. ๐งน
- OSPF routing hierarchy. The OSPF four level routing hierarchy: intra-area, inter-area. type 1 externals and type 2 externals was tested. ๐ช
- Import of external routing information. The importing of external routes has been tested, with as many as 400 imported at once. Also, the varying options in external LSAs has been tested: type 1 or type 2 metrics and forwarding addresses.escribe all options. In addition, test setups were utilized having AS boundary routers both internal to non-backbone areas and also being simultaneously area border routers. ๐ฆ
- Running protocol over various network types. In the test setups, OSPF has been run over ethernet, point-to-point serial lines (both PPP and proprietary), 802.5 token ring and X.25. ๐
- Non-broadcast, multi-access networks. OSPF has been tested over X.25. Some testing was also done treating ethernet as a non-broadcast network. Two separate situations were tested: when all routers attached to the non-broadcast network were DR-eligible, and when only some of them were. ๐
- Authentication. OSPF's authentication procedure was tested for the two current authentication types. ๐
- Equal-cost multipath. Much of the testing was done in configurations with redundant paths, and equal-cost multipath was verified through examination of implementations' routing tables. ๐ฃ๏ธ
- Variable-length subnet masks. It was verified that implementations paid attention to the network mask field present in OSPF LSAs. ๐ฏ
Testing was also performed on the following pieces of OSPF's Area functionality: ๐ก
- Extent of advertisements. It was verified that all advertisements except external LSAs were flooded throughout a single area only. ๐ง
- Inter-area routing. The generation and processing of summary link LSAs was tested. Also tested were configurations having multiple area border routers attaching to a single area. ๐งญ
- Virtual links. ๐
The following OSPF options were also tested: ๐ญ
- TOS routing. The interplay between TOS-capable and non-TOS-capable routers was tested, by configuring TOS-specific metrics in the only implementation (3com) supporting TOS routing. ๐๏ธ
- Stub areas. OSPF's stub area functionality was verified. ๐ท
7.6. Testing conclusions
The interoperability testing has proven to be very valuable. Many bugs were found (and fixed) in the implementations. Some protocol problems were found (and fixed), and gray areas of the specification were cleared up. Implementations have also been "bullet-proofed" in order to deal with the unexpected behavior of other implementations. All participants in the testing now understand the maxim "be conservative in what you generate, and liberal in what you accept" (if they didn't already). ๐ฅ๐
7.7. Future work
The one thing that has gone mostly untested at the interoperability sessions is the interaction between OSPF and other routing protocols (such as RIP and EGP). Each interoperability session generally had a router running multiple routing protocols in order to import external routing information into the OSPF system. However, simultaneously running multiple routing protocols between different vendors' routers has not been tested. ๐๐ฎ
Okay bestie, so every vendor kinda cooked up their own slightly different recipe for swapping routing info between different routing protocols ๐ And the OSPF field testing showed us this is still an ongoing work in progress, and a total candidate for future standardization ๐ โจ
8.0 Simulation โจ
The OSPF protocol got simulated by the Distributed Systems Research Group at the University of Maryland Baltimore County (UMBC) ๐ฆ The two principal investigators on the OSPF simulation project are Dr. Deepinder P. Sidhu of UMBC and Rob Coltun. They had help from three grad students: S. Abdallah, T. Fu and R. Nair. This section is gonna try to sum up their simulation setup and results. If you want more info, contact the Distributed Systems Research Group at this address:
Dr. Deepinder P. Sidhu
Department of Computer Science
University of Maryland Baltimore County
Baltimore, MD 21228
email: sidhu@umbc3.umbc.edu
A demo of their OSPF simulation was given at the March 4-8, 1991 IETF in St. Louis ๐ Details of the demo should be available in the IETF proceedings, so go dig there if you're curious ๐ง
8.1 Simulator setup
The Distributed System Research Group uses a significantly enhanced version of the MIT network simulator ๐ The simulator is event driven, and it supports both point-to-point networks and ethernet links. It can simulate the characteristics of both packet switches and hosts, and it can simulate internet behavior under different types of data traffic load (e.g., Poisson, normal, exponential and uniform distributions). This last ability could be used, for example, to simulate how a routing protocol works in a congested internet ๐ฆ Specific network topologies can be fed into the simulator, or pseudo-random network topologies can be generated. Packet loss rates can be simulated too ๐
To simulate OSPF, Rob Coltun's OSPF implementation was incorporated into the simulator, essentially unchanged ๐ซถ
The simulator's output can be displayed graphically (it uses X windows) ๐ผ๏ธ Any variable in the implementation under test can be monitored. On top of that, statistical reports can be produced later from the logging files created during the simulation runs ๐
8.2 Simulation results
The OSPF simulation has been run using the following topologies:
- The two sample topologies in the OSPF specification (Figure 2 and Figure 6 in [2]). The first of these shows an Autonomous System without areas, and the second shows the same AS with three areas and a virtual link configured ๐
- The 19-node hub topology from [7].
- A large network of over 50 nodes, all attached to a single ethernet.
- A large network of over 50 nodes, containing both ethernets and serial lines, pseudo randomly generated.
In these topologies, the correctness of the OSPF database synchronization was verified ๐ This was done by checking the nodes' OSPF link state databases and the nodes' routing tables. The implementation of multiple OSPF areas was also tested. And database convergence time was analyzed as a function of the network components' link speeds โญ
Some formal analysis of the OSPF protocol was also undertaken ๐ง The neighbor and interface state machines were analyzed. In addition, the Designated Router election algorithm was verified for certain sets of initial conditions ๐
9.0 Reference Documents
The following documents have been referenced by this report ๐
[1] Moy, J., "The OSPF Specification", RFC 1131, October 1989.
[2] Moy, J., "OSPF Version 2", RFC 1247, July 1991.
[3] Coltun, R. and Baker, F., "OSPF Version 2 Management Information Base", RFC 1248, July 1991.
[4] Reynolds, J. and Postel, J., "Assigned Numbers', RFC1060, March 1990.
[5] Corporation for National Research Initiatives, "Proceedings of the Thirteenth Internet Engineering Task Force", Cocoa Beach, Florida, April 11-14, 1989.
[6] Corporation for National Research Initiatives, "Proceedings of the Sixteenth Internet Engineering Task Force", Florida State University, February 6-9, 1990.
[7] Gardner, M., et al., "Type-of-service routing: modeling and simulation," Report 6364, BBN Communications Corporation, January 1987.
[8] Corporation for National Research Initiatives, "Proceedings of the Seventeenth Internet Engineering Task Force", Pittsburgh Supercomputing Center, May 1-4, 1990.
[9] Corporation for National Research Initiatives, "Proceedings of the Eighteenth Internet Engineering Task Force", University of British Columbia, July 30-August 3, 1990.
10.0 People
The following people contributed information to this report and can be contacted for further info ๐ซถ
TABLE 5. People references in this report
Tag Name Affiliation email
__________________________________________________________________________________
bstreile William Streilein Wellfleet bstreile@wellfleet.com
dino Dino Farinacci 3com dino@buckeye.esd.3com.com
fbaker Fred Baker ACC fbaker@acc.com
jeff Jeffrey Burgan Sterling Software jeff@nsipo.nasa.gov
jhsu Jonathan Hsu Wellfleet jhsu@wellfleet.com
jmoy John Moy Proteon jmoy@proteon.com
kannan Kannan Varadhan OARnet kannan@oar.net
medin Milo Medin Sterling Software medin@nsipo.nasa.gov
rcoltun Rob Coltun U. of Maryland rcoltun@umd5.umd.edu
rrv Ross Veach U. of Illinois rrv@seka.cso.uiuc.edu
vaf Vince Fuller BARRNet vaf@valinor.stanford.edu
Security Considerations ๐
The OSPF protocol's security architecture is described in Section 4.0. Go check it out, it's the main event ๐
Author's Address ๐
John Moy
Proteon Inc.
2 Technology Drive
Westborough, MA 01581
Phone: (508) 898-2800
Email: jmoy@proteon.com
๐ฆ where this page comes from
- ietf: rfc1246 1991-07
- ๐ girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms