[c-nsp] BGP weight

Kristian Larsson kristian at juniks.net
Tue Apr 18 14:22:56 EDT 2006


On Tue, Apr 18, 2006 at 10:57:37AM -0700, Voll, Scott wrote:
> Forgive me if this is a newbie question, but I have setup my BGP with
> two ISPs and everything seems to be running well.  But a large
> percentage of my outbound traffic is going out one ISP and I would like
> it to go out the other.  The AS_Path to most routes are pretty equal (3
> AS's away)  I have setup a weight to each Neighbor.  One 110 and the
> other 90.  but there are routes under a show IP BGP that have 0 weight.
> Shouldn't all routes have one weight or the other?
First off be aware that weight does not distribute
the traffic so that one gets more than the other.
If all prefixes learned from one neighbor has a
weight of 110 and prefixes from the other has 90
all with 110 will be chosen. Thus you effectively
chose one peer or the other.
What you must do is come up with some "sneaky"
system of marking a few more routes with 110 on
one of the peers to balance it out.
This is not as easy as one might think.

Now, why your routes are not marked at all is
probably due to some misconfiguration.
Could we please have a look at the configuration?

Regards,
  Kristian


More information about the cisco-nsp mailing list