Re: iBGP and Next-Hop cost

2015-09-10 Thread Ondrej Zajicek
On Thu, Sep 10, 2015 at 02:21:36PM +0100, Adam Priestley wrote: > On 10 September 2015 at 12:03, Ondrej Zajicek > wrote: > > > > > I examined it and for some reason[*] BIRD does not accept OSPF type-2 > > external metric as IGP metric for the purpose of recursive rout

Re: BGP add-path with Juniper

2015-09-10 Thread Ondrej Zajicek
On Thu, Sep 10, 2015 at 04:49:16PM +0300, Stanislaw Datskevich wrote: > > Hi, list. > I'm trying to use BGP add-path feature in BIRD connected my Juniper > router, but I have no luck with it. Hi This is probably the same issue as this: http://comments.gmane.org/gmane.network.bird.user/4158 You

Re: Running Bird bgp through GRE tunnel

2015-09-10 Thread Ondrej Zajicek
On Wed, Sep 09, 2015 at 09:34:20PM +0530, Ajay Raut ( Tech Ops ) wrote: > Hi Baptiste, > > Thanks for the Response, > > Done the changes as you specified on gre-vpn interface configuration. > ... > > Though i see the same issue of No Route to host, Please let me know which > part i have missed h

Re: [Patch] Let birdc output errors to stderr

2015-09-17 Thread Ondrej Zajicek
On Mon, Sep 14, 2015 at 01:09:12AM +0200, Christian Tacke wrote: > > Hi, > > We (Knorrie, andi, and me) realized, that birdc outputs > server errors to stdout much like normal server output. Hi Thanks for the patch, you are right, not using stderr is probably an oversight. > There are a few a

Re: OSPF netmask mismatch

2015-09-17 Thread Ondrej Zajicek
On Mon, Sep 14, 2015 at 06:05:31PM +0200, Gustavo Ponza wrote: > Hi Ondrej and all, > > after a long time I need to setup a ppp tunnel between linux > machine and a MikroTik router and the linux ppp0 interface > ... > Hello packets due to mismatch in network mask (see the following tcpdump > on li

Re: HA setup (v 1.4.5)

2015-09-17 Thread Ondrej Zajicek
On Tue, Sep 15, 2015 at 09:08:00AM -0400, Jigar Mehta wrote: > I have BIRD installed to test working with a custom forwarding plane. The > forwarding plane supports HA in the following way : > > - Syncs up routing tables > - Provides millisecond failover (since routing tables are synced up) > -

Re: BIRD memory usage

2015-09-19 Thread Ondrej Zajicek
On Fri, Sep 18, 2015 at 01:55:25PM +0200, Alexander Frolkin wrote: > Hello, > > We are running BIRD on a number of servers. It is configured with two BGP > peers. > > We are seeing BIRD using over a gig of memory, and this seems excessive, > especially given the number of routes. ... > Is there

Re: pmacct and BIRD on the same box

2015-09-20 Thread Ondrej Zajicek
On Sat, Sep 19, 2015 at 04:35:35PM -0500, Charles van Niman wrote: > Hello, > > I am looking to feed BGP data into pmacct on a linux router I > have running BIRD. Right now, BIRD runs iBGP to five other boxes > [quagga/BIRD mix], on one IP [172.22.150.126], assigned to the > loopback interfa

Re: OSPF export/import default route filter problem

2015-09-20 Thread Ondrej Zajicek
On Sat, Sep 19, 2015 at 09:09:54PM +0200, LU wrote: > Hi, > > I have 4 routers connected like this. > > (10.4.4.1/24)(10.4.4.4.2/24) >R1 R2 > \/ > \ / > SWITCH > / \ > /\ > R3

Re: Device protocol not recognizing interface address change

2015-09-29 Thread Ondrej Zajicek
On Mon, Sep 28, 2015 at 12:31:09PM +0100, Israel G. Lugo wrote: > I apologize for the delay in responding. I have tried the patch and it > does fix the problem. Namely: > > Before the patch, starting Bird 1.5.0 with all interfaces LINK DOWN > would leave the OSPF interfaces in Down state, from whi

Re: OSPF: directly attached summarized networks announced with metric 0 when link goes down

2015-09-29 Thread Ondrej Zajicek
On Mon, Sep 28, 2015 at 08:58:35PM +0100, Israel G. Lugo wrote: > Hello, > > I have a question regarding BIRD's OSPF and summarized networks. Not > sure if I'm doing the right thing. > > I've got access routers running BIRD, configured as ABR between area 0 > and their respective user-facing area

Re: Missing BFD session with OSPFv3 and same link-local addresses.

2015-09-29 Thread Ondrej Zajicek
On Fri, Sep 25, 2015 at 01:04:45PM +0300, Christos Trochalakis wrote: > Hello all, > > ... > > There is only one bfd session instead of two (one for each link). > > After digging a bit in the source code, it seems that the OSPF protocol > calls `bfd_request_session()` which leads to a call to `b

Re: BIRD memory usage

2015-09-29 Thread Ondrej Zajicek
On Mon, Sep 21, 2015 at 10:10:08AM +0200, Alexander Frolkin wrote: > Hi Ondrej, > > > > Is there something we can do to reduce the memory usage? Or could this > > > be a memory leak bug? > > This is definitely a memory leak, probably related to path merging. You > > are using current code from gi

Re: Support for RFC5838

2015-09-30 Thread Ondrej Zajicek
On Sat, Sep 26, 2015 at 09:30:36PM +0200, Ruben Herold wrote: > > hi, > > I haven't found anything in the documentation. So I will ask the list, > is there support for RFC5838 (Support of Address Families in OSPFv3) in > bird? No, we currently support just IPv6 in OSPFv3 -- Elen sila l

Re: OSPF: directly attached summarized networks announced with metric 0 when link goes down

2015-10-01 Thread Ondrej Zajicek
On Wed, Sep 30, 2015 at 07:29:38PM +0200, Christian Tacke wrote: > > Hi, > > > On Wed, Sep 30, 2015 at 00:54:01 +0200, Ondrej Zajicek wrote: > [...] > > You are right with your analysis of the issue. I agree that in your case > > it does not make sense, but unfor

Re: OSPF: directly attached summarized networks announced with metric 0 when link goes down

2015-10-01 Thread Ondrej Zajicek
On Wed, Sep 30, 2015 at 03:43:41PM +0100, Israel G. Lugo wrote: > > Perhaps you could try to use stubnet option with hidden + summary > > suboptions to hide these /32 routes to not trigger the summary networks. > > > > Thanks for the suggestion. I tried with: > > stubnet A.B.C.253/32 { hidden;

Re: [PATCH] Add the Babel routing protocol to Bird

2015-10-08 Thread Ondrej Zajicek
On Mon, Sep 07, 2015 at 11:10:34PM +0200, Toke Høiland-Jørgensen wrote: > This adds the Babel routing protocol (RFC6126) to Bird. It is a complete > implementation of the IPv6 subset of RFC6126, but does not implement any > of the extensions. Hello I am sorry i didn't got around to review it soo

Re: [PATCH] Add the Babel routing protocol to Bird

2015-10-08 Thread Ondrej Zajicek
On Thu, Oct 08, 2015 at 05:12:36PM +0200, Toke Høiland-Jørgensen wrote: > Ondrej Zajicek writes: > > > I am sorry i didn't got around to review it sooner, but doing a proper > > review for a whole new (and unfamiliar) protocol takes nontrivial > > amount of time

Re: [PATCH] Add the Babel routing protocol to Bird

2015-10-09 Thread Ondrej Zajicek
On Fri, Oct 09, 2015 at 11:57:37AM +0200, Toke Høiland-Jørgensen wrote: > > Default metric probably should be more than zero (zero makes sense > > for /128 local address, while more than zero for locally reachable > > network prefix). > > Hmm, but if it's a prefix locally reachable prefix, no more

Re: OSPF interfaces issue

2015-10-10 Thread Ondrej Zajicek
On Thu, Oct 08, 2015 at 06:48:19PM -0400, Jigar Mehta wrote: > Hi, I wanted some help regarding a problem I was seeing when i had multiple > interfaces with same ip address . I have multiple routing domains setup so > i have valid cases to have same ip address on different interfaces (so i > have s

Re: Does Bird has NetConf support?

2015-10-21 Thread Ondrej Zajicek
On Sat, Oct 17, 2015 at 09:49:30AM -0300, FABIO ZACCANTTE wrote: > Hi everyone, > > I am new in Bird, i would like know if Bird have NetConf support? No, it does not. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santi...@crfreenet.org) OpenPGP encrypted e-mails preferred (

Re: build failure with -D_FORTIFY_SOURCE=2

2015-10-25 Thread Ondrej Zajicek
On Sun, Oct 25, 2015 at 05:31:52PM +0300, Vladimir Lettiev wrote: > Hi. > > Just got a build failure with recent gcc with enabled option FORTIFY_SOURCE=2: > > In function 'strncpy', > inlined from 'rip_outgoing_authentication' at > ../../../proto/rip/auth.c:134:5: > /usr/include/bits/string3

Re: bird 1.5.0-4 ospf Inactivity timer expired.

2015-10-26 Thread Ondrej Zajicek
On Mon, Oct 26, 2015 at 02:47:56PM +0600, Andrey Kitsul wrote: > Hello, > > I have three Ubuntu physical machines with quagga (ospf area0/bgp with full > route table on 2-4 uplink) and one whit bird (ospf only). > On one of the routers (ospf/bgp) replace quagga on bird. Configuration bird > attach

Re: bird 1.5.0-4 ospf Inactivity timer expired.

2015-10-26 Thread Ondrej Zajicek
On Mon, Oct 26, 2015 at 04:48:13PM +0600, Andrey Kitsul wrote: > Hello, > > If I do not need to import routes from kernel to bird, can I disable the > import and learn for kernel protocol? Yes, but it does not help you. Periodic scans took time because you have high number of your (BGP) routes in

Re: bird 1.5.0-4 ospf Inactivity timer expired.

2015-10-26 Thread Ondrej Zajicek
On Mon, Oct 26, 2015 at 04:57:08PM +0600, Andrey Kitsul wrote: > Hello, > > I see in the logs: > >2015-10-26 16:52:11 Event 0x00442440 0x > >took 1418 ms > >2015-10-26 16:52:26 Event 0x00442440 0x > >took 1523 ms > >2015-10-26 16:52:41 Event 0x000

Re: bird 1.5.0-4 ospf Inactivity timer expired.

2015-10-26 Thread Ondrej Zajicek
On Mon, Oct 26, 2015 at 05:40:08PM +0600, Andrey Kitsul wrote: > Why ospf restart? Dead interval 4sec not been reached. Well, it is counted from the last received hello, so you have to add 'packets' to OSPF debug to see when it started. Also timers in BIRD have generally second granularity, so 4

Re: bird 1.5.0-4 ospf Inactivity timer expired.

2015-10-26 Thread Ondrej Zajicek
On Mon, Oct 26, 2015 at 05:32:47PM +0600, Andrey Kitsul wrote: > Is there a possibility to run for OSPF bird and bird separately for BGP? > Or you can change the priority of kernel periodic scan? Perhaps you could, but OSPF instance must not use kernel proto and you have to somehow propagate OSPF

Re: bird 1.5.0-4 ospf Inactivity timer expired.

2015-10-29 Thread Ondrej Zajicek
On Wed, Oct 28, 2015 at 02:23:33PM +0600, Andrey Kitsul wrote: > Hello, Ondrej, > > Is it possible to increase priority the processing ospf packets over other > processes? No, BIRD does not differentiate events based on associated protocol but based on event type (timer, socket, ..) and timer eve

Re: bird 1.5.0-4 ospf Inactivity timer expired.

2015-10-29 Thread Ondrej Zajicek
On Tue, Oct 27, 2015 at 10:25:06AM +0600, Andrey Kitsul wrote: > Hello, > > Packets debug in attachment (TRACE + WARN), problem: "2015-10-27 10:02:28 > ospf_area0: Inactivity timer expired for nbr 195.x.y.z2 on > eth0.1889" > In pcap dump I see ospf Hello packets per second from other ospf nbr. >

Re: Route update question

2015-10-31 Thread Ondrej Zajicek
On Fri, Oct 30, 2015 at 06:40:49PM -0400, Jigar Mehta wrote: > I am using my own protocol and wanted to understand more about handling of > route update. When my protocol receives a route, I inform the core using > rte_update() and pass on the new route and when I need to delete I set new > = NULL

Re: 1024 sessions problem

2015-11-02 Thread Ondrej Zajicek
On Tue, Nov 03, 2015 at 12:15:01AM +0300, Alexander V. Chernikov wrote: >Hi, >* >Currently, if the number of your established BGP sessions is larger than >FD_SETSIZE limit, then you will get 100% cpu usage on select() (returning >EINVAL for nfds) after trying to include the firs

Re: bird: KIF: Invalid broadcast address 255.255.255.255 for em1

2015-11-10 Thread Ondrej Zajicek
On Tue, Nov 10, 2015 at 03:40:58PM +0100, Job Snijders wrote: > Hi Fellow BIRD users, > > It appears that BIRD does not fully appreciate RFC3021 style addresses > on Ubuntu 15.04, when I start BIRD: > > syslog:Nov 10 15:25:15 eunetworks-2 bird: KIF: Invalid broadcast > address 255.255.255.

Re: Question regarding interaction between custom protocols and OSPF tables

2015-11-12 Thread Ondrej Zajicek
On Wed, Nov 11, 2015 at 05:13:06PM +, Adam Schultz wrote: > Is it possible to advertise routes from a custom protocol via OSPF as an > internal route type instead of external-1 or external-2? No, such feature is not implemented, but is it an interesting idea. -- Elen sila lumenn' omentielv

Re: MRT rib dump support

2015-11-12 Thread Ondrej Zajicek
On Wed, Nov 11, 2015 at 11:46:17AM -0800, Evelio VILA wrote: > Hello, > > I just came across this commit > > https://gitlab.labs.nic.cz/labs/bird/blob/3e3e381b98fe8809b560da7cd5dc95641102f1cd/nest/mrtdump.c > > Any ideas when is the feature planned for release :) Hello, likely in the next relea

Re: RIP with MD5 authentication

2015-11-12 Thread Ondrej Zajicek
On Thu, Nov 12, 2015 at 04:20:06PM +0100, Alex Lalik wrote: > Hello, > > I face a problem when configuring RIP with MD5 authentication in bird. > I find no examples in configuring bird this way, so maybe this could be > added to the documentation. > ... > In case I use plain configuration (authent

Re: RIP with MD5 authentication

2015-11-12 Thread Ondrej Zajicek
On Thu, Nov 12, 2015 at 06:28:34PM +0100, Alexander Velkov wrote: > Hi Pavel, > > I tried your suggestion and defined the password field as a single line. I > tried out the behavior on different architectures. Single line versus one password in passwords block should not make difference. > - wh

Re: Crash in Bird function kif_choose_primary()

2015-11-17 Thread Ondrej Zajicek
On Tue, Nov 17, 2015 at 08:54:57PM +, Wei Huang wrote: > I am using Bird on my system, and when I change config (use different > interfaces for OSPF, from using tap-0, tap-4 to tap-0, tap-11) and > restart Bird using "birdc restart all", I got a coredump in Bird with the > following backtrace:

Re: KRT: Received route with strange next-hop

2015-11-18 Thread Ondrej Zajicek
On Wed, Nov 18, 2015 at 01:01:44PM -0500, Brian Rak wrote: > I'm trying to figure out why BIRD is throwing this error every time it scans > the kernel routing table: > > KRT: Received route 216.155.132.254/32 with strange next-hop > 45.63.4.188 > Netlink: File exists > > I have two routes relev

Re: Socket error: TCP_MD5SIG: Cannot allocate memory

2015-11-19 Thread Ondrej Zajicek
On Wed, Nov 18, 2015 at 06:05:31PM +, Stefan Jakob wrote: > Note that the incoming (listening) TCP socket (AFAIK) has to be > configured with all the keys, so it is possible to hit the limit > during regular operation without any leaks. > > > Do I get it right?: > > Without adjusting the opt

Re: Crash in Bird function kif_choose_primary()

2015-11-20 Thread Ondrej Zajicek
On Wed, Nov 18, 2015 at 07:29:13AM +, Wei Huang wrote: > Thanks Ondrej for the quick reply. For the bug, how long will it take to get > the bug fixed?$B!)Is there a place for me to track the bug? Hi Attached patch should fix the bug. It is a condition triggered by interface address removal n

Re: distribute /32 route via ospf?

2015-11-21 Thread Ondrej Zajicek
On Sat, Nov 21, 2015 at 04:30:19PM +0800, d tbsky wrote: > hi: > I need to add some hosts to ospf topology. if i setup eth0 as > 192.168.1.254/32 and add eth0 to ospf interface, it won't be distributed. > however 192.168.1.254/31 works fine. I don't know if there are options I > can use so bir

Re: pattern matching for bgp communities

2015-11-25 Thread Ondrej Zajicek
On Tue, Nov 24, 2015 at 12:19:29PM +0100, Job Snijders wrote: > Hi all, > > Is there a way to do pattern matching or regex matching on the BGP > communities associated with a prefix? Hi I don't think so. Generally, we could add something like member/filter operation on communities and similar l

Re: KRT: Received route with strange next-hop

2015-11-25 Thread Ondrej Zajicek
On Thu, Nov 19, 2015 at 08:25:01AM -0500, Brian Rak wrote: > >Generally, BIRD expects that the next hop address is reachable by > >interface address prefix. In your case you just add device route for > >45.63.4.188/32 instead of adding peer address of 45.63.4.188 to veth0. It > >is true that for th

Re: RR reflects customer routes, the route is not delivered to the forwarding table.

2015-12-01 Thread Ondrej Zajicek
On Fri, Nov 27, 2015 at 11:24:51AM +0800, 曾小小 wrote: > Hi All, > > I have 3 routers connected like this. > >R1 (RR) > / \ > / \ (AS100) > /\ > R2 R3 > (client_1) (client_2) > > I am using Ubuntu 14.04, bird version is 1

Re: looking for some help with bgp extended communities

2015-12-01 Thread Ondrej Zajicek
On Tue, Dec 01, 2015 at 02:53:05PM -0800, Warren Turkal wrote: > Hi networkers, > > I'd like to use bgp extended communities instead of communities for my > routing policy so that I can use the 4-octet ASN. However, I am a bit > confused by the route target vs route origin (and not having other ki

Re: default route via OSPF depending on the ISP

2015-12-03 Thread Ondrej Zajicek
On Thu, Dec 03, 2015 at 02:34:02PM +, Rohrmann Sascha wrote: > Dear users of the Bird internet routing daemon, > > First of all I am sorry for my e-mail which I have sent some minutes before. > It was a mistake and you can ignore my last mail. > > Now to my question: > > I want my OSPF to d

Re: need some help with filters

2015-12-05 Thread Ondrej Zajicek
On Fri, Dec 04, 2015 at 11:15:16PM +0100, D.Wesołowski wrote: > Hi, > ... > > the last two line don't works. > I'm looking for some hint to make it work as I want ;) You mean this ones? > return (bgp_path.first ~ [ 51931, 51944 ]); > #if bgp_path.first ~ [ 51931, 51944 ] then return true;

Re: KRT: Received route with strange next-hop

2015-12-05 Thread Ondrej Zajicek
On Sat, Nov 28, 2015 at 04:16:54PM -0500, Brian Rak wrote: > >Sorry for late answer, 'device route' i call a route for directly > >attached network prefix, with associated iface but without associated > >gateway IP. Perhaps there is a better / more established term for such > >routes. > > > Sorry,

Re: segfault with BFD

2015-12-05 Thread Ondrej Zajicek
On Tue, Dec 01, 2015 at 11:53:55AM +0100, Bartosz Radwan wrote: > I have similiar config on my Linux router, but in my case source address > exists until i shut the interface down. > When the interface is shut down (ifdown interfacename), bird crashes. > > May be dangerous, i could imaginge situat

Re: Issue injecting network overlapping BGP next hop in bird6.

2015-12-05 Thread Ondrej Zajicek
On Fri, Dec 04, 2015 at 02:23:04PM -0800, João Taveira Araújo wrote: > Hi, > > I'm running into a difference in behaviour between bird and bird6, > although admittedly it may come from netlink itself. I'm using bird > 1.5.0, but have also tried with build from latest git head. > > Assume a connec

Re: default route via OSPF depending on the ISP

2015-12-05 Thread Ondrej Zajicek
On Thu, Dec 03, 2015 at 03:12:10PM +, Rohrmann Sascha wrote: > > Well, you could use static default-route and 'check link' option, but that > > will help you only in the third case, not in the second one. > > For the second case, you must have some other way to establish whether ISP > > is u

Re: OSPF export filter

2015-12-05 Thread Ondrej Zajicek
On Thu, Dec 03, 2015 at 03:50:54AM +0300, Anton Kiryushkin wrote: > But in birdc I didn't see any metrics. I have two server with same config > and same addresses on interfaces lo and dummy0 with different priorities. > Could you help me with export filter? Hi First, to export some route as an ex

Re: OSPF export filter

2015-12-05 Thread Ondrej Zajicek
On Sat, Dec 05, 2015 at 04:40:06PM +0100, Ondrej Zajicek wrote: > On Thu, Dec 03, 2015 at 03:50:54AM +0300, Anton Kiryushkin wrote: > > But in birdc I didn't see any metrics. I have two server with same config > > and same addresses on interfaces lo and dummy0 with different p

Re: OSPF, missing external network prefix

2015-12-08 Thread Ondrej Zajicek
On Tue, Dec 08, 2015 at 11:28:00AM +0500, Eugene M. Zheganin wrote: > Hi. > > I have a bunch of bird routers. Recently I discovered that at least one > prefix from LSADB isn't installed in FIB: Hi Could you send me output of 'show ospf state'? -- Elen sila lumenn' omentielvo Ondrej 'Santiago'

Re: default route via OSPF depending on the ISP

2015-12-08 Thread Ondrej Zajicek
On Mon, Dec 07, 2015 at 12:07:59PM +, Rohrmann Sascha wrote: > Hi Ondrej, > > >> Do you have more information and/or tips for me, by chance? > > > As others wrote, you could do periodic pinging by e.g. fping and > > enable/disable a static > > protocol using birdc (birdc disable XXX). > >

Re: OSPF, missing external network prefix

2015-12-08 Thread Ondrej Zajicek
On Tue, Dec 08, 2015 at 04:49:47PM +0500, Eugene M. Zheganin wrote: > Sure. Since it's 80 kilobytes long (it's an enterprise VPN, big enough), > I thought it would be more comfortable to provide a link on a text file, > here it is: > > http://tech.hq.norma.perm.ru/files/ospf-state.txt > > At the

Re: OSPF, missing external network prefix

2015-12-08 Thread Ondrej Zajicek
On Tue, Dec 08, 2015 at 06:10:20PM +0500, Eugene M. Zheganin wrote: > I've also noticed that this prefix is missing from 'show ospf state' > output files, but present in 'show ospf state all' output files, but > along with a IP address of 172.16.5.159. This is an IP address of a > router this prefi

Re: Bird linux "proto bird" field

2015-12-09 Thread Ondrej Zajicek
On Wed, Dec 09, 2015 at 07:20:23AM +, Aviolat Romain wrote: > Dear bird gurus: > > I've got Bird 1.5 compiled on an Arista 7150S24 multi-layer switch > platform. I'm trying to inject a route learned by BGP into the kernel > routing table and then into the switch FIB. > > >From the Arista Linu

Re: ECMP support

2015-12-15 Thread Ondrej Zajicek
> On Mon, Dec 14, 2015 at 6:31 PM, d tbsky wrote: > > 2015-12-14 23:02 GMT+08:00 Shaun Crampton : > >> Hi, > >> > >> I found a few messages in the archive that mention multi path and ECMP > >> but the website says it's TODO. I was just wondering what the status is? > >> I'm interested in having B

Re: ECMP support

2015-12-17 Thread Ondrej Zajicek
On Tue, Dec 15, 2015 at 12:41:11PM +0100, Ondrej Zajicek wrote: > Hi > > IPv4 ECMP for OSPF and static routes is supported since long ago. > > IPv4 ECMP for RIP is supported since v1.5.0. This is a mistake, IPv4 ECMP for RIP is also in GIT master branch, not in v1.5.0 > IPv

Re: ECMP support

2015-12-17 Thread Ondrej Zajicek
On Tue, Dec 15, 2015 at 10:33:30AM -0500, Brian Rak wrote: > Does BIRD handle sending ECMP routes via BGP? With 1.5.0, even if I enable > 'add paths on', BIRD only sends one route even when it knows about multiple. > To me, 8d9eef17713a9b38cd42bd59c4ce76c3ef6c2fc2 only appears to be related > to p

Re: Syntax for setting bgp_origin

2015-12-22 Thread Ondrej Zajicek
On Tue, Dec 22, 2015 at 10:31:44AM +0100, Olivier Benghozi wrote: > Maybe it's not the doc but the code that is problematic. > We need an Ondrej outlook on this. > > > Le 22 déc. 2015 à 08:31, Гаврилов Игорь a écrit : > > > > Thank you, it work, but why in if statement it works: > > filter TEST

Re: [bird-ospf] LSA forward-address is incorrect

2015-12-28 Thread Ondrej Zajicek
On Wed, Dec 23, 2015 at 03:17:10PM +0300, danilov wrote: > Hello. > > I have a small network with several bird routers as bgp and ospf routers. > > EBGP-session has been established between one of our bgp-routers and customer > router with multihop feature through OSPF-domain and iBGP-domain. >

Re: route withdraws on BGP route-refresh

2015-12-28 Thread Ondrej Zajicek
On Mon, Dec 28, 2015 at 10:41:26AM +0200, Christos Trochalakis wrote: > On Thu, Dec 10, 2015 at 12:10:35PM +0200, Christos Trochalakis wrote: > >Hello all, > > > >While debugging a route-refresh issue we discovered that when a route-refresh > >is received, bird, instead of just sending an update co

Re: Trouble with inter and intra area filtering between two areas.

2015-12-28 Thread Ondrej Zajicek
On Tue, Dec 15, 2015 at 05:38:11AM +0100, LU wrote: > Hello. > > Here's my setup with 4 routers: > >area 0 > / \ > R1 R2 > | | > | | > R3 -- R4 > \ area1 / > > What I am trying is to prevent routes that fall in 10.0.0.0/8 range from > being announ

Re: deterministic order for include by wildcard

2015-12-28 Thread Ondrej Zajicek
On Mon, Dec 28, 2015 at 10:32:37AM -0800, Warren Turkal wrote: > Hey folks, > > Do wildcards in includes resolve in a deterministic order? I'd like to just > put something like the following in my bird.conf: > > include "/etc/bird.d/*.conf" > > If I do that, can I rely on 10-common.conf to be in

Re: generic extended communities support

2015-12-28 Thread Ondrej Zajicek
On Mon, Dec 28, 2015 at 02:19:23PM -0800, Warren Turkal wrote: > Bird folks, > > Is there any chance that the transitive part of the following RFC draft > will be implemented in BIRD? > https://tools.ietf.org/html/draft-ietf-idr-as4octet-extcomm-generic-subtype-08 > > I only ask as the implementa

Re: deterministic order for include by wildcard

2015-12-28 Thread Ondrej Zajicek
On Mon, Dec 28, 2015 at 08:42:19PM -0200, Henrique de Moraes Holschuh wrote: > On Mon, 28 Dec 2015, Ondrej Zajicek wrote: > > Results are alphabetically sorted. The wildcard expansion is implemented > > by standard glob() libc function, and unfortunately both Single UNIX > >

Re: Bird and RIP

2016-01-05 Thread Ondrej Zajicek
On Tue, Jan 05, 2016 at 01:56:01PM +0300, Anton Kiryushkin wrote: > What about metric for each virtual interface? I mean ve1 has metric 5, and > ve2 has metric 2 ? How to export this setting? As I wrote before, from > another side I saw metric from physical interface. My config is: Hi Metrics in

Re: bird development

2016-01-12 Thread Ondrej Zajicek
On Tue, Jan 12, 2016 at 09:43:19AM +0100, Daniel Wendler wrote: > Hello everybody, > > the last bird version (1.5.0) was released around 8 month ago > and since then, there were no bug fix release or something. > > On the RIPE 69 "Bird short update" Ondrej mentioned the 1.5 version > is the last

Re: Birdc OSPF propagate connected networks from VLANs

2016-01-12 Thread Ondrej Zajicek
On Tue, Jan 12, 2016 at 08:56:37AM +0100, viker wrote: > > Interesting thing is , when i import subnet to main table via :route > > XXX.XXX.XXX.XXX via "vlanXXX"; in static protocol and do birdc > > configure, propagation is working. > > So it seems to me that protocol device (or kernel) is not cor

Re: [PATCH v2 0/2] Add the Babel routing protocol to Bird

2016-01-17 Thread Ondrej Zajicek
On Thu, Jan 14, 2016 at 11:24:57PM +0100, Toke Høiland-Jørgensen wrote: > This is the updated patch to add the Babel protocol to Bird. It is updated > quite > a bit compared to the previous version. Specifically: Hi Thanks for the updated patch! Seems like most of my comments were incorporated t

Re: [PATCH v2 2/2] Add the Babel protocol.

2016-01-17 Thread Ondrej Zajicek
On Sun, Jan 17, 2016 at 12:19:08PM +0100, Toke Høiland-Jørgensen wrote: > Juliusz Chroboczek writes: > > > Please don't make this configurable, it only breaks interoperability. > > Section 4 of RFC 6126 is very clear about the maximum size of a Babel > > packet: > > Noted. Snatched that from the

Re: [PATCH v2 2/2] Add the Babel protocol.

2016-01-17 Thread Ondrej Zajicek
On Mon, Jan 18, 2016 at 12:15:31AM +0100, Juliusz Chroboczek wrote: > > Where BABEL_MIN_MTU is 540 (512 adjusted for IP and UDP headers). > > Should this be 560? The control traffic is carried over IPv6. You are right, 540 is for IPv4. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek

Re: [PATCH v2 2/2] Add the Babel protocol.

2016-01-17 Thread Ondrej Zajicek
On Mon, Jan 18, 2016 at 12:03:46AM +0100, Juliusz Chroboczek wrote: > > I have one more general question. Is ETX cost algorithm really > > a reasonable idea? [...] It seems to me that in many cases it will lead > > to oscillations, because packet loss in wireless networks usually > > depends on tra

Re: BIRD and ECMP on Linux seems flaky

2016-01-27 Thread Ondrej Zajicek
On Tue, Jan 19, 2016 at 04:11:10PM +0100, Arno Töll wrote: > Hi, > > On Tuesday 12 January 2016 00:09:34 Wilco Baan Hofman wrote: > > > In this case, the API is not symmetrical. You can set routes via the > > multipath structures, but the Linux kernel splits this up into separate > > routes inter

Re: [PATCH master] IPv6 ECMP support fixes for linux

2016-02-16 Thread Ondrej Zajicek
On Wed, Feb 10, 2016 at 04:38:03PM +0100, Mikhail Sennikovskii wrote: > Hello Fellows, > > as a follow-up for the recent discussion about BIRD support of IPv6 ECMP on > Linux > ( http://trubka.network.cz/pipermail/bird-users/2016-January/010163.html ), > I've created a patch, which addresses this

Re: Running BIRD on Virtual Machines

2016-02-16 Thread Ondrej Zajicek
On Tue, Feb 09, 2016 at 06:55:49PM +0300, Joseph M Owino wrote: > Hi. > > We are currently setting up in a new site and are short on physical gear. Is > it feasible to run 2 instances of BIRD on virtual machines. I don't know about any significant issues. -- Elen sila lumenn' omentielvo Ondrej

Re: Can bird include metrics when installing linux kernel routes?

2016-02-16 Thread Ondrej Zajicek
On Wed, Feb 10, 2016 at 04:46:13PM +, Mike C wrote: > Hi, > > Is there a way to make bird include a metric when installing routes into > the linux routing table? I want to base the metric on the length of the BGP > path (so longer path via prepending has higher metric), or failing that, a > lo

Re: OSPF default route under special circumstance

2016-02-16 Thread Ondrej Zajicek
On Tue, Feb 16, 2016 at 09:39:37AM +, Rohrmann Sascha wrote: > Hi, > > I have 4 routers: > ISP1 ISP2 > l l > A1 A2 > l--l > B1 B2 > > A1 is directly connected to its' on IS

Re: Exporting routes as text

2016-02-17 Thread Ondrej Zajicek
On Wed, Feb 17, 2016 at 09:29:14AM +0600, Victor Sudakov wrote: > Dear Colleagues, > > Is there a way to export (extract) routes from BIRD as a list of > prefixes in text format, to a text file or pipe? Hi IMHO the simplest way is just: birdc show route > file You just have to cut out the firs

Re: [PATCH master] IPv6 ECMP support fixes for linux

2016-02-17 Thread Ondrej Zajicek
On Wed, Feb 17, 2016 at 02:59:12PM +0100, Mikhail Sennikovskii wrote: > Hi, Hi Thanks for a quick response. > 2) Function krt_replace_rte() should be smarter than just flushing the > > whole old multipath rte. It should compare old and new next hops (we > > could suppose they are sorted) and eit

Re: OSPF state inconsistency

2016-02-21 Thread Ondrej Zajicek
On Sun, Feb 21, 2016 at 12:12:43PM +0100, Przemyslaw Frasunek wrote: > Dear all, > > I'd like to reopen this thread. The problem still persists on BIRD 1.5.0. Interesting. Could you send me output of 'show ospf state', 'show ospf lsadb' and 'show route' when the situation happens? How OSPF learn

Re: LSA ID Collision help

2016-03-18 Thread Ondrej Zajicek
On Thu, Mar 17, 2016 at 06:14:24PM -0400, Jigar Mehta wrote: > Hi , > > I cannot recreate this scenario at will but had some success when > restarting protocols or rebooting the linux box or feeding 1000+ routes (to > BGP and redistribute to OSPF in router) to the setup mentioned above. > My IP ad

Re: bird-1.5.0 ipv4 segfaults on configure - is it safe to change bgp protocol names runtime?

2016-03-19 Thread Ondrej Zajicek
On Fri, Mar 18, 2016 at 09:55:11AM +0100, Ondrej Zajicek wrote: > On Fri, Mar 18, 2016 at 08:36:53AM +0100, Bartosz Radwan wrote: > > Hi bird users, > > > > General question is: is it safe to change bgp protocol name runtime? > > It is expected to be safe. Although

Re: bird-1.5.0 ipv4 segfaults on configure - is it safe to change bgp protocol names runtime?

2016-03-19 Thread Ondrej Zajicek
On Fri, Mar 18, 2016 at 08:36:53AM +0100, Bartosz Radwan wrote: > Hi bird users, > > General question is: is it safe to change bgp protocol name runtime? It is expected to be safe. Although because protocol names are used as keys to identify/match protocols, you cannot really rename a protocol -

Re: LSA ID Collision help

2016-03-21 Thread Ondrej Zajicek
On Mon, Mar 21, 2016 at 09:29:29AM -0400, Jigar Mehta wrote: > So I tried tracing down this problem and here is what I got : > > (Note : ... > 4. Due to flooding, we receive LSUPDATE packet from our DR and now since we > have a local copy, we delete the hash entry from lsrqh hash table as per RFC

Re: Multiple Radv Protocols?

2016-03-21 Thread Ondrej Zajicek
On Mon, Mar 21, 2016 at 07:42:08PM +0100, Martin Kraus wrote: > On Mon, Mar 21, 2016 at 01:15:08AM +0100, Matthias Peter Walther wrote: > > Another way might be to user the interface block multiple times in one > > radv protocol which is indeed possible. But how can I announce different > > dns ser

Re: Incorrect value of s->pref_routes in nest/proto.c

2016-04-01 Thread Ondrej Zajicek
On Fri, Apr 01, 2016 at 01:41:10PM +0300, Alexander Shikov wrote: > Hello! > > I got 9 routes in T_ITCONS table, 2 of them are exported to master table: > > bird> show route > 195.78.38.0/23 via 193.25.180.17 on vlan777 [ITCONS 2016-03-31 18:11:33] > * (100) [AS28773i] > 188.190.160.0/19 v

Re: iBGP unreachable

2016-04-12 Thread Ondrej Zajicek
On Tue, Apr 12, 2016 at 11:21:15AM +0200, Panda RoboLegs wrote: > Hello, > > there is no IGP. I thought that I can resolve the BGP-Next-Hop via static > default gateway (0.0.0.0/0). > It seems that is not possible. > Does anyone have a link where it is written that BGP next-hop is not > resolvab

Re: Using BIRD to inject a route into BGP

2016-04-15 Thread Ondrej Zajicek
On Fri, Apr 15, 2016 at 08:53:36PM +, Eric Vyncke (evyncke) wrote: > Mainly for lab experimentation, I would like to be able to dynamically inject > several IPv6 routes into BGP. > > Creating a static route on the Linux running BIRD does not seem to grab > the kernel route (even when doing "i

Re: Version 1.6.0

2016-04-29 Thread Ondrej Zajicek
On Fri, Apr 29, 2016 at 06:35:33PM +0200, Ondrej Filip wrote: > Dear Bird users, > the long expected version is out: > > Version 1.6.0 (2016-04-29) > o Major RIP protocol redesign > o New Babel routing protocol Hi I would like to thank Toke Høiland-Jørgensen for the Babel protocol implementa

Re: Version 1.6.0

2016-04-29 Thread Ondrej Zajicek
On Fri, Apr 29, 2016 at 06:48:39PM +0200, raf wrote: > Wow what a great update. thanks you ! > > > o Static: Allow to specify attributes for static routes > Do you consider the use of communauties on static routes (like on junos) ? You could use any attributes for static routes, even BGP commun

Re: Babel in Bird 1.6.0 (documentation)

2016-04-30 Thread Ondrej Zajicek
On Sat, Apr 30, 2016 at 04:41:35PM +0200, Baptiste Jonglez wrote: > It's not that obvious that you can use import/export functions to filter > routes. This is especially important because the default policy (import all, > export none) is not very useful. > > For instance, the default behaviour of

Re: Babel in Bird 1.6.0

2016-04-30 Thread Ondrej Zajicek
On Sat, Apr 30, 2016 at 03:15:52PM +0200, Toke Høiland-Jørgensen wrote: > Baptiste Jonglez writes: > > While I'm not sure what the purpose of this is (a null update with a > null router ID with infinity metric and interval?) it *is* technically > in spec. I think the reason why Bird complains is t

Re: Version 1.6.0

2016-04-30 Thread Ondrej Zajicek
On Sat, Apr 30, 2016 at 09:24:12AM +0200, Job Snijders wrote: > Any hint on the schedule for the next release, which hopefully includes > mrt dump file rotation? I hope we could establish quarterly releases. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santi...@crfreenet.or

Re: Version 1.6.0

2016-04-30 Thread Ondrej Zajicek
On Sat, Apr 30, 2016 at 01:20:14AM +0200, Toke Høiland-Jørgensen wrote: > >Hi > > > >I would like to thank Toke Høiland-Jørgensen for the Babel protocol > >implementation, which was finally merged despite my tardy code reviews. > > Yay, awesome! You're very welcome, and congratulations on the rele

Re: Babel in Bird 1.6.0

2016-04-30 Thread Ondrej Zajicek
On Sat, Apr 30, 2016 at 03:15:52PM +0200, Toke Høiland-Jørgensen wrote: > > === Hello interval range checking === > > > > The hello interval cannot be set below 1 second: the parser seems to > > expect an integer. The packet format encodes intervals in centiseconds, > > so it would make sense to a

Re: Version 1.6.0

2016-05-01 Thread Ondrej Zajicek
On Sun, May 01, 2016 at 03:32:58PM +0200, Toke Høiland-Jørgensen wrote: > Ondrej Zajicek writes: > > > - in some cases (e.g. babel_handle_route_request()), check for plen == 0 > >or check if prefix is IPA_NONE is used where check for AE 0 should be > >used inst

Re: Version 1.6.0

2016-05-02 Thread Ondrej Zajicek
On Mon, May 02, 2016 at 10:44:28AM +0200, Jan Matejka wrote: > > In function 'strncpy', > > inlined from 'rip_fill_authentication.isra.9' at > > ../../../proto/rip/packets.c:215:5: > > /usr/include/bits/string3.h:126:10: error: call to __builtin___strncpy_chk > > will always overflow destinat

  1   2   3   4   5   6   7   8   9   10   >