unequal cost load balancing?

Ondrej Zajicek santiago at crfreenet.org
Fri Nov 27 00:00:08 CET 2009


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.

-- 
Elen sila lumenn' omentielvo

Ondrej 'SanTiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20091127/23c8bea2/attachment-0001.asc>


More information about the Bird-users mailing list