AMD Processors
Decrease font size
Increase font size
Topic Title: CISCO T1 Load Balancing
Topic Summary:
Created On: 07/09/2005 04:14 AM
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 07/09/2005 04:14 AM
User is offline View Users Profile Print this message

Author Icon
spp123
Junior Member

Posts: 1
Joined: 07/09/2005

For CISCO Configurations and Problems /blink.gif' border='0' style='vertical-align:middle' alt='blink.gif' />

Cisco T1 Load Balancing HOWTO
Acknowledgments
• Thanks to Mark Costlow who showed me how this works.
• References to pertinent Cisco documentation can be found at the end of this document.
Disclaimer
This document carries no explicit or implied warranty. Nor is there any guarantee that the information contained in this document is accurate. It is offered in the hopes of helping others, but you use it at your own risk. The author will not be liable for any damages that occur as a result of using this document.
Conventions
Important terms and concepts, when they are introduced, may be displayed in bold. Commands included in the body of the text will be displayed in this font. Annoying Facts will be displayed in red, and will indicate pitfalls the reader should be aware of before taking any action based on this document.


1. What This Document covers
This document is for those facing the common problem of using Cisco routers to load balance IP traffic across 2 or more parallel T1's. Although the problem is common, acquiring the knowledge to address the issue can be frustratingly difficult. Hopefully this will help.
2. Per-Packet Load Balancing
What you want if you can get it, and if it will not break any of your applications, is per-packet load balancing. Load balancing on a router happens at layer 3, meaning it is a function of IP routing. Per-packet load balancing means the Cisco will route outbound IP packets in round-robin fashion, simply taking turns which interface it routes each IP packet out. Per-packet load balancing gives the most even distribution across outbound connections.
3. Annoying Fact #1 Outbound Only

A router can load balance outbound traffic only. In order to get load balancing in both directions, the T1's on Router A must both terminate on the same Router B. Load balancing must be configured on both Router A and Router B. Easy enough if Router A and Router B are both in your control. If they are not, you will have to coordinate with the authority that controls the other router. Another unfortunate result is that per-packet load balancing on T1's to multiple ISP's is not feasible.
4. Annoying Fact #2 Out of Order Packets
This method of per-packet load balancing can mean that packets in a particular connection or flow arrive at their destination out of sequence. This doesn't cause a problem for most applications, but it can cause problems for the increasingly popular streaming media, both video and audio. This includes voice over IP.
If out of order packets will cause you a problem, Cisco recommends using Multilink PPP to do your load balancing. I do not personally have experience with MLPPP between Cisco routers.
5. Cisco Express Forwarding
Cisco Express Forwarding (CEF) is one method that IOS can use to switch packets through the router. It is the method Cisco recommends, and seems to be the right thing most of the time. It is required for the per-packet load balancing this document discusses. You can tell if CEF is enabled by issuing the command:
show ip cef
If it is enabled you get some interesting output. If it is not enabled, IOS will tell you that it is not running. To enable CEF, in global configuration mode:
ip cef
6. Equal Cost Routes

To get load balancing to happen, you need equal cost routes pointing to the interfaces involved in the load balancing. For example, on Router A load balancing 2 T1's, the show ip route output might include something like this:
S* 0.0.0.0/0 is directly connected, Serial0/1
is directly connected, Serial0/0
And on Router B the show ip route output might include something like this:
ip route 192.168.8.0 255.255.255.0 Serial1/3 10
ip route 192.168.8.0 255.255.255.0 Serial1/0 10
7. ip load-sharing per-packet
The magic IOS command you have been looking for but couldn't find on Cisco's website is:
ip load-sharing per-packet
You apply this to each interface you want to participate in per-packet load balancing. Remember, you want to do this on the routers at both ends of the T1's.
My experience is that this works like a charm. Graphs I look at everyday of traffic on T1's configured this way are indistinguishable from each other. The balancing is near perfect.

Without any hesitations you can contact me on:- sijo@icrashcare.com

-------------------------
Sijo Paulose

Mobile +971 50 7583520
Statistics
112018 users are registered to the AMD Processors forum.
There are currently 0 users logged in.

FuseTalk Hosting Executive Plan v3.2 - © 1999-2014 FuseTalk Inc. All rights reserved.



Contact AMD Terms and Conditions ©2007 Advanced Micro Devices, Inc. Privacy Trademark information