<div dir="auto">Isn't this a problem for multipath/add path to fix?</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Feb 11, 2024, 08:43 Max Tulyev <<a href="mailto:maxtul@netassist.ua">maxtul@netassist.ua</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Yes, that's correct. I have same routes come from different routers, and I want to spread the traffic between them, but if one router fails - keep it working using anothers.<br>
<br>
Okay, is it possible to get the variable as the result of the shell script? Like<br>
<br>
localpref = `cat prefpeer`<br>
<br>
On Sun, 11 Feb 2024 18:04:18 +0800<br>
Brandon Zhi <<a href="mailto:Brandon@huize.asia" target="_blank" rel="noreferrer">Brandon@huize.asia</a>> wrote:<br>
<br>
> I think the only usage for random number is for loading balance.<br>
> <br>
> *Brandon Zhi*<br>
> HUIZE LTD<br>
> <a href="http://www.huize.asia" rel="noreferrer noreferrer" target="_blank">www.huize.asia</a> <<a href="https://huize.asia/" rel="noreferrer noreferrer" target="_blank">https://huize.asia/</a>>| <a href="http://www.ixp.su" rel="noreferrer noreferrer" target="_blank">www.ixp.su</a> | Twitter<br>
> <br>
> This e-mail and any attachments or any reproduction of this e-mail in<br>
> whatever manner are confidential and for the use of the addressee(s) only.<br>
> HUIZE LTD can’t take any liability and guarantee of the text of the email<br>
> message and virus.<br>
> <br>
> <br>
> Maria Matejka via Bird-users <<a href="mailto:bird-users@network.cz" target="_blank" rel="noreferrer">bird-users@network.cz</a>>于2024年2月11日 周日06:03写道:<br>
> <br>
> > Hello!<br>
> ><br>
> > No, it's not possible and it makes the filters non-deterministic which<br>
> > would break a critical invariant in BIRD's internal algorithms.<br>
> ><br>
> > If you better clarify what you are trying to achieve, we may find another<br>
> > way for you to do it, or at least convert it to a viable feature request.<br>
> ><br>
> > Thank you for your understanding<br>
> > Maria<br>
> > On 2024-02-10 20:56, Max Tulyev wrote:<br>
> ><br>
> > Hi All,<br>
> ><br>
> > is it possible to add a random number to some variable in the filter?<br>
> ><br>
> > For example, like this:<br>
> ><br>
> > filter myfilter<br>
> > {<br>
> > if net ~ <a href="http://192.168.11.0/24" rel="noreferrer noreferrer" target="_blank">192.168.11.0/24</a> then preference = preference + random(10);<br>
> ><br>
> > ...<br>
> ><br>
> > --<br>
> > Maria Matejka (she/her) | BIRD Team Leader | CZ.NIC, z.s.p.o.<br>
> ><br>
> > <br>
<br>
</blockquote></div>