Re: Relaxed handling of OTC attribute

2025-06-13 Thread Alexander Zubkov via Bird-users
BMP might be the answer? It seems to me one should be able to observe those routes there. On Fri, Jun 13, 2025 at 1:41 PM Douglas Fischer wrote: > I don't know much... > But I imagined a solution along the lines you mentioned, Erin Shepherd. > > What I thought of is actually a step backwards, be

Re: prefer ipv6 examples in the documentation

2025-06-04 Thread Alexander Zubkov via Bird-users
ll > requires at least one IPv4 address, which is at minimum very cumbersome. > > > > Hope the patch makes it into the documentation, as bird is one of the > best pieces of routing software and having an IPv6 first documentation > would certainly benefit it. > > Greetin

prefer ipv6 examples in the documentation

2025-06-04 Thread Alexander Zubkov via Bird-users
ed or complemented by IPv6 examples, and prepared a patch with possible changes. Regards, Alexander Zubkov

Re: BIRD 3.1.0, 2.17, 3.0.2, 2.16.2 released

2025-04-08 Thread Alexander Zubkov via Bird-users
Hi, Not sure how official it is. I know about this documents with something like roadmap: https://gitlab.nic.cz/labs/bird/-/blob/master/doc/roadmap.md https://bird.network.cz/?get_doc&v=20&f=bird-7.html Regards, Alexander On Tue, Apr 8, 2025 at 8:41 PM Douglas Fischer wrote: > Sorry, I don't m

Re: EBGP Multihop /w Directly Connected Peer

2025-04-03 Thread Alexander Zubkov via Bird-users
> import filter { > if ( net ~ [ ::/0 ] ) then accept; > reject; > }; > export filter { > if ( net ~ [ ::0/0{128,128} ] ) then accept; > reject; > }; > }; > } > > protocol bgp access_switch_1 from Upstream_Peers { neighbor > fd00:feed::1 as 65921; } > > ---

Re: EBGP Multihop /w Directly Connected Peer

2025-03-31 Thread Alexander Zubkov via Bird-users
Hi, As far as I remember, when multihop option is enabled it enables (or even forces) "gateway recursive". So it changes the behaviour of how the nex hop is selected. This might be your issue. Could you provide more details of what you have? The result might depend on the routes you have in your t

Re: Regarding how to check the results of roa_check()

2025-03-25 Thread Alexander Zubkov via Bird-users
ROA_UNKNOWN cannot distinguish between v4 and v6, or is it a > bug in bird? > (The version of bird is 2.14) > > > On Sun, 23 Mar 2025 13:58:55 +0100 > Alexander Zubkov wrote: > > > Hi, > > > > Doesn't it work when using in CLI expressions? Like this

Re: Regarding how to check the results of roa_check()

2025-03-23 Thread Alexander Zubkov via Bird-users
Hi, Doesn't it work when using in CLI expressions? Like this: show route where roa_check(...) = ROA_VALID On Sun, Mar 23, 2025 at 10:24 AM wrote: > Hi > > I am using roa_check(). > Is there a bird command that checks the result of roa_check() on the > command line, not just in the conf processi

Re: IPv6 prefix is not stored to kernel when multipath is enabled in 1.6.8

2025-02-19 Thread Alexander Zubkov via Bird-users
Hi, I think multipath over device routes for ipv6 requires using new nexthop objects. Here is an example: # ip link add name a type dummy # ip link add name b type dummy # ip link set dev a up # ip link set dev b up # ip -6 route add fc00:0::/32 dev a # ip -6 route add fc00:1::/32 dev b # ip -6 r

Re: IPv6 prefix is not stored to kernel when multipath is enabled in 1.6.8

2025-02-13 Thread Alexander Zubkov via Bird-users
And I think there will be no more updates: https://bird.network.cz/?o_news 25.4.2023 BIRD 1 end of life will happen at the end of 2023. Please finish you upgrade to BIRD 2 ASAP! On Thu, Feb 13, 2025 at 5:01 PM Douglas Fischer wrote: > uuuhhh... 1.6? > > This version has not been receiving updat

Re: IPV6 connectivity issue

2025-01-06 Thread Alexander Zubkov via Bird-users
Hi, I would check first that address used to ping from the outside is really the same that is configured in prefsrc. I.e. no typos, etc. You could also use tcpdump to check what IPs are actually in use. Regards, Alexander On Mon, Jan 6, 2025 at 11:17 PM Julien Sansonnens via Bird-users < bird-us

Re: How to advertise two virtual IPs using BGP?

2024-11-21 Thread Alexander Zubkov via Bird-users
nal information > (for example what provider you received the default route from)? > > > Yes, maybe this one. > On Thu, November 21 2024 at 12:40 AM Alexander Zubkov > wrote: > > It is still unclear what you want to achive. Do you want Linux to use both > IPs as src a

Re: How to advertise two virtual IPs using BGP?

2024-11-20 Thread Alexander Zubkov via Bird-users
:06 AM hans.heng wrote: > I just think now these two VIP are unequal, because default routing will > use 38.145.72.193 instead of 38.145.72.198… No actual problem now, just a > question and can we achieve this? > On Wed, November 20 2024 at 6:00 PM Alexander Zubkov > wrote: >

Re: How to advertise two virtual IPs using BGP?

2024-11-20 Thread Alexander Zubkov via Bird-users
import none; > export filter { > if proto = direct1 then reject; > krt_prefsrc = 38.145.72.193; > accept; > }; > }; > } > > Thanks, > Hans > > On Wed, November 20 2024 at 5:40 PM Alexander Zubkov > wrote: > > You can

Re: How to advertise two virtual IPs using BGP?

2024-11-20 Thread Alexander Zubkov via Bird-users
93 metric 32 > nexthop via 10.105.1.10 dev enp4s0f0 weight 1 > nexthop via 10.105.1.12 dev enp4s0f1 weight 1 > > Namely, how this server sends out the traffic using new virtual ip > 38.145.72.198 as source addr? > > Thanks, > Hans > > On Wed, November

Re: bird and ipsec (strongswan) routes

2024-11-20 Thread Alexander Zubkov via Bird-users
Hi Brian, When I did something like that, I didn't even dig such deep to wed ipsec tunnel policies with routing. IMHO it might work, but could hit you in unexpected way. The option with vti looks more straightforward to me - those guys live sepearately and do not harm each other. I.e. ipsec does i

Re: How to advertise two virtual IPs using BGP?

2024-11-20 Thread Alexander Zubkov via Bird-users
Hi Hans, What about just adding it to your LOCAL_NET list? If it works for the first IP, why it shouldn't work for the other? On Wed, Nov 20, 2024 at 8:36 AM Hans Heng via Bird-users < bird-users@network.cz> wrote: > Hi all! > > I have a dual-home server, whose connection topology and configurat

Re: case & string

2024-10-09 Thread Alexander Zubkov via Bird-users
Hi, There is "from" attribute that should contain the IP address of a remote router received via bgp protocol. But if you want to know the router ID - I do not know about such attribute. On Wed, Oct 9, 2024 at 12:38 PM Mikhail Mayorov wrote: > Hi > > Thank you for explain. Of course you are rig

Re: BIRD is not prepending ASN on EBGP export.

2024-10-09 Thread Alexander Zubkov via Bird-users
; attracting more traffic. > > Yes, I am aware we can prepend it, though it seems strange this is not > default behavior. > > > > *Kind Regards,* > > > > Radek > > > > > > *From: *Alexander Zubkov > *Date: *Wednesday, October 9, 2024 at 3:30 PM

Re: BIRD is not prepending ASN on EBGP export.

2024-10-09 Thread Alexander Zubkov via Bird-users
-------! > > > On Tue, Oct 08, 2024 at 04:46:07PM +0200, Alexander Zubkov via Bird-users > wrote: > > Hi Radoslaw, > > > > Do I get it right, that you have 2 bgp peerings here. First your route > > passes this peering: > >

Re: FW: BIRD is not prepending ASN on EBGP export.

2024-10-08 Thread Alexander Zubkov via Bird-users
Hi Radoslaw, Do I get it right, that you have 2 bgp peerings here. First your route passes this peering: AS8075 <-> AS20940 then it passes other peering: AS4290006033 <-> AS4290006002 Then it is an expected behaviour. Because the ASN is prepended when route is exported over eBGP session. And the

Re: router_id or source neighbor in import/export filter for dynamic BGP peers

2024-09-27 Thread Alexander Zubkov via Bird-users
Hi all, It seems to me that Mikhail wants to know the protocol information, in context of which the filter is executed. And he also wants it in the export filter, to know protocol/peer/etc. Regards, Alexander On Fri, Sep 27, 2024, 17:23 Ondrej Zajicek wrote: > On Fri, Sep 27, 2024 at 04:06:04P

Re: Issues with parsing config for IPv6 link-local BGP sessions

2024-09-10 Thread Alexander Zubkov via Bird-users
0f0np0"; > neighbor range fe80::0/64 external; > dynamic name "leaf"; > dynamic name digits 2; > }; > > protocol bgp leaf_auto_2 from ebgp_client_v6 { > interface "enp67s0f1np1"; > neighbor range fe80::0/64 external; > dynamic

Re: Issues with parsing config for IPv6 link-local BGP sessions

2024-09-10 Thread Alexander Zubkov via Bird-users
e interface (IPv6 link-local). > So, I'm struggling to understand what the interface option is for if you > still need to define the list of neighbors and their ip addresses. It kinda > defeats the purpose (I think). > > Br, > Sander > > On Mon, Sep 9, 2024 at 6:31 PM

Re: Issues with parsing config for IPv6 link-local BGP sessions

2024-09-09 Thread Alexander Zubkov via Bird-users
Hi Sander, The error indicates that you are missing the neighbor's address in your configuration. Regards, Alexander On Mon, Sep 9, 2024 at 4:54 PM Sander P wrote: > > Hi, > > I'm on Bird 2.0.8 > The background is that I'm trying to configure link local BGP sessions > towards Juniper switches.

Re: PATCH: IO: Avoid calling SO_BINDTODEVICE if not needed

2024-07-30 Thread Alexander Zubkov via Bird-users
#x27;m not sure that VRFs work for them at all somehow. On Tue, Jul 30, 2024 at 5:03 PM Ondrej Zajicek wrote: > > On Tue, Jul 30, 2024 at 12:33:30AM +0200, Alexander Zubkov wrote: > > Hi Ondrej, > > > > What do you think about splitting sk_setup() into different flavours?

Re: PATCH: IO: Avoid calling SO_BINDTODEVICE if not needed

2024-07-29 Thread Alexander Zubkov via Bird-users
hat > are CAP_NET_ADMIN privileged, like setsockopt(SO_DONTROUTE). > > > On Sat, Jul 27, 2024 at 02:18:20PM +0200, Christian Svensson via Bird-users > wrote: > > Hi Alexander, > > > > On Sat, Jul 27, 2024 at 2:05 PM Alexander Zubkov wrote: > > > I wonder if it is n

Re: PATCH: IO: Avoid calling SO_BINDTODEVICE if not needed

2024-07-27 Thread Alexander Zubkov via Bird-users
moved from sk_setup somewhere else. On Sat, Jul 27, 2024 at 2:18 PM Christian Svensson wrote: > > Hi Alexander, > > On Sat, Jul 27, 2024 at 2:05 PM Alexander Zubkov wrote: > > I wonder if it is necessary at all to set a vrf on an accepted connection? > > It seems to me that

Re: PATCH: IO: Avoid calling SO_BINDTODEVICE if not needed

2024-07-27 Thread Alexander Zubkov via Bird-users
Hi Christian and all! I wonder if it is necessary at all to set a vrf on an accepted connection? It seems to me that setting or checking vrf should be avoided instead for an accepted connection. What do you think? On Sat, Jul 27, 2024, 11:54 Christian Svensson via Bird-users < bird-users@network.

Re: Extended communities ASN wildcard, extraction of eclist.

2024-07-03 Thread Alexander Zubkov via Bird-users
> > I think it would be useful to have such extractors in place, like we do > for lc lists. > > > > *Kind Regards,* > > > > Radek > > > > > > *From: *Alexander Zubkov > *Date: *Tuesday, July 2, 2024 at 7:42 PM > *To: *"Ochalski, R

Re: Extended communities ASN wildcard, extraction of eclist.

2024-07-02 Thread Alexander Zubkov via Bird-users
Hi, I think you can use "for" loop to work with a list of communities. But for ec there are currently no operators to access its inner components. I think partly because nobody has suggested such operators and their semantics yet. Regards, Alexander On Tue, Jul 2, 2024 at 1:17 PM Ochalski, Rados

Re: IPv6 BFD interop with Huawei, checksum 0 UDP

2024-06-27 Thread Alexander Zubkov via Bird-users
e75f80e9e545a#aa0b6ef7f4f7e5b9ffe1c80813d128cb4568fa53_140_140 On Thu, Jun 27, 2024 at 4:08 PM Ondrej Zajicek wrote: > > On Thu, Jun 27, 2024 at 10:26:17AM +0200, Alexander Zubkov via Bird-users > wrote: > > Hi all, > > > > Slightly modified the patch (names & description) in spite of the > > ch

Re: IPv6 BFD interop with Huawei, checksum 0 UDP

2024-06-27 Thread Alexander Zubkov via Bird-users
Hi all, Slightly modified the patch (names & description) in spite of the checksum verify semantics. On Wed, Jun 26, 2024 at 9:03 AM Ville O wrote: > > Hello All, > > On Tue, Jun 25, 2024 at 9:05 PM Alexander Zubkov via Bird-users > wrote: > > On Tue, Jun 25, 2024

Re: IPv6 BFD interop with Huawei, checksum 0 UDP

2024-06-25 Thread Alexander Zubkov via Bird-users
Hi, On Tue, Jun 25, 2024 at 3:04 PM Ondrej Zajicek wrote: > > On Sat, Jun 22, 2024 at 07:44:34PM +0200, Alexander Zubkov via Bird-users > wrote: > > Hello, > > > > Nobody has done it yet, so I've tried to implement it. The patch is > > attached. Of course f

Re: IPv6 BFD interop with Huawei, checksum 0 UDP

2024-06-22 Thread Alexander Zubkov via Bird-users
able and off by default. For more > information on how to contribute, see the contributing guidelines: > > https://gitlab.nic.cz/labs/bird/-/blob/master/CONTRIBUTING.md > > Thank you for raising awareness about this issue. > > Maria > > – Maria Matejka (she/her) | BIRD Team

nl_allow_replace check for primary key

2024-06-16 Thread Alexander Zubkov via Bird-users
Hi all, I've noticed this patch: https://gitlab.nic.cz/labs/bird/-/commit/00b139bd25c77b401d2065283cb970d9d8c1aa02 It says that "(net, metric) is the primary key". But for my understanding the primary key in linux routing table also includes tos. It seems that BIRD currently does not support rout

Re: bird BFD is DOWN

2024-06-08 Thread Alexander Zubkov via Bird-users
Hi, Could it be issue with a source port? It is described in the documentation, btw: https://bird.network.cz/?get_doc&v=20&f=bird-6.html#ss6.3 On Sat, Jun 8, 2024, 03:51 Maria Matejka via Bird-users < bird-users@network.cz> wrote: > Hello! > > On first sight this looks like Fortinet ignoring th

Re: [Routing Issue] There are two same net range routing on routing table.

2024-06-02 Thread Alexander Zubkov via Bird-users
Hi, Do you alter krt_metric in you kernel protocol export filter? That could cause such problem. There was recently a question about it in this mailing list. Regards, Alexander On Mon, Jun 3, 2024, 03:40 이재용 wrote: > Hello, > > We use BIRD for communication with servers with higher-level switc

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 that

Re: Route matching filter not exported

2024-05-17 Thread Alexander Zubkov via Bird-users
76,102) (15576,1000) > BGP.otc: 209898 > > The only difference to other routers is that the bgp local preference is > 50, but from my understanding it should still be exported via iBGP. > > BR, > > Nico > > Alexander Zubkov writes: > > > OK, I see th

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 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 b

Re: " bfd1: Socket error: Destination address required"

2024-04-29 Thread Alexander Zubkov via Bird-users
Hi, You do not need to define neighbors for BGP sessions explicitly in your BFD config. They are created automatically for BGP sessions with BFD enabled. In that case, I suppose, you won't get errors for the missing neighbors. Regards, Alexander On Mon, Apr 29, 2024 at 1:16 PM Fran via Bird-user

Re: Problem with uplink network announcment in IPv6

2024-04-02 Thread Alexander Zubkov via Bird-users
Hello, It would be helpful if you showed "ip route show" instead of "ip route get" for your routes, so that one could see actual routes you have in the routing table. Please also show you bird configuration. Regards, Alexander On Fri, Mar 29, 2024 at 8:53 AM Yasen Atanasov wrote: > > Hello, > >

Re: Adding a downstream ebgp connection. How to keep it separate?

2024-03-19 Thread Alexander Zubkov via Bird-users
Hi, I think you need to start with explaining why do you want to keep customer and upstream routes in separate tables. Regards, Alexander On Tue, Mar 19, 2024 at 1:39 PM LU wrote: > > Hello. > > I have two BGP routers with bird 2.4. Each router maintains some eBGP > connections to upstreams wh

Re: [PATCH] BSD: macOS Support

2024-03-13 Thread Alexander Zubkov via Bird-users
Hi, Maybe Darwin would be enough for testing this? It seems to me, that is should contain all the necessary staff used by bird. Although, I do not have experience with Darwin. Regards, Alexander On Wed, Mar 13, 2024 at 2:34 PM Tom Herbers wrote: > > Hi, > > GitHub offers free macOS Runners via

show bfd sessions

2024-03-11 Thread Alexander Zubkov via Bird-users
Hi all, I noticed in the new version 'show bfd sessions' was extended with 'all' option. But I also noticed that in case of 'show protocols', 'show ospf state|topology' this option comes before [name], but for 'show bfd sessions' it is the other way. I think it would be better to be consistent her

Re: non-persistent route via birdcl

2024-03-07 Thread Alexander Zubkov via Bird-users
Hi Robert, You can import route from the kernel table and apply blackhole policy based on its parameters like krt_metric or something else. You can also import such routes from non-default kernel table and add it there temporarily. Regards, Alexander On Thu, Mar 7, 2024 at 5:10 PM Robert Blayzor

Re: Injecting OSPF learned routes (only)

2024-02-27 Thread Alexander Zubkov via Bird-users
Hi all, Maybe it can be solved by having those kernel routes in the bird itself? So that it knows about them and choose them as the "best". In that case it will not reexport them back to the kernel. Recent addition of "learn all" option to kernel protocol should be helpful here. Haven't tried such

Re: Take Specific Value Inside BGP Community

2024-02-20 Thread Alexander Zubkov via Bird-users
Hi, This statement is wrong: peeras = ([(65535, 1000, *)].data2); You try to pick "data2" from the communty set (= comunity filter). Filter itself does not contain values. You need to apply it to some community list first. Still you'll get a community list as a result. But you can pick "data2" o

Re: point to point connection but no routes imported.

2024-02-18 Thread Alexander Zubkov via Bird-users
-02-17 14:17:25.838 home_65001_ipv4.ipv4 < added 36.138.206.0/24 > 0L 15G unicast > ``` > > Is there any template I could use to send the full view to peer connected to > the router directly using a vlan? > > Benoît > > On Saturday, February 17th, 2024 at 11:49, Al

Re: point to point connection but no routes imported.

2024-02-17 Thread Alexander Zubkov via Bird-users
Hi, Just to be sure. 1.1.1.1 and 1.1.1.2 are not in the single /31. Please also provide more details. What protocol output do you show? What route do you want from R2 to R1. Please look at things like these: show route all show route all export show route all protocol On Sat, Feb 17, 2024, 0

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: upgrade from 2.13 to 2.14

2024-02-08 Thread Alexander Zubkov via Bird-users
Hi Marek, Yes, there is a change of syntax in 2.14. The notifications show you that the return type of the function was automatically inferred. https://gitlab.nic.cz/labs/bird/-/blob/v2.14/NEWS?ref_type=tags#L19 > User-defined filter functions that return values now should have return type > sta

Re: Doc suggestion - clarifying behaviour when routes are moving between protocols

2024-02-08 Thread Alexander Zubkov via Bird-users
Hi Mark, Actually the best route selection algorithm can be found here: https://bird.network.cz/?get_doc&v=20&f=bird-2.html#ss2.1 And the preference is clearly noticed there. Have you looked for it in some other place? If you describe how did you try to find it, I believe it might help the develo

Re: Overloading RTR to load IRR (Was: Defines for mixed IPv6/IPv4)

2024-01-25 Thread Alexander Zubkov via Bird-users
On Thu, Jan 25, 2024 at 6:11 PM Maria Matejka wrote: > > On 2024-01-25 17:08, Alexander Zubkov wrote: > > But I think the problem with no filters is bigger when the RTR server is out. > It is not just the short period of time when the peer can announce anything. > If rpki a

Re: Overloading RTR to load IRR (Was: Defines for mixed IPv6/IPv4)

2024-01-25 Thread Alexander Zubkov via Bird-users
, it might work like a classical filter, but than we cannot do additional actual origin validation using rpki. On Thu, Jan 25, 2024, 14:41 Alexander Zubkov wrote: > AFAIK in RPKI AS0 means implicit invalid. > > On Thu, Jan 25, 2024, 14:31 Maria Matejka via Bird-users < > bird-users@ne

Re: Overloading RTR to load IRR (Was: Defines for mixed IPv6/IPv4)

2024-01-25 Thread Alexander Zubkov via Bird-users
AFAIK in RPKI AS0 means implicit invalid. On Thu, Jan 25, 2024, 14:31 Maria Matejka via Bird-users < bird-users@network.cz> wrote: > On 2024-01-25 11:55, Erin Shepherd wrote: > > Spitballing slightly here, but could you avoid this problem by adding > 0.0.0.0/0+ ::0/0+ AS0 RoAs to the table and ac

Re: Defines for mixed IPv6/IPv4

2024-01-24 Thread Alexander Zubkov via Bird-users
Hi, I want to also show some example of configuration generation: https://gitlab.com/qratorlabs/example-automatic-filters There are also a couple of links to other similar projects. Jeroen, thanks for the reference to kees, I've added it to the list there too. Regards, Alexander On Wed, Jan 24,

Re: Bug in bfd implementation: Wrong TTL on bfd control packets (was: Re: BFD sessions with FFR (VyOS) won't establish)

2024-01-20 Thread Alexander Zubkov via Bird-users
y. > > Is this something that was missed or is there an setting I am missing? > > Thanks, > Luke > > > > > > > Gesendet: Mittwoch, 17. Januar 2024 um 01:24 Uhr > > Von: "Lukas Haase via Bird-users" > > An: "Alexander Zubkov"

Re: BFD sessions with FFR (VyOS) won't establish

2024-01-17 Thread Alexander Zubkov via Bird-users
Hi, There were reports here in the list that some BFD peers do not allow connections from non-standard ports and bird do not choose source port specifically. So you might need to tune your sysctl like that: net.ipv4.ip_local_port_range = 49152 65535 Not sure if this is the case, but I would try

Re: Re: Exporting a larger prefix if a smaller prefix is being exported

2024-01-15 Thread Alexander Zubkov via Bird-users
ly. You can set it explicitly also. And yes, you can either use this option or override the next hop in the effort filter. > Thanks, > Luke > > > Gesendet: Montag, 15. Januar 2024 um 00:11 Uhr > > Von: "Alexander Zubkov" > > An: "Lukas Haase" > >

Re: Exporting a larger prefix if a smaller prefix is being exported

2024-01-15 Thread Alexander Zubkov via Bird-users
export none; import where dest != RTD_UNREACHABLE; } On Mon, Jan 15, 2024 at 8:59 AM Lukas Haase wrote: > > Hi Alexander > > > Gesendet: Sonntag, 14. Januar 2024 um 23:03 Uhr > > Von: "Alexander Zubkov" > > An: "Lukas Haase" > > Cc

Re: Re: Exporting a larger prefix if a smaller prefix is being exported

2024-01-14 Thread Alexander Zubkov via Bird-users
gt; > I then set up a dummy device (and add it to OSPF so that it lands in birds > routing table): > > # ip link add dum0 type dummy > # ip addr add 192.0.2.209/28 dev dum0 > # ip link set dev dum0 up > # ping -c1 192.0.2.209 > PING 192.0.2.209 (192.0.2.209) 56(84) bytes of d

Re: Exporting a larger prefix if a smaller prefix is being exported

2024-01-14 Thread Alexander Zubkov via Bird-users
Hi Lukas, On Sun, Jan 14, 2024 at 6:23 AM Lukas Haase wrote: > > Hi Alex, > > > Gesendet: Samstag, 13. Januar 2024 um 06:31 Uhr > > Von: "Alexander Zubkov" > > An: "Lukas Haase" > > Cc: bird-users@network.cz > > Betreff: Re: Expo

Re: Exporting a larger prefix if a smaller prefix is being exported

2024-01-13 Thread Alexander Zubkov via Bird-users
Hi, You cannot do "direct" prefix aggregation to a lager prefix in Bird yet. But there are some ways to workaround it. You can define a static route with recursive nex-hop like 192.0.2.x, and filter it out when it is not reachable, but for any subprefix in /24 you would need to define 256 of such

Re: BGP,MRTDump: Dumps and Graceful restart

2024-01-05 Thread Alexander Zubkov via Bird-users
Hello, Graceful restart allows not to flush the routes until the sessions are reestablished and converged, it does not save bgp internal state. And when the session is reestablished, the peers do initial exchange of their routes as with a fresh start, what you can see in your mrtdump. That is expe

Re: BGP: Only possible to set neigbor once

2023-12-30 Thread Alexander Zubkov via Bird-users
Hi, >From my understanding, there can be only one neighbor here, but you can set different parts of it with multiple directives, i.e.: neighbor 10.0.1.1; neighbor as 65000; But two different IPs would be two neighbors and you must have two separate bgp protocols for that. Or a dynamic protocol t

Re: Multiple ebgp neighbours to the same peer

2023-12-29 Thread Alexander Zubkov via Bird-users
Hi, Let's resurrect this question. :) I've made a patch to illustrate what I mean about the wildcard address in the lock object. Regards, Alexander On Tue, Jan 24, 2023 at 8:22 AM Alexander Zubkov wrote: > > > > On Mon, Jan 23, 2023 at 3:17 PM Alexander Zubkov wrote: &

Re: logging via udp

2023-12-13 Thread Alexander Zubkov via Bird-users
Hi, Thank you! On Wed, Dec 13, 2023 at 2:35 PM Ondrej Zajicek wrote: > > On Wed, Dec 13, 2023 at 11:50:42AM +0100, Alexander Zubkov wrote: > > Hi, > > > > Thanks! I looked throught your version and it is unclear to me if the > > sk is still added to the io loop lis

Re: logging via udp

2023-12-13 Thread Alexander Zubkov via Bird-users
xander On Wed, Dec 13, 2023 at 4:11 AM Ondrej Zajicek wrote: > > On Sun, Jan 02, 2022 at 04:58:33PM +0100, Alexander Zubkov wrote: > > Updated my last patch. I found a problem with that version, it hang on > > reconfigure sometimes. It turned out that birdsocks are added to the

Re: notification scripts ?

2023-12-12 Thread Alexander Zubkov via Bird-users
Hello, Depending on the type of events needed, besides logs or active monitoring with birdc, one can also do things like exporting routes to some kernel table and monitoring them using netlink. Or setup a "monitoring" bgp (or other protocol) sessions with something like exabgp. Regards, Alexander

Re: wireguard + multihop BGP = route rejected, but route created

2023-12-10 Thread Alexander Zubkov via Bird-users
Hi, Looks like it is the check that the route is not returned to the session where it was received from. Regards, Alexander On Sun, Dec 10, 2023 at 2:32 PM Ivan Agarkov wrote: > > Hello! > > I'm creating a BGP lab for my students and found interesting and unexpected > behavior. > > I'm getting

Re: [Babel-users] [RFC] Replace WireGuard AllowedIPs with IP route attribute

2023-11-21 Thread Alexander Zubkov via Bird-users
Hi Daniel, On Mon, Nov 20, 2023, 03:05 Daniel Gröber wrote: > Hi Erin, Juliusz, > > On Sat, Nov 18, 2023 at 11:21:57AM +0100, Erin Shepherd wrote: > > On Sat, 18 Nov 2023, at 03:19, Daniel Gröber wrote: > > > That would be a problem as I specifically want to tie the source > address > > > filter

Re: [Babel-users] [RFC] Replace WireGuard AllowedIPs with IP route attribute

2023-11-09 Thread Alexander Zubkov via Bird-users
tables. Regards, Alexander Zubkov Qrator Labs On Mon, Sep 11, 2023 at 5:46 PM Maria Matejka via Bird-users wrote: > > Hello! > > On 8/29/23 00:13, Daniel Gröber wrote: > > On Mon, Aug 28, 2023 at 07:40:51PM +0200, Juliusz Chroboczek wrote: > > I've read the whole discus

Re: bird control socket response

2023-10-18 Thread Alexander Zubkov via Bird-users
Hi, You can find some information about it here: https://bird.network.cz/?get_doc&v=20&f=prog-2.html#ss2.10 I think (IMHO) the reason why it is not implemented as "length+text" is because for that you need to prepare the whole response in some buffer first to calculate its size. In the current a

Re: Transition from BIRD 1 to 2

2023-10-13 Thread Alexander Zubkov via Bird-users
Hi, You can try to still have separate IPv4/IPv6 daemons and that may help not to repeat the protocol sections. But simple include might not help still, as the syntax requires you sometimes to specify "ipv4"/"ipv6" for tables and channels for example. Some templating might be helpful here though.

Re: BIRD 2.14

2023-10-09 Thread Alexander Zubkov via Bird-users
Hi, I want to add that I had the same problem with building bird master branch some time ago for our Arista switches. I also found that reverting f8bcb037b5b71a19209f1b63d52895c8c34c675b helps and maked the build successful. But we did not try it in production yet. Unfortunately, upgrading the ker

Re: Possibly a way to match Kernel.source field?

2023-09-30 Thread Alexander Zubkov via Bird-users
Hi, I'm sure one of the attributes mentioned in the documentation fits your need: https://bird.network.cz/?get_doc&v=20&f=bird-6.html#ss6.7 Regards, Alexander Zubkov On Sat, Sep 30, 2023, 22:20 Nigel Kukard via Bird-users < bird-users@network.cz> wrote: > Hi there fello

Re: BGP best path algorithm in RR environment

2023-09-13 Thread Alexander Zubkov via Bird-users
for BGP sessions in direct gateway > mode (mainly direct EBGP sessions). > > I was thinking to increase BGP preference (not bgp local pref) on leafs to > prefer routes from tor and not to compare them with the same routes from > spine (I don’t like this workaround) > > >

Re: BGP best path algorithm in RR environment

2023-09-13 Thread Alexander Zubkov via Bird-users
Hi Dariusz, Will ASPATH prepends work for you? Or this feature might help you: https://bird.network.cz/?get_doc&v=20&f=bird-6.html#bgp-aigp Regards, Alexander Zubkov Qrator Labs On Wed, Sep 13, 2023 at 11:43 AM Mazur, Dariusz via Bird-users wrote: > > Hello Bird Users, >

Re: [PATCH] adding custom options in radv protocol, strict ipv6 regex

2023-08-24 Thread Alexander Zubkov via Bird-users
And I forgot to ask about kw_sym. "kw_sym: FROM_HEX" definition is not needed? To provide fallback for someone using such name in config already. On Fri, Aug 25, 2023 at 3:55 AM Alexander Zubkov wrote: > > Hi, > > Good news, thanks! > > On Thu, Aug 24, 2023 at 7

Re: [PATCH] adding custom options in radv protocol, strict ipv6 regex

2023-08-24 Thread Alexander Zubkov via Bird-users
Hi, Good news, thanks! On Thu, Aug 24, 2023 at 7:11 PM Ondrej Zajicek wrote: > > On Thu, Jul 27, 2023 at 03:38:27PM +0200, Alexander Zubkov wrote: > > Hi, > > > > Have you had a chance to look at all this? > > Hi > > Sorry for keeping you wait, i finally got

Re: [PATCH] adding custom options in radv protocol, strict ipv6 regex

2023-07-27 Thread Alexander Zubkov via Bird-users
Hi, Have you had a chance to look at all this? On Fri, Jul 7, 2023 at 12:55 AM Alexander Zubkov wrote: > > Hi, > > And the final patch for the bytestring documentation. Also slightly > modified radv documentation patch - added a semicolon in the end of > the example. > I

Re: Remove all except one community

2023-07-19 Thread Alexander Zubkov via Bird-users
Hi, That is exactly what "filter" function does. Something like this: bgp_community.filter([(64511,*)]); On Wed, Jul 19, 2023, 17:15 Marek Küthe wrote: > Hello, > > I recently discovered a new filter for myself on > https://bgpfilterguide.nlnog.net/guides/many_communities/#bird. In my > eyes i

Re: [PATCH] adding custom options in radv protocol, strict ipv6 regex

2023-07-06 Thread Alexander Zubkov via Bird-users
ind. So if you would also like not to name it "bytestring", I can alter the pathes for it. On Fri, Jun 30, 2023 at 1:21 AM Alexander Zubkov wrote: > > Patch for RAdv documentation for a new custom option. > > I was also thinking about the new bytestring type. I needed th

typo in the documentation

2023-06-29 Thread Alexander Zubkov via Bird-users
Hello, I've found a typo in the documenation. The problem is the "/" symbol in the prefix mask that finishes the formatting definition. The patch is attached. Best regards, Alexander Zubkov diff --git a/doc/bird.sgml b/doc/bird.sgml index 81568b95..577f9535 100644 --- a/doc/bird

Re: [PATCH] adding custom options in radv protocol, strict ipv6 regex

2023-06-29 Thread Alexander Zubkov via Bird-users
STRING: int len = strlen(val.val.s); struct bytestring *bs = cfg_allocz(sizeof(*bs) + len); I can prepare a new set of patches or you can fix it ad-hoc. On Thu, Jun 29, 2023 at 1:59 PM Alexander Zubkov wrote: > > On Tue, Jun 27, 2023 at 2:13 AM Alexander Zubkov wrote:

Re: [PATCH] adding custom options in radv protocol, strict ipv6 regex

2023-06-29 Thread Alexander Zubkov via Bird-users
On Tue, Jun 27, 2023 at 2:13 AM Alexander Zubkov wrote: > > On Mon, Jun 26, 2023 at 5:54 PM Alexander Zubkov wrote: > > > > On Mon, Jun 26, 2023 at 5:43 PM Ondrej Zajicek > > wrote: > > > > > > On Mon, Jun 26, 2023 at 03:24:47AM +0200, Alexander Zubko

Re: Recursive nexthop via kernel route in proto static not working

2023-06-27 Thread Alexander Zubkov via Bird-users
Also try to enable debugging. It might log something about why it cannot resolve the recursive route. On Tue, Jun 27, 2023 at 4:48 PM Alexander Zubkov wrote: > > Hi, > > Not sure, but I would guess it can be related to the local address. It > might try to pick the first inte

Re: Recursive nexthop via kernel route in proto static not working

2023-06-27 Thread Alexander Zubkov via Bird-users
Hi, Not sure, but I would guess it can be related to the local address. It might try to pick the first interface with such network. Could you try your setup with some route that has the nexthop from a unique subnet configured on the interface? At least to check if it will become reachable or not.

Re: [PATCH] adding custom options in radv protocol, strict ipv6 regex

2023-06-26 Thread Alexander Zubkov via Bird-users
On Mon, Jun 26, 2023 at 5:54 PM Alexander Zubkov wrote: > > On Mon, Jun 26, 2023 at 5:43 PM Ondrej Zajicek wrote: > > > > On Mon, Jun 26, 2023 at 03:24:47AM +0200, Alexander Zubkov wrote: > > > On Sat, Jun 24, 2023 at 3:16 PM Ondrej Zajicek > > > wrote: >

Re: [PATCH] adding custom options in radv protocol, strict ipv6 regex

2023-06-26 Thread Alexander Zubkov via Bird-users
On Mon, Jun 26, 2023 at 5:43 PM Ondrej Zajicek wrote: > > On Mon, Jun 26, 2023 at 03:24:47AM +0200, Alexander Zubkov wrote: > > On Sat, Jun 24, 2023 at 3:16 PM Ondrej Zajicek > > wrote: > > > > > > On Sat, Jun 24, 2023 at 02:20:03AM +0200, Alexander Zubko

Re: [PATCH] adding custom options in radv protocol, strict ipv6 regex

2023-06-25 Thread Alexander Zubkov via Bird-users
On Sat, Jun 24, 2023 at 3:16 PM Ondrej Zajicek wrote: > > On Sat, Jun 24, 2023 at 02:20:03AM +0200, Alexander Zubkov wrote: > > > Yes, the original idea there was to add bytestring as a data type, make > > > hex() a regular (filter) function instead of special function-li

Re: [PATCH] adding custom options in radv protocol, strict ipv6 regex

2023-06-25 Thread Alexander Zubkov via Bird-users
Hello! On Sat, Jun 24, 2023 at 3:30 PM Maria Matejka wrote: > > Hello! > > On 6/24/23 15:13, Ondrej Zajicek wrote: > > On Thu, Jun 15, 2023 at 03:57:10AM +0200, Alexander Zubkov wrote: > > Also, I think that the current realization in bird relies on the fact > that l

Re: [PATCH] adding custom options in radv protocol, strict ipv6 regex

2023-06-25 Thread Alexander Zubkov via Bird-users
Attached the patch with the new syntax for custom options and to use WALK_LIST. On Sat, Jun 24, 2023 at 3:32 PM Ondrej Zajicek wrote: > > On Sat, Jun 24, 2023 at 02:03:08AM +0200, Alexander Zubkov wrote: > > On Fri, Jun 23, 2023, 17:47 Ondrej Zajicek wrote: > > > The only

Re: [PATCH] adding custom options in radv protocol, strict ipv6 regex

2023-06-23 Thread Alexander Zubkov via Bird-users
On Fri, Jun 23, 2023, 18:30 Ondrej Zajicek wrote: > On Wed, Jun 14, 2023 at 12:40:47AM +0200, Alexander Zubkov wrote: > > Hi, > > > > Please look at these patches: > > > > bytestring-hex-prefix.patch - syntax with "hex:" prefix > > I allowed mix

Re: [PATCH] adding custom options in radv protocol, strict ipv6 regex

2023-06-23 Thread Alexander Zubkov via Bird-users
On Fri, Jun 23, 2023, 17:47 Ondrej Zajicek wrote: > On Mon, Jun 12, 2023 at 01:08:15PM +0200, Alexander Zubkov via Bird-users > wrote: > > Hi, > > > > Currently one can use only a predefined set of advertised options in radv > > protocol, that are supported by bir

Re: [PATCH] adding custom options in radv protocol, strict ipv6 regex

2023-06-22 Thread Alexander Zubkov via Bird-users
Hi, Please give some feedback. On Thu, Jun 15, 2023 at 3:57 AM Alexander Zubkov wrote: > > Hi, > > While waiting for the fate of the previous patches, I was thinking > about that thing about using keywords as symbols. So here is another > longread. :) > > Now it is not p

  1   2   3   4   >