osrg / gobgp

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

delete paths and the routes still being installed in remote gobgps #2442

Open congyixin opened 3 years ago

congyixin commented 3 years ago

Hello, Doing a experiment. I have 7 devices(1,2,3,4,7,8,9) ,have 3 devices(1,2,9) have all link to the other 6 devices.Each of the other 4 devices(3,4,7,8) has 3 links to these 3 devices(1,2,9),and these 4 devices(3,4,7,8) connect the Frrouting devices,but the devices(1,2,9) don't connect the Frrouting devices.The Frrouting devices only sent a route(1::0/32) to the 4 devcies(3,4,7,8),didn't sent /128 routes. These 7 devices are eBGP neighbor.

My enviroment is useing IPv6,and the gobgp version is 2.29.

I added a route on device8,the route is 1:1/128.The other 6 devices (1,2,3,4,7,9) recived this route entry(1:1/128).At present,the number of routing entries on each device is correct.

I deleted the links between device8 and the other devices(1,2,9),but the devices8 also connect the Frrouting devices. At this time, I observed the route entry on the other 6 devices(1,2,3,4,7,9),and found that there were still this route entry on 5 devices,the entry of a device is : *> 1:1/128 2::1402 900 400 100 200 800 00:01:11 [{Origin: i}]

I debugged and captured,I found when received the update of Removing withdrawals.However, the info of removing withdrawals is not for all links.So have some entries were deleted,but some entries still exist.

congyixin commented 3 years ago

I added an action,I closed the Frrouting devices,but this result still exist

imcom commented 2 years ago

why the Origin of the remaining route is i ? You said all your peers should be eBGP

imcom commented 2 years ago

would you please use a diagram with ASN and peering lines to illustrate your testing topology ?