Changing route based on packet loss

gaoxing at huize.org gaoxing at huize.org
Sun Aug 10 12:55:55 CEST 2025


Sorry, when I sent the email in Cloud, it stayed in the outbox and I thought it had not been sent. I clicked send multiple times, which caused the email to be sent repeatedly.

Sent from my iPhone

> On 10. 8. 2025, at 12:39, gaoxing at huize.org wrote:
> 
> Hi Nico,
> 
> I don’t think a bird has a built-in function for that.
> 
> I have an experimental network connecteal network connected by bgp confederation, and I use BGP.med values for the latency of the echo link. And if the package is lost is more than 30 per cent of the bgp session can't be established because bgp requires a stable environment.
> 
> I think the possible way to do that is to write some script in Python and let Python to generate some configuration to control the bird.
> 
> Regards,
> Gaoxing Zhang
> Sent from my iPhone
> 
>> On 10. 8. 2025, at 0:26, Nico Schottelius via Bird-users <bird-users at network.cz> wrote:
>> 
>> 
>> Hello fellow bird users,
>> 
>> I was wondering if anyone has solved this with bird or bird plus
>> something:
>> 
>> Assuming you have multiple, somewhat lossy links. Packet loss might be
>> in the range of 0-30% on each link. I would like bird to select the
>> current best path, based on the amount of packet loss on each link.
>> 
>> I've the seen the various rtt* options in babel, but the notion there
>> seems to be more time(out) specific, rather than loss specific.
>> 
>> Any pointers in the right direction are appreciated.
>> 
>> Best regards,
>> 
>> Nico
>> 
>> --
>> Sustainable and modern Infrastructures by ungleich.ch
>> <signature.asc>
> 



More information about the Bird-users mailing list