The Fundamentals of OSPF Routing Design

Previous Table of Contents Next


Using Tunable OSPF Parameters

There is a group of tunable OSPF parameters that can help you design an area that will more readily meet your network’s specific needs. All of these commands and their associated values generally default to good values. If you are considering changing them, it is good practice to change them in all routers.


TIPS:  
Remember, Cisco routers will not show default values in their configuration files.

The tunable OSPF parameters are as follows:

  ip ospf hello-interval {seconds}. This command defaults to a value of 10 seconds. By modifying this value you can specify the transmission interval between hello packets sent out an interface.
  ip ospf dead interval {seconds}. This command defaults to a value four times the hello interval. This command specifies how long a router’s hello packets must not have been seen before its neighbors declare the router down.
  ip ospf retransmission-interval {seconds}. This command defaults to a value of five seconds. By modifying this value, you can specify the number of seconds between LSA retransmissions.
  ip ospf transmit-delay {seconds}. This command defaults to a value of one second. By modifying this value, you are able to set the time to delay before transmitting a LSA from an interface.

Critical Aspects of Area Design

The two most critical aspects of designing an area include determining how the area is addressed and determining how the area is connected to the backbone. Areas should have a contiguous set of network and/or subnet addresses whenever possible. You can have an area with any combination of networks and subnets, but it is strongly discouraged. Whenever possible, you should have an area consist of grouped networks and subnets so that route summarization can be easily accomplished. Without a contiguous address space, the implementation of route summarization is impossible.

The routers that connect an area to the backbone are called ARBs. Areas can have a single ABR or they can have multiple ABRs. In general, you should have more than one ABR per area to minimize the chance of the area becoming disconnected from the backbone.

Designing the Backbone Area

The OSPF backbone (also known as area 0) is extremely important. If more than one area is configured in an OSPF network, one of these areas has to be area 0. When designing networks, it is good practice to start with area 0 and then expand into other areas later on. To summarize, the OSPF backbone is the part of the OSPF network that acts as the primary path for traffic that is destined to other areas or networks.

Accepted network design theory recommends a three-tiered approach (see Figure 5-8). This theory states that there should never be more than three tiers with a maximum of six router hops across the farthest points of the network. This type of design suits OSPF very well because of its area concepts and need for hierarchical routing. This design also reduces convergence time and facilitates route summarization.


Figure 5-8  The three-tiered network design model.

Backbone Design Golden Rules

You should stick to the following guidelines when designing an OSPF backbone (area 0):

  Ensure the stability of the backbone.
  Ensure redundancy, as this is definitely called for in such a critical area.
  Ensure that OSPF backbones are contiguous.
  Keep this area simple. The fewer the routers the better.
  Keep the bandwidth symmetrical so that OSPF can maintain load balancing.
  Ensure all other areas connect directly to area 0.
  Restrict all enduser (host) resources from area 0.

The backbone has to be at the center of all other areas, that is, all areas have to be physically connected to the backbone. The reasoning behind this is that OSPF expects all areas to inject routing information into the backbone and, in turn, the backbone will disseminate that routing information into other areas. Figure 5-9 illustrates the flow of routing information in an OSPF network.


Figure 5-9  The flow of information in an OSPF network, in which the backbone is the key.

In Figure 5-9, all areas are directly connected to the backbone. Stability and redundancy are the most important criteria for the backbone. Keeping the size of the backbone reasonable results in stability. This is very desirable because every router in the backbone needs to recompute its routes after every link-state change. Keeping the backbone small reduces the likelihood of a change and reduces the amount of CPU cycles required to recompute routes.

Redundancy is important in the backbone to prevent partition when a link fails. Good backbones are designed so that no single link failure can cause a partition (that is, the backbone becomes isolated). OSPF backbones must be contiguous. All routers in the backbone should be directly connected to other backbone routers. Avoid placing hosts (such as workstations, file servers, or other shared resources) in the backbone area. Keeping hosts out of the backbone area simplifies internetwork expansion and creates a more stable environment because a host’s normal operation (morning/evening, power up/down) will cause unnecessary LSA traffic.

Virtual Links: Bane or Benefit?

OSPF includes the concept of virtual links. In the rare situations that a new area is introduced that cannot have a direct physical access to the backbone, a virtual link will have to be configured. A virtual link creates a path between two ABRs that are not directly connected. Accepted network design theory considers the use of virtual links the result of a poorly designed backbone.

A virtual link is able to connect an ABR to the backbone (area 0) even though it is not directly connected (see Figure 5-10). Through the use of a virtual link, which is similar to a tunnel, this can be accomplished.


Figure 5-10  Virtual links: bane or benefit?

Some of the characteristics and suggested uses for virtual links include the following:

  Their stability is determined by the stability of the area they traverse.
  They can only be configured on ABRs.
  They cannot run across stub areas.
  They assist in solving short-term network connectivity problems.
  They can be used to assist in providing redundancy.
  OSPF treats two routers joined by a virtual link as if they were connected by an unnumbered point-to-point network.
  Virtual links cannot be configured on unnumbered links or through stub areas.


TIPS:  
Using the show ip ospf virtual-links command in enable (EXEC) mode, you can see the virtual links configured on a router.


Previous Table of Contents Next




OSPF Network Design Solutions
OSPF Network Design Solutions
ISBN: 1578700469
EAN: 2147483647
Year: 1998
Pages: 200
Authors: Tom Thomas

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net