Load Balancing over 2 different paths

Unanswered Question
Nov 29th, 2007
User Badges:

If I have an IP routing enabled 3750G that has 2 different L3 paths to a destination and OSPF recognizes these 2 equal cost paths, does CEF automatically load balance on these links or does OSPF use some load-balancing mechanism?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
bvsnarayana03 Thu, 11/29/2007 - 07:46
User Badges:
  • Silver, 250 points or more

CEF performs switching packets from the information available in the routing table.


So once ospf identifies 2 paths as equal cost & puts them in to routing table, cef checks the routing table & switches packets on these equal cost links .


Check this link for more details:

http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080094820.shtml



pls rate if helped.

Edison Ortiz Thu, 11/29/2007 - 08:49
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

Small correction on how CEF makes forwarding decision.


CEF uses a FIB (Forwarding Information Base) not RIB (Routing Information Base) to make IP destination prefix-based switching decisions.


The FIB contains the prefixes from the IP routing table structured in a way that is optimized for forwarding. When routing or topology changes occur in the network, the IP routing table is updated, and those changes are reflected in the FIB. The FIB maintains next-hop address information based on the information in the IP routing table.


Because there is a one-to-one correlation between FIB entries and routing table entries, the FIB contains all known routes and eliminates the need for the route cache maintenance that is associated with switching paths such as those used in fast switching and optimum switching.


This is a good document to read on CEF


http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cg/hisw_c/ch05/ceb_ov.htm#wp1053721




Actions

This Discussion