Tech Support > Computer Hardware > Routers > bgp weight calculation
bgp weight calculation
Posted by Glenn on October 28th, 2003


Here is a quicky ..

I have 2 neighbors, and I want to change to weights on each one to have
a bit more control on outbound traffic. The default weight is 32,768,
and can be a number 1 - 65,535 ..

What would be a good way to calculate what weight I want on each one when
say I want around 65% going out one neighbor and 35% going out the other?

------------------------------------- -- - -
glenn
http://www.dallaslamers.org

"Even if you do learn to speak correct English,
whom are you going to speak it to?"

#define WHO 1

int main(void)
{
printf("%d r0x0rs!!!\n", WHO);
}

Posted by Barry Margolin on October 28th, 2003


In article <slrnbptr0v.c92.replicantSP4MSUX@rivendell.dallasl amers.org>,
Glenn <replicantSP4MSUX@SP4MSUXdallaslamers.org> wrote:
It always uses the route with the higher weight, it's not proportional.

The only way to get proportional load sharing with BGP is to partition the
routes you learn based on how much traffic goes to each prefix, and then
make one path preferred for the prefixes with 65% of the traffic and the
other path preferred for the remainder. This is likely to be *very*
difficult.

--
Barry Margolin, barry.margolin@level3.com
Level(3), Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.

Posted by Glenn on October 28th, 2003


Is there another method you could recomend?

------------------------------------- -- - -
glenn
http://www.dallaslamers.org

"Even if you do learn to speak correct English,
whom are you going to speak it to?"

#define WHO 1

int main(void)
{
printf("%d r0x0rs!!!\n", WHO);
}

Posted by Kevin Su on October 29th, 2003


Cisco introduces a new feature called BGP link-bandwidth with which
you can do uneaqual cost load sharing. Take the following commands for
reference:
1. enable

2. configure {terminal | memory | network}

3. router bgp [as-number]

4. address-family ipv4

5. neighbor ip-address dmzlink-bw


Glenn <replicantSP4MSUX@SP4MSUXdallaslamers.org> wrote in message news:<slrnbptth9.q50.replicantSP4MSUX@rivendell.da llaslamers.org>...


Similar Posts