Border Gateway Protocol (BGP) : (For CCNA R&S)
Border Gateway Protocol (BGP) : (For CCNA R&S)
(For CCNA ‐ R&S)
Prepared By:
Phyo Arkar (Founder/Principal @Y‐Max)
(B.Sc:Phys), Dip In IT(UK)
CCNP (Cisco Inc.,USA), CCNA, MCP, MCSA,
MCSE,MCTS, MCSE+S, MCITP, MCSA+S,
CompTIA Network+
MTCNA,MTCRE,MTCINE,MTCTCE,MTCUME
Y‐Max ICT Training Center
“Our Mission”
“The Advanced Technical Education For Professional
Careers, Carried Out In A Real Professional Way.”
Please like and share it for us. Warmly welcome to any
question concern with IT.
https://www.facebook.com/infoymax
Y‐Max ICT Training Center
Contact Address
Center-1 (လမ္းမေတာ္)
အမွတ္(၁၁) ၊ ၄လႊာ ၊ ၁၃လမ္း (ေအာက္လမ္း) ၊ လမ္းမေတာ္ၿမိဳ ႔နယ္ ၊ ရန္ကုန္။
PH : 09 793354330~31, 01 224056
Center-2 (လွည္းတန္း)
တိုက္(၁) ၊ အခန္း(၄၉) ၊ အင္းစိန္လမ္းမၾကီး ၊ လွည္းတန္းမီးပိြဳင္႔အနီး ၊ ကမာရြတ္ၿမိဳ ႔နယ္ ၊ ရန္ကုန္။
PH : 09 261319178, 09 972707373
Center-3 (ဗိုလ္တစ္ေထာင္)
အမွတ္ (၁၁၇) ၊ ၃လႊာ ၊ ၄၆လမ္း (အထက္ဘေလာက္) ၊ ဗိုလ္တစ္ေထာင္ၿမိဳ႔နယ္ ၊ ရန္ကုန္။
PH : 09 793354334, 09 793354335
Email : [email protected] Facebook : https://www.facebook.com/infoymax
Y‐Max ICT Training Center
What is BGP?
The Border Gateway Protocol (BGP) is the routing
protocol of the Internet, used to route traffic across the
Internet.
BGP is relevant to network administrators of large
organizations which connect to two or more ISPs, as well
as to Internet Service Providers (ISPs) who connect to
other network providers.
Y‐Max ICT Training Center
BGP Basics
EGP (Routes between autonomous systems.)
Path Vector Routing Protocol
Layer 4 protocol
BGPv4, based on RFC 4271
TCP 179
eBGP AD 20
iBGP AD 200
Authentication MD5 B G P
Y‐Max ICT Training Center
Different Internet edge designs and
Terminology
Single‐Homed Design : Single Link
Y‐Max ICT Training Center
Different Internet edge designs and
Terminology
Y‐Max ICT Training Center
Different Internet edge designs and
Terminology
Y‐Max ICT Training Center
Different Internet edge designs and
Terminology
Y‐Max ICT Training Center
Overview of iBGP and eBGP
There are two types of neighbors in BGP:
1. iBGP (Internal BGP)
2. eBGP (External BGP)
Y‐Max ICT Training Center
Internal Border Gateway Protocol (iBGP )
A BGP session is established between two neighbors in
the same AS, the session is internal BGP (IBGP). In a
figure illustrates this concept.
Y‐Max ICT Training Center
External Border Gateway Protocol (EBGP )
A BGP session is established between two neighbors in
different autonomous systems, the session is external
BGP (EBGP)
Y‐Max ICT Training Center
iBGP Vs eBGP
Neighbors in different autonomous systems communicate
using iBGP and eBGP.
Y‐Max ICT Training Center
BGP Path Attributes
There will be multiple routes to the same destination. BGP
therefore uses path attributes to decide how to route
traffic to specific networks.
List of BGP Path Attributes
1. Origin 6. Aggregator
2. As_Path 7. Community
3. Next_Hop 8. Multi_Exit_Disc (MED)
4. Local_Preference 9. Originator_Id
5. Atomic_Aggregate 10.Cluster List
Y‐Max ICT Training Center
AS_PATH
A BGP path attribute that contains the list of autonomous
systems into which packets must flow in order to reach a
specified destination network, where BGP prefers shorter
AS paths.
Y‐Max ICT Training Center
Local Preference
Packet Types
Open
Update
Keepalive
Notification
Y‐Max ICT Training Center
Neighbor States
Idle ‐ Neighbor is not responding
Active ‐ Attempting to connect
Connect ‐ TCP session established
Open Confirm ‐ Response received
Established ‐ Adjacency established
Y‐Max ICT Training Center
eBGP Configuration
Design for sample eBGP Neighbor Configurations
R1(config)#router bgp 100
R1(config‐router)#neighbor 10.1.12.2 remote‐as 200
R1(config‐router)#network 1.1.1.0 mask 255.255.255.0
R2(config)#router bgp 200
R2(config‐router)#neighbor 10.1.12.1 remote‐as 100
R2(config‐router)#network 2.2.2.0 mask 255.255.255.0
Y‐Max ICT Training Center
Verifying eBGP Neighbors
eBGP Neighbor State and TCP Connection
#show ip route bgp
#show tcp brief
#show ip bgp summary
#show ip bgp neighbors
#show ip bgp neighbors ip‐address routes
Y‐Max ICT Training Center
Thanks for your attention!
Any Questions?