Re: BIRD export reject not working

2017-09-19 Thread Alexander Zubkov
Hi. You check 64515 to be firs, last or the only (which is redundant check here) AS in the path. And in your example: MY-ASN 64515 20473 1299 21430 - it is not the first or last. On Tue, Sep 19, 2017 at 10:50 AM, Marek Królikowski wrote: > Hello guys, > I got strange problem

Re: OSPF routes not filtered

2017-10-10 Thread Alexander Zubkov
And what is you big idea? You do not want you bird router to route traffic between external R1 and external R2 for examle? On Tue, Oct 10, 2017 at 12:30 PM, Alexander Zubkov <gr...@qrator.net> wrote: > Hi, > > Yes, that should work. But it will be separate OSPF clouds if this mat

Re: OSPF routes not filtered

2017-10-10 Thread Alexander Zubkov
Hi. If I understand correctly, import/export filters are not applied to OSPF internals - LSDB announces, etc. They are applied to prefixes imported into OSPF protocol from router and exported from it to its table. On Tue, Oct 10, 2017 at 10:36 AM, Войнович Андрей Александрович <

Re: OSPF routes not filtered

2017-10-10 Thread Alexander Zubkov
ontur.ru > > Тел. +7 (343) 344-11-50 доб. 75352 > > > > *From:* gr...@highloadlab.com [mailto:gr...@highloadlab.com] *On Behalf > Of *Alexander Zubkov > *Sent:* Tuesday, October 10, 2017 2:59 PM > *To:* Войнович Андрей Александрович <andr...@skbkontur.ru> > *Cc:* bird-users@

Re: OSPF routes not filtered

2017-10-10 Thread Alexander Zubkov
», > > dc-...@skbkontur.ru > > Тел. +7 (343) 344-11-50 доб. 75352 > > > > *From:* gr...@highloadlab.com [mailto:gr...@highloadlab.com] *On Behalf > Of *Alexander Zubkov > *Sent:* Tuesday, October 10, 2017 3:36 PM > > *To:* Войнович Андрей Александрович <and

reload configuration without changing protocol state

2017-09-12 Thread Alexander Zubkov
Hello. I want to be able to reload bird's configuration so it will not change current protocol's state. For example if I run bird with some protocols and then disable one of them from the console and at finally I run "configure" of "configure soft" to reload a configuration (new filters for

documentation on emptying bgp_community

2017-09-12 Thread Alexander Zubkov
Hello. I have found a couple of methods to make bgp_community empty: 1) bgp_community.empty 2) bgp_community = -empty- But neither of them are present in the documentation. Only example in bird.conf.example file. I think it will be good to have this documented.

Re: BGP with wrong netmask on wan interface

2017-11-09 Thread Alexander Zubkov
u are not the intended recipient, any disclosure, copying, > distribution or any action taken * > > *or omitted to be taken in reliance on it, is prohibited and may be > unlawful. Any opinions or * > > *advice contained in this e-mail are subject to the terms and conditions > expressed in

Re: BGP with wrong netmask on wan interface

2017-11-08 Thread Alexander Zubkov
il by anyone > else is unauthorized.* > > *If you are not the intended recipient, any disclosure, copying, > distribution or any action taken * > > *or omitted to be taken in reliance on it, is prohibited and may be > unlawful. Any opinions or * > > *advice contained in this e-

Re: BGP with wrong netmask on wan interface

2017-11-08 Thread Alexander Zubkov
Please show what you have in "show rote all" for the multihop case. May be you need to alter next_hop on the advertising router. On Wed, Nov 8, 2017 at 9:41 PM, Alexander Zubkov <gr...@qrator.net> wrote: > But this works: > > protocol static { > route 192.168.2.0

Re: BGP with wrong netmask on wan interface

2017-11-08 Thread Alexander Zubkov
100 If I have direct in BGP - bird ignores interface direct route and tries to connect via dum1 interface. But multihop works. On Wed, Nov 8, 2017 at 9:24 PM, Alexander Zubkov <gr...@qrator.net> wrote: > Hi again, > > I think I've got you idea. Probably bird can not do "

Re: BGP with wrong netmask on wan interface

2017-11-08 Thread Alexander Zubkov
> > *If you are not the intended recipient, any disclosure, copying, > distribution or any action taken * > > *or omitted to be taken in reliance on it, is prohibited and may be > unlawful. Any opinions or * > > *advice contained in this e-mail are subject to the terms and conditions

Re: Difference between loopback and dummy interfaces for use in Linux routing

2018-04-27 Thread Alexander Zubkov
Hi, One of the differences is when you configure some prefix on lo you get route like this: local 127.0.0.0/8 dev lo ... And with dummy it is not the case. This route type makes kernel consider every address from this space as local - bind on it, reply to pings etc. On Fri, Apr 27, 2018 at 11:40

Re: Difference between loopback and dummy interfaces for use in Linux routing

2018-04-27 Thread Alexander Zubkov
Yes. But with lo interface you get such route by default. On Fri, Apr 27, 2018 at 3:04 PM, Alexander Demenshin < aldem-bird.201...@nk7.net> wrote: > On 2018-04-27 12:59, Alexander Zubkov wrote: > > One of the differences is when you configure some prefix on lo you ge

Re: Community for small IX - problem with 4B ASN

2018-01-22 Thread Alexander Zubkov
Hello, Community is a 32bit number, represented as a pair of 2 16bit numbers. That is why you can not use big AS numbers in its components. But if your and your peer's equipment supports large communities - you can use them. They have 3 32bit components. On Mon, Jan 22, 2018 at 11:15 AM, Piotr

Re: Set SRC PREF for routes when injecting routes to kernel

2018-01-15 Thread Alexander Zubkov
Hi, You can set krt_prefsrc when exporting to kernel in Linux. On Mon, Jan 15, 2018 at 8:49 AM, Michael Rack wrote: > Hi all! > > Is it possible to set the SRC-Attribute on routes that will be inserted to > kernel? > > I have private /31 networks to connect to other

Re: How do I configure BIRD to support multiple Linux kernel routing tables?

2018-02-24 Thread Alexander Zubkov
Hello, You need to use "kernel table" option in the kernel protocol to tell bird which table it should look into. On Sun, Feb 25, 2018 at 5:03 AM, Grant Taylor wrote: > Pre Script: I'm a BIRD n00b > > How do I configure BIRD to support multiple Linux kernel routing

Re: Does Bird supports AS_Trans 23456

2018-08-28 Thread Alexander Zubkov
Hi, Have you tried "local as 23456"? On Tue, Aug 28, 2018 at 9:57 AM, 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

Re: Community for small IX - problem with 4B ASN

2018-01-22 Thread Alexander Zubkov
On Mon, Jan 22, 2018 at 2:00 PM, Piotr Marciniak wrote: > Dear Advisors ;], > > Thank you for all posts. But still I do not know how to make Bird working > with 4B communities and if I may do this - whether it will be accepted for > our peers? In short - I do not know how to adapt

Re: Linux routing

2018-04-24 Thread Alexander Zubkov
Hi. Try to disable rp_filter first. On Tue, Apr 24, 2018 at 5:16 PM, knet solutions wrote: > > All, > > I am facing a strange issue (all routers are linux with bird runnning). > My topology(RING Topology) is as below, > > > R1 R2R3-R4 >

Re: Apply new next-hop

2018-04-24 Thread Alexander Zubkov
Hello. You need to get your gateway IP reachable in bird. You need to import direct route to it from your kernel table or with direct protocol. On Tue, Apr 24, 2018 at 7:05 AM, Titov Stas wrote: > Hello, > > I have some difficulties with change IPv6 next-hop. > > I've got

Re: BGP.as_path parameter with '{' or '}'

2018-03-19 Thread Alexander Zubkov
on 1.6.3 and version 2.0, so how it's possible to have aggregation? > > Mattia > > 2018-03-19 13:15 GMT+01:00 Alexander Zubkov <gr...@qrator.net>: > >> Hi, >> >> Looks like result of agregation. >> >> On Mon, Mar 19, 2018 at 12:12 PM, Kittinan Sr

Re: BGP.as_path parameter with '{' or '}'

2018-03-19 Thread Alexander Zubkov
Hi, Looks like result of agregation. On Mon, Mar 19, 2018 at 12:12 PM, Kittinan Sriprasert wrote: > Hi All, > > Today, I bump into some prefix from Bird with AS_PATH containing '{' and > '}' in its path. What does it mean? Thanks. > eg. BGP.as_path: as1 as2 { as3 as4 as5

bird logging

2018-10-28 Thread Alexander Zubkov
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 have a consistent path resolution? I also suppose it could have been done

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

2018-10-26 Thread Alexander Zubkov
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? On Fri, Oct 26, 2018 at 7:28 PM, Ondrej Zajicek wrote: > On Fri, Oct 26, 2018 at 12:03:57PM +0200, Alexander Zubkov wrote: >

Re: vrf configuration with same addresses

2018-11-05 Thread Alexander Zubkov
OMPLETE > > ip route show vrf vrf01 > 134.0.0.0/24 via 190.34.32.101 dev swp32 proto bird metric 32 > > .-- > Semion Lisyansky > > > On Sun, Nov 4, 2018 at 8:11 PM Alexander Zubkov wrote: > >> Hi, >> >> What version of bird you are using? T

Re: vrf configuration with same addresses

2018-11-05 Thread Alexander Zubkov
May be you have direct routes from different vrf somehow in this table? On Mon, Nov 5, 2018 at 9:54 AM, Semion Lisyansky wrote: > Yes, I have separate tables for each vrf > > -- > Semion Lisyansky > > > On Mon, Nov 5, 2018 at 10:48 AM Alexander Zubkov wrote: > >&

redesigned version of bgp in bird2 changes the rs client behaviour

2018-11-02 Thread Alexander Zubkov
Hello, I found out that bird version 2 prepends its ASN when exporting to eBGP peer and "rs client" option enabled. I made some investigation and found out that bgp code was hardly redesigned and the logic of "rs client" was changed. Here is v1.

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

2018-11-02 Thread Alexander Zubkov
t;is_internal) bgp_set_attr_wa(ea->attrs+1, pool, BA_AS_PATH, 0); On Fri, Nov 2, 2018 at 12:43 PM, Alexander Zubkov wrote: > Hello, > > I found out that bird version 2 prepends its ASN when exporting to eBGP > peer and "rs client" option enabled. I made some inves

Re: change routing while exporting to kernel

2018-11-05 Thread Alexander Zubkov
Wow. This settings makes route via interface only? I.e. also undefines gateway? On Mon, Nov 5, 2018 at 4:25 PM, Michael Schwartzkopff wrote: > Am 05.11.18 um 16:24 schrieb Ondrej Zajicek: > > On Sat, Nov 03, 2018 at 09:51:33PM +0100, Michael Schwartzkopff wrote: > >> hi, > >> > >> > >> I want

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

2018-11-06 Thread Alexander Zubkov
logical and convenient. On Tue, Nov 6, 2018 at 3:32 PM, Ondrej Zajicek wrote: > 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 behaviou

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

2018-11-06 Thread Alexander Zubkov
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? On Fri, Nov 2, 2018 at 5:21 PM, Alexander Zubkov wrote: > I have also looked further for routes not imported from bgp. In this

Re: vrf configuration with same addresses

2018-11-04 Thread Alexander Zubkov
Hi, What version of bird you are using? There was a path for BGP & VRF applied just recently: https://gitlab.labs.nic.cz/labs/bird/commit/e19d08055a4614f03e51ee72617be10946ce7919 On Sun, Nov 4, 2018 at 5:01 PM, Semion Lisyansky wrote: > Hi All, > > Tried to configure vrf with same own and peer

Re: change routing while exporting to kernel

2018-11-04 Thread Alexander Zubkov
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. >From my point of view you can consider such options: - patch bird with custom protocol, which will do the thing - add some fictional

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

2018-11-16 Thread Alexander Zubkov
Hello. I have created a patch (attached) with new protocol option: disabled keep on|off. To keep the protocol's state while loading new config. It is useful when protocols disabled manually in the runtime, but we want to keep that state when loading new config. Patch is attached. I have made it

Re: Sync with userspace instead of kernel

2018-12-29 Thread Alexander Zubkov
Hi. We are doing this by syncing with non-default kernel table and monitoring routes in it with some daemon. You can also use some sort of routing daemon that have more userspace interfaces (exabgp maybe) and export from bird to it. On Sat, Dec 29, 2018 at 11:42 PM Cody Doucette wrote: > > Is

Re: cannot export routes (AS_PATH problem ?)

2019-01-05 Thread Alexander Zubkov
Hi, You can use different tables for that case ans some pipes between them. You can also try this option: https://bird.network.cz/?get_doc=20=bird-6.html#bgp-secondary On Sat, Jan 5, 2019 at 11:07 PM Julien Sansonnens wrote: > > > Hi Kurt, > > Thanks a lot for your reply. > > I understand the

Re: BGP route back

2019-01-18 Thread Alexander Zubkov
Hi, I do not completely understand your setup. You better show route tables from all the routers and what is announced in which direction. > So I get the desired effect on the second router, it will learn and install a > route with high local pref. The first router where the desired transit

Re: BGP route back

2019-01-21 Thread Alexander Zubkov
On Sat, Jan 19, 2019 at 2:43 AM Alexander Zubkov wrote: >> >> Hi, >> >> Thank you for a good description. But what's your problem there now? >> You receive x.y.z.0/24 from Router1 and send it to Router2. What do >> you want to achive and are missing? >> >

Re: add "src" attribute to kernel route

2019-01-22 Thread Alexander Zubkov
Hi, Yes, it is possible. Take a look at the docs: https://bird.network.cz/?get_doc=16=bird-6.html#rta-krt-prefsrc On Tue, Jan 22, 2019 at 9:41 AM Volodymyr Litovka wrote: > > Hi colleagues, > > in Linux it is possible to specify source IP address for all packets > with undefined this field,

Re: Route server on a Bird2.0.2

2018-12-14 Thread Alexander Zubkov
Hi, What configs are you using towards client and between route servers on both sides? On Fri, Dec 14, 2018 at 7:02 PM Noémie Clémençon wrote: > > Hi all, > > We are using Bird v2.0.2 as a route-server, and I have a question about the > use of i-BGP sessions on a Bird RS. > > We have the

Re: Route server on a Bird2.0.2

2018-12-14 Thread Alexander Zubkov
> > > Configuration between RS (on bird 1.6.3) > > protocol bgp RS1 { > local as 65001; > neighbor 192.168.2.1 as 65001; > import filter rs_in; > export filter rs_out; > } > > I didn't include the filters, since they are only us

Re: Route server on a Bird2.0.2

2018-12-15 Thread Alexander Zubkov
Hi, Next hop should not be altered on iBGP session. Perhaps you have some issues that causes it. You can see my previous e-mail where I demonstrated that in simple setup there are no such problem. Can you take some problematic prefix and show how it looks on different directions? Like: on RS2:

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

2018-12-04 Thread Alexander Zubkov
Wed, Nov 28, 2018, 16:34 Alexander Zubkov > >> 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. >> On Fri, Nov 16, 2018 at 4:36 PM Alexander Zubkov wrote: >

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

2018-12-04 Thread Alexander Zubkov
, ...? On Tue, Dec 4, 2018 at 12:21 PM Alexander Zubkov wrote: > > The easiest patch would be to implement this behaviour for soft > reconfig. :) But that is not backward-compatible and might break > something for somebody. I'm also working on implementing it as > additional option.

Re: iBGP stuck in connect state

2018-12-06 Thread Alexander Zubkov
Not always, sometimes it is rp_filter to be blamed. :) On Fri, Dec 7, 2018 at 12:40 AM Brooks Swinnerton wrote: > > Ah ha, it was the firewall. It's always the firewall. > > On Wed, Dec 5, 2018 at 11:51 PM Brooks Swinnerton > wrote: >> >> Hello, >> >> I'm having trouble configuring two BIRD

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

2018-11-28 Thread Alexander Zubkov
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. On Fri, Nov 16, 2018 at 4:36 PM Alexander Zubkov wrote: > > Hello. > > I have created a patch (attached) with new protocol option: disabled &

Re: Check bgp_path.len without some AS

2019-01-03 Thread Alexander Zubkov
ill play with this syntax, although I’m not 100% sure > if I will be able to use it (I need to remove two As numbers per bgp_path) > but maybe I can work something out. > > Thanks! > Xavier > > > El 4 gen 2019, a les 1:47, Alexander Zubkov va escriure: > > > Hi, > >

Re: Check bgp_path.len without some AS

2019-01-03 Thread Alexander Zubkov
Hi, Something like this worked for me: delete(bgp_path, ).len < N On Fri, Jan 4, 2019 at 12:19 AM 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: > > > >

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

2018-11-30 Thread Alexander Zubkov
complex than for adding new protocol option. On Thu, Nov 29, 2018 at 11:54 PM Ondrej Zajicek wrote: > > 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

Re: Import filter on 2nd ASN in AS path?

2019-03-26 Thread Alexander Zubkov
Hi, You can try to delete AS-TRANSIT from the path and get first. Something like (this is just a sketch): delete(bgp_path, AS-TRANSIT).first ~ BOGON_ASNS On Mon, Mar 25, 2019 at 9:50 PM Robert Scheck wrote: > > Hello folks, > > can I somehow import filter only on the 2nd AS number in the AS

Re: BIRD 2.0 BGP AS Path Prepending

2019-03-21 Thread Alexander Zubkov
Hello, You can disable autoprepending of your side's AS by using rs-client and prepend it manually in the place you like. On Thu, Mar 21, 2019 at 11:41 AM L Ken wrote: > > Hi, > > As mentioned in > https://bird.network.cz/pipermail/bird-users/2017-December/011774.html, BIRD > 2.0 calls

Re: Reporting issues

2019-04-06 Thread Alexander Zubkov
Hi Brian, Can you give specific examples of what is happening? Configuration samples, show running route information from cli, etc. On Sat, Apr 6, 2019 at 9:19 PM Brian Topping wrote: > > Hi all, I think I looked in all the regular places and inferred that > reporting issues might best be done

Re: maybe it is a bug in nexthop__same function

2019-03-11 Thread Alexander Zubkov
Hi, For me, code looks valid. Loop ends when one of the pointers is null: > x && y So this comparison (x == y) verifies that both pointers are null, i.e. both lists are of the same size. On Mon, Mar 11, 2019 at 11:03 AM Derek Pan wrote: > > Hi > > > > I think below function should be used by

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

2019-02-10 Thread Alexander Zubkov
/disabled state during > reconfiguration */ >u32 debug, mrtdump;/* Debugging bitfields, both use D_* > constants */ >u32 router_id;/* Protocol specific router ID */ > > > On Tue, Dec 4, 2018 at 12:07 PM Alexander Zubkov wrote: >> >> An

Re: i-bgp neighbor not coming up

2019-01-24 Thread Alexander Zubkov
Hi, Check that R2 is actually listening the port. And that port is not blocked in your firewall. On Thu, Jan 24, 2019 at 4:16 PM Shahan Agha wrote: > > Hi All, > > I am facing something very strange from almost a week now. I have multiple > i-bgp neighbors which are working just fine. > > #

bgp add paths to select only equal routes

2019-05-15 Thread Alexander Zubkov
Hello, If "add paths" config option is enabled for a bgp protocol than it sends every route matching the filter on export. But I would like to have an option to send only the best route with routes similar to it (equal localpref, aspath length, ...). Like it is done in the kernel protocol and its

Re: bgp add paths to select only equal routes

2019-05-16 Thread Alexander Zubkov
. :) On Thu, May 16, 2019 at 6:08 PM Ondrej Zajicek wrote: > > On Wed, May 15, 2019 at 07:51:55PM +0200, Alexander Zubkov wrote: > > Hello, > > > > If "add paths" config option is enabled for a bgp protocol than it > > sends every route matching the filter

Re: Kernel protocol and different namespaces

2019-06-07 Thread Alexander Zubkov
On Fri, Jun 7, 2019 at 5:44 PM Toke Høiland-Jørgensen wrote: > > Alexander Zubkov writes: > > > Hello, > > > > We want to use bird with different namespaces too, but proposed > > changes is not an option for us anyway because of somewhat proprietary > > ker

Re: Kernel protocol and different namespaces

2019-06-07 Thread Alexander Zubkov
Hello, We want to use bird with different namespaces too, but proposed changes is not an option for us anyway because of somewhat proprietary kernel we are working with (there are some missing definitions for namespaces in headers and vanilla does not fit). So we are also thinking about several

Re: Kernel protocol and different namespaces

2019-06-07 Thread Alexander Zubkov
ine the feature request, yet it should be quite easy to create. > > Maria > > On June 7, 2019 6:00:14 PM GMT+02:00, Alexander Zubkov > wrote: >> >> On Fri, Jun 7, 2019 at 5:44 PM Toke Høiland-Jørgensen wrote: >>> >>> >>> Alexander Zubkov wri

Re: Kernel protocol and different namespaces

2019-06-07 Thread Alexander Zubkov
Yes. Looks like they are accounted in their own network namespace, it is quite reasonable. But they are still can be accessed via the file system from another namespaces. I can confirm that it works too. An example with the bird control socket: localhost:~/run# birdc -s retn/bird.ctl show status

Re: Forward full view to a downstream

2019-05-30 Thread Alexander Zubkov
Or if you are working in bird now with default only, you can just filter out other routes from exporting to the kernel or other clients in export filters. On Thu, May 30, 2019 at 4:48 AM C. Jon Larsen wrote: > > > Setup an EBGP multihop session off your route reflectors, assuming they > are

Re: show route for ... filtered (not working)

2019-05-12 Thread Alexander Zubkov
Hi, I suppose it could happen because "for" is looking for an active route for the given destination. And filtered routes would not be matched. On Sun, May 12, 2019 at 3:57 AM Terra Nova wrote: > > Greetings, > > Ubuntu-16.04.6 LTS > bird-1.6.6 (built from source) > > Our upstream BGP

Re: Bird 1.6.3 path prepending ?

2019-04-27 Thread Alexander Zubkov
t; Should that last section not contain all the numbers ? > > That command was ran on the VPN server btw :) > > > > On 28/04/2019, at 7:50 AM, Alexander Zubkov wrote: > > > > Hi, > > > > Why do you think there are no prepends? Have you look at the receiving

Re: Bird 1.6.3 path prepending ?

2019-04-27 Thread Alexander Zubkov
Hi, Why do you think there are no prepends? Have you look at the receiving side what is sent? On Sat, Apr 27, 2019 at 9:16 PM Pieter De Wit wrote: > > Hi Everyone, > > I have been fighting with this now for a while and I can’t seem to get my > paths prepended. I am running 1.6.3 from the

Re: Reporting issues

2019-04-10 Thread Alexander Zubkov
23 AM Brian Topping wrote: > > > On Apr 6, 2019, at 1:38 PM, Alexander Zubkov wrote: > > > > Hi Brian, > > > > Can you give specific examples of what is happening? Configuration samples, > > show running route information from cli, etc. > > Hi Alexander

Re: Reporting issues

2019-04-10 Thread Alexander Zubkov
uld be improved if there was a warning for the state that I described. > > Thanks, Brian > > > On Apr 10, 2019, at 6:17 AM, Alexander Zubkov wrote: > > > > Hi Brian, > > > > It is a bit more information, but it does not help fully still. You are > > sayin

bfd does not work in a vrf

2019-07-16 Thread Alexander Zubkov
Hello, I tried to run BFD in a VRF and looks like it is not working. The similar config without VRFs works ok. Config without a VRF: ipv4 table master4; protocol device {} protocol bfd {} protocol bgp b { local 192.168.1.3 as 65003; neighbor 192.168.1.2 as 65002; strict bind yes;

Re: bfd does not work in a vrf

2019-07-17 Thread Alexander Zubkov
On Wed, Jul 17, 2019 at 4:46 PM Ondrej Zajicek wrote: > > On Wed, Jul 17, 2019 at 03:08:45PM +0200, Alexander Zubkov wrote: > > On Wed, Jul 17, 2019 at 2:47 PM Ondrej Zajicek > > wrote: > > > Hello > > > > > > This would work, it is necessary to als

Re: bfd does not work in a vrf

2019-07-18 Thread Alexander Zubkov
to work anyway. On Wed, Jul 17, 2019 at 6:21 PM Alexander Zubkov wrote: > > I have also prepared some changes to the documentation. But it > probably should wait unitl the questions with VRF and non VRF are > finalized. For example in the current state, that catch-all behavi

Re: bfd does not work in a vrf

2019-07-23 Thread Alexander Zubkov
commands. So I think this name could be "occupied". On Tue, Jul 23, 2019 at 3:43 PM Ondrej Zajicek wrote: > > On Thu, Jul 18, 2019 at 04:23:00PM +0200, Alexander Zubkov wrote: > > Hi, > > > > I have attached a patch to check if there are any vrf-base bfd > >

Re: bfd does not work in a vrf

2019-07-17 Thread Alexander Zubkov
Hello, I made small fix for myself, that allow bfd to work in one VRF, defined in the configuration: --- a/proto/bfd/packets.c +++ b/proto/bfd/packets.c @@ -413,6 +413,7 @@ bfd_open_rx_sk(struct bfd_proto *p, int multihop, int af) sk->type = SK_UDP; sk->subtype = af; sk->sport =

Re: bfd does not work in a vrf

2019-07-17 Thread Alexander Zubkov
On Wed, Jul 17, 2019 at 2:47 PM Ondrej Zajicek wrote: > > On Wed, Jul 17, 2019 at 12:05:49PM +0200, Alexander Zubkov wrote: > > Hello, > > > > I made small fix for myself, that allow bfd to work in one VRF, > > defined in the configuration: > > > > ---

Re: How to unset "gw" attribute when exporting

2019-12-03 Thread Alexander Zubkov
Hi, You do not need to set gw to zeroes. You can set ifname for the route and it makes route via an interface. Please look at this tread: https://bird.network.cz/pipermail/bird-users/2018-November/012836.html On Tue, Dec 3, 2019 at 1:28 PM Yousong Zhou wrote: > > Hi list, > > I just tried

logging via udp

2019-12-18 Thread Alexander Zubkov
Hello, Made some dirty patch for myself to allow bird to send logs via udp. But it may be useful not only for me, so posting it here. It could be useful when server experiencing high IO-load. As syslog and file operations in bird are blocking, it can be blocked on writing to it for indefinite

Re: logging via udp

2019-12-18 Thread Alexander Zubkov
Hi, On Wed, Dec 18, 2019 at 1:01 PM Ondrej Zajicek wrote: > > On Wed, Dec 18, 2019 at 09:14:43AM +0100, Alexander Zubkov wrote: > > Hello, > > > > Made some dirty patch for myself to allow bird to send logs via udp. > > But it may be useful not only for me

Re: BIRD drops specific IPv6 session for no reason

2020-02-28 Thread Alexander Zubkov
Hi, Can it be some IO issue? We had similar problems with bird making an IO loop for too much time so that hold timers were expired by that time. It was probably caused when it was writing a log file on a busy HDD. But we catch those with syslog too, because that write is blocking for the bird

Re: BGP strict bind socket error

2020-01-23 Thread Alexander Zubkov
On Thu, Jan 23, 2020 at 5:21 PM Ondrej Zajicek wrote: > > On Wed, Jan 15, 2020 at 01:57:19AM +0100, Alexander Zubkov wrote: > > Hi, > > > > Check the attached patches. The first adds option to sockets to use > > nonlocal bind (IP_FREEBIND in Linux) and the sec

Re: BGP strict bind socket error

2020-01-14 Thread Alexander Zubkov
or all bgp unconditionally, at least I see no obvious problems yet What do you think? On Sat, Jan 11, 2020 at 6:14 PM Ondrej Zajicek wrote: > > On Thu, Jan 09, 2020 at 08:15:25PM +0100, Alexander Zubkov wrote: > > Hi, > > > > Ondrej, what do you think of adding some option to bind so

Re: BGP strict bind socket error

2020-01-09 Thread Alexander Zubkov
Hi, Ondrej, what do you think of adding some option to bind socket in Linux with IP_FREEBIND or IP_TRANSPARENT setsockopt? On Thu, Jan 9, 2020 at 6:19 PM Ondrej Zajicek wrote: > > On Tue, Jan 07, 2020 at 12:45:43PM -0800, Ben Tremblay wrote: > > Hi all, > > > > I have encountered a problem with

Re: bird conf 1.6 to 2.0

2020-01-09 Thread Alexander Zubkov
Hi, Looks like you have missed the channels part. It is one of the major changes from 1.6 to 2. On Fri, Jan 10, 2020 at 1:56 AM Mario Rossi wrote: > > > > Hi Bird users, > > I am trying to migrate the config from 1.6 to 2.0 on CentOS 8. I tried to > follow

Re: as-path flter problem

2020-01-03 Thread Alexander Zubkov
Then the if would be > simple. > > []'s > > --- > Marcelo Balbinot > IP/MPLS Backbone Manager at AS53062 > G G NET Telecomunicações > www.gegnet.com.br > +55 49 3561 4300 > +55 49 9 9923 9347 > INOC 53062*100 > > Em 2020-01-02 17:10, Alexander Zubkov escre

Re: BGP communities

2020-04-06 Thread Alexander Zubkov
Have you tried to check that in cli like: show route where bgp_out(...) And check that required route has all needed communities: show route all x.x.x.x/y On Mon, Apr 6, 2020 at 5:35 PM Fabiano D'Agostino wrote: > > Hey, > thank you! I think I am having the same problem they had here: >

Re: BGP communities

2020-04-06 Thread Alexander Zubkov
bgp_community is a special variable that contains route attribute for bgp routes: https://bird.network.cz/?get_doc=20=bird-6.html#bgp-attr On Mon, Apr 6, 2020 at 5:18 PM Cybertinus wrote: > > Hello Fabiano, > > > BGP Communities are basically tags you add to a prefix that is received from, > or

Re: BGP communities

2020-04-06 Thread Alexander Zubkov
t; bird.conf of the routers which are peering with the route server? > > Thanks, > > Il giorno lun 6 apr 2020 alle ore 17:50 Alexander Zubkov > ha scritto: >> >> Have you tried to check that in cli like: >> show route where bgp_out(...) >> And check tha

Re: BGP communities

2020-04-06 Thread Alexander Zubkov
exported routes? I don't > understand this. > > > > Il giorno lun 6 apr 2020 alle ore 20:26 Alexander Zubkov > ha scritto: >> >> OK. So you have some route x.x.x.x/y that you receive from AS2 by >> protocol bgp pb_0002_as2? >> >> 1) it i

Re: BGP communities

2020-04-06 Thread Alexander Zubkov
in.com/trwgKG92 > > Why does AS3 still receive routes from AS2? What am I missing? > > Thanks, > > Il giorno lun 6 apr 2020 alle ore 18:13 Alexander Zubkov > ha scritto: >> >> It is really hard to guess what routes you have actually in your >> bird's table

Re: BGP communities

2020-04-06 Thread Alexander Zubkov
ommunity.add((0,3)); }; >} > } > > With this configuration AS3 doesn't receive AS2's routes anymore. But I have > a question, why the if condition is true? It should be if (0,2) ~ (is inside) > [(0,3),..], isn't it? > > Thanks, > > Il giorno lun 6 apr 2020 alle ore

Re: Direct protocol affects BGP

2020-03-25 Thread Alexander Zubkov
as 2; > } > protocol device { > } > protocol kernel { > ipv4 { > table master4; > import all; > export all; > }; > } > protocol static { > ipv4; > } > > > Il giorno mer 25 mar 2020 alle ore 17:0

Re: Direct protocol affects BGP

2020-03-25 Thread Alexander Zubkov
ocol bgp { > ipv4 { > import all; > export all; >} > local as 1; > neighbor 192.168.2.22 as 2 > > > Il giorno mar 24 mar 2020 alle ore 22:40 Alexander Zubkov > ha scritto: >> >> There is also no gateway in you "route" outp

Re: Upgrade from Bird 1.3.6 to Bird 2.0.7

2020-03-28 Thread Alexander Zubkov
; should run multiple instances? > > Il giorno sab 28 mar 2020 alle ore 12:46 Alexander Zubkov > ha scritto: >> >> Hi, >> >> Of course, as long as they do not try to bind the same network or >> control sockets. Almost the same way as you can run several instanc

Re: Upgrade from Bird 1.3.6 to Bird 2.0.7

2020-03-28 Thread Alexander Zubkov
Hi, Of course, as long as they do not try to bind the same network or control sockets. Almost the same way as you can run several instances of the same version of the bird. On Sat, Mar 28, 2020 at 7:21 AM Fabiano D'Agostino wrote: > > Good morning Maria, > but how can I guarantee business

Re: Question regarding an unreachable protocol

2020-03-18 Thread Alexander Zubkov
Hi, Please check that you have direct interface routes in your bird's table. Probably the next hop in your bgp route is not directly reachable from the bird's point of view. You might need to add "protocol direct { ... }" for example. Or maybe you have not direct next hop in your routes. As far

Re: BGP between VMs

2020-03-19 Thread Alexander Zubkov
Hi, Yes, it is possible. On Thu, Mar 19, 2020 at 10:34 PM Fabiano D'Agostino wrote: > > Hi all, > I am new to Bird and I would like to do the following. I have two VMs and I > would like to make a BGP peering between the two VMs, is it possible using > Bird? > > Thanks in advance, > > Fabiano

Re: Kernel protocol

2020-03-20 Thread Alexander Zubkov
Hi, It depends on what you are trying to achieve. Of course bird can function without an instance of the kernel protocol. But in that case it can not push any routes into the routing table of your os. If you need those routes only to spread them for some other reasons then it is probable that you

Re: Proper way to start Bird

2020-03-21 Thread Alexander Zubkov
sab 21 mar 2020 alle ore 20:00 Alexander Zubkov > ha scritto: >> >> Hello, >> >> You probably have another bird process running already. Also ensure >> that /usr/local/var/run/ exists with proper permissions. >> >> On Sat, Mar 21, 2020

Re: Proper way to start Bird

2020-03-21 Thread Alexander Zubkov
Hello, You probably have another bird process running already. Also ensure that /usr/local/var/run/ exists with proper permissions. On Sat, Mar 21, 2020 at 7:31 PM Fabiano D'Agostino wrote: > > According to the documentation the socket is in prefix/var/run/bird.ctl > Anyway if I run bird I get

Re: Proper way to start Bird

2020-03-22 Thread Alexander Zubkov
Fabiano D'Agostino wrote: > > Yes, but how can I do that command if when I try to connect to birdc I get > the error above? > > Il Dom 22 Mar 2020, 09:18 Alexander Zubkov ha scritto: >> >> It is right there in the documentation: >> https://bird.network.cz/?get_doc=2

Re: Direct protocol affects BGP

2020-03-24 Thread Alexander Zubkov
route-reflector, but just two > routers which have a bgp session. Anyway, yes when direct is disabled, the > bgp session is established. > > Il giorno mar 24 mar 2020 alle ore 21:45 Alexander Zubkov > ha scritto: >> >> "show route" looks a little weird, i

  1   2   3   >