How to upgrade from 1.6.4 to 2.0

2018-06-27 Thread Isaac HO
Thanks.

RE: BGP hostentry update

2018-06-27 Thread Arvin Gan
Any method to bypass this limitation ? thanks -Original Message- From: Arvin Gan Sent: Thursday, June 28, 2018 11:11 AM To: 'Ondrej Zajicek' Cc: bird-users@network.cz Subject: RE: BGP hostentry update Hi Ondrej, Thanks. It seems the limitation for iBGP is more impact, since more than

RE: BGP hostentry update

2018-06-27 Thread Arvin Gan
Hi Ondrej, Thanks. It seems the limitation for iBGP is more impact, since more than one levels of indirection NEXT_HOP for iBGP is regular application. Thanks Arvin -Original Message- From: Ondrej Zajicek Sent: Wednesday, June 27, 2018 7:22 PM To: Arvin Gan Cc: bird-users@network.cz

Re: BIRD 2.x and arrays

2018-06-27 Thread Ondrej Zajicek
On Wed, Jun 27, 2018 at 04:36:44PM +0200, Carlo Rengo wrote: > Using "[ 192.168.60.0/24+ ]” works, however from the documentation I read the > following regarding the `include` operator: > > Special operators include (~, !~) for "is (not) element of a set" > operation - it can be used on

Re: BIRD 2.x and arrays

2018-06-27 Thread Carlo Rengo
My bad, I’ve looked again at the 1.6.x conf I have, which has "192.168.60.0/24{32,32}" instead of "192.168.60.0/24”. I fixed the 2.0.x conf and it now works. Thank you again, Carlo > On 27 Jun 2018, at 16:36, Carlo Rengo wrote: > > Using "[ 192.168.60.0/24+ ]” works, however from the document

Re: BIRD 2.x and arrays

2018-06-27 Thread Carlo Rengo
Using "[ 192.168.60.0/24+ ]” works, however from the documentation I read the following regarding the `include` operator: Special operators include (~, !~) for "is (not) element of a set" operation - it can be used on […] on prefix and prefix (returning true if first prefix is more spe

Re: BIRD 2.x and arrays

2018-06-27 Thread Ondrej Zajicek
On Wed, Jun 27, 2018 at 04:11:17PM +0200, Carlo Rengo wrote: > My bad, I’ve posted the log outputs in the opposite order. The first output > is referred to the second configuration (the one that makes us of the array). Hi, it works like it worked in 1.6.x branch. Prefix set [ 192.168.60.0/24 ] ma

Re: BIRD 2.x and arrays

2018-06-27 Thread Carlo Rengo
My bad, I’ve posted the log outputs in the opposite order. The first output is referred to the second configuration (the one that makes us of the array). Thanks, Carlo > On 27 Jun 2018, at 15:50, Carlo Rengo wrote: > > Hi, > I'm testing BIRD 2 (version 2.0.2) but I am having issue with the new

BIRD 2.x and arrays

2018-06-27 Thread Carlo Rengo
Hi, I'm testing BIRD 2 (version 2.0.2) but I am having issue with the new syntax. More specifically, with arrays. This is a snippet of my configuration: protocol direct direct1 { interface "lo"; debug all; ipv4 { import where net ~ 192.168.60.0/24 ; export none; };

Re: BGP hostentry update

2018-06-27 Thread Ondrej Zajicek
On Wed, Jun 27, 2018 at 11:15:02AM +, Arvin Gan wrote: > Hi Ondrej, > Is any consideration/plan to optimize this limitation ? No hard plan for this. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santi...@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11

RE: BGP hostentry update

2018-06-27 Thread Arvin Gan
Hi Ondrej, Is any consideration/plan to optimize this limitation ? Thanks Arvin -Original Message- From: Ondrej Zajicek Sent: Wednesday, June 27, 2018 7:07 PM To: Arvin Gan Cc: bird-users@network.cz Subject: Re: BGP hostentry update On Wed, Jun 27, 2018 at 07:25:49AM +, Arvin

RE: BGP channel add/remove

2018-06-27 Thread Arvin Gan
Hi Ondrej, It's great, thanks. Thanks Arvin -Original Message- From: Ondrej Zajicek Sent: Wednesday, June 27, 2018 6:53 PM To: Arvin Gan Cc: bird-users@network.cz Subject: Re: BGP channel add/remove On Tue, Jun 26, 2018 at 10:43:59AM +, Arvin Gan wrote: > Hi Ondrej, >Thanks

Re: BGP hostentry update

2018-06-27 Thread Ondrej Zajicek
On Wed, Jun 27, 2018 at 07:25:49AM +, Arvin Gan wrote: > Hi All, > When I using bird 2.0.2 version ,I have an issue route include > "unreachable", but I think this application is reasonable , anyone can help > me ? > /* Recursive route should not depend on another recursive route *

Re: BGP channel add/remove

2018-06-27 Thread Ondrej Zajicek
On Tue, Jun 26, 2018 at 01:28:08PM +0200, Martin Mares wrote: > Hi, > > > Perhaps we should trigger restart when BGP channels are added/removed > > and keep current behavior for 'configure soft'. > > yes, please. "configure" was always intended to switch to a new > configuration, even in cases w

Re: BGP channel add/remove

2018-06-27 Thread Ondrej Zajicek
On Tue, Jun 26, 2018 at 10:43:59AM +, Arvin Gan wrote: > Hi Ondrej, >Thanks for your response. >As my code investigated, the function proto_configure_channel() always > return value "1" , that mean the same is true in function bgp_reconfigure(), > line 917 of proto.c will ignore

Re: BGP channel add/remove

2018-06-27 Thread Ondrej Zajicek
On Mon, Jun 25, 2018 at 07:23:09AM +, Arvin Gan wrote: > Hi All, > After investigate the codes for command "configure", found that when > delete/add channel, the function proto_configure_channel() always return > value "1" , that mean the same is true in function bgp_reconfigure(), l

BGP hostentry update

2018-06-27 Thread Arvin Gan
Hi All, When I using bird 2.0.2 version ,I have an issue route include "unreachable", but I think this application is reasonable , anyone can help me ? Error is reported in codes: rt_update_hostentry() { if (a->hostentry) { /* Recursive route sho