Loop prevention mechanism on BGP routing

221 views 11 slides May 03, 2024
Slide 1
Slide 1 of 11
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11

About This Presentation

Presentation on BGP protocol


Slide Content

Presentation (Topic: Loop Prevention Mechanism in BGP) Presented By Arafat Ashrafi Talha Student ID: BWU/MNC/22/006 Course Name: Routing Professional Course Code: MNCS301 D epartment of Cyber Science & Technology

Introduction: BGP (Border Gateway Protocol) is a path vector routing protocol used to exchange routing information between Autonomous Systems ( ASes ). BGP does not maintain a complete topology of the network, but instead relies on the AS_PATH attribute to track the path that a route has taken to reach it. This attribute contains a list of all AS numbers that the route has traversed.

WHAT IS LOOP PREVENTION? Loop prevention in networking is a feature that prevents loops from forming. Loops can cause network instability, congestion, and performance degradation

BGP loop prevention mechanisms: AS_PATH attribute Split horizon rule cloud

AS_PATH Attribute: The AS_PATH attribute is a mandatory attribute in BGP updates. It contains a list of all AS numbers that the route has traversed to reach the advertising router. When a BGP router receives an update, it compares the AS_PATH attribute of the update to its own AS number. If the BGP router sees its own AS number in the AS_PATH attribute, it discards the update. This prevents loops from forming in the BGP network.

Split Horizon Rule: The split horizon rule states that a BGP router should not advertise a route to a neighbor from which it learned the route. This prevents loops from forming in the BGP network, even if the AS_PATH attribute is not properly configured.

Loop Prevention in IBGP and EBGP : The loop prevention mechanisms described above apply to both IBGP (Interior BGP) and EBGP (Exterior BGP). IBGP is used to exchange routing information between routers within the same AS. EBGP is used to exchange routing information between routers in different ASes .

Loop Prevention in IBGP : In IBGP, the split horizon rule is the primary loop prevention mechanism. This is because all IBGP peers have the same AS number, so the AS_PATH attribute cannot be used to prevent loops.

Loop Prevention in EBGP : In EBGP, the AS_PATH attribute is the primary loop prevention mechanism. This is because each EBGP peer has a unique AS number, so the AS_PATH attribute can be used to track the path that a route has taken to reach the advertising router.

Conclusion: BGP loop prevention mechanisms are essential for preventing routing loops from forming in the BGP network. Without loop prevention, routing loops can cause network congestion, outages, and other problems.

THANK YOU
Tags