Re: Route matching filter not exported

2024-05-17 Thread Alexander Zubkov via Bird-users
Say you have router A having routes with localpref 50, and router B with localpref 100. When A receives a prefix from B, it will be the best in A's table. Router A will not try to propagate routes with localpref 50, because only the best route are propagated (usually). And as the best route is

Re: Route matching filter not exported

2024-05-17 Thread Nico Schottelius via Bird-users
I've a question to the list in regards to iBGP behaviour: - the router in question imports all routes with a bgp_local_pref of 50 [A] - the other routers import eBGP routes with a bgp_local_pref of 100 [B] - my assumption would be that the lower preference route would propagated via iBGP,

Re: Route matching filter not exported

2024-05-17 Thread Alexander Zubkov via Bird-users
That looks different from the output in the first email. There best routes were received not only from ibgp, but from the same peer, so it seems ok that they were not sent back. For this output you have now session with your ibgp peer eatablished, but it still do not see the routes. Localpref

Re: Route matching filter not exported

2024-05-17 Thread Nico Schottelius via Bird-users
Hello Alexander, the route is received via eBGP and should be redistributed via iBGP: bird> show route all 49.14.107.0/24 Table master4: 49.14.107.0/24 unicast [outgoing_server120 16:13:14.594] * (100) [AS45271i] via 2a0a:e5c0:31:4::1 on tun1 Type: BGP univ

Re: Route matching filter not exported

2024-05-17 Thread Alexander Zubkov via Bird-users
OK, I see that routes you showed have best from protocol ibgp. So I suppose they received from ibgp peer, and your are sending them to ibgp peer too. That is not allowed by default. On Fri, May 17, 2024, 17:00 Nico Schottelius wrote: > > Ciao Alexander, > > Alexander Zubkov writes: > > >

Re: Route matching filter not exported

2024-05-17 Thread Nico Schottelius via Bird-users
Ciao Alexander, Alexander Zubkov writes: > Hello, > > Just curious. You've done "reload out" to your session after changing > the filter, right? this is a very good point, but in this case the whole bird daemon is restarted, so this should not be an issue. BR, Nico

Re: Route matching filter not exported

2024-05-17 Thread Alexander Zubkov via Bird-users
Hello, Just curious. You've done "reload out" to your session after changing the filter, right? Regards, Alexander On Fri, May 17, 2024 at 4:45 PM Nico Schottelius via Bird-users wrote: > > > Hello bird users, > > I've a strange case in which a router does not export routes that are > matched

Route matching filter not exported

2024-05-17 Thread Nico Schottelius via Bird-users
Hello bird users, I've a strange case in which a router does not export routes that are matched by the export filter. I am using the filter "static_and_bgp" inside our iBGP sessions: bird> show protocol all

Re: BGP on /32 (/128) interfaces

2024-05-17 Thread Ondrej Zajicek
On Tue, May 14, 2024 at 03:58:06PM +0200, Arzhel Younsi wrote: > Thank you all for your replies, > > > Thinking about it, it makes sense to have something like direct mode that > works with unnumbered interfaces (or ones with /32 address). > > We also think that's would be very useful, either

RE: BGP on /32 (/128) interfaces

2024-05-17 Thread Cathal Mooney
Perhaps the presence of the ‘direct’ keyword combined with a manual ‘interface X’ in a protocol block could signal to bypass the usual evaluation and force a neighbor to be considered ‘direct’? Regards, Cathal. From: Bird-users On Behalf Of Arzhel Younsi Sent: Tuesday 14 May