[quagga-users 15029] Re: quagga bgpd no advertise routes for neighboors

Andrzej Dopierała undefine at aramin.net
Wed Oct 16 08:39:50 BST 2019


Hi!

I discovered the same problem after upgrade debian routers from jessie 
to buster.

When bgpd try to send many prefikses to one peer (ibgp in my situation) 
- it "hangs" - and after estabilishing session have many prefixes in 
OutQ queue:

r1# show ip bgp summary
BGP router identifier 1.2.3.4 local AS number 123
RIB entries 1416411, using 151 MiB of memory
Peers 10, using 89 KiB of memory
Peer groups 2, using 64 bytes of memory

Neighbor        V         AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  
State/PfxRcd
1.2.3.5    4 123      12  116962        0    0 549293 00:09:18        0
1.2.3.6    4 123      15  116252        0    0 549293 00:09:08        3
1.2.3.7    4 123      24  116069        0    0 549293 00:09:03       23
a.b.c.d     4 12345      21      14        0    0    0 00:09:18        5
x.y.z.a      4 54321  167783      23        0    0    0 00:09:18 773887



On second side(1.2.3.5 in that example) - there is 0 received prefixes 
on restarted session.

Problem exists in 1.2.4-3 from debian buster, and 1.1.1-3 from debian 
stretch. When i back to 0.99.24.1 (package compiled for jessie) - it 
start to work fine.

I discovered problem when i shutdown ebgp sessions on one router, and i 
was suprised that it show only small amount of received prefixes from 
ibgp sessions.

Has anyone simmilar problem?

Is quagga still developed? Now i have dilemma between using ancient 0.99 
version or porting while configuration into something else (bird?)


W dniu 03.12.2018 o 17:42, Analberto Rodrigues pisze:
> Hi, when I restart bgpd, all routes are avertise and all work, when a 
> neighboor restart session, it does not receive the routes more. 
> Someone can help me?
>
> That is my config
> router bgp 161463
>  bgp router-id x.x.x.1
>  network x.x.x.0/22
>  network x.x.x.0/23
>  network x.x.x.0/24
>  network 16.19.13.0/24 <http://16.19.13.0/24>
>  network 16.19.14.0/24 <http://16.19.14.0/24>
>  network 16.19.15.0/24 <http://16.19.15.0/24>
>  redistribute connected
>  neighbor x.x.x.10 remote-as 168111
>  neighbor x.x.x.10 description downstream_a-2004
>  neighbor x.x.x.10 update-source eth11.2004
>  neighbor x.x.x.10 soft-reconfiguration inbound
>  neighbor x.x.x.10 prefix-list entrada_downstream_a_2004 in
>  neighbor x.x.x.10 prefix-list saida_downstream_a_2004 out
>  neighbor x.x.x.18 remote-as 265495
>  neighbor x.x.x.18 description downstream_c-2006
>  neighbor x.x.x.18 update-source eth11.2006
>  neighbor x.x.x.18 soft-reconfiguration inbound
>  neighbor x.x.x.18 prefix-list entrada_downstream_c_2006 in
>  neighbor x.x.x.18 prefix-list saida_downstream_c_2006 out
>  neighbor x.x.x.186 remote-as 266611
>  neighbor x.x.x.186 description downstream_b-2008
>  neighbor x.x.x.186 update-source eth11.2008
>  neighbor x.x.x.186 soft-reconfiguration inbound
>  neighbor x.x.x.186 prefix-list downstream_b-in in
>  neighbor x.x.x.186 prefix-list downstream_b-out out
>  neighbor x.x.x.222 remote-as 11344
>  neighbor x.x.x.222 description CDN-GOOGLE
>  neighbor x.x.x.222 update-source eth11.1516
>  neighbor x.x.x.222 soft-reconfiguration inbound
>  neighbor x.x.x.222 prefix-list google-in in
>  neighbor x.x.x.222 prefix-list google-out out
>  neighbor 172.31.0.53 remote-as 61811
>  neighbor 172.31.0.53 description eth10-224
>  neighbor 172.31.0.53 update-source eth10.224
>  neighbor 172.31.0.53 soft-reconfiguration inbound
>  neighbor 172.31.0.53 prefix-list entrada_isp3_224 in
>  neighbor 172.31.0.53 prefix-list saida_isp3_224 out
>  neighbor 177.x.x.x remote-as 53237
>  neighbor 177.x.x.x description isp1-330
>  neighbor 177.x.x.x update-source eth10.330
>  neighbor 177.x.x.x soft-reconfiguration inbound
>  neighbor 177.x.x.x prefix-list entrada_isp1 in
> neighbor 177.x.x.x prefix-list saida_isp1 out
> neighbor 177.x.x.y remote-as 53237
> neighbor 177.x.x.y description isp1-655
> neighbor 177.x.x.y update-source eth10.655
> neighbor 177.x.x.y soft-reconfiguration inbound
> neighbor 177.x.x.y prefix-list entrada_isp1_655 in
> neighbor 177.x.x.y prefix-list saida_isp1_655 out
> !
> address-family ipv6
> exit-address-family
> exit
> !
> ip prefix-list entrada_downstream_c_2006 seq 5 permit 70.178.32.0/22 
> <http://70.178.32.0/22> le 24
> ip prefix-list entrada_downstream_c_2006 seq 10 deny 0.0.0.0/0 
> <http://0.0.0.0/0> le 32
> ip prefix-list entrada_downstream_a_2004 seq 5 permit 25.17.14.0/22 
> <http://25.17.14.0/22> le 24
> ip prefix-list entrada_downstream_a_2004 seq 10 deny 0.0.0.0/0 
> <http://0.0.0.0/0> le 32
> ip prefix-list entrada_isp1 seq 5 deny x.x.x.0/22 le 24
> ip prefix-list entrada_isp1 seq 10 deny 0.0.0.0/8 <http://0.0.0.0/8> le 32
> ip prefix-list entrada_isp1 seq 15 deny 10.0.0.0/8 <http://10.0.0.0/8> 
> le 32
> ip prefix-list entrada_isp1 seq 20 deny 127.0.0.0/8 
> <http://127.0.0.0/8> le 32
> ip prefix-list entrada_isp1 seq 25 deny 169.254.0.0/16 
> <http://169.254.0.0/16> le 32
> ip prefix-list entrada_isp1 seq 30 deny 172.16.0.0/12 
> <http://172.16.0.0/12> le 32
> ip prefix-list entrada_isp1 seq 35 deny 192.0.2.0/24 
> <http://192.0.2.0/24> le 32
> ip prefix-list entrada_isp1 seq 40 deny 192.168.0.0/16 
> <http://192.168.0.0/16> le 32
> ip prefix-list entrada_isp1 seq 45 deny 224.0.0.0/3 
> <http://224.0.0.0/3> le 32
> ip prefix-list entrada_isp1 seq 50 permit 0.0.0.0/0 <http://0.0.0.0/0> 
> le 32
> ip prefix-list entrada_isp1_655 seq 5 deny x.x.x.0/22 le 24
> ip prefix-list entrada_isp1_655 seq 10 deny 0.0.0.0/8 
> <http://0.0.0.0/8> le 32
> ip prefix-list entrada_isp1_655 seq 15 deny 10.0.0.0/8 
> <http://10.0.0.0/8> le 32
> ip prefix-list entrada_isp1_655 seq 20 deny 127.0.0.0/8 
> <http://127.0.0.0/8> le 32
> ip prefix-list entrada_isp1_655 seq 25 deny 169.254.0.0/16 
> <http://169.254.0.0/16> le 32
> ip prefix-list entrada_isp1_655 seq 30 deny 172.16.0.0/12 
> <http://172.16.0.0/12> le 32
> ip prefix-list entrada_isp1_655 seq 35 deny 192.0.2.0/24 
> <http://192.0.2.0/24> le 32
> ip prefix-list entrada_isp1_655 seq 40 deny 192.168.0.0/16 
> <http://192.168.0.0/16> le 32
> ip prefix-list entrada_isp1_655 seq 45 deny 224.0.0.0/3 
> <http://224.0.0.0/3> le 32
> ip prefix-list entrada_isp1_655 seq 50 permit 0.0.0.0/0 
> <http://0.0.0.0/0> le 32
> ip prefix-list entrada_isp3_224 seq 5 deny x.x.x.0/22 le 24
> ip prefix-list entrada_isp3_224 seq 10 deny 0.0.0.0/0 <http://0.0.0.0/0>
> ip prefix-list entrada_isp3_224 seq 15 deny 0.0.0.0/8 
> <http://0.0.0.0/8> le 32
> ip prefix-list entrada_isp3_224 seq 20 deny 10.0.0.0/8 
> <http://10.0.0.0/8> le 32
> ip prefix-list entrada_isp3_224 seq 25 deny 127.0.0.0/8 
> <http://127.0.0.0/8> le 32
> ip prefix-list entrada_isp3_224 seq 30 deny 169.254.0.0/16 
> <http://169.254.0.0/16> le 32
> ip prefix-list entrada_isp3_224 seq 35 deny 172.16.0.0/12 
> <http://172.16.0.0/12> le 32
> ip prefix-list entrada_isp3_224 seq 40 deny 192.0.2.0/24 
> <http://192.0.2.0/24> le 32
> ip prefix-list entrada_isp3_224 seq 45 deny 192.168.0.0/16 
> <http://192.168.0.0/16> le 32
> ip prefix-list entrada_isp3_224 seq 50 deny 224.0.0.0/3 
> <http://224.0.0.0/3> le 32
> ip prefix-list entrada_isp3_224 seq 55 permit 0.0.0.0/0 
> <http://0.0.0.0/0> le 32
> ip prefix-list google-in seq 5 deny x.x.x.0/22 le 24
> ip prefix-list google-in seq 10 deny 0.0.0.0/8 <http://0.0.0.0/8> le 32
> ip prefix-list google-in seq 15 deny 10.0.0.0/8 <http://10.0.0.0/8> le 32
> ip prefix-list google-in seq 20 deny 127.0.0.0/8 <http://127.0.0.0/8> 
> le 32
> ip prefix-list google-in seq 25 deny 169.254.0.0/16 
> <http://169.254.0.0/16> le 32
> ip prefix-list google-in seq 30 deny 172.16.0.0/12 
> <http://172.16.0.0/12> le 32
> ip prefix-list google-in seq 35 deny 192.0.2.0/24 
> <http://192.0.2.0/24> le 32
> ip prefix-list google-in seq 40 deny 192.168.0.0/16 
> <http://192.168.0.0/16> le 32
> ip prefix-list google-in seq 45 deny 224.0.0.0/3 <http://224.0.0.0/3> 
> le 32
> ip prefix-list google-in seq 50 permit 0.0.0.0/0 <http://0.0.0.0/0> le 32
> ip prefix-list google-out seq 5 permit x.x.x.0/22 le 24
> ip prefix-list google-out seq 10 permit 70.178.32.0/22 
> <http://70.178.32.0/22> le 24
> ip prefix-list google-out seq 15 permit 28.211.170.0/22 
> <http://28.211.170.0/22> le 24
> ip prefix-list google-out seq 20 permit 15.165.11.0/22 
> <http://15.165.11.0/22> le 24
> ip prefix-list google-out seq 25 permit 25.17.14.0/22 
> <http://25.17.14.0/22> le 24
> ip prefix-list google-out seq 30 deny 0.0.0.0/0 <http://0.0.0.0/0> le 32
> ip prefix-list downstream_b-in seq 5 permit 28.211.170.0/22 
> <http://28.211.170.0/22> le 24
> ip prefix-list downstream_b-in seq 10 permit 15.165.11.0/22 
> <http://15.165.11.0/22> le 24
> ip prefix-list downstream_b-in seq 15 deny 0.0.0.0/0 
> <http://0.0.0.0/0> le 32
> ip prefix-list downstream_b-out seq 5 deny 28.211.170.0/22 
> <http://28.211.170.0/22> le 24
> ip prefix-list downstream_b-out seq 10 deny 0.0.0.0/8 
> <http://0.0.0.0/8> le 32
> ip prefix-list downstream_b-out seq 15 deny 10.0.0.0/8 
> <http://10.0.0.0/8> le 32
> ip prefix-list downstream_b-out seq 20 deny 127.0.0.0/8 
> <http://127.0.0.0/8> le 32
> ip prefix-list downstream_b-out seq 25 deny 169.254.0.0/16 
> <http://169.254.0.0/16> le 32
> ip prefix-list downstream_b-out seq 30 deny 172.16.0.0/12 
> <http://172.16.0.0/12> le 32
> ip prefix-list downstream_b-out seq 35 deny 192.0.2.0/24 
> <http://192.0.2.0/24> le 32
> ip prefix-list downstream_b-out seq 40 deny 192.168.0.0/16 
> <http://192.168.0.0/16> le 32
> ip prefix-list downstream_b-out seq 45 deny 224.0.0.0/3 
> <http://224.0.0.0/3> le 32
> ip prefix-list downstream_b-out seq 50 permit 0.0.0.0/0 
> <http://0.0.0.0/0> le 32
> ip prefix-list saida_downstream_c_2006 seq 5 deny 70.178.32.0/22 
> <http://70.178.32.0/22> le 24
> ip prefix-list saida_downstream_c_2006 seq 10 deny 0.0.0.0/8 
> <http://0.0.0.0/8> le 32
> ip prefix-list saida_downstream_c_2006 seq 15 deny 10.0.0.0/8 
> <http://10.0.0.0/8> le 32
> ip prefix-list saida_downstream_c_2006 seq 20 deny 127.0.0.0/8 
> <http://127.0.0.0/8> le 32
> ip prefix-list saida_downstream_c_2006 seq 25 deny 169.254.0.0/16 
> <http://169.254.0.0/16> le 32
> ip prefix-list saida_downstream_c_2006 seq 30 deny 172.16.0.0/12 
> <http://172.16.0.0/12> le 32
> ip prefix-list saida_downstream_c_2006 seq 35 deny 192.0.2.0/24 
> <http://192.0.2.0/24> le 32
> ip prefix-list saida_downstream_c_2006 seq 40 deny 192.168.0.0/16 
> <http://192.168.0.0/16> le 32
> ip prefix-list saida_downstream_c_2006 seq 45 deny 224.0.0.0/3 
> <http://224.0.0.0/3> le 32
> ip prefix-list saida_downstream_c_2006 seq 50 permit 0.0.0.0/0 
> <http://0.0.0.0/0> le 32
> ip prefix-list saida_downstream_a_2004 seq 5 deny 25.17.14.0/22 
> <http://25.17.14.0/22> le 24
> ip prefix-list saida_downstream_a_2004 seq 10 deny 0.0.0.0/8 
> <http://0.0.0.0/8> le 32
> ip prefix-list saida_downstream_a_2004 seq 15 deny 10.0.0.0/8 
> <http://10.0.0.0/8> le 32
> ip prefix-list saida_downstream_a_2004 seq 20 deny 127.0.0.0/8 
> <http://127.0.0.0/8> le 32
> ip prefix-list saida_downstream_a_2004 seq 25 deny 169.254.0.0/16 
> <http://169.254.0.0/16> le 32
> ip prefix-list saida_downstream_a_2004 seq 30 deny 172.16.0.0/12 
> <http://172.16.0.0/12> le 32
> ip prefix-list saida_downstream_a_2004 seq 35 deny 192.0.2.0/24 
> <http://192.0.2.0/24> le 32
> ip prefix-list saida_downstream_a_2004 seq 40 deny 192.168.0.0/16 
> <http://192.168.0.0/16> le 32
> ip prefix-list saida_downstream_a_2004 seq 45 deny 224.0.0.0/3 
> <http://224.0.0.0/3> le 32
> ip prefix-list saida_downstream_a_2004 seq 50 permit 0.0.0.0/0 
> <http://0.0.0.0/0> le 32
> ip prefix-list saida_isp1 seq 5 permit x.x.x.0/22 le 24
> ip prefix-list saida_isp1 seq 10 permit 28.211.170.0/22 
> <http://28.211.170.0/22>
> ip prefix-list saida_isp1 seq 15 permit 70.178.32.0/22 
> <http://70.178.32.0/22> le 24
> ip prefix-list saida_isp1 seq 20 permit 15.165.11.0/22 
> <http://15.165.11.0/22>
> ip prefix-list saida_isp1 seq 25 permit 25.17.14.0/22 
> <http://25.17.14.0/22> le 24
> ip prefix-list saida_isp1 seq 30 deny 0.0.0.0/0 <http://0.0.0.0/0> le 32
> ip prefix-list saida_isp1_655 seq 5 permit x.x.x.0/22 le 24
> ip prefix-list saida_isp1_655 seq 10 permit 28.211.170.0/22 
> <http://28.211.170.0/22>
> ip prefix-list saida_isp1_655 seq 15 permit 70.178.32.0/22 
> <http://70.178.32.0/22> le 24
> ip prefix-list saida_isp1_655 seq 20 permit 15.165.11.0/22 
> <http://15.165.11.0/22>
> ip prefix-list saida_isp1_655 seq 25 permit 25.17.14.0/22 
> <http://25.17.14.0/22> le 24
> ip prefix-list saida_isp1_655 seq 30 deny 0.0.0.0/0 <http://0.0.0.0/0> 
> le 32
> ip prefix-list saida_isp3_224 seq 5 deny x.x.x.0/24
> ip prefix-list saida_isp3_224 seq 10 deny 16.19.14.0/24 
> <http://16.19.14.0/24>
> ip prefix-list saida_isp3_224 seq 15 deny 16.19.15.0/24 
> <http://16.19.15.0/24>
> ip prefix-list saida_isp3_224 seq 20 permit 70.178.32.0/22 
> <http://70.178.32.0/22> le 24
> ip prefix-list saida_isp3_224 seq 25 permit x.x.x.0/22 le 24
> ip prefix-list saida_isp3_224 seq 30 permit 28.211.170.0/22 
> <http://28.211.170.0/22>
> ip prefix-list saida_isp3_224 seq 35 permit 15.165.11.0/22 
> <http://15.165.11.0/22>
> ip prefix-list saida_isp3_224 seq 40 permit 25.17.14.0/22 
> <http://25.17.14.0/22>
> ip prefix-list saida_isp3_224 seq 45 deny 0.0.0.0/0 <http://0.0.0.0/0> 
> le 32
> !
> line vty
> !
> end
>
> -- 
> Atenciosamente,
>
> Analberto Barbosa Rodrigues.
>
> Fone: (99) 99129-0201 (vivo)
>
> _______________________________________________
> Quagga-users mailing list
> Quagga-users at lists.quagga.net
> https://lists.quagga.net/mailman/listinfo/quagga-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quagga.net/pipermail/quagga-users/attachments/20191016/70d4b807/attachment-0001.html>


More information about the Quagga-users mailing list