Re: Add random number

2024-02-11 Thread Maria Matejka via Bird-users
In all cases, I'd appreciate a detailed description of the exact use case we are trying to solve. We may then come up with an appropriate solution, a workaround or a well-defined feature request. Thank you for your understanding. Maria On 11 February 2024 09:30:50 GMT-05:00, Alexander Zubkov vi

Re: Multiple ebgp neighbours to the same peer

2024-02-11 Thread Alexander Zubkov via Bird-users
Hi, For example if you want to establish several sessions over different pathes. Also my use-case is to export routes to a BGP monitoring system, that have fixed remote IP, but I want to send "views" from my several upstreams, each over a separate session. On Thu, Feb 8, 2024 at 9:47 AM Bernd Nau

Re: Add random number

2024-02-11 Thread Alexander Zubkov via Bird-users
Maybe not random, but some sorta hash will be useful here? And it should not break the invariant mentioned by Maria. But for the hash we still need some means to convert IP addresses to integer numbers, because including IP into the hash seems to be reasonable. On Sun, Feb 11, 2024 at 3:12 PM Max

Re: Add random number

2024-02-11 Thread Maria Matejka via Bird-users
Multipath is the way to go, yes. Introducing external values and variables may become gradually possible with BIRD 3 in future. Not promising anything, but if any of you has any feature request regarding this, feel free to state it, ideally including some explicit use cases for that. We're cur

Re: Add random number

2024-02-11 Thread Max Tulyev
In our case no. We use the route reflector, so it should export the random route to other routers, not just use it by itself. On Sun, 11 Feb 2024 08:55:02 -0500 "Darren O'Connor" wrote: > Isn't this a problem for multipath/add path to fix? > > On Sun, Feb 11, 2024, 08:43 Max Tulyev wrote: >

Re: Add random number

2024-02-11 Thread Darren O'Connor
Isn't this a problem for multipath/add path to fix? On Sun, Feb 11, 2024, 08:43 Max Tulyev wrote: > 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. > > Okay, is it po

Re: Add random number

2024-02-11 Thread Max Tulyev
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. Okay, is it possible to get the variable as the result of the shell script? Like localpref = `cat prefpeer` On Sun, 11 F

Re: Add random number

2024-02-11 Thread Brandon Zhi
I think the only usage for random number is for loading balance. *Brandon Zhi* HUIZE LTD www.huize.asia | www.ixp.su | Twitter This e-mail and any attachments or any reproduction of this e-mail in whatever manner are confidential and for the use of the addressee(s) only. HUI