SlideShare a Scribd company logo
2
Most read
3
Most read
4
Most read
BGP (Border Gateway Routing Protocol) is a standardized exterior
gateway protocol designed to exchange routing and accessibility
information between autonomous systems (AS) on the Internet.
The Border Gateway Protocol makes routing decisions based on
paths, network policies or rule-sets configured by a network
administrator, and are involved in making core routing decisions.
BGP is a very robust and scalable routing protocol, as evidenced by
the fact that BGP is the routing protocol employed on the Internet.
INTRODUCTION
 It is a routing protocol.
 RIP and OSPF are interior for exchanging routing information between
gateways (commonly routers) within an Autonomous System (for example, a
system of corporate local area networks). so BGP is different from these
protocols.
 it is ERP(exterior routing protocol) which is used to connect two or more
autonomous systems.
 it connects two or more organization networks with each other and may be
used by a single big organization to connect their systems.
 It is used by ISP(internet service provider) like(BSNL,MTNL,DOLPHIN
etc.)that's why it is also known as routing protocol of internet.
Introduction(Conti…)
 If any big organization having two or more internet
connections then in this situation they can also use this
BGP protocol to connect with more than one ISPs to keep
connection with all ISP’s internet connection.
 This is known as multi homing.
 Multi homing refers to a computer or device connected to
more than one
computer network. It can be used, for example, to
increase the reliability of an Internet Protocol network,
such as a user served by more than one Internet service
provider.
History
 Before bgp there was an exterior gateway protocol(egp).
 It got replaced by BGP and since 1994 we are using BGPv4. And it
supports CIDR method means classless internet domain routing with
the help of this we can perform subnetting and supernetting.
 we can also keep our routing table small and effective.
 OSPF is link state protocol and RIP is a distance vector protocol.
 But BGP is neither link state or distance vector.it is path vector routing
protocol.
 routing decisions are made based on:
1.path
2.network policies.
3.rules
4 Types of messages
1.Open:
 In this firstly we create a connection with TCP.
 After this we can send an open message.
 Open message carries several parameters thorough which they check
validity of each of them
 These parameters decide that we should communicate or not .
 That can be agreed by BGP neighbors(AS).
2.Update:
 After getting open message we can send update message.
 It contains the actual rout updates.
 It composed of:
o NLRI(network layer reachability ).
o AS-path.
o AS-attribute.
Types of messages
3.Keep alive:
 Keep the session running when there are no updates.
 Let BGP speakers know that they are still there.
 If we don’t get any keepalive message then BGP will remove
all the informations about that particular peer which was
stored in the routing table.
4.Notification:
 It is used to send the error message.
 It may be any kind of message like:
o Update corrupt message.
o If router needs to turn off a session unexpectedly.
BGP states
 Idle:it starts TCP conn with BGP peers.it won’t accept BGP
connetion until Tcp conn is established.
 Connect:after tcp connect,.peer sends open msg to peer.
 Active state:if tcp is unsuccessful then it stays in active state .
Restart the process.
 Open sent :if connect state is sucessful.open msg are listened
and validity is of msg is checked.
 If open sent is successful send keepalive messsage
 Keepalive msg:maintains the sessions .contains timer .
 Open confirm:bgp router recieves keepalive msg. If success the
established state;
 Established:if successful ,Bgp protocol exchanges updated
routing info. Among routers involved in the communication.
Communication
 It uses TCP port no 179.
 TCP used for reliability. Because it sends acknowledgment.
 Slowest routing protocol. Actually it is design intentionally
to be slow because by this it can take routing decision
slowly because in internet ,links and networks goes up and
down time by time if it will take fast decision then may be
which link or network went down will go up after some
time then it has to take routing decision again. So it will
consume more energy to route and we wouldn't be use
other network resources properly.
BGP terminology
 BGP Peers and peering:
*BGP neighbors are known as BGP peers.
*when BGP routers exchange routes with another BGP
called peering.
*in this we can establish peering by manual
configuration.
BGP AS(Autonomous system)
 Autonomous systems are group of routers.
 They share similar routing policies.
 Operate within a single administrative domain.
 Typically belongs to one organization.
 AS numbers can be between 1 to 65535.
TYPES OF AS
 Types of AS system:
1.Stub AS: it has only connection to the another AS.
The host in the AS can send data traffic to other AS similary it can
receive data coming from other AS.
However, the data can’t be pass through the stub AS because it acts as
a source or a sink.
Ex: local ISP.
2.Multi homing:Multi homing refers to a computer or device connected
to more than one computer network. It can be used, for example, to
increase the reliability of an Internet Protocol network, such as a user
served by more than one Internet service provider.
3.Transient:it also a multihome ISP that supports transient data.
Ex:NSPs and ISPs.
IASA and RIRs
 IASA: The Internet Assigned Numbers Authority (IANA) is
a department of ICANN, a nonprofit private American
corporation that oversees global IP address allocation,
autonomous system number allocation, root zone
management in the Domain Name System (DNS), media
types, and other Internet Protocol-related symbols and
numbers.
 RIRs: A regional Internet registry (RIR) is an organization
that manages the allocation and registration of Internet
number resources within a particular region of the world.
Internet number resources include IP addresses and
autonomous system (AS) numbers.
BGP NLRI
 The Network Layer Reachability Information (NLRI) is exchanged
between BGP routers using UPDATE messages. An NLRI is composed
of a LENGTH and a PREFIX.
 The length is a network mask in CIDR notation (eg. /25) specifying the
number of network bits, and the prefix is the Network address for that
subnet.
 The NLRI is unique to BGP version 4 and allows BGP to carry
supernetting information, as well as perform aggregation.
 The NLRI would look something like one of these:
 /25, 204.149.16.128
 /23, 206.134.32
 /8, 10
 Only one NLRI is included in an UPDATE Message, though there may
be multiple AS-paths and AS-path attributes.
BGP Types
1.internl BGP(iBGP):
 Neighbors that belong to the same AS.
 These neighbors needn't to be directly connected.
2.External BGP(eBGP):
 Neighbors that belong to the different AS.
 These neighbors need to be directly connected.
BGP Attributes
 The matrix used by BGP are called path attributes.
-as path.
-next hop.
-local preference , etc.

More Related Content

PPT
BGP protocol presentation
PPTX
EIGRP Routing Protocols
PDF
BGP (border gateway routing protocol)
PDF
How BGP Works
PPTX
Bgp protocol
PPTX
Border Gatway Protocol
PDF
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
PPTX
Border Gateway Protocol (BGP)
BGP protocol presentation
EIGRP Routing Protocols
BGP (border gateway routing protocol)
How BGP Works
Bgp protocol
Border Gatway Protocol
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
Border Gateway Protocol (BGP)

What's hot (20)

PPTX
Dynamic routing protocols (CCNA)
PPTX
Border Gateway Protocol
PPT
CCNA SUMMER TRAINNING PPT
PPTX
Routing protocols
PPT
Routing and OSPF
PPT
Chapter 06 - Routing
PPTX
Why we need ipv6...
PPTX
Open Shortest Path First
PPTX
EIGRP (Enhanced Interior Gateway Routing Protocol)
PPT
PPT
PDF
PPTX
ROUTER PPT
PPTX
Routing Protocols and Concepts - Chapter 1
PDF
EIGRP (enhanced interior gateway routing protocol)
PPTX
CCNA ppt Day 1
PDF
Segment Routing Lab
PPTX
Open Shortest Path First (OSPF) || 2020 || Ser-2
PDF
Eigrp Cheatsheet - EIGRP in 15 min - Rishabh Dangwal - www.theprohack.com
PDF
Transition ipv4-ipv6
Dynamic routing protocols (CCNA)
Border Gateway Protocol
CCNA SUMMER TRAINNING PPT
Routing protocols
Routing and OSPF
Chapter 06 - Routing
Why we need ipv6...
Open Shortest Path First
EIGRP (Enhanced Interior Gateway Routing Protocol)
ROUTER PPT
Routing Protocols and Concepts - Chapter 1
EIGRP (enhanced interior gateway routing protocol)
CCNA ppt Day 1
Segment Routing Lab
Open Shortest Path First (OSPF) || 2020 || Ser-2
Eigrp Cheatsheet - EIGRP in 15 min - Rishabh Dangwal - www.theprohack.com
Transition ipv4-ipv6
Ad

Viewers also liked (20)

PPTX
An Overview of Border Gateway Protocol (BGP)
PPT
BGP Overview
PPTX
Open shortest path first (ospf)
PPTX
OSPF Basics
PDF
Bgp tutorial for ISP
PPTX
Link state routing protocol
PPSX
RIP - Routing Information Protocol
PPTX
Routing Information Protocol
PPTX
Ppt of routing protocols
PPT
Distance vector routing
PDF
Module 5 high speed swan,atm,transport layer
PDF
How to change mac address
PPT
PDF
BGP Traffic Engineering with SDN Controller
PPTX
Implementing Internet and MPLS BGP
PPTX
Using BGP To Manage Dual Internet Connections
PDF
BGP Advance Technique by Steven & James
PDF
Сети для самых маленьких. Часть восьмая. BGP и IP SLA
PPTX
BGP Traffic Engineering / Routing Optimisation
An Overview of Border Gateway Protocol (BGP)
BGP Overview
Open shortest path first (ospf)
OSPF Basics
Bgp tutorial for ISP
Link state routing protocol
RIP - Routing Information Protocol
Routing Information Protocol
Ppt of routing protocols
Distance vector routing
Module 5 high speed swan,atm,transport layer
How to change mac address
BGP Traffic Engineering with SDN Controller
Implementing Internet and MPLS BGP
Using BGP To Manage Dual Internet Connections
BGP Advance Technique by Steven & James
Сети для самых маленьких. Часть восьмая. BGP и IP SLA
BGP Traffic Engineering / Routing Optimisation
Ad

Similar to bgp protocol (20)

PDF
BORDER GATEWAY PROTOCOL
PPT
DOCX
Network interview questions
PDF
U5CSS2 (1).pdf
PPT
Routing
PPTX
PDF
Optimal Performance Analysis Enabling OSPF and BGP in Internal and External WAN
PDF
BGP.pdf
PDF
3a.Error detection provides for accurate data transfer. Indeed, if.pdf
PPTX
Chapter -1 Basic Network Routing Concepts.pptx
PDF
Network Layer & Transport Layer
PDF
C0343015019
PPTX
Lec 16 - EIGRPLecturesofdlddeerrfff.pptx
PPTX
Routing Protocols
PDF
Basic Introduction to Technology (networking).pdf
PPTX
Routing protocols.pptx
BORDER GATEWAY PROTOCOL
Network interview questions
U5CSS2 (1).pdf
Routing
Optimal Performance Analysis Enabling OSPF and BGP in Internal and External WAN
BGP.pdf
3a.Error detection provides for accurate data transfer. Indeed, if.pdf
Chapter -1 Basic Network Routing Concepts.pptx
Network Layer & Transport Layer
C0343015019
Lec 16 - EIGRPLecturesofdlddeerrfff.pptx
Routing Protocols
Basic Introduction to Technology (networking).pdf
Routing protocols.pptx

Recently uploaded (20)

PPTX
Cell Structure & Organelles in detailed.
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
Classroom Observation Tools for Teachers
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Basic Mud Logging Guide for educational purpose
PPTX
Cell Types and Its function , kingdom of life
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
Complications of Minimal Access Surgery at WLH
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Pre independence Education in Inndia.pdf
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
O7-L3 Supply Chain Operations - ICLT Program
Cell Structure & Organelles in detailed.
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Classroom Observation Tools for Teachers
Final Presentation General Medicine 03-08-2024.pptx
2.FourierTransform-ShortQuestionswithAnswers.pdf
Basic Mud Logging Guide for educational purpose
Cell Types and Its function , kingdom of life
O5-L3 Freight Transport Ops (International) V1.pdf
Microbial disease of the cardiovascular and lymphatic systems
TR - Agricultural Crops Production NC III.pdf
Complications of Minimal Access Surgery at WLH
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Pre independence Education in Inndia.pdf
Supply Chain Operations Speaking Notes -ICLT Program
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
Anesthesia in Laparoscopic Surgery in India
O7-L3 Supply Chain Operations - ICLT Program

bgp protocol

  • 1. BGP (Border Gateway Routing Protocol) is a standardized exterior gateway protocol designed to exchange routing and accessibility information between autonomous systems (AS) on the Internet. The Border Gateway Protocol makes routing decisions based on paths, network policies or rule-sets configured by a network administrator, and are involved in making core routing decisions. BGP is a very robust and scalable routing protocol, as evidenced by the fact that BGP is the routing protocol employed on the Internet.
  • 2. INTRODUCTION  It is a routing protocol.  RIP and OSPF are interior for exchanging routing information between gateways (commonly routers) within an Autonomous System (for example, a system of corporate local area networks). so BGP is different from these protocols.  it is ERP(exterior routing protocol) which is used to connect two or more autonomous systems.  it connects two or more organization networks with each other and may be used by a single big organization to connect their systems.  It is used by ISP(internet service provider) like(BSNL,MTNL,DOLPHIN etc.)that's why it is also known as routing protocol of internet.
  • 3. Introduction(Conti…)  If any big organization having two or more internet connections then in this situation they can also use this BGP protocol to connect with more than one ISPs to keep connection with all ISP’s internet connection.  This is known as multi homing.  Multi homing refers to a computer or device connected to more than one computer network. It can be used, for example, to increase the reliability of an Internet Protocol network, such as a user served by more than one Internet service provider.
  • 4. History  Before bgp there was an exterior gateway protocol(egp).  It got replaced by BGP and since 1994 we are using BGPv4. And it supports CIDR method means classless internet domain routing with the help of this we can perform subnetting and supernetting.  we can also keep our routing table small and effective.  OSPF is link state protocol and RIP is a distance vector protocol.  But BGP is neither link state or distance vector.it is path vector routing protocol.  routing decisions are made based on: 1.path 2.network policies. 3.rules
  • 5. 4 Types of messages 1.Open:  In this firstly we create a connection with TCP.  After this we can send an open message.  Open message carries several parameters thorough which they check validity of each of them  These parameters decide that we should communicate or not .  That can be agreed by BGP neighbors(AS). 2.Update:  After getting open message we can send update message.  It contains the actual rout updates.  It composed of: o NLRI(network layer reachability ). o AS-path. o AS-attribute.
  • 6. Types of messages 3.Keep alive:  Keep the session running when there are no updates.  Let BGP speakers know that they are still there.  If we don’t get any keepalive message then BGP will remove all the informations about that particular peer which was stored in the routing table. 4.Notification:  It is used to send the error message.  It may be any kind of message like: o Update corrupt message. o If router needs to turn off a session unexpectedly.
  • 7. BGP states  Idle:it starts TCP conn with BGP peers.it won’t accept BGP connetion until Tcp conn is established.  Connect:after tcp connect,.peer sends open msg to peer.  Active state:if tcp is unsuccessful then it stays in active state . Restart the process.  Open sent :if connect state is sucessful.open msg are listened and validity is of msg is checked.  If open sent is successful send keepalive messsage  Keepalive msg:maintains the sessions .contains timer .  Open confirm:bgp router recieves keepalive msg. If success the established state;  Established:if successful ,Bgp protocol exchanges updated routing info. Among routers involved in the communication.
  • 8. Communication  It uses TCP port no 179.  TCP used for reliability. Because it sends acknowledgment.  Slowest routing protocol. Actually it is design intentionally to be slow because by this it can take routing decision slowly because in internet ,links and networks goes up and down time by time if it will take fast decision then may be which link or network went down will go up after some time then it has to take routing decision again. So it will consume more energy to route and we wouldn't be use other network resources properly.
  • 9. BGP terminology  BGP Peers and peering: *BGP neighbors are known as BGP peers. *when BGP routers exchange routes with another BGP called peering. *in this we can establish peering by manual configuration.
  • 10. BGP AS(Autonomous system)  Autonomous systems are group of routers.  They share similar routing policies.  Operate within a single administrative domain.  Typically belongs to one organization.  AS numbers can be between 1 to 65535.
  • 11. TYPES OF AS  Types of AS system: 1.Stub AS: it has only connection to the another AS. The host in the AS can send data traffic to other AS similary it can receive data coming from other AS. However, the data can’t be pass through the stub AS because it acts as a source or a sink. Ex: local ISP. 2.Multi homing:Multi homing refers to a computer or device connected to more than one computer network. It can be used, for example, to increase the reliability of an Internet Protocol network, such as a user served by more than one Internet service provider. 3.Transient:it also a multihome ISP that supports transient data. Ex:NSPs and ISPs.
  • 12. IASA and RIRs  IASA: The Internet Assigned Numbers Authority (IANA) is a department of ICANN, a nonprofit private American corporation that oversees global IP address allocation, autonomous system number allocation, root zone management in the Domain Name System (DNS), media types, and other Internet Protocol-related symbols and numbers.  RIRs: A regional Internet registry (RIR) is an organization that manages the allocation and registration of Internet number resources within a particular region of the world. Internet number resources include IP addresses and autonomous system (AS) numbers.
  • 13. BGP NLRI  The Network Layer Reachability Information (NLRI) is exchanged between BGP routers using UPDATE messages. An NLRI is composed of a LENGTH and a PREFIX.  The length is a network mask in CIDR notation (eg. /25) specifying the number of network bits, and the prefix is the Network address for that subnet.  The NLRI is unique to BGP version 4 and allows BGP to carry supernetting information, as well as perform aggregation.  The NLRI would look something like one of these:  /25, 204.149.16.128  /23, 206.134.32  /8, 10  Only one NLRI is included in an UPDATE Message, though there may be multiple AS-paths and AS-path attributes.
  • 14. BGP Types 1.internl BGP(iBGP):  Neighbors that belong to the same AS.  These neighbors needn't to be directly connected. 2.External BGP(eBGP):  Neighbors that belong to the different AS.  These neighbors need to be directly connected.
  • 15. BGP Attributes  The matrix used by BGP are called path attributes. -as path. -next hop. -local preference , etc.