Re: Link local vs global v6 next hop for BGP rotuer

2022-10-10 Thread Ondrej Zajicek via Bird-users
On Mon, Oct 10, 2022 at 11:25:23AM +0200, Alexander Zubkov wrote: > Hi, > > In documentation part it is written that the default for the option is > "disabled". But in the code I see it chooses the value based on > "gw_mode": > > Different default for next_hop_prefer > > Am I missing something or

Re: Link local vs global v6 next hop for BGP rotuer

2022-10-10 Thread Alexander Zubkov via Bird-users
Hi, In documentation part it is written that the default for the option is "disabled". But in the code I see it chooses the value based on "gw_mode": > Different default for next_hop_prefer Am I missing something or there is a typo? On Mon, Oct 10, 2022 at 5:44 AM Ondrej Zajicek via Bird-users

Re: Link local vs global v6 next hop for BGP rotuer

2022-10-09 Thread Ondrej Zajicek via Bird-users
On Wed, Sep 21, 2022 at 08:47:03AM +, Mazur, Dariusz wrote: > Hello Ondrej, > Thanks for quick response. Additional option to ignore link-local BGP next > hops would help us a lot. Hello Done, here is a commit with BGP channel option 'next hop prefer global', which makes BIRD to use global n

Re: Link local vs global v6 next hop for BGP rotuer

2022-09-21 Thread Oliver via Bird-users
Hello, > We probably should just add option to ignore link-local BGP next hops ... I would also like to see a configuration option for this. At the moment we use the "gw = bgp_next_hop" workaround. In our situation the upstream provider has a redundant setup, where the session is moved between two

Re: Link local vs global v6 next hop for BGP rotuer

2022-09-21 Thread Mazur, Dariusz via Bird-users
Hello Ondrej, Thanks for quick response. Additional option to ignore link-local BGP next hops would help us a lot. We use bird as routing demon for router, and our software does not install BGP routes with link-local next hops in ASIC. 1.“gw=bgp_next_hop” does not work for us because like you m

Re: Link local vs global v6 next hop for BGP rotuer

2022-09-20 Thread Ondrej Zajicek via Bird-users
On Mon, Sep 19, 2022 at 01:23:28PM +, Mazur, Dariusz via Bird-users wrote: > Hello, > In my setup I have iBGP session with peer , and I learn v6 route. It is iBGP > so we have 2 next hops global and link-local. By default bird uses link-local > when route is exported to kernel. Is there any c

Link local vs global v6 next hop for BGP rotuer

2022-09-19 Thread Mazur, Dariusz via Bird-users
Hello, In my setup I have iBGP session with peer , and I learn v6 route. It is iBGP so we have 2 next hops global and link-local. By default bird uses link-local when route is exported to kernel. Is there any command to change this behavior and use global v6 address as BGP next hop when we expor