Re: show route export & not up proto

2018-11-15 Thread Bernd Naumann
Hi Mikhail, If I understand you correctly: lets assume this config snippet: ``` template bgp 'vpc' { disabled 0; direct; check link on; import keep filtered on; import filter aws_in; export filter aws_out; } ``` You would then use ``` bird> show route all filter aws_out

Re: Debian packages for BIRD2

2019-05-13 Thread Bernd Naumann
Hi Marco, On 13.05.19 08:12, Kees Meijs wrote: > I'm not sure how the process works exactly in terms of backports, but > maybe it makes sense to provide the bird2 package via stretch-backports > as well? That is, if Buster is considered stable. The typical Ubuntu Package Cycle works in a way

Re: Introduce Wireguard support to bird

2019-06-10 Thread Bernd Naumann
On 08.06.19 00:18, Toke Høiland-Jørgensen wrote: > - The algorithm is basically O(P*M*N) for inserting N routes on an > interface with P peers that each have M existing AllowedIPs. That is > not going to scale very far :/ > > -Toke Hi Toke, Could you give me an example for a topology/setup

Please ignore - I need to test as I get no messages from this list

2019-11-05 Thread Bernd Naumann
Sorry for the noise, but since weeks I got no new messages from this list, which was maybe related to the mentioned MTA GreyListing thingsy...

Re: How to unset "gw" attribute when exporting

2019-12-03 Thread Bernd Naumann
On 03.12.19 13:22, Yousong Zhou wrote: Hi list, I just tried running BGP over WireGuard link and noticed that routes were exported to kernel with "via x.x.x.x" attributes. It's a L3 point-to-point link. While routing works with or without this attribute, I am wondering if there is a way to

Re: BGP communities

2020-04-06 Thread Bernd Naumann
On 05.04.20 23:08, Fabiano D'Agostino wrote: Good evening, could someone explain me the meaning of these lines? function bgp_out(int peeras) { if ! (source = RTS_BGP ) then return false; if peeras > 65535 then return true; ### communities do not support AS32 if (0,peeras) ~ bgp_community then

Re: BFD bind port to IP

2020-05-13 Thread Bernd Naumann
Hi Justin, On 06.05.20 20:15, Justin Cattle wrote: Hi, Is it possible to bind BFD listen ports to a particular IP ? I've tried a few different BFD procol configs, tried specify different neighbor options, but I always see this: udpUNCONN 00

Re: Question regarding an unreachable protocol

2020-03-18 Thread Bernd Naumann
On 18.03.20 16:33, Irene Lalioti wrote: Thanks a lot Alexander for your feedback! I have direct protocol disabled all along like this protocol direct {     disabled;   # Disable by default     ipv6;   # Connect to default IPv6 table } Hi Irene, Enable

Re: KRT: Error sending route xxxx/46 to kernel: File exists

2020-03-23 Thread Bernd Naumann
On 21.03.20 22:11, Christoph wrote: Hi, we get this error about 7 times an hour on a BGP router running BIRD 2.0.7 on FreeBSD: KRT: Error sending route /46 to kernel: File exists Is this something we should look into? thanks! Hi Christoph, This indicates that the route is already

Re: Unable to get Bird 2 to listen on the BGP socket

2020-09-03 Thread Bernd Naumann
On 03.09.20 00:57, Skyler Mäntysaari wrote: Hi there, I’m fairly certain that my issue is something rather small, or stupid but I’m unable to get Bird to listen on the 179 port. The other side has direct in the protocol definition which is correct, and I tried this side with that as well but

Re: Unable to get Bird 2 to listen on the BGP socket

2020-09-03 Thread Bernd Naumann
. (or do I miss something here?) On 03.09.20 16:48, Skyler Mäntysaari wrote: The allowedIps shouldn't be the issue. I can ping fine and even nmap. Having the "direct" statement in the protocol defition does not change the behavior in any way. P. S Please reply by writing up here and not belo

Re: ospf routes

2020-08-24 Thread Bernd Naumann
On 24.08.20 09:43, Mehdi Rukmawan wrote: Hello, I'm just starting bird with vm and i'm running it on gns3. first of all the ospf is running and can see the routes from he neighbour as we can see below : root@gns3:/etc/netplan# birdc show route BIRD 1.6.3 ready. 1.1.1.1/32 via

Dump/Show current running config?

2020-09-29 Thread Bernd Naumann
Hi *, Sorry if this was asked before but my googlefu didn't provide me anything. Is there in bird 1.7 (or in 2.0) a feature to show or dump the current loaded/running config? If not: Is this on the roadmap somewhere? (Or is it somehow complicated to translate the config back into the syntax

Re: Dump/Show current running config?

2020-09-29 Thread Bernd Naumann
on the roadmap, there is possibly a change of internal structures that would allow for more versatile config, yet it is neither simple nor quickly done. So it is currently not possible, sorry. Maria On September 29, 2020 1:07:46 PM GMT+02:00, Bernd Naumann wrote: Hi *, Sorry if this was asked before

Reload filter used in protocol?

2020-09-30 Thread Bernd Naumann
Hi *, Again, I have "such" a question... If I can reload (or restart) a single protocol, would that also re-read the filter used for that protocol? Or would do I need `configure` anyway? Thanks again! Bernd

Re: Reload filter used in protocol?

2020-09-30 Thread Bernd Naumann
cols after that if needed. Because when the filter is changed, routes are not reevaluated. The new filter will only affect newly arriving routes. On Wed, Sep 30, 2020 at 11:49 AM Bernd Naumann wrote: Hi *, Again, I have "such" a question... If I can reload (or restart) a single

Re: [BIRD 2.0.x] Netlink: ignore dead routes

2020-10-23 Thread Bernd Naumann
I have a question: What is then `check link` supposed to do? At least for 1.6, babel is the only protocol which enables it by default, and the others, for in example direct, static, and ospf it is needed to be set by the user, and I would have assumed exactly that behavior. Or is this

Re: [BIRD 2.0.x] Netlink: ignore dead routes

2020-10-23 Thread Bernd Naumann
On 23.10.20 11:36, Vincent Bernat wrote: ❦ 23 octobre 2020 08:48 +02, Bernd Naumann: I have a question: What is then `check link` supposed to do? At least for 1.6, babel is the only protocol which enables it by default, and the others, for in example direct, static, and ospf it is needed

Re: reload fails at static protocol

2020-08-13 Thread Bernd Naumann
On 12.08.20 07:43, Farhad wrote: Hello, I am trying to change my bird config file and then reload it, but when I try to do *reload all* or *reload in all * reload will fail at static1 and static2, but* reload out all* will be successful. I am not sure what I am missing, your help is much

Re: Status of implementing multicast routing

2020-08-06 Thread Bernd Naumann
On 06.08.20 12:31, Bernd Naumann wrote: On 05.08.20 17:44, Matt wrote: I didn’t think bird did any of this. A few years ago I was trying to roll my own multicast stack based on open source tools - there wasn’t much then - though I just tried to do a search and found this: https://github.com

Re: Status of implementing multicast routing

2020-08-06 Thread Bernd Naumann
On 05.08.20 17:44, Matt wrote: I didn’t think bird did any of this. A few years ago I was trying to roll my own multicast stack based on open source tools - there wasn’t much then - though I just tried to do a search and found this: https://github.com/troglobit/pimd AND it was updated 15 days

Re: KRT: Error sending route 192.168.x.x/32 to kernel: File exists

2021-01-20 Thread Bernd Naumann
Hi Viktor, It's just a guess, but maybe re-enable `protocol direct` and add `interface "*";` so all device routes are known to bird? And also adding `interface "lo0" { stub yes; };` to OSPF? Good luck, Bernd On 20.01.21 06:00, Victor Sudakov wrote: Dear Colleagues, My system is full of the

Re: Foreign upstream gateway for remote maintenance

2021-03-26 Thread Bernd Naumann
Good morning Nils, On 26.03.21 08:47, Nils van Lück wrote: Hello! I am using the latest Bird version from the git repo under Debian. I have one dedicated NIC for the LAN, one dedicated NIC for BGP sessions and one NIC with an IP from a foreign ASN for remote maintenance. How can I make the

OSPFv2 Unnumbered -- Am I doing it right?

2022-04-01 Thread Bernd Naumann
Hi Users of BIRD! I have only heard about "OSPF Unnumbered" a couple of times, and never have seen any clear explanation or specific details. And based on that, I had the false assumption that "unnumbered" would imply "having no address on the interfaces"; maybe only an IPv4 address used as

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

2023-08-19 Thread Bernd Naumann
Hi Daniel, Chances are high I do miss something, but I've just set AllowedIPs to 0.0.0.0/0 and ::/0 and just used the routing protocol of my choice and filters to select which routes got exported and imported... :shrug: Best, Bernd On 19.08.23 16:02, Daniel Gröber wrote: > Hi wireguard, birds,

Re: On the possibility of updating BGP passwords without network disruption.

2022-08-08 Thread Bernd Naumann
On 08.08.22 16:58, Calvin Zachman wrote: Hi BIRD users, Does anyone know whether a BGP shared secret can be rotated without incurring any network downtime? I did some testing with the BGP password functionality offered and it appears that any update to the BGP password configuration incurs

Babel on a wireless mesh

2023-01-12 Thread Bernd Naumann
Hey *, Because Babel popped up on the list, I want to use the opportunity to drop a few questions I had over the last days... On my small home-network I currently use OSPFv3 for IPv4 and IPv6 to announce routes from Laptops and PCs, and the Router. (There are some "dumb APs", too in the network

Re: Babel on a wireless mesh

2023-01-12 Thread Bernd Naumann
On 12.01.23 23:52, Toke Høiland-Jørgensen wrote: Hey Toke! Thanks for the quick reply. This gives me some keywords for a goods nights tale :) > Bernd Naumann writes: > >> Hey *, >> >> Because Babel popped up on the list, I want to use the opportunity to >> d

Re: [PATCH] Babel: add RFC9229 (v4 via v6) support

2023-03-02 Thread Bernd Naumann
On 14.02.23 22:08, Juliusz Chroboczek wrote: > (There's also the PMTUD problem described in RFC 9229 Section 3.) Hey, Juliusz, do you, or any one else, have info on: How does ${vendor} behave when reverse path filters are enabled? I did some "research" aka an afternoon of web-search on that

Re: Bird bfd configuration

2023-02-10 Thread Bernd Naumann
On 10.02.23 16:58, LIU Chris via Bird-users wrote: > Anyone comment this issue ? Hey Chris, I can not say much on your case, just general "advise"/recommendations... first: I have not encountered a case where I needed to "tune" or explicit set BFD settings/parameter. Just enable BFD on the

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 pr

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"?

Re: Multiple ebgp neighbours to the same peer

2024-02-08 Thread Bernd Naumann
Good Morning, Could someone explain[1] to me the use-case(s) why I would need to establish two or more BGP session between the same to peers, please? Thanks in advance! Best, Bernd [1] Or point me to some resources. OpenPGP_signature.asc Description: OpenPGP digital signature

Re: OSPF for IPv4 over IPv6 only?

2024-01-30 Thread Bernd Naumann
On 30.01.24 10:32, Nico Schottelius via Bird-users wrote: > > Good morning, > > if we are talking about BGP, IPv4 routing over IPv6 works > beautifully. We just add another IPv4 channel and get BGP MP. > > OSPFv3 works fine on IPv6 and when creating two instances, one for IPv6 > one for IPv4,

Missing IPv6 default route on protocol kernel and table master6

2022-10-06 Thread Bernd Naumann via Bird-users
Hey *, I do not see a default route for IPv6 on the `kernel` protocol (or `table master6`), like with IPv4, therefor I'm unable to export it via `ospf`. I'm running bird 2.0.8 on OpenWRT 21.02, Kernel 5.4.154. At first I thought it's because I had `pppoe-wan` not covered in `proto device`

Re: Missing IPv6 default route on protocol kernel and table master6

2022-10-06 Thread Bernd Naumann via Bird-users
I may should have had a look at the log before :/ ``` Thu Oct 6 09:32:51 2022 daemon.err bird: KRT: Received route ::/0 with strange next-hop fe80::f6cc:55ff:fe42:1a94 ``` But why is this a strange a next-hop? Routes with via Link-Local next-hop just work fine with OSPF and BGP, whats the

Re: Missing IPv6 default route on protocol kernel and table master6

2022-10-06 Thread Bernd Naumann via Bird-users
On 2022-10-06 15:11, Ondrej Zajicek wrote: On Thu, Oct 06, 2022 at 11:37:18AM +0200, Bernd Naumann via Bird-users wrote: I may should have had a look at the log before :/ ``` Thu Oct 6 09:32:51 2022 daemon.err bird: KRT: Received route ::/0 with strange next-hop fe80::f6cc:55ff:fe42:1a94

Re: Missing IPv6 default route on protocol kernel and table master6

2022-10-09 Thread Bernd Naumann via Bird-users
On 2022-10-07 18:32, Ondrej Zajicek wrote: Does the pppoe-wan have link-local address range? Does BIRD know about it? What is What is the output from BIRD command 'show interfaces'? I assume no. Like I have written, the LLA is `/128`. I do not see the gateway in the `neighbor` table, but

Re: Missing IPv6 default route on protocol kernel and table master6

2022-10-10 Thread Bernd Naumann via Bird-users
Hey Ondrej, See my reply inline. On 2022-10-10 00:40, Ondrej Zajicek wrote: On Sun, Oct 09, 2022 at 07:43:56PM +0200, Bernd Naumann via Bird-users wrote: On 2022-10-07 18:32, Ondrej Zajicek wrote: Does the pppoe-wan have link-local address range? Does BIRD know about it? What is What

Re: Missing IPv6 default route on protocol kernel and table master6

2022-10-07 Thread Bernd Naumann via Bird-users
Update: On 2022-10-06 20:39, Bernd Naumann via Bird-users wrote: On 2022-10-06  15:11, Ondrej Zajicek wrote: On Thu, Oct 06, 2022 at 11:37:18AM +0200, Bernd Naumann via Bird-users wrote: I may should have had a look at the log before :/ ``` Thu Oct  6 09:32:51 2022 daemon.err bird: KRT

Re: Injecting OSPF learned routes (only)

2024-02-26 Thread Bernd Naumann via Bird-users
G'Morning Nico, On 27.02.24 04:30, Nico Schottelius via Bird-users wrote: > > Good morning bird users, > > I am a bit puzzled about properly adding OSPF learned routes into the > kernel and let me show you why: > > If I use a filter such as: > > filter static_and_bgp_and_ospf { > if(source

Re: BGP on /32 (/128) interfaces

2024-04-12 Thread Bernd Naumann via Bird-users
Hey Arzhel! On 12.04.24 11:57 AM, Arzhel Younsi wrote: > Hi, > > A message between bug report and feature request, unless it's a silly > oversight on my side. > Hopefully _I_ do not miss a detail here, but: Option A: Set a v4 and v6 addr only on loopback, and using IPv6 LLA with OSPF2/3 to

Re: How to make ospf advertise stubnet base on the interface/subnet state?

2024-04-29 Thread Bernd Naumann via Bird-users
Hey, It's just a wild guess, but did you tried: ``` protocol ospf [v2|v3] { ... interface [instance ] { check link ; }; .. } ``` I'm not sure if or what difference it would make if you add your prefix to a static protocol and set the `check link` there, too. Again, it's just a

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

2024-04-29 Thread Bernd Naumann via Bird-users
Are your neighbors directly connected or by any chance multihop? On 29.04.24 7:41 PM, Fran via Bird-users wrote: > Hello Alexander, > > thanks for your email. > > I started without any neighbor config in the BFD section and the error > message was there, while trying to get rid of the error I