Skip Links

Network World

Brad Reese

How does load balancing work?

By Brad Reese on Mon, 07/14/08 - 12:41am.
Newsletter Signup

Cisco How-To Tutorials

To address the need for high availability and scalability, networks often use multiple parallel links.

To provide aggregate bandwidth greater than that available with a single link, parallel links are used.

Load balancing occurs when traffic destined to a network is forwarded over multiple parallel paths.

Routers prefer routes learned through protocols with lower administrative distance.

For load balancing to work, the parallel routes are learned through a single routing protocol.

This protocol should have the least administrative distance among all the routing protocols running on the router.

These multiple routes to a destination are compared by their metrics, and the shortest path is installed in the routing table.

If there is more than one path with the same least metric value, all least-metric routes are installed in the routing table.

Some protocols, such as Enhanced Interior Gateway Routing Protocol (EIGRP), can be configured to install multiple paths.

This may occur even if the paths are not of equal metric.

To determine the number of routes that be installed based on the value configured for the protocol, issue the maximum-paths command.

The maximum number of parallel paths installed is Cisco IOS Software and protocol dependent.

Once multiple paths are installed, routers will load balance on the paths on a per-packet or per-destination basis.

A router load balancing on a per-packet basis uses the parallel paths in a round-robin fashion, only forwarding a single packet on a path before moving on to the next one.

A router load balancing on a per-destination basis uses the parallel routes in a round-robin fashion, but forwards an entire destination-based flow in each pass.

Per-packet or per-destination load balancing is dependent on the switching mechanism configured on the interface.

Interfaces configured for process switching load balance on a per-packet basis.

Interfaces configured for fast or optimum switching load balance on a per-destination basis.

Meanwhile, interfaces configured for Cisco Express Forwarding (CEF) can load balance on a per-packet basis or per-source-destination basis.

For more information refer to these documents:

How Does Load Balancing Work?

Load Balancing with CEF


View more Cisco How-To Tutorials

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

Brad's Top 5 Story Picks
# 1. Cisco vs. Nortel: Who's the customer support champ?
# 2. Cisco consummates agreement with legendary reseller CXtec
# 3. Cisco resume tips
# 4. Silver lining in Cisco stock decline: Tough times help Cisco gain market share
# 5. Cisco takes $78M haircut on VMware investment
Story Archives Brad Reese on Cisco Story Archives

Cisco VoIP Gateways

Cisco Power Supplies

Cisco Aironet Wireless

Cisco Refurbished Inventory Availability

  

Welcome, visitor. Register Log in
About Brad Reese on Cisco

Brad Reese cofounded BradReese.Com Cisco Refurbished, which enables affordable networks globally by assuring customer satisfaction with guaranteed one year warranties on both Cisco Repair as well as Refurbished Cisco.

Don't be shy, contact Brad Reese online or call him Toll Free:

866-864-0506

International callers may wish to call Brad by dialing:

850-364-4115

Archives
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
Categories
A classic scam to defraud Cisco's SMARTnet program
America's Best profile written by Useem regarding Chambers' success
Avian Securities Senior Telecom Research Analyst - Catharine Trebnick
Breakingviews.com correspondent - Robert Cyran
CCIE
Careers
Charlie Giancarlo - Managing Director of Silver Lake Partners and Skype investor
Cisco
Cisco ASR 9000 architecture
Cisco ISR G2 Module Support
Cisco Integrated Services Router Generation 2 (ISR G2) Model Comparison
Cisco Integrated Services Routers Generation 2 Portfolio
Cisco Unified Communications Support for Microsoft Windows 7
Cisco is pushing their ASR 9000 at very competitive prices
Cisco is warning Unified Communications customers about NOT successfully offering support for Microsoft Windows 7
Cisco technical star Jonathan Rosenberg
Cisco will have no liability for any delay in delivery
Data Center
Douglas Smith - Cofounder and President of Network Instruments
Expand visibility of NetFlow-dependent NBAD and compliance applications
GigaStor captures and converts packets in NetFlow data flows
Index Venture partner Danny Rimer
Jonathan Rosenberg - a Cisco Fellow in Cisco's Voice Technology Group
Juniper MX960 lab test results
LANs / WANs
Mark Roberts - Polycom vice president of partner marketing
Michael Useem - Professor of Management
Microsoft
NetFlow
NetFlow add-ons
NetFlow overhead can overtax infrastructure
Network Behavior Anomaly Detection (NBAD)
Network Management
Non-NetFlow capable devices are blind to local traffic
Produce NetFlow about any device
SMB
Security
Selection committee member for America's Best Leaders
September 2009 vs. October 2009 Worldwide CCIE Count Comparison
Silver Lake Managing Director - Egon Durban
Skype's cofounders Niklas Zennstrom and Janus Friis
Software
The Charlie angle is to keep Dave Roux on track
The new Cisco ISR G2 portfolio is priced as follows
VoIP / Convergence
What are the benefits of GigaStor NetFlow Agent?
What’s new on the Cisco ISR G2 models vs. the old ISR models?
Windows 7
Windows 7 just not worth an all-out urgent effort by Cisco to support
Wireless / Mobile
eBay CEO - John Donahoe
sFlow
sFlow and NetFlow provides extended visibility
On The Web
Twitter