Re: Internet Traffic load balancing

From: Brian McGahan <bmcgahan_at_ine.com>
Date: Mon, 2 May 2011 16:57:44 -0500

That will work for any default destination in a ratio of 5:2.

Brian McGahan, CCIE #8593 (R&S/SP/Security)
bmcgahan_at_INE.com<mailto:bmcgahan_at_INE.com>

Internetwork Expert, Inc.
http://www.INE.com

On May 2, 2011, at 5:54 PM, "Narbik Kocharians" <narbikk_at_gmail.com<mailto:narbikk_at_gmail.com>> wrote:

I guess this will work, but what do you for 100 destinations or even more? I guess with what we have this solution will work.

On Mon, May 2, 2011 at 2:49 PM, Brian McGahan <<mailto:bmcgahan_at_ine.com>bmcgahan_at_ine.com<mailto:bmcgahan_at_ine.com>> wrote:
Try something like this, where 10.0.0.1 is the address on the other side of your primary link, and 20.0.0.2 is the address on the other side of your secondary link:

ip route 169.254.1.1 255.255.255.255 10.0.0.1
ip route 169.254.1.2 255.255.255.255 10.0.0.1
ip route 169.254.1.3 255.255.255.255 10.0.0.1
ip route 169.254.1.4 255.255.255.255 10.0.0.1
ip route 169.254.1.5 255.255.255.255 10.0.0.1
!
ip route 0.0.0.0 0.0.0.0 169.254.1.1
ip route 0.0.0.0 0.0.0.0 169.254.1.2
ip route 0.0.0.0 0.0.0.0 169.254.1.3
ip route 0.0.0.0 0.0.0.0 169.254.1.4
ip route 0.0.0.0 0.0.0.0 169.254.1.5
!
ip route 169.254.2.1 255.255.255.255 20.0.0.2
ip route 169.254.2.2 255.255.255.255 20.0.0.2
!
ip route 0.0.0.0 0.0.0.0 169.254.2.1
ip route 0.0.0.0 0.0.0.0 169.254.2.2

This will cause CEF to load balance in a ratio of 5:2 for gateways 10.0.0.1 and 20.0.0.2 respectively. The ratio won't be exact unless your traffic flows are evenly distributed. To get close to the result you want you can add or remove additional routes to adjust the ratio as you need.

HTH,

Brian McGahan, CCIE #8593 (R&S/SP/Security)
bmcgahan_at_INE.com<mailto:bmcgahan_at_INE.com>

Internetwork Expert, Inc.
http://www.INE.com<http://www.ine.com/>

-----Original Message-----
From: nobody_at_groupstudy.com<mailto:nobody_at_groupstudy.com> [mailto:nobody_at_groupstudy.com<mailto:nobody_at_groupstudy.com>] On Behalf Of masroor ali
Sent: Monday, May 02, 2011 9:16 AM
To: Cisco certification
Subject: Internet Traffic load balancing

Hi,

I have two internet links, one link is of 5 Mb and other link is of 1Mb, I
need to configure router so that, The link of 5 MB should take 70% load,
other should take 30%. If one link goes down all traffic should use other
link.

Thanks & Regards,
Masroor Ali

Blogs and organic groups at http://www.ccie.net<http://www.ccie.net/>
Received on Mon May 02 2011 - 16:57:44 ART

This archive was generated by hypermail 2.2.0 : Wed Jun 01 2011 - 09:01:11 ART