Got it

BGP iBGP loops

Created: Nov 26, 2020 21:33:46Latest reply: Nov 27, 2020 02:06:25 517 5 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hello,


I know about split horizon rule. Can you please tell me how the loop occurs if there will be no split horizon rule? Can you please give me some example?

Featured Answers
DDSN
Admin Created Nov 27, 2020 02:06:25

Hi kacpersky,
Between ASs, BGP loop prevention is implemented through AS_PATH. However, AS_PATH is changed only when the route leaves the AS. Therefore, IBGP does not have the loop prevention capability like EBGP in the AS. Therefore, IBGP split horizon is used. To prevent loops, a BGP router does not advertise the routes learned from an IBGP peer to other IBGP peers.
Without this mechanism, when three routers are connected and IBGP neighbors are established, updates sent by one of the routers are looped infinitely between the three routers.
View more
  • x
  • convention:

kacpersky
kacpersky Created Nov 27, 2020 07:50:45 (0) (0)
thank you now its clear  
yaseenbalti225
yaseenbalti225 Created Feb 8, 2021 20:59:28 (0) (0)
we see in hub and spoke topology same As num is found multiple time in as-path but loop not occur , why their is no loop exit in that as-path.  
All Answers
Thanks for contacting the Huawei community!

We are checking your question and will provide an answer to you shortly...
View more
  • x
  • convention:

BAZ
BAZ MVE Author Created Nov 26, 2020 21:56:03

the issue is originated by the fact that in iBGP sessions the AS path attribute is not modified when propagating an advertisement to another iBGP peer. Actually when sending the advertisement to an eBGP peer the AS number of the BGP speaker is added to the AS path attribute.

This behavior has the potential for loops in the propagation of the advertisement that can travel among several iBGP peers and could be sent back to the original node that injected the route in the AS.

The real problem arises if the originator node withdraws the BGP advertisement, in absence of control mechanisms the node could be fooled by a copy of the advertisement received by another node and re-advertise the just withdrawn IP prefix.

As a result in the AS, there would still be present an advertisement for a prefix that is not existing anymore.

For this reason, an iBGP speaker cannot propagate advertisements received by an iBGP peer RX to any other iBGP peer.

This mechanism is built-in BGP and cannot be disabled for the reasons explained above.

The most important consequence is the requirement for a full mesh of iBGP sessions that leads to scalability problems, because given N iBGP nodes

N*(N-1)/2


When a BGP speaker receives an UPDATE message from an internal  peer, the receiving BGP speaker shall not re-distribute the routing  information contained in that UPDATE message to other internal peers. This is split horizon rule use within AS to prevent loops


View more
  • x
  • convention:

DDSN
DDSN Admin Created Nov 27, 2020 02:06:25

Hi kacpersky,
Between ASs, BGP loop prevention is implemented through AS_PATH. However, AS_PATH is changed only when the route leaves the AS. Therefore, IBGP does not have the loop prevention capability like EBGP in the AS. Therefore, IBGP split horizon is used. To prevent loops, a BGP router does not advertise the routes learned from an IBGP peer to other IBGP peers.
Without this mechanism, when three routers are connected and IBGP neighbors are established, updates sent by one of the routers are looped infinitely between the three routers.
View more
  • x
  • convention:

kacpersky
kacpersky Created Nov 27, 2020 07:50:45 (0) (0)
thank you now its clear  
yaseenbalti225
yaseenbalti225 Created Feb 8, 2021 20:59:28 (0) (0)
we see in hub and spoke topology same As num is found multiple time in as-path but loop not occur , why their is no loop exit in that as-path.  

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.