SlideShare une entreprise Scribd logo
1  sur  11
Border Gateway Protocol




                  Kashif Latif
What is BGP…?
Border Gateway Protocol (BGP) is the protocol
which is backing the core routing decisions on
the Internet. It maintains a table of IP networks
or 'prefixes' which designate network reach-
ability among autonomous systems (AS).

It is described as a path vector protocol (which
maintains the path information that gets
updated dynamically).
Count…
 BGP is one of the most important protocols of the
 Internet.
 BGP was created to replace the Exterior
 Gateway Protocol (EGP) to allow fully
 decentralized routing.
 BGP is used internally between the gateways to
 determine which gateway offers the best route
 to a given destination network.
BGP Peering
 Peering is the term used to describe the transit
  arrangements between ISPs.
 There are really two levels of peering, either you are
  a peer or a client. Peer networks agree to carry
  traffic of a peer without charging for it.
 Connections between networks can be private
  point-to-point links or through an exchange. Many
  NSPs are tending to move to private connections
  due to the overload situation at many of the NAPs.
 BGP is the protocol used to exchange routing
  information between the various networks.
Types of BGP Sessions
While the stated purpose of BGP is to allow for the conveyance
of routing information between autonomous systems. Clearly,
BGP routers must communicate differently when they share a
common AS (as opposed to being in different ASs).
In fact, this is the distinction between
1. Internal BGP (IBGP)
2. External BGP (EBGP)

These two variations on the same protocol act virtually the same
in most instances. The differences between them lie in three
areas.
1. Routing update processing
2. Handling of route attributes
3. Connectivity requirements
BGP Message Types
There are four types of BGP messages, each with its own
role in setting up, maintaining, or tearing down a BGP
peering session.
They are listed below:
1. OPEN messages
2. UPDATE messages
3. KEEPALIVE messages
4. NOTIFICATION messages

 None of these messages may be exchanged until two
  BGP routers have first set up a TCP session between
  themselves on port 179. Errors on that TCP link will trigger
  BGP NOTIFICATION messages that will close the
  connection.
BGP Attribute Categories
Attributes are used in the routing decision process.
They might also be used in the input and output
policy definition process.
The four categories of attributes are described below:

1.   Well-known Mandatory
2.   Well-known Discretionary
3.   Optional Transitive
4.   Optional Nontransitive
BGP Routing Process
Most routing protocols receive routing information, use
it to build and maintain a routing table, and share that
table (or a subset of the table) with other routers in the
network.
BGP Problems
With a lots of benefits and importance of BGP in
network, it also have some problem on it’s
maintenance.
The main problems are follow:

1.   Internal BGP scalability
2.   Instability
3.   Routing table growth
4.   Load-balancing problem
5.   IP Hijacking
Implementations
 Bird Internet routing daemon, a GPL routing
  package for Unix-like systems.
 GNU Zebra, a GPL routing suite supporting BGP4.
 OpenBGPD, a BSD licensed implementation by
  the OpenBSD team.
 Quagga, a fork of GNU Zebra for Unix-like systems.
 XORP, the extensible Open Router Platform, a BSD
  licensed suite of routing protocols.
 VNE, a C# software library implementing BGP
Kashif Latif

Contenu connexe

Tendances

An Overview of Border Gateway Protocol (BGP)
An Overview of Border Gateway Protocol (BGP)An Overview of Border Gateway Protocol (BGP)
An Overview of Border Gateway Protocol (BGP)
Jasim Alam
 
Routing Information Protocol
Routing Information ProtocolRouting Information Protocol
Routing Information Protocol
Kashif Latif
 
Juniper MPLS Tutorial by Soricelli
Juniper MPLS Tutorial by SoricelliJuniper MPLS Tutorial by Soricelli
Juniper MPLS Tutorial by Soricelli
Febrian ‎
 

Tendances (20)

Routing Protocols
Routing ProtocolsRouting Protocols
Routing Protocols
 
MPLS + BGP Presentation
MPLS + BGP PresentationMPLS + BGP Presentation
MPLS + BGP Presentation
 
BGP
BGP BGP
BGP
 
An Overview of Border Gateway Protocol (BGP)
An Overview of Border Gateway Protocol (BGP)An Overview of Border Gateway Protocol (BGP)
An Overview of Border Gateway Protocol (BGP)
 
Bgp
BgpBgp
Bgp
 
Routing Protocols
Routing ProtocolsRouting Protocols
Routing Protocols
 
Dynamic routing protocols (CCNA)
Dynamic routing protocols (CCNA)Dynamic routing protocols (CCNA)
Dynamic routing protocols (CCNA)
 
Ospf
 Ospf Ospf
Ospf
 
Routing Information Protocol
Routing Information ProtocolRouting Information Protocol
Routing Information Protocol
 
IS-IS Protocol Introduction
IS-IS Protocol IntroductionIS-IS Protocol Introduction
IS-IS Protocol Introduction
 
Mpls technology
Mpls technologyMpls technology
Mpls technology
 
bgp(border gateway protocol)
bgp(border gateway protocol)bgp(border gateway protocol)
bgp(border gateway protocol)
 
Juniper MPLS Tutorial by Soricelli
Juniper MPLS Tutorial by SoricelliJuniper MPLS Tutorial by Soricelli
Juniper MPLS Tutorial by Soricelli
 
Border Gatway Protocol
Border Gatway ProtocolBorder Gatway Protocol
Border Gatway Protocol
 
Ppt of routing protocols
Ppt of routing protocolsPpt of routing protocols
Ppt of routing protocols
 
Cisco Live Milan 2015 - BGP advance
Cisco Live Milan 2015 - BGP advanceCisco Live Milan 2015 - BGP advance
Cisco Live Milan 2015 - BGP advance
 
BGP (border gateway routing protocol)
BGP (border gateway routing protocol)BGP (border gateway routing protocol)
BGP (border gateway routing protocol)
 
wireless network IEEE 802.11
 wireless network IEEE 802.11 wireless network IEEE 802.11
wireless network IEEE 802.11
 
How BGP Works
How BGP WorksHow BGP Works
How BGP Works
 
IP Routing
IP RoutingIP Routing
IP Routing
 

Similaire à Border Gateway Protocol

BGP
BGPBGP
BIGP- A New Single Protocol that can work as an IGP (Interior Gateway Protoco...
BIGP- A New Single Protocol that can work as an IGP (Interior Gateway Protoco...BIGP- A New Single Protocol that can work as an IGP (Interior Gateway Protoco...
BIGP- A New Single Protocol that can work as an IGP (Interior Gateway Protoco...
IJORCS
 
Border Gateway Protocol (BGP) is the protocol whi.pdf
                     Border Gateway Protocol (BGP) is the protocol whi.pdf                     Border Gateway Protocol (BGP) is the protocol whi.pdf
Border Gateway Protocol (BGP) is the protocol whi.pdf
anandatalapatra
 
routing Protocols and Virtual private network
routing Protocols and Virtual private networkrouting Protocols and Virtual private network
routing Protocols and Virtual private network
hayenas
 
Cube2012 high capacity service provider design using gpmls for ip next genera...
Cube2012 high capacity service provider design using gpmls for ip next genera...Cube2012 high capacity service provider design using gpmls for ip next genera...
Cube2012 high capacity service provider design using gpmls for ip next genera...
Ashish Tanwer
 

Similaire à Border Gateway Protocol (20)

bgp protocol
 bgp protocol bgp protocol
bgp protocol
 
BGP.pdf
BGP.pdfBGP.pdf
BGP.pdf
 
A Survey of Border Gateway Protocol
A Survey of Border Gateway ProtocolA Survey of Border Gateway Protocol
A Survey of Border Gateway Protocol
 
BORDER GATEWAY PROTOCOL
BORDER GATEWAY PROTOCOLBORDER GATEWAY PROTOCOL
BORDER GATEWAY PROTOCOL
 
BGP Protocol Makes the Internet Work
BGP Protocol Makes the Internet WorkBGP Protocol Makes the Internet Work
BGP Protocol Makes the Internet Work
 
BGP
BGPBGP
BGP
 
D017351725
D017351725D017351725
D017351725
 
Solution against BGP vulnerabilities
Solution against BGP vulnerabilitiesSolution against BGP vulnerabilities
Solution against BGP vulnerabilities
 
CCNP ROUTE V7 CH7
CCNP ROUTE V7 CH7CCNP ROUTE V7 CH7
CCNP ROUTE V7 CH7
 
BIGP- A New Single Protocol that can work as an IGP (Interior Gateway Protoco...
BIGP- A New Single Protocol that can work as an IGP (Interior Gateway Protoco...BIGP- A New Single Protocol that can work as an IGP (Interior Gateway Protoco...
BIGP- A New Single Protocol that can work as an IGP (Interior Gateway Protoco...
 
Border Gateway Protocol (BGP) is the protocol whi.pdf
                     Border Gateway Protocol (BGP) is the protocol whi.pdf                     Border Gateway Protocol (BGP) is the protocol whi.pdf
Border Gateway Protocol (BGP) is the protocol whi.pdf
 
BGP Overview
BGP OverviewBGP Overview
BGP Overview
 
Routing Protocols
Routing ProtocolsRouting Protocols
Routing Protocols
 
Part1
Part1Part1
Part1
 
U5CSS2 (1).pdf
U5CSS2 (1).pdfU5CSS2 (1).pdf
U5CSS2 (1).pdf
 
routing Protocols and Virtual private network
routing Protocols and Virtual private networkrouting Protocols and Virtual private network
routing Protocols and Virtual private network
 
Bgp Toc
Bgp TocBgp Toc
Bgp Toc
 
Bigbgp
BigbgpBigbgp
Bigbgp
 
BGP
BGPBGP
BGP
 
Cube2012 high capacity service provider design using gpmls for ip next genera...
Cube2012 high capacity service provider design using gpmls for ip next genera...Cube2012 high capacity service provider design using gpmls for ip next genera...
Cube2012 high capacity service provider design using gpmls for ip next genera...
 

Plus de Kashif Latif (16)

Linear Programming Application
Linear Programming ApplicationLinear Programming Application
Linear Programming Application
 
Analysis of Variance
Analysis of VarianceAnalysis of Variance
Analysis of Variance
 
Cyber Space
Cyber SpaceCyber Space
Cyber Space
 
DHCP
DHCPDHCP
DHCP
 
Core 2 Duo Processor
Core 2 Duo ProcessorCore 2 Duo Processor
Core 2 Duo Processor
 
OSI Layers
OSI LayersOSI Layers
OSI Layers
 
SRX3600 Cluster & IDP
SRX3600 Cluster & IDPSRX3600 Cluster & IDP
SRX3600 Cluster & IDP
 
Routing Polices And Firewall Filter
Routing Polices And Firewall FilterRouting Polices And Firewall Filter
Routing Polices And Firewall Filter
 
Open Shortest Path First
Open Shortest Path FirstOpen Shortest Path First
Open Shortest Path First
 
MX960 Router
MX960 RouterMX960 Router
MX960 Router
 
Link Aggregation Control Protocol
Link Aggregation Control ProtocolLink Aggregation Control Protocol
Link Aggregation Control Protocol
 
Label Distribution Protocol
Label Distribution ProtocolLabel Distribution Protocol
Label Distribution Protocol
 
HA, SRX Cluster & Redundancy Groups
HA, SRX Cluster & Redundancy GroupsHA, SRX Cluster & Redundancy Groups
HA, SRX Cluster & Redundancy Groups
 
Ex8216 Core Switch
Ex8216 Core SwitchEx8216 Core Switch
Ex8216 Core Switch
 
Difference Between XFP & SFP
Difference Between XFP & SFPDifference Between XFP & SFP
Difference Between XFP & SFP
 
Chassis Cluster Configuration
Chassis Cluster ConfigurationChassis Cluster Configuration
Chassis Cluster Configuration
 

Dernier

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Dernier (20)

ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 

Border Gateway Protocol

  • 1. Border Gateway Protocol Kashif Latif
  • 2. What is BGP…? Border Gateway Protocol (BGP) is the protocol which is backing the core routing decisions on the Internet. It maintains a table of IP networks or 'prefixes' which designate network reach- ability among autonomous systems (AS). It is described as a path vector protocol (which maintains the path information that gets updated dynamically).
  • 3. Count…  BGP is one of the most important protocols of the Internet.  BGP was created to replace the Exterior Gateway Protocol (EGP) to allow fully decentralized routing.  BGP is used internally between the gateways to determine which gateway offers the best route to a given destination network.
  • 4. BGP Peering  Peering is the term used to describe the transit arrangements between ISPs.  There are really two levels of peering, either you are a peer or a client. Peer networks agree to carry traffic of a peer without charging for it.  Connections between networks can be private point-to-point links or through an exchange. Many NSPs are tending to move to private connections due to the overload situation at many of the NAPs.  BGP is the protocol used to exchange routing information between the various networks.
  • 5. Types of BGP Sessions While the stated purpose of BGP is to allow for the conveyance of routing information between autonomous systems. Clearly, BGP routers must communicate differently when they share a common AS (as opposed to being in different ASs). In fact, this is the distinction between 1. Internal BGP (IBGP) 2. External BGP (EBGP) These two variations on the same protocol act virtually the same in most instances. The differences between them lie in three areas. 1. Routing update processing 2. Handling of route attributes 3. Connectivity requirements
  • 6. BGP Message Types There are four types of BGP messages, each with its own role in setting up, maintaining, or tearing down a BGP peering session. They are listed below: 1. OPEN messages 2. UPDATE messages 3. KEEPALIVE messages 4. NOTIFICATION messages  None of these messages may be exchanged until two BGP routers have first set up a TCP session between themselves on port 179. Errors on that TCP link will trigger BGP NOTIFICATION messages that will close the connection.
  • 7. BGP Attribute Categories Attributes are used in the routing decision process. They might also be used in the input and output policy definition process. The four categories of attributes are described below: 1. Well-known Mandatory 2. Well-known Discretionary 3. Optional Transitive 4. Optional Nontransitive
  • 8. BGP Routing Process Most routing protocols receive routing information, use it to build and maintain a routing table, and share that table (or a subset of the table) with other routers in the network.
  • 9. BGP Problems With a lots of benefits and importance of BGP in network, it also have some problem on it’s maintenance. The main problems are follow: 1. Internal BGP scalability 2. Instability 3. Routing table growth 4. Load-balancing problem 5. IP Hijacking
  • 10. Implementations  Bird Internet routing daemon, a GPL routing package for Unix-like systems.  GNU Zebra, a GPL routing suite supporting BGP4.  OpenBGPD, a BSD licensed implementation by the OpenBSD team.  Quagga, a fork of GNU Zebra for Unix-like systems.  XORP, the extensible Open Router Platform, a BSD licensed suite of routing protocols.  VNE, a C# software library implementing BGP