osrg / gobgp

BGP implemented in the Go Programming Language
https://osrg.github.io/gobgp/
Apache License 2.0
3.65k stars 698 forks source link

Missing routes in system routing table. #2637

Open ss7pro opened 1 year ago

ss7pro commented 1 year ago

Hello,

I am running into very unsual problem where routes are missing from the system routing table but are present in gobgp rib. Is there a solution for gobgp to rescan rib and re-add missing/changes routes?

XXX@h0001d:~$ sudo crictl exec  24cc1 gobgp global rib  | grep 10.233.88.0
*> 10.233.88.0/24       10.180.16.40                              25d 21:43:44 [{Origin: i} {LocalPref: 100}]
XXX@h0001d:~$ sudo crictl exec  24cc1 bash^C
XXX@h0001d:~$ ip ro | grep 10.233.88.0
XXX@h0001d:~$
tomvil commented 1 year ago

https://github.com/osrg/gobgp/blob/master/docs/sources/zebra.md

This is probably what you're looking for.