<html><head></head><body>Hello!<br><br>Would it be feasible for you to have a special route attribute to be set in filters that would control the nexthop weight? That seems to be probably a most simple solution. <br><br>Maria<br><br><div class="gmail_quote">On November 19, 2020 5:42:38 PM GMT+01:00, Nigel Kukard <nkukard@LBSD.net> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">On 11/19/20 4:06 PM, Alexander Demenshin wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> Hi,<br><br> I have two uplinks (different AS), and one is more stable/preferred,<br> but when "merge paths" is set to on, all routes are generated with<br> weight 1:<br><br> 5.21.41.0/24 proto bird<br> nexthop via 10.16.0.1 dev uplink1 weight 1<br> nexthop via 10.17.0.1 dev uplink2 weight 1<br><br> Is there any way to adjust weight for ECMP generated from BGP sessions?<br><br> I could not find any option/attribute when it is related to BGP or kernel<br> protocol, while it is possible for OSPF and static protocols (to a<br> degree).<br><br> Adjusting local preference or med (in BGP) does not really help - weight<br> is unchanged, though of course I could force routes from specific AS<br> to be preferred, but then I lose ECMP and if preferred session is dropped<br> it takes time to restore connectivity.<br><br> Thank you! <br></blockquote><br><br>I'd just like to say I'm very interested in this aswell, it would be an<br>amazing feature to have.<br><br><br>-N<br><br><br><br></pre></blockquote></div><br>-- <br>Sent from my Android device with K-9 Mail. Please excuse my brevity.</body></html>