ah okay thanks, I understand now!
Il giorno mer 25 mar 2020 alle ore 17:33 Alexander Zubkov
ha scritto:
> Than I see no problem. When you have direct protocol off - your router
> have nothing imported to the bird's routing table and so nothing is
> exported to the bgp peer. A kernel protocol doe
Than I see no problem. When you have direct protocol off - your router
have nothing imported to the bird's routing table and so nothing is
exported to the bgp peer. A kernel protocol does not import those
routes, from the documentation:
> Note that routes created by OS kernel itself, namely direct
Yes, I disabled direct protocol on both routers. The full bird.conf is the
following:
log syslog all;
ipv4 table master4;
ipv6 table master6;
router1 bgp configuration:
protocol bgp {
ipv4 {
import all;
export all;
};
local as 1;
neighbor 192.168.2.22 as 2;
}
pr
Do you disable direct protocol on both router1 and router2?
And that is definitely not the full bird config, you do not have a
kernel protocol for example.
On Tue, Mar 24, 2020 at 10:50 PM Fabiano D'Agostino
wrote:
>
> There is no gateway because they are directly connected. However my network
>
There is no gateway because they are directly connected. However my network
topology is the following:
[pc-a - router1 ]=AS 1 ; [pc-b - router 2]=AS 2;
pc-a:
enp0s3
address 192.168.1.11
gw 192.168.1.1
router1:
enp0s3
address 192.168.1.1
enp0s8
192.168.2.2
router1 bgp configuration:
protocol bgp {
There is also no gateway in you "route" output on routes exported from
bird. Maybe you have some filters that causing it? Could you show your
config if it is not secret?
On Tue, Mar 24, 2020 at 9:53 PM Fabiano D'Agostino
wrote:
>
> Yes, 'show route', is from Bird. I don't have route-reflector, bu
Yes, 'show route', is from Bird. I don't have 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, is it from
"show route" looks a little weird, is it from bird? There are also
commonly a protocol and metric shown.
Those are from your route-reflector? Do you have your bgp sessions up
when direct is disabled?
On Tue, Mar 24, 2020 at 9:33 PM Fabiano D'Agostino
wrote:
>
> Good evening Alexander,
>
> Direct
Good evening Alexander,
Direct protocol enabled:
'route' command:
Destination Gateway GenmaskFlags Metric iface
192.168.1.0 *255.255.255.0 U 0 enp0s3
192.168.1.0 *255.255.255.0 U 32 enp0s3
192.168.2.0 *255.255
I think it would be easier if you showed your route tables in both cases.
On Tue, Mar 24, 2020 at 8:57 AM Irene Lalioti wrote:
>
> Hello guys!
>
> Just because today we encountered again the same issue with direct, I am very
> curious on this:
>
> I totally agree with what you guys explained abo
Hello guys!
Just because today we encountered again the same issue with direct, I am
very curious on this:
I totally agree with what you guys explained about the need of the
direct protocol. Once we set it then reachability works and all is ok.
Our big question is why was it working before the m
Hi Bernd,
no, the routing "from the kernel" doesn't come via 'learn yes', but via
RIB, I mean if I do 'route' it shows the directly connected networks. The
problem is that if I use the Direct protocol, the command 'route' shows me
two same directly connected networks, one coming from RIB and the ot
Hi Benedikt,
I am just learning Bird and I didn't want to use the Direct protocol
because using it I have two same routes in the RIB for the directly
connected networks, one coming from the kernel and the second one coming
from the direct protocol.
Il giorno lun 23 mar 2020 alle ore 16:01 Fabiano
Hi Fabiano,
that should be the reason. The TCP connection is done via RIB (kernel
routing table). In FIB (birds internal table) the route is currently
missing.
If you enable the direct protocol a route for 192.168.2.22 will be
appear in the FIB and the nexthop resolution will work.
Is there a re
Hi,
thanks for helping,
I did show route for 192.168.2.22 (which is my neighbor) table all all -->
I get Network not found.
show protocols: bgp established
show protocol all bgp1: 0 imported, 0 exported
Il giorno lun 23 mar 2020 alle ore 14:18 Benedikt Neuffer <
benedikt.neuf...@kit.edu> ha scrit
Hi Fabio,
so the routes are in FIB (kernel) but maybe not in RIB (bird).
Can you provide me the output of "show route for table all all"
where should be the prefix configured on the connection or the
ip address of the neighbor.
Regards,
Bene
On 23.03.20 12:43, Fabiano D'Agostino wrote:
> Hi B
Hi Benedikt,
the nexthop is resolvable, indeed router1 can ping router2'nic in the same
network of router1, with direct protocol disabled. The scenario is:
PCa - R1 - R2 - PCb
With direct protocol enabled and bgp working: PCa can ping PCb
With direct protocol disabled and bgp working: PCa can't pin
Hi Fabio,
the BGP nexthop field must be resolvable. In other words there must be a
route to the neighbor in RIB.
Regards,
Bene
On 23.03.20 12:05, Fabiano D'Agostino wrote:
> Hi all,
> why if I disable the direct protocol the BGP routes are not
> imported/exported? If I run show route, it is emp
Hi all,
why if I disable the direct protocol the BGP routes are not
imported/exported? If I run show route, it is empty, while if I enable the
direct protocol show route has directly connected routes and BGP routes.
My configuration is very easy, two routers make a eBGP peering and they
import and
19 matches
Mail list logo