Re: bird 2.0.3 does not install multipath route in kernel

2019-03-01 Thread Ondrej Zajicek
On Fri, Mar 01, 2019 at 11:46:28AM +, Kenth Eriksson wrote: > > > We don't have multipath enabled in our kernel > > > (CONFIG_IP_ROUTE_MULTIPATH). How does bird tell whether the kernel > > > supports multipath? Probing run time via netlink? Didn't find any > > > configure.ac option. > > > >

Re: bird 2.0.3 does not install multipath route in kernel

2019-02-28 Thread Ondrej Zajicek
On Thu, Feb 28, 2019 at 01:15:02PM +, Kenth Eriksson wrote: > We have some multi-path routes that fails to get pushed into the > kernel. We are running bird 2.0.3 and kernel 4.14.92+. > > > bird> show route > ... > Table master4: > > 10.210.138.3/32 unicast [ospf1 13:24:23.022] E1

Re: Log limit

2019-02-21 Thread Ondrej Zajicek
On Thu, Feb 21, 2019 at 04:54:51PM +, Ticlea Alexandru wrote: > Hello > According to user guide, the next line looks correct but it leads to a syntax > error > log "/var/log/bird.log"  102400  "/var/log/bird.log-prev" { info, remote, > warning, error, auth, fatal, bug }; > Can we help me to

Re: bird 2.0.3 pushes connected routes to kernel

2019-02-19 Thread Ondrej Zajicek
On Thu, Feb 14, 2019 at 02:28:52PM +, Kenth Eriksson wrote: > After upgrading from bird 2.0.2 to 2.0.3 we discovered that bird pushes > connected routes to the kernel. Tried to alter the preference values > for kernel and device, but bird still pushes the connected routes, > resulting in

Re: minimal protocols support now needs RIP?

2019-02-11 Thread Ondrej Zajicek
On Mon, Feb 11, 2019 at 09:06:59AM +, Leo Vandewoestijne wrote: > Hello, > > I'm not the FreeBSD port maintainer for bird, however did wrote the initial > bird2 port. > In there I created the interface to "assemble" which protocols you wish, by > un/checking checkboxes. > This allows to

Re: Unknown instruction 8574 in same (~) Bug

2019-02-10 Thread Ondrej Zajicek
On Sun, Feb 10, 2019 at 12:12:58PM +, firas73...@yahoo.com wrote: > Hello BIRD-users, > I am running BIRD version 1.6.3 for about one year now and everything seems > to be ok. I've just changed some configuration (set next-hop of a route to > some IP address) and then issued a "configure"

Re: Debian packages for 1.6.5 and 2.0.3

2019-02-07 Thread Ondrej Zajicek
On Wed, Feb 06, 2019 at 05:17:17PM +0100, Vincent Bernat wrote: > ❦ 6 février 2019 16:47 +01, Ondrej Zajicek : > > > I cannot give precise ETA for our/official packages, as it is a bit > > organizationally complex, depends on multiple people, and we are often > > interr

Debian packages for 1.6.5 and 2.0.3

2019-02-06 Thread Ondrej Zajicek
(Did not pass due to attachements, resending) On Tue, Feb 05, 2019 at 12:38:43AM +0100, Cybertinus wrote: > Hello Bird users, > > Is there any ETA for the packages for Bird 1.6.5 and 2.0.3? > > I'm running a production network with Bird and I want to upgrade my Debian > routers to the latest

Re: route export number discrepancy

2019-02-06 Thread Ondrej Zajicek
On Wed, Feb 06, 2019 at 04:01:27PM +0100, Alarig Le Lay wrote: > On mer. 6 févr. 15:51:56 2019, Ondrej Zajicek wrote: > > This depends on version/variant of autoconf tools. Older ones do not > > support --runstatedir. INSTALL instructions are intended for released > >

Re: route export number discrepancy

2019-02-06 Thread Ondrej Zajicek
On Wed, Feb 06, 2019 at 03:21:41PM +0100, Alarig Le Lay wrote: > It looks good from there too: > asbr01-lab /usr/local/src/bird # birdc -s /run/bird.ctl > BIRD v2.0.3-12-g6e8fb668 ready. > It’s not related to OSPF, but there is an error in INSTALL: > asbr01-lab /usr/local/src # git clone

Re: route export number discrepancy

2019-02-06 Thread Ondrej Zajicek
On Wed, Feb 06, 2019 at 11:39:52AM +0100, Alarig Le Lay wrote: > Hi Ondrej, > > >From which URL can I fetch the code at this commit? > The “download” link on > https://gitlab.labs.nic.cz/labs/bird/commit/6e8fb66859a17b295cd9246264221a75cdbe6c55 > is disabled. Here should be enabled:

Re: route export number discrepancy

2019-02-05 Thread Ondrej Zajicek
On Fri, Feb 01, 2019 at 03:12:12PM +0200, michal.no...@lnk.ro wrote: > We've upgraded to 2.0.3 (from 1.6.3) and observed that the number of exported > routes shown in the protocol details ('show protocol all') does not match (by > large) these show in 'show route export PROTOCOL count'. Hi I

Re: route export number discrepancy

2019-02-05 Thread Ondrej Zajicek
On Sun, Feb 03, 2019 at 09:14:21AM +0200, michal.no...@lnk.ro wrote: > On Sat, Feb 02, 2019 at 02:50:39PM +0300, Ondrej Zajicek wrote: > > > This is likely just integer overflow during counter decrease, it is > > mostly harmless. We will see how to fix it. > > Hi

Re: tm_format_time output changes by +/1 second

2019-02-05 Thread Ondrej Zajicek
On Sun, Feb 03, 2019 at 04:37:36PM +0300, Ilya Evseev wrote: > Hi all! > There is a problem in time output. > Consider timeformat protocol "%Y-%m-%d %H:%M:%S"; > ... > As you can see, time is changed by 1 second. > That's bad for monitoring when it's configured to alert on time/state > changes.

Re: route export number discrepancy

2019-02-02 Thread Ondrej Zajicek
On Fri, Feb 01, 2019 at 03:12:12PM +0200, michal.no...@lnk.ro wrote: > Hi list, > > We've upgraded to 2.0.3 (from 1.6.3) and observed that the number of exported > routes shown in the protocol details ('show protocol all') does not match (by > large) these show in 'show route export PROTOCOL

Re: Way too many routes imported in OSPF

2019-01-29 Thread Ondrej Zajicek
On Tue, Jan 29, 2019 at 05:27:27PM +0100, Alarig Le Lay wrote: > Hi, > > Just FYI, I had the same issue with a BGP session today: BTW, it is possible that it is triggered by change/reconfiguration of export filters? -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email:

Re: Way too many routes imported in OSPF

2019-01-29 Thread Ondrej Zajicek
On Tue, Jan 29, 2019 at 05:27:27PM +0100, Alarig Le Lay wrote: > Hi, > > Just FYI, I had the same issue with a BGP session today: Hi I guess it is just an overflow in counter during its decrease. Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santi...@crfreenet.org) OpenPGP

Re: Default config file name 1.6 vs. 2.0

2019-01-28 Thread Ondrej Zajicek
On Sat, Jan 26, 2019 at 02:55:29PM +0100, Eugene Crosser wrote: > Hello, > > I would like to suggest to change the default name of the configuration file > for > bird version 2.0. Hello We noticed the issue when working on Debian packages for BIRD 2.0. Renaming the config file in upstream is

Re: Exporting multipath link routes from Linux kernel

2019-01-28 Thread Ondrej Zajicek
On Tue, Jan 22, 2019 at 06:44:11PM +0100, Eugene Crosser wrote: > On 1/21/19 10:01 PM, Eugene Crosser wrote: > > On 21/01/2019 21:20, Ondrej Zajicek wrote: > [...] > >> Or just switch to BIRD 2.0 > > > > I will try that; I hope that I was wrong in my analysis. &

Re: OSPF transmit delay is not documented?

2019-01-26 Thread Ondrej Zajicek
On Sat, Jan 26, 2019 at 01:34:08PM +0700, Igor Podlesny wrote: > Whereas it's given in some default Bird configs, I couldn't find it in manual. Thanks, fixed (in git). -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santi...@crfreenet.org) OpenPGP encrypted e-mails preferred

Re: Bird OSPF bug? (Mutliple areas, rfc1583compat off, cost ignored)

2019-01-26 Thread Ondrej Zajicek
On Sun, Jan 27, 2019 at 02:19:03AM +0700, Igor Podlesny wrote: > On Sun, 27 Jan 2019 at 02:14, Ondrej Zajicek wrote: > > > On Sat, Jan 26, 2019 at 02:07:52PM +0700, Igor Podlesny wrote: > > > I have test lab -- two OSPF routers, Bird 1.6.4: A, B. > > > > >

Re: OSPF, BSD: every additional IP on an interface gives another neighbour

2019-01-26 Thread Ondrej Zajicek
On Sat, Jan 26, 2019 at 02:57:53PM +0700, Igor Podlesny wrote: > The docs say: "... secondary switch > > Let's focus on: "... Since v1.4.1, regular operation on secondary IP > addresses is supported, but disabled by default for compatibility. > This option allows to enable it. ..." > > My

Re: Bird OSPF bug? (Mutliple areas, rfc1583compat off, cost ignored)

2019-01-26 Thread Ondrej Zajicek
On Sat, Jan 26, 2019 at 02:07:52PM +0700, Igor Podlesny wrote: > I have test lab -- two OSPF routers, Bird 1.6.4: A, B. > > 2 areas defined: 0.0.0.0, 0.0.0.1. Export "all". > > When rfc1583compat is Off I observe default route gets propagated via > area 0.0.0.1 in despite its interfaces have

Re: BGP route back

2019-01-22 Thread Ondrej Zajicek
On Fri, Jan 18, 2019 at 01:14:47PM -0500, Roman Romanyak wrote: > Hello Bird users, > > Does anyone know if there is a way to announce a BGP route back to the > router it was received from. > I need to do this for the following scenario. Hi I recently thought about a setup where a

Re: Exporting multipath link routes from Linux kernel

2019-01-21 Thread Ondrej Zajicek
On Mon, Jan 21, 2019 at 10:01:54PM +0100, Eugene Crosser wrote: > On 21/01/2019 21:20, Ondrej Zajicek wrote: > > >> https://gitlab.labs.nic.cz/labs/bird/blob/master/sysdep/linux/netlink.c#L528 > >> > >> Questions: > >> > >> 1. What was the j

Re: Exporting multipath link routes from Linux kernel

2019-01-21 Thread Ondrej Zajicek
On Mon, Jan 21, 2019 at 06:38:21PM +0100, Eugene Crosser wrote: > Hello all, Hello > we do virtual hosting, and we provide routeable /32 addresses to the > guests. Kernel routes on the KVM host are link routes that look like this: > > 1.0.0.113 dev pub020304050612 proto static > > They are

Re: UHb (broadcast) routes get into OSPF database on OpenBSD 6.4

2019-01-21 Thread Ondrej Zajicek
On Sun, Jan 20, 2019 at 01:10:03AM +0700, Igor Podlesny wrote: > I have an instance of Bird 1.6.4 on a freshly installed OpenBSD 6.4. > > My study of its OSPF database shown (with birdc show ospf lsadb self) > that there were LSAs for broadcast routes that are indicated as ones > having "UHb" in

Re: Bird handles OpenBSD route priority differently

2019-01-21 Thread Ondrej Zajicek
On Mon, Jan 21, 2019 at 02:58:19PM +0700, Igor Podlesny wrote: > (compared to native OSPF daemon.) > > bird> show ospf state all > > area 0.0.0.0 > > router 192.168.69.34 > distance 0 > network 192.168.69.32/29 metric 10 > external 0.0.0.0/0 metric2 1 via 192.168.69.37 > external

Re: Does repeated config timeout work as single (first one) accumulated?

2019-01-16 Thread Ondrej Zajicek
On Thu, Jan 17, 2019 at 12:38:11AM +0700, Igor Podlesny wrote: > Or would the second "config timeout" commit version 2 instead and when > timeout is reached would rollback from version 3 (which is equal by > content to version 2) to version 2 instead of version 1? Yes, this way. There is just one

Re: bird-2.0.3 - centos 7 rpm

2019-01-16 Thread Ondrej Zajicek
On Wed, Jan 16, 2019 at 09:08:45AM +0100, Shahan Agha wrote: > Hi all, > > Do we have any updates if there is official Cent OS 7 rpm for bird-2.0.3 or > bird-2.0.2 to be released any soon? > > There was a thread mentioning that packages for bird 2.0 are expected with > next release. Hi I

Re: Bird Version Ubuntu

2019-01-09 Thread Ondrej Zajicek
On Wed, Jan 09, 2019 at 09:34:21PM +, marcelo henrique wrote: > Hi People, > > In this week, was released a new version the bird, version bird-2.0.3.tar.gz > but i don't found version to ubuntu packages. > > Would be possible to release the version package to ubuntu ? Hi We plan to

Re: cannot export routes (AS_PATH problem ?)

2019-01-08 Thread Ondrej Zajicek
On Mon, Jan 07, 2019 at 09:38:12AM +0100, Julien Sansonnens wrote: > Hi Ondrej, > > policy routing was exactly what I was looking for, thanks for your help > I managed to have it done using the "secondary" switch, it's working great. Hi 'secondary' switch could be used for that, but note that

Re: Setting different facility parameter for logging

2019-01-05 Thread Ondrej Zajicek
On Wed, Jan 02, 2019 at 02:43:59PM +0100, Jakub Nowacki wrote: > Hi, > > I'm running BIRD on Arista switch that allows entering bash. What I want to > achieve is to have logs from BIRD being integrated into Switch OS. Meaning > when BIRD logs a message it will appear in the output of 'show

Re: Check bgp_path.len without some AS

2019-01-05 Thread Ondrej Zajicek
On Thu, Jan 03, 2019 at 11:10:00PM +, Xavier Trilla wrote: > Hi, > > For some route selection configurations I need to check the bgp_path.len > without some AS numbers. > > I tried something like: > > bgp_path.delete(AS_1); > bgp_path.delete(AS_2); > > if bgp_path.len < N then ... > >

Re: cannot export routes (AS_PATH problem ?)

2019-01-05 Thread Ondrej Zajicek
On Sat, Jan 05, 2019 at 10:57:45PM +0100, Julien Sansonnens wrote: > Hi Kurt, > > Thanks a lot for your reply. > > I understand the logic, but I'm sure there must be a way to choose the > routes one want to export? > > Imagine I have two upstreams, and two peered networks (say: customers). >

Re: Trouble with IPv6 and VRFs: Cannot assign requested address

2018-12-30 Thread Ondrej Zajicek
On Sun, Dec 30, 2018 at 07:25:50PM +0100, Ralf Jung wrote: > Hi, > > > Thanks for interesting logs, it is possible that this is a kernel bug, > > the implementation is pretty fresh and there were few issues with it in > > the past. > > I was beginning to suspect the same. > > What would be a

Re: Trouble with IPv6 and VRFs: Cannot assign requested address

2018-12-30 Thread Ondrej Zajicek
On Sun, Dec 30, 2018 at 03:52:53PM +0100, Ralf Jung wrote: > Hi again, > > I have now also played around with bird 2.0 a bit, but got the same result: > IPv4 > works, but IPv6 says "Cannot assign requested address". I have attached my > stripped-down configuration, which (as far as I can tell)

Re: Trouble with IPv6 and VRFs: Cannot assign requested address

2018-12-28 Thread Ondrej Zajicek
On Fri, Dec 28, 2018 at 03:10:28PM +0100, Ralf Jung wrote: > Hi all, > > I am playing around with VRFs in our network, and I am having trouble getting > bird6 to establish its BGP sessions inside a VRF. Strangely, bird for IPv4 > works with pretty much the same configuration. Hi What is the

Re: Linux 4.20 / incomplete ipv4 addr list / RTM_GETADDR

2018-12-28 Thread Ondrej Zajicek
On Thu, Dec 27, 2018 at 05:01:52PM +, Arthur Gautier wrote: > Hello bird users, > > Today I tried to upgrade one of platform to from linux 4.19 to linux 4.20. > I started noticing the bgp protocol could not start after this message: >uplink: Waiting for 1.2.3.4 to become my neighbor > >

Re: Route server on a Bird2.0.2

2018-12-15 Thread Ondrej Zajicek
-- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santi...@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so." commit 532116e7e33d80a79e176f043defffbfc2b8d06e Author: O

Re: [PATCH] bird: treat former classe addresses as valid addresses

2018-12-12 Thread Ondrej Zajicek
On Tue, Dec 11, 2018 at 03:26:08PM -0800, Dave Taht wrote: > There is no reason to disallow the former class e address > space, except in a bogon file. Hi > static inline int ip4_is_unicast(ip4_addr a) > -{ return _I(a) < 0xe000; } > +{ return _I(a) < 0xe000 || (_I(a) >= 0xf000 &&

Re: BIRD 2.0.2 documentation build failure

2018-12-11 Thread Ondrej Zajicek
> diff --git a/doc/LinuxDocTools.pm b/doc/LinuxDocTools.pm > index 39bb401..d73fc75 100644 > --- a/doc/LinuxDocTools.pm > +++ b/doc/LinuxDocTools.pm > @@ -242,6 +242,7 @@ sub process_options ># removes iso-entites sub directory after doing make install.) ># >$ENV{SGML_CATALOG_FILES}

Re: Recommended way to shutdown a working BGP session -- ordered bgp session stop -- bgp session shutdown

2018-12-10 Thread Ondrej Zajicek
On Mon, Dec 10, 2018 at 10:47:32AM +0100, Francis Brosnan Blázquez wrote: > Hello Kurt. > > By your solution, would it be possible to announce no prefix over the > upstream that you want to shutdown (export none;)? Hello Generally it does not matter if you announce no prefixes, withdraw old

Re: segfault when adding OSPF virtual link on Bird 1.6.4

2018-12-09 Thread Ondrej Zajicek
On Sat, Dec 08, 2018 at 09:48:52PM +0100, Cybertinus wrote: > Hello everybody, > > Today I was experimenting with a Bird setup. All the Bird machines are > CentOS 7.6 VMs running in Virtualbox on my laptop. When I add an OSPF > virtual link to hook up two area 0's together I get a segfault of

Re: OSPF in VRF stuck in Alone

2018-12-03 Thread Ondrej Zajicek
On Mon, Dec 03, 2018 at 04:20:50PM +, James Oakley wrote: > I am trying to get OSPF working via OSPF and it looks like BIRD is > ignoring OSPF packets coming in on the VRF interfaces. As far as I can > tell from the documentation, I have all of the pieces in place, but the > protocol is stuck

Re: Static routes after `configure` CLI command

2018-12-03 Thread Ondrej Zajicek
On Mon, Dec 03, 2018 at 06:10:43PM +0500, Vladimir Osmolovskiy wrote: > On the master branch. Config file don't change. > > protocol static { > route 20.1.100.0 /24 multipath > via 10.10.10.2 weight 10; > } Hi Seems that the issue is specific to static ECMP routes, which we forgot to clean

Re: ospf graceful restart

2018-12-03 Thread Ondrej Zajicek
On Mon, Dec 03, 2018 at 09:03:50AM +, Derek Pan wrote: > Hi developer, > > Does BIRD support graceful restart feature for OSPF? Hi Not currently, but it is something that we plan for first half of 2019. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email:

Re: Static routes after `configure` CLI command

2018-12-03 Thread Ondrej Zajicek
On Mon, Dec 03, 2018 at 03:06:02PM +0500, Vladimir Osmolovskiy wrote: > Hello! > In CLI command line, after 'configure' command, pointer to static routes > in neighbor structure not valid. Hello Thanks for the bugreport. In which version and under what circumstances it happens (e.g.

Re: [PATCH] feature to keep protocol's state while configuring

2018-12-02 Thread Ondrej Zajicek
On Fri, Nov 30, 2018 at 09:30:36PM +0100, Alexander Zubkov wrote: > Hello, > > Yes, sounds reasonable. But I worry configure command could be > overabused with all that features, like: > configue soft keepstate keepdebug keepsomethingelse :) I would prefer one common keep flag for all cases

Re: BIRD 2.0.2 documentation build failure

2018-11-29 Thread Ondrej Zajicek
On Tue, Nov 27, 2018 at 11:03:23PM +0100, Robert Scheck wrote: > Hello Ondrej, > > On Tue, 27 Nov 2018, Ondrej Zajicek wrote: > > Build of documentation is integrated in main build system, so you are not > > supposed to do 'make -C doc', but use make with appropriate targ

Re: Counting prefered routes for a protocol with bird2

2018-11-29 Thread Ondrej Zajicek
On Tue, Nov 27, 2018 at 03:32:36PM +0100, Alarig Le Lay wrote: > Hi, > > With bird1, I can know how much routes are used for each protocol just > by parsing birdc: > [alarig@nominoe ~]$ birdc show protocols all bgp_breizhix | grep 'Routes:' > Routes: 75 imported, 0 filtered, 4 exported,

Re: [PATCH] feature to keep protocol's state while configuring

2018-11-29 Thread Ondrej Zajicek
On Wed, Nov 28, 2018 at 04:30:02PM +0100, Alexander Zubkov wrote: > Hello, > > I have received no feedback on this suggestion and suppose it got > lost. I would be glad to hear some comments about this improvement. Hello Sorry for not responding earlier. It seems to me that although the issue

Re: Bird 2.0 in ubuntu

2018-11-29 Thread Ondrej Zajicek
On Thu, Nov 29, 2018 at 11:29:58AM +, marcelo henrique wrote: > May, Then some time has passed. > > Someone have some news about this or any prediction ? In Our enterprise we > would like using bird 2.0 but we need the packages for ubuntu. Hi, we plan to release new version during

Re: BIRD 2.0.2 documentation build failure

2018-11-26 Thread Ondrej Zajicek
On Tue, Nov 27, 2018 at 01:43:46AM +0100, Robert Scheck wrote: > Hello, > > I'm trying to build the documentation of BIRD 2.0.2 on Fedora and RHEL/ > CentOS 7 which fails like this: > > --- snipp --- > + /usr/bin/make -j4 -C doc Hello Build of documentation is integrated in main build system,

Re: Incomprehensible error concerning identical babel config for bird and bird6 (bird-v1.6.4 on ubuntu18.04.1)

2018-11-17 Thread Ondrej Zajicek
On Thu, Nov 15, 2018 at 01:41:47PM +0100, Christoffer Hansen wrote: > > > On 14/11/2018 03:10, Ondrej Zajicek wrote: > > I don't know about Ubuntu, but on Debian it is straightforward (although > > note that main devel branch is called 'int-new', while 'master' is still &

Re: How to announce OSPF host route for unnumbered interfaces?

2018-11-14 Thread Ondrej Zajicek
On Tue, Nov 13, 2018 at 04:32:54PM +, Kenth Eriksson wrote: > Hi! > > How can I announce one OSPF host route for all my unnumbered > interfaces? I don't want to inject it as a static route and export it > as such. Hi You could use 'stubnet' option to announce prefix as stub network in

Re: How to make BIRD use the kernel routing metric?

2018-11-14 Thread Ondrej Zajicek
On Wed, Nov 14, 2018 at 10:13:31AM +0100, Clemens Schrimpe wrote: > > Not sure how to achieve the same in BIRD. > > While you are at it … (sorry for riding along on your thread) > > It raises the general question of „how does one extract certain data from > different protocols“, i.e. into a

Re: How to make BIRD use the kernel routing metric?

2018-11-14 Thread Ondrej Zajicek
On Wed, Nov 14, 2018 at 08:21:12AM +0100, Lukas Liebig wrote: > Hello, > > I use BIRD 2.0.2 and want the OSPF daemon to announce the Linux kernel > routing metric. For instance, if I run "ip route add table 44 to 10.2.3.0/24 > metric 1234 dev eth0", I want this route to propagate into BIRD.

Re: Incomprehensible error concerning identical babel config for bird and bird6 (bird-v1.6.4 on ubuntu18.04.1)

2018-11-14 Thread Ondrej Zajicek
On Tue, Nov 13, 2018 at 10:35:49PM -0800, Toke Høiland-Jørgensen wrote: > Ondrej Zajicek writes: > > git clone https://gitlab.labs.nic.cz/labs/bird.git > > cd bird > > git checkout int-new > > autoreconf > > ./configure > > make > > The

Re: Incomprehensible error concerning identical babel config for bird and bird6 (bird-v1.6.4 on ubuntu18.04.1)

2018-11-13 Thread Ondrej Zajicek
On Tue, Nov 13, 2018 at 10:11:58PM +0100, Christoffer Hansen wrote: > Hi Maria, > > On 13/11/2018 21:29, Maria Jan Matějka wrote: > > > > Anyway, in version 2 you may use the dual stack babel protocol. Feel free > > to try it and report any bug please. > > Wish I could. > > Tried compiling

Re: [PATCH] Fix Bird/Bird6 wrong LSA collisions detection

2018-11-06 Thread Ondrej Zajicek
On Tue, Nov 06, 2018 at 04:15:34PM +0100, Ondrej Zajicek wrote: > On Tue, Nov 06, 2018 at 08:53:35AM +, Mikkelsen, Asbjorn wrote: > > Bird/Bird6 can wrongly report wrong LSA collisions and stop working. A route > > fib can in certain cases be released (believing nobody

Re: [PATCH] Fix Bird/Bird6 wrong LSA collisions detection

2018-11-06 Thread Ondrej Zajicek
On Tue, Nov 06, 2018 at 08:53:35AM +, Mikkelsen, Asbjorn wrote: > Bird/Bird6 can wrongly report wrong LSA collisions and stop working. A route > fib can in certain cases be released (believing nobody are using them) and > still be used (but not dereferenced). > > A PR can be found here: >

Re: redesigned version of bgp in bird2 changes the rs client behaviour

2018-11-06 Thread Ondrej Zajicek
On Tue, Nov 06, 2018 at 01:19:19PM +0100, Alexander Zubkov wrote: > Can this be considered a bug and fixed so any "rs client" session would not > receive prepend? Or current behaviour is relied on by some production > systems? Hi The change was intentional (to be consistent with route reflector

Re: change routing while exporting to kernel

2018-11-06 Thread Ondrej Zajicek
On Tue, Nov 06, 2018 at 12:57:04PM +0100, Michael Schwartzkopff wrote: > hi, > > my config: > > filter export2kernel { > >   if net ~ 192.168.12.0/24 then { >     ifname = "vti0"; >     accept; >   } > > } > > > should bird recoqnize if the link goes down and comes up again? In this case

Re: BIRD 2.0.2 segfaulting

2018-11-06 Thread Ondrej Zajicek
On Tue, Nov 06, 2018 at 01:56:29PM +0700, Clemens Schrimpe wrote: > > You can use filters: show route table r4 where net.asn = 4711 > > But > > show route table r4 where net = 1.1.1.0/24 > or even > show route table r4 for 1.1.1.1 > > doesn’t work. It that by design or just an

Re: BIRD 2.0.2 segfaulting

2018-11-05 Thread Ondrej Zajicek
On Tue, Nov 06, 2018 at 08:28:00AM +0700, Clemens Schrimpe wrote: > > Currently ROA has to be specified as a whole, including maxlen and ASN, > > not just its prefix. Confusingly, it uses slightly different syntax > > to enter ROAs and to print ROAs: > > > > bird> show route 212.1.128.0/19 max 19

Re: change routing while exporting to kernel

2018-11-05 Thread Ondrej Zajicek
On Mon, Nov 05, 2018 at 04:48:10PM +0100, Alexander Zubkov wrote: > Wow. This settings makes route via interface only? I.e. also undefines > gateway? Yes. Gateway and iface are interconnected, which has some minor weird effects in filter language, like setting gw resets iface (to one associated

Re: vrf configuration with same addresses

2018-11-05 Thread Ondrej Zajicek
On Mon, Nov 05, 2018 at 05:28:44PM +0200, Semion Lisyansky wrote: > protocol bgp bgp_vrf01_n2 { > vrf "vrf01"; > local as 65034; > bfd yes; > graceful restart; > neighbor 192.34.1.4 as 65001; > ipv4 { > table table_vrf01; >

Re: change routing while exporting to kernel

2018-11-05 Thread Ondrej Zajicek
On Sat, Nov 03, 2018 at 09:51:33PM +0100, Michael Schwartzkopff wrote: > hi, > > > I want to export a route learned from BGP to the kernel. but I want to > modify the route while exporting because I want to use a VTI instead of > the next hop route. > > > So instead of 192.168.0.0/24  via

Re: vrf configuration with same addresses

2018-11-05 Thread Ondrej Zajicek
On Mon, Nov 05, 2018 at 03:05:17PM +0200, Semion Lisyansky wrote: > Hi, > > Please find below requested info. Some omitted because of size > You may clearly see the issue on 1st show Thanks for info. You are using single-hop EBGP, therefore next hop is not resolved through a routing table, but

Re: BIRD 2.0.2 segfaulting

2018-11-05 Thread Ondrej Zajicek
On Mon, Nov 05, 2018 at 08:47:36AM +0700, Clemens Schrimpe wrote: > Hello - > > just wanted to report a little (easily reproducable) problem: I’m > experimenting with BIRD 2.0.2 on a lab-router (Ubiquiti Edgerouter, MIPS > platform) and RPKI. > > In my attempts to examine ROA tables more

Re: Add two bfd session with same dest ip and different local ip, can it work?

2018-11-05 Thread Ondrej Zajicek
On Wed, Oct 31, 2018 at 06:21:15AM +, bbk bbk wrote: > hi, > > Can the bird add two BFD sessions with same destination ip and different > local ip? > > My testing is only one session can be added as if. Hi AFAIK it cannot, sessions are identified just by remote ip. -- Elen sila lumenn'

Re: (Re)export unreachable routes via BGP.

2018-11-05 Thread Ondrej Zajicek
On Sat, Nov 03, 2018 at 08:31:09PM -0600, Grant Taylor wrote: > Is it possible to (re)export unreachable routes via BGP? > > All attempts thus far have resulted in the BGP neighbor session with the 3rd > test machine not (re)exporting any unreachable routes. I can (re)export > other routes

Re: change routing while exporting to kernel

2018-11-05 Thread Ondrej Zajicek
On Sun, Nov 04, 2018 at 07:16:55PM +0100, Alexander Zubkov wrote: > Hi, > > As far as I know, it is not possible to transform BGP routes (with gateway) > into device routes in the bird itself. But may be somebody else knows the > trick. Hi Yes, BIRD filters allow to set IP address of nexthop,

Re: vrf configuration with same addresses

2018-11-05 Thread Ondrej Zajicek
On Mon, Nov 05, 2018 at 10:42:27AM +0200, Semion Lisyansky wrote: > Thanks, Alexander > > Using bird 2.0.2. Guess it does not include patch you mentioned > > Have another question: > Configured peers in vrf with different addresses but still in overlapping > subnets. > BGP session are

Re: bird logging

2018-10-29 Thread Ondrej Zajicek
On Sun, Oct 28, 2018 at 08:37:38PM +0100, Alexander Zubkov wrote: > Hi, > > When I specify relative log file path, the file is created relative to the > current working directory. But for the include directive relative path are > applied relative to the config file. Probably it would be better to

Re: [PATCH 2.x branch] BGP: Bind listen socket to VRF

2018-10-26 Thread Ondrej Zajicek
On Fri, Oct 26, 2018 at 08:38:28PM +0200, Alexander Zubkov wrote: > Hi, > > Thank you for improving the patch. > > Did I get it right? You mean the case when one has the same IP for BGP > sessions in different VRFs on different interfaces? Unless 'strict bind' option is used, local IP is

Re: [PATCH 2.x branch] BGP: Bind listen socket to VRF

2018-10-26 Thread Ondrej Zajicek
-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so." commit e19d08055a4614f03e51ee72617be10946ce7919 Author: Ondrej Zajicek (work) Date: Fri Oct 26 19:11:33 2018 +0200 BGP: Fix VRF for listening socket Listeni

Re: segfault in bird v1.6.4

2018-10-25 Thread Ondrej Zajicek
On Wed, Oct 24, 2018 at 05:05:10PM +0200, Alexander Velkov wrote: > Hello bird-team, > I have a bird v1.6.4. configuration that works fine. > A certain set of actions leads to a segfault and a crash of the bird binary. Hi Thanks for the elaborate bugreport, i can reproduce the bug the attached

Re: BIRD 2.0.2 VPNv4 RD Filter

2018-10-25 Thread Ondrej Zajicek
On Thu, Oct 25, 2018 at 11:39:59AM +0200, Ondrej Zajicek wrote: > > Last but not least. I have found a undocumented function 'format()'. This > > function seems to return a string and shell patterns work. I guess the > > function should not be used in production so I just u

Re: BIRD 2.0.2 VPNv4 RD Filter

2018-10-25 Thread Ondrej Zajicek
On Thu, Oct 25, 2018 at 05:55:45AM +, Hombach, Tobias wrote: > Hi, > > Is it possible in current BIRD 2.0.2 release to filter (more dynamically) > VPNv4 prefixes based on RD? In our scenario, we want to use BIRD to connect > large VPNv4 landscapes and want to filter prefixes based on RD on

Re: Lost withdrawal message

2018-10-17 Thread Ondrej Zajicek
On Tue, Oct 16, 2018 at 02:56:49PM +0300, oldnick wrote: > Hi! > > I am observing strange BGP announcement problem. Hi It is a race condition when an export filter is changed and a route is removed (during to change in import filter). See:

Re: [PATCH 2.x branch] Makefile.in: fix installation with --disable-client

2018-10-11 Thread Ondrej Zajicek
On Tue, Oct 09, 2018 at 02:03:16PM +0200, Thomas Petazzoni wrote: > The configure.ac script initializes the CLIENT variable this way: > > CLIENT=birdcl > if client enabled > CLIENT=$CLIENT birdc > fi > > This means that checking if @CLIENT@ is empty to decide whether birdc > should be installed

Re: OSPF generate default route - again

2018-10-11 Thread Ondrej Zajicek
On Wed, Oct 10, 2018 at 04:07:01PM +0200, Piotr Marciniak wrote: > Hello, > > I’ve spent some time trying to find any option to make our border BGP router > to announce itself as defaul router by OSPF to our network switches. No luck. > > This discussion was rised fe. 5 years ago but with no

BFD on Linux

2018-10-02 Thread Ondrej Zajicek
Hi Forwarding a mail about source ports of BFD on Linux. - Forwarded message from "SHAW, JASON via RT" - Date: Fri, 28 Sep 2018 19:37:05 +0200 Subject: BFD on Linux From: "SHAW, JASON via RT" Hi. We're using Bird 2.0 for a project here at AT and I wanted to reach out and let you

Re: [Bird2] Doubt about Route Server function and iBGP

2018-09-26 Thread Ondrej Zajicek
On Wed, Sep 26, 2018 at 10:43:02AM -0300, heisenbug at xpto wrote: > Hi, > > Just to check, I tried on a lab environment with Cisco devices, using > the same topology/idea, two eBGP with rs client capability passing > through an iBGP do not prepend AS on AS-PATH. Yes, your patch should work

Re: [Bird2] Doubt about Route Server function and iBGP

2018-09-25 Thread Ondrej Zajicek
On Mon, Sep 24, 2018 at 02:21:42PM -0300, heisenbug at xpto wrote: > Hello Guys, > > On bird1.6, I have deployed our Route Servers using the below > architecture to split the load from the control plane: > > Customer1 <-> RS1[pid0] <-> iBGP <-> RS2[pid1] <-> Customer2 > > And is working fine as

Re: Primary route confusion

2018-09-21 Thread Ondrej Zajicek
On Fri, Sep 21, 2018 at 11:58:41AM +, Kenth Eriksson wrote: > So the preference value in BIRD is not the same as administrative > distance? I believe both Juniper and Cisco treats lower preference > value / administrative distance value as a more preferred route. > > >

Re: Primary route confusion

2018-09-21 Thread Ondrej Zajicek
On Fri, Sep 21, 2018 at 06:51:17AM +, Kenth Eriksson wrote: > Hi! > > The primary route in BIRD, marked by '*', confuses me. Consider the > following two default routes as displayed by BIRD (2.0.2) and the Linux > kernel (4.14.51+). > > bird> show route > Table master4: > 0.0.0.0/0

Re: Static routes stuck in dormant state (interface discovery broken?)

2018-09-18 Thread Ondrej Zajicek
On Tue, Sep 18, 2018 at 07:34:03PM +0200, Ondrej Zajicek wrote: > > Looks broken in 2.0.2. Can you retest on 2.0.2 as well? > > You are right, it is broken on 2.0.2, it is fixed by patch: > > 586c1800c447ff099d34889b23647c4733876d9b > Nest: Neighbor cache cleanups So

Re: Static routes stuck in dormant state (interface discovery broken?)

2018-09-18 Thread Ondrej Zajicek
On Tue, Sep 18, 2018 at 03:08:19PM +, Kenth Eriksson wrote: > > > > So there are no log messages when interface is created and enabled? > > No I did not see any more logs. Maybe I need to enable more logs? This > was my log config; > > log "/tmp/bird.log" all; > protocol device {debug all;

Re: Static routes stuck in dormant state (interface discovery broken?)

2018-09-18 Thread Ondrej Zajicek
On Tue, Sep 18, 2018 at 02:14:35PM +, Kenth Eriksson wrote: > On Tue, 2018-09-18 at 14:27 +0200, Ondrej Zajicek wrote: > > CAUTION: This email originated from outside of the organization. Do > > not click links or open attachments unless you recognize the sender > >

Re: Static routes stuck in dormant state (interface discovery broken?)

2018-09-18 Thread Ondrej Zajicek
On Tue, Sep 18, 2018 at 08:38:56AM +, Kenth Eriksson wrote: > Hi! > > I'm using BIRD 2.0.2 and have trouble with static routes that gets stuck in > dormant state. It looks as the problem happens if the static route is pushed > into BIRD config before the interface exists. BIRD detects when

Re: Multiple neighbours between same devices

2018-09-11 Thread Ondrej Zajicek
On Mon, Sep 10, 2018 at 04:05:25PM +0300, Saku Ytti wrote: > Ok. This is because unnecessary and undesirable sanity check that same > peerIP cannot exist twice. Hi You are right, there is a lock to avoid run two instances for the same neighbor. Although the primary reason for this lock is to

Re: Routing Table Dumps

2018-08-29 Thread Ondrej Zajicek
On Tue, Aug 28, 2018 at 01:07:15PM -0500, Joshua J wrote: > Hi, > >I was wondering what the team was doing to support routing table dumps. > I see the PR > https://gitlab.labs.nic.cz/labs/bird/commit/6702b7ad7417bf52ab35102061919b1161204076 Hi I am currently finishing a new MRT dumping

Re: BGP syntax for OR/AND on bgpmask

2018-08-28 Thread Ondrej Zajicek
On Tue, Aug 28, 2018 at 10:43:47AM -0300, heisenbug at xpto wrote: > Hello, > > I'm trying to use logical operators like OR and AND on bgpmask filter, > but I'm not able, Can you please check if the syntax ir wrong or if is > possible to do what I expect to do? The data from output is sanitized.

Re: Does Bird supports AS_Trans 23456

2018-08-28 Thread Ondrej Zajicek
On Tue, Aug 28, 2018 at 12:33:38PM +, gerta toli wrote: > I understand what you are saying but they are insisting that they router > doesnt support 4byte ASN. Im not sure what the router and the version they > are using. You can catch the session establishment attempt using tcpdump tool to

Re: Does Bird supports AS_Trans 23456

2018-08-28 Thread Ondrej Zajicek
On Tue, Aug 28, 2018 at 07:57:43AM +, gerta toli wrote: > > Hello everyone, > > Does anyone know or test the AS_Trans 23456 with Bird? We are using > Bird and our ASN is 4 byte, but the peer supports only 2bytes ASN. I told > them to use the AS23456 to peer with me, but it seems Bird doesnt

Re: Bird does not export routes with different proto

2018-08-26 Thread Ondrej Zajicek
On Sun, Aug 26, 2018 at 09:54:19AM +0200, Kevin Schmitz wrote: > Hi guys, > > i tried to announce routes via ospf first time. Till now i use babel to > get my routes in my table. Now i want to announce the babel routes > trough my ospf as well. > > But here i see, even if import and export

Re: bug or documentation bug

2018-08-24 Thread Ondrej Zajicek
On Fri, Aug 24, 2018 at 05:58:08PM +0200, Clemens Schrimpe wrote: > Hello - > > the manual explains a global protocol option: > > description "text" > This is an optional description of the protocol. It is displayed as a part of > the output of 'show route all' command. Hello It should be

<    4   5   6   7   8   9   10   11   12   13   >