BGP re-advertise received-routes back to peer #10052
Replies: 6 comments 5 replies
-
I don't think eBGP has any split horizon mechanism preventing this kind of route reflection ( not like iBGP--don't advertise iBGP learned routes to iBGP peers). So it seems like this behavior is legitimate. I don't think it is a problem BGP needs to solve It is not really that big of a deal because routers should drop those routes due to AS_PATH loop protection. |
Beta Was this translation helpful? Give feedback.
-
Thanks IgorAlov for a quick response. Yes, I agree that eBGP doesn't have split horizon mechanism, however it would not advertise the routes learnt from the same peer unless it has better metric. In above case, I see those routes on my another peer with one AS-Num (i.e. 1001 1000 ... )
I do not see this behavior with other routing-stack we are using i.e vyatta VYOS 1.1.8 as well as Quagga BGPD 0.99.22. I agree that this Quagga version is pretty Old, but I assume that later should also have same behavior i.e. won't advertise the routes-learnt from same peer (to same peer) unless it has better route. Another issue I notice was - if I change "profile" to "traditional" then FRR doesn't even advertise any route, even though "network" statements are present. I tried by enabling / disabling - "bgp network import-check". Hence, I changed my profiles to "Datacenter". |
Beta Was this translation helpful? Give feedback.
-
It is work as it should. according to RFC8212 compliance without the incoming/outgoing filters, no routes will be accepted/advertised. You should use filters or you may use command you may also look at: |
Beta Was this translation helpful? Give feedback.
-
I tried "neighbor <x.x.x.x> sender-as-path-loop-detection", and that didn't helped.
Thanks IgnorAlov. I am closing this issue. |
Beta Was this translation helpful? Give feedback.
-
When FRR received the initial addpath and update groups work. The decision was made to allow the retransmit of the +1 aspath routes back out. This allowed for much more efficient update group packing and much less work on FRR's side. |
Beta Was this translation helpful? Give feedback.
-
http://docs.frrouting.org/en/latest/bgp.html#clicmd-neighbor-PEER-solo |
Beta Was this translation helpful? Give feedback.
-
I am using FRR version 8.2-dev (more details below). When run all daemons in “Datacenter” profile, then BGP re-advertise all received-routes back to peer.
Daemons:
FRR Version : FRRouting (version 8.2-dev)
Operating System: Linux Kernel 5.4.27-yocto-standard
Branch : master
Commit : cbdf030
[X] Did you check if this is a duplicate issue?
[X] Did you test it on the latest FRRouting/frr master branch?
Current configuration:
Received-routes
advertised-routes
As per “network 10.2.52.0/24” only this prefix should get advertise, but all received-routes are also getting advertise.
Expected behavior
BGP should not re-advertise all received-routes back to peer.
Screenshots
None
Versions
Linux Kernel 5.4.27-yocto-standard
Beta Was this translation helpful? Give feedback.
All reactions