Network World
Saturday, November 22, 2008
DNSstuff.com
Get information about your IP
IP Information
50+ On-demand DNS and network tools

Brad Reese on Cisco

Cisco Subnet

Navigation

How does OSPF select the best route on Cisco routers and does load balancing work across multiple paths?

Cisco How-To Tutorials

Open Shortest Path First (OSPF) is a link state routing protocol that supports hierarchical routing by allowing the domain to be divided into multiple areas for better manageability and scalability.

Depending on the point where a network is sourced, there are various types of routes that could be present in a OSPF domain.

When there are multiple routes to a particular network in a OSPF domain, the type of the route influences the route that is selected and installed by the router in the routing table.

In OSPF, routes that are learned by a router from OSPF sources within the same area are known as inta-area routes.

Routes that originate from an OSPF router in a different area are considered as inter-area routes.

Certain networks could belong to a domain outside OSPF, which could then be redistributed into the OSPF by an Autonomous System Boundary Router (ASBR).

Such routes are considered external routes.

They can be further divided into external type-1 or external type-2 routes, depending on how they are advertised while being redistributing on the ASBR.

The difference between these two types is the way in which the metric for the route is calculated.

OSPF-running routers use these criteria to select the best route to be installed in the routing table:

A) When there are multiple routes available to the same network with different route types, routers use this order of preference (from highest to lowest):

1. Intra-area routes.

2. Inter-area routes.

3. External Type-1 routes.

4. External Type-2 routes.

B) If there are multiple routes to a network with the same route type, the OSPF metric calculated as cost based on the bandwidth is used for selecting the best route.

The route with the lowest value for cost is chosen as the best route.

C) If there are multiple routes to a network with the same route type and cost, it chooses all the routes to be installed in the routing table, and the router does equal cost load balancing across multiple paths.

For more information refer to:

How Does Load Balancing Work?
Route Selection in Cisco Routers
How can I give preference to OSPF interarea routes over intra-area routes?

View more Cisco How-To Tutorials

Contact Brad Reese
http://www.BradReese.Com

Brad's Top 5 Story Picks
# 1. Increase Cisco test database to over 1000 questions
# 2. Mastering VoIP network infrastructure problems: Q & A with the inventor of Xangati rapid problem identification (RPI) system
# 3. Hire success rates for Cisco job posts appear elusive
# 4. How to setup a Cisco IP SLA TCP connect operation
# 5. Power and cooling: Cisco vs. Enterasys
Story Archives Brad Reese on Cisco Story Archives

Cisco Repair

Cisco VoIP Gateways

Cisco Power Supplies

Cisco Aironet Wireless

  

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <i> <b> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <br /> <br> <p>
  • Lines and paragraphs break automatically.
  • You can use BBCode tags in the text.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.

About Brad Reese on Cisco

Brad Reese cofounded BradReese.Com Cisco Refurbished which offers one year warranties on Cisco Refurbished and Cisco Repair.

RSS feed

Contact him.

Brad's blogroll

Brad Reese on Cisco archive.

Cisco Subnet

The opinions expressed in this Weblog are those of the writer and may not represent the opinions of Network World.

Advertisement: