BGP outgoing traffic balancing between 2 uplinks

0dm1n te at uatel.net.ua
Fri Dec 6 11:29:53 CET 2013


On 06.12.2013 12:14, 0dm1n wrote:
> filter Uplink1_in {
>      if (net.len > 19 && "other_uplink_is_alive") then
>         reject;
>      else {
>          bgp_local_pref=100;
>          accept;
>      }
> }

sorry, in one second after message has been sent got an idea:
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...

-- 
Best Wishes



More information about the Bird-users mailing list