Re: Feature Request: Preference in bird

2023-06-15 Thread Maria Matejka via Bird-users
On 6/14/23 17:08, Juliusz Chroboczek wrote: You basically shouldn't do it. BIRD does something like last-resort pointer comparison and we should probably even add a warning if somebody misconfigures in this way. Why not use the protocol's default preference as a last-resort tie-breaker? It's

Re: Feature Request: Preference in bird

2023-06-14 Thread Juliusz Chroboczek
> You basically shouldn't do it. BIRD does something like last-resort pointer > comparison and we should probably even add a warning if somebody misconfigures > in this way. Why not use the protocol's default preference as a last-resort tie-breaker? It's probably less code than the warning you

Re: Feature Request: Preference in bird

2023-06-14 Thread Maria Matejka via Bird-users
You basically shouldn't do it. BIRD does something like last-resort pointer comparison and we should probably even add a warning if somebody misconfigures in this way. Maria On 14 June 2023 15:54:13 CEST, "Marek Küthe" wrote: >Thanks for the answer. > >What happens when the preference is the

Re: Feature Request: Preference in bird

2023-06-14 Thread Marek Küthe
Thanks for the answer. What happens when the preference is the same for two different protocol types - which protocol is preferred? For example, if you have the preference of BGP and Babel routes both set to 100, which route will be chosen? BGP and Babel routes can't really be compared since BGP

Re: Feature Request: Preference in bird

2023-06-14 Thread Bernd Naumann
On 14.06.23 12:20, Marek Küthe wrote: > On Wed, 14 Jun 2023 11:52:38 +0200 > Bernd Naumann wrote: > >> On 14.06.23 11:29, Marek Küthe wrote: >>> Is it possible to view the preference using "birdc"? >> >> `birdc show route` shows the protocol preference at the end of the line >> in brackets. Or

Re: Feature Request: Preference in bird

2023-06-14 Thread Marek Küthe
On Wed, 14 Jun 2023 11:52:38 +0200 Bernd Naumann wrote: > On 14.06.23 11:29, Marek Küthe wrote: > > Hello, > > > > I noticed that when you "mix" routing protocols, it can be useful to > > change the "preference", but unfortunately there is little > > documentation in bird about this and no way

Re: Feature Request: Preference in bird

2023-06-14 Thread Bernd Naumann
On 14.06.23 11:29, Marek Küthe wrote: > Hello, > > I noticed that when you "mix" routing protocols, it can be useful to > change the "preference", but unfortunately there is little > documentation in bird about this and no way to view it. > > Is it possible to view the preference using "birdc"?

Feature Request: Preference in bird

2023-06-14 Thread Marek Küthe
Hello, I noticed that when you "mix" routing protocols, it can be useful to change the "preference", but unfortunately there is little documentation in bird about this and no way to view it. Is it possible to view the preference using "birdc"? Is it possible to include the default values (in