BGP outgoing traffic balancing between 2 uplinks

Martin Kraus martin.kraus at wujiman.net
Fri Dec 6 12:46:48 CET 2013


On Fri, Dec 06, 2013 at 12:29:53PM +0200, 0dm1n wrote:
> sorry, in one second after message has been sent got an idea:

that's what usually happens:-)

> filter Uplink1_in {
>     if (net.len > 19) then
>         bgp_local_pref=150;
>     else
>         bgp_local_pref=100;
>     accept;
> }
> 
> result: 60%/40% (not bad)
> may be exists another less brusquely method...

I don't think there is. cisco has a bgp multipath but that basically works
only if you have two uplinks to the same provider as it multipaths only routes
that have nearly all the attributes the same (pref,as path,...).

mk



More information about the Bird-users mailing list