unequal cost load balancing?
Otto Solares
solca at guug.org
Fri Nov 27 00:06:48 CET 2009
On Fri, Nov 27, 2009 at 12:00:08AM +0100, Ondrej Zajicek wrote:
> On Thu, Nov 26, 2009 at 04:32:04PM -0600, Otto Solares wrote:
> > > > Could you please describe prefering prefixes over one link with an
> > > > example please? I happen to need this but haven't figured out yet.
> > >
> > > This can be easily done using BGP as a routing protocol - just use
> > > two BGP sessions, each over one link, export prefixes to both of them
> > > and set MED attribute accordingly.
> >
> > Ok.
>
> Somethink like:
>
> filter prefer_some_prefixes
> {
> if (net ~ [100.100.100.0/24, 200.200.200/24, ... ])
> then bgp_med = 10;
> else bgp_med = 20;
> }
>
> used as an export filter in one session and with reverse values in the
> other session.
Excellent! Thank you.
-
Otto
More information about the Bird-users
mailing list