Hi

And again I got same situation

Clients bgp did down/up and bgp now sent near half of
routes.
For example - my router connected to this one
212.26.128.146  4  8788  305596  127791        0    0    0 12:09:59    16990

But clients router got only
echo show ip bgp neighbors 212.26.135.50 adv | vtysh | tail
...
Total number of prefixes 9096
router-ua.adamant.ua# 

Where other 7,000 routes?

I found one route without announce to this peer

echo show ip bgp neighbors 212.26.135.50 adv | vtysh | fgrep 217.199.208.0' '
nothing at all
but quagga said
show ip bgp 217.199.208.0
BGP routing table entry for 217.199.208.0/24
Paths: (1 available, best #1, table Default-IP-Routing-Table)
  Advertised to non peer-group peers:
  ... 212.26.135.50 ...

What can I do or check in that situation?
It's a really big problem :(

On Tue, Jun 23, 2015 at 11:05:04AM +0300, Олександр Троцай wrote:
> Hi

> I use quagga 0.99.24.1 on arch linux (x86_64)
> I have a lot of bgp neighbors IPv4 and some of IPv6
> Also I have ospf for both protocols

> And I got a bug as I think

> Quagga BGPd said that networks was announced to peers but
> actually it didn't

> For example
> show ip bgp 193.138.184.0/22
> BGP routing table entry for 193.138.184.0/22
> Paths: (3 available, best #3, table Default-IP-Routing-Table)
>   Advertised to non peer-group peers:
>   10.255.248.118 193.93.184.9 193.138.87.3 195.234.214.205 212.26.128.106 
> 212.26.128.147 212.26.129.182 212.26.133.245 212.26.134.178 212.26.135.5
> 0 212.26.135.77 212.26.135.78 212.26.136.102 212.26.136.190 212.26.138.98 
> 212.26.138.106 212.26.140.251 212.26.140.252 212.26.140.253 212.26.140.2
> 54 212.26.144.82
>   34265
>     195.35.65.212 from 195.35.65.1 (195.35.65.1)
>       Origin IGP, metric 10, localpref 1001, valid, external
>       Community: 8788:50 8788:52 8788:57 8788:130 8788:190
>       Last update: Tue Jun 23 10:37:30 2015

>   34265, (Received from a RR-client)
>     212.26.133.245 from 212.26.133.245 (212.26.128.45)
>       Origin IGP, metric 100, localpref 1001, valid, internal
>       Community: 8788:50 8788:52 8788:57 8788:130 8788:190
>       Last update: Tue Jun 23 10:27:21 2015

>   34265
>     195.35.65.212 from 195.35.65.11 (195.35.65.11)
>       Origin IGP, metric 10, localpref 1001, valid, external, best
>       Community: 8788:50 8788:52 8788:57 8788:130 8788:190
>       Last update: Tue Jun 23 10:01:09 2015

> Some of this neihbours are mine
> For example 212.26.128.147
> I go to 212.26.128.147 and ask abount this network
> show ip bgp 193.138.184.0/22
> % Network not in table

> Nothing
> And I can see that such networks are a lot
> show ip route summary 
> Route Source         Routes               FIB                  
> connected            38                   38                   
> static               9                    8                    
> ospf                 600                  590                  
> ebgp                 19870                19870                
> ibgp                 7                    7                    
> ------
> Totals               20524                20513                
> So I should have near 20k routes on 212.26.128.147
> But actually
> 212.26.128.146  4  8788  230007  114465        0    0    0 00:11:38     9364

> Before I reseted this BGP connection I had near 14k routes
> on this router

> After I restart bgpd on that router on other I got
> 212.26.128.146  4  8788  234072  114471        0    0    0 00:00:13    14889
> and got network
> show ip bgp 193.138.184.0/22
> BGP routing table entry for 193.138.184.0/22
> Paths: (1 available, best #1, table Default-IP-Routing-Table)
>   Not advertised to any peer
>   34265
>     212.26.128.146 (metric 1) from 212.26.128.146 (212.26.133.244)
>       Origin IGP, metric 10, localpref 1001, valid, internal, best
>       Community: 8788:50 8788:52 8788:57 8788:130 8788:190
>       Last update: Tue Jun 23 10:50:25 2015

> Some configs
> fgrep 212.26.128.147 /etc/quagga/bgpd.conf
>  neighbor 212.26.128.147 remote-as 8788
>  neighbor 212.26.128.147 description xxx
>  neighbor 212.26.128.147 route-reflector-client
>  neighbor 212.26.128.147 soft-reconfiguration inbound
>  neighbor 212.26.128.147 route-map nothing in
> so bgp must send everything that it has 
> other bgp should get everything
> fgrep 212.26.128.146 /etc/quagga/bgpd.conf
>  neighbor 212.26.128.146 remote-as 8788
>  neighbor 212.26.128.146 description Parities
>  neighbor 212.26.128.146 route-map ua in
>  neighbor 212.26.128.146 route-map nothing out
> !
> route-map ua permit 100
>  set ip next-hop peer-address
> !

> I tried to find something about this problem with google and
> some other search engine but found nothing

> Could someone help me? I wan't change routing engine
> I'd like quagga

> -- 
> Best regard, Aleksander Trotsai aka MAGE-RIPE aka MAGE-UANIC
> My public PGP key placed at http://mvps.adamant.ua/pgp/trotsai.asc
> Big trouble: 
> Of course it doesn't work. We've performed a software upgrade.


-- 
Best regard, Aleksander Trotsai aka MAGE-RIPE aka MAGE-UANIC
My public PGP key placed at http://mvps.adamant.ua/pgp/trotsai.asc
Big trouble: 
We're on Token Ring, and it looks like the token got loose.


_______________________________________________
Quagga-dev mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-dev

Reply via email to