SlideShare ist ein Scribd-Unternehmen logo
1 von 20
Downloaden Sie, um offline zu lesen
a	
  little	
  something	
  about	
  BGP	
  
Mike	
  Gaertner,	
  Sabay	
  Digital	
  
ah?	
  
Ê  what	
  is	
  the	
  internet	
  
Ê  who	
  controls	
  it?	
  
Ê  what	
  problem	
  does	
  BGP	
  solve	
  
Ê  how	
  to	
  get	
  free	
  internet	
  	
  
	
  (yes	
  that’s	
  a	
  lie,	
  but	
  stay	
  to	
  learn	
  the	
  truth)	
  
Ê  BGP	
  at	
  Sabay	
  practical	
  stuff	
  
what	
  is	
  the	
  internet,	
  really?	
  
Ê  a	
  collection	
  of	
  52059	
  autonomous	
  systems	
  (AS)	
  on	
  Oct	
  15	
  2015	
  
Ê  each	
  network	
  has	
  a	
  number	
  of	
  IP	
  address,	
  group	
  into	
  prefix	
  	
  
Ê  	
  575,609	
  prefix	
  are	
  visible	
  in	
  the	
  global	
  routing	
  table	
  
Ê  no	
  government	
  regulations	
  
who	
  is	
  in	
  charge?	
  
how?	
  
Ê  if	
  you	
  have	
  IP	
  address	
  
space	
  from	
  APNIC	
  they	
  will	
  
assign	
  you	
  a	
  AS	
  number	
  for	
  
free	
  J	
  
Ê  AS	
  numbers	
  used	
  on	
  the	
  
internet	
  to	
  identify	
  each	
  of	
  
the	
  52000	
  participating	
  
networks	
  
	
  
Ê  anyone	
  can	
  get	
  a	
  IP	
  address	
  
range	
  from	
  APNIC	
  if	
  they	
  can	
  
demonstrate	
  the	
  need	
  it	
  
Ê  the	
  need	
  arises	
  if	
  you	
  connect	
  
to	
  more	
  then	
  1	
  ISP	
  and	
  you	
  
have	
  infrastructure	
  that	
  will	
  
use	
  50%	
  of	
  the	
  allocation	
  
within	
  1	
  year	
  
BGP	
  
Ê  DNS	
  is	
  the	
  address	
  book	
  of	
  the	
  internet	
  
Ê  BGP	
  is	
  the	
  mapping	
  software	
  of	
  the	
  internet	
  
Ê  it	
  glues	
  together	
  52,000	
  networks	
  and	
  remembers	
  at	
  its	
  core	
  
where	
  to	
  find	
  over	
  570,000	
  prefixes	
  /	
  destination	
  networks	
  
Ê  BGP	
  in	
  it’s	
  most	
  simple	
  form	
  connects	
  2	
  network	
  
Ê  it	
  is	
  established	
  between	
  2	
  AS	
  numbers	
  and	
  it	
  exchanges	
  
information	
  about	
  prefixes	
  own	
  by	
  each	
  AS	
  and	
  installs	
  a	
  
route	
  for	
  each	
  prefix	
  (mostly)	
  
what	
  is	
  a	
  prefix?	
  
118.67.200.0/21	
  
118.67.200.0/24	
  
118.67.201.0/24	
  
118.67.202.0/24	
  
118.67.203.0/24	
  
118.67.204.0/24	
  
118.67.205.0/24	
  
118.67.206.0/24	
  
118.67.207.0/24	
  
118.67.200.0/23	
  
118.67.202.0/23	
  
118.67.204.0/23	
  
118.67.206.0/23	
  
	
  
118.67.200.0/22	
  
118.67.204.0/22	
  
	
  
if	
  you	
  wonder	
  how	
  52,000	
  networks	
  can	
  have	
  570,000	
  prefixes,	
  that’s	
  how!	
  
pollution	
  is	
  the	
  right	
  word	
  
in	
  the	
  beginning	
  
Ê  BGP	
  was	
  designed	
  during	
  a	
  break	
  at	
  a	
  IETF	
  meeting	
  in	
  January	
  1989	
  
in	
  Texas,	
  Austin	
  
Ê  3	
  napkins	
  where	
  used	
  to	
  “invent”	
  the	
  core	
  concepts	
  
Ê  by	
  October	
  1989	
  at	
  the	
  IETF	
  meeting	
  in	
  Hawaii	
  version	
  BGP-­‐v2	
  was	
  
introduced	
  
Ê  1991	
  BGP-­‐v3	
  was	
  being	
  used	
  at	
  a	
  peer-­‐by-­‐peer	
  bases,	
  Cisco	
  adding	
  
support	
  for	
  BGP	
  
Ê  1993	
  most	
  networks	
  had	
  implemented	
  BGP-­‐3,	
  facing	
  out	
  EGP	
  
Ê  1994	
  BGP-­‐v4	
  universal	
  adoption	
  at	
  tier	
  1	
  carriers	
  
BGP	
  get	
  connected	
  
Ê  so	
  you	
  have	
  your	
  IP	
  space,	
  got	
  your	
  ASN	
  and	
  now?	
  
Ê  get	
  connected	
  
Ê  transit,	
  you	
  buy	
  access	
  to	
  the	
  internet	
  from	
  a	
  transit	
  provider	
  
Ê  peer	
  direct	
  with	
  friendly	
  networks	
  
Ê  or	
  peer	
  at	
  a	
  free	
  peering	
  exchange	
  like	
  CNX	
  
Cambodia	
  -­‐	
  transit	
  
Peers	
  at	
  CNX	
  
you	
  can	
  reach	
  every	
  internet	
  user	
  in	
  
Cambodia	
  via	
  CNX	
  peers	
  for	
  free	
  
BGP	
  @	
  Sabay	
  –	
  our	
  peering	
  
7712	
  
CORE	
  
TCT	
  
CNX	
   SI	
  
7712	
  
DC	
  
204/23	
  PPPoE	
  201/24	
  Backup	
  200/24	
  Content	
   202/24	
  Games	
  
MKN	
  
BGP	
  @	
  Sabay	
  -­‐	
  our	
  routing	
  policy	
  
Ê  we	
  want	
  to	
  deliver	
  content	
  as	
  cheap	
  as	
  possible	
  and	
  as	
  fast	
  as	
  
possible	
  to	
  users	
  in	
  Cambodia	
  
Ê  we	
  want	
  to	
  give	
  out	
  customers	
  a	
  smooth	
  internet	
  access	
  
experience	
  
Ê  remember:	
  
Ê  	
  routes	
  you	
  import	
  decided	
  your	
  outgoing	
  traffic	
  routes	
  
Ê  what	
  you	
  export	
  decides	
  how	
  traffic	
  gets	
  to	
  you	
  
	
  
•  TCT	
  
•  0.0.0.0/0.0.0.0	
  
•  CNX	
  
•  everything	
  <	
  /24	
  
•  highest	
  local	
  preference	
  
•  MKN	
  
•  everything	
  <	
  /24	
  
•  second	
  highest	
  local	
  preference	
  
•  SI	
  
•  nothing	
  
	
  
BGP	
  @	
  Sabay	
  -­‐	
  import	
  policy	
  
7712	
  
TCT	
  
CNX	
  
SI	
  
MKN	
  
default	
  only?	
  
7712	
  
TCT	
   SI	
  
HK	
  SIN	
  
EU	
   US	
  
NY	
  
DC	
  
You	
  are	
  only	
  in	
  
charge	
  of	
  selecting	
  
the	
  first	
  hop	
  a	
  
packet	
  may	
  travel	
  
to	
  it	
  destination!	
  
BGP	
  @	
  Sabay	
  –	
  export	
  policy	
  
7712	
  
TCT	
  
CNX+	
  
MKN	
  
SI	
  
118.67.200.0/21	
  
118.67.200.0/24	
  (content)	
  
118.67.202.0/24	
  (game)	
  
remember	
  what	
  you	
  export	
  
controls	
  how	
  traffic	
  comes	
  to	
  you!	
  
the	
  
net	
  
+1	
  
BGP	
  export	
  –	
  puts	
  you	
  in	
  control	
  
7712	
  
TCT	
  
MKN	
  
118.67.200.0/21	
  
118.67.200.0/21	
  
If	
  we	
  only	
  announce	
  118.67.200.0/21	
  then	
  ISP	
  X	
  can	
  choose	
  
which	
  way	
  he	
  want	
  to	
  send	
  traffic	
  to	
  us.	
  
ISP	
  X	
  
BGP	
  export	
  –	
  puts	
  you	
  in	
  control	
  
7712	
  
TCT	
  
MKN	
  
ISP	
  X	
  
118.67.200.0/21	
  
118.67.200.0/21	
  
118.67.200.0/24	
  
118.67.200.0/24	
  
but	
  if	
  announce	
  important	
  parts	
  of	
  our	
  network	
  only	
  via	
  the	
  free	
  peering,	
  
then	
  we	
  can	
  ensure	
  traffic	
  for	
  our	
  content	
  will	
  be	
  delivered	
  via	
  our	
  free	
  link.	
  
BGP	
  communities	
  
7712	
   TCT	
  
GGC	
  
118.67.200.0/21	
  
118.67.200.4/23	
  -­‐	
  7712:5555	
  
very	
  simple,	
  community	
  means	
  a	
  extra	
  bit	
  of	
  information	
  per	
  prefix.	
  
the	
  
net	
  
118.67.200.0/21	
  
BGP Prime

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

BGP
BGPBGP
BGP
 
Cisco Live Milan 2015 - BGP advance
Cisco Live Milan 2015 - BGP advanceCisco Live Milan 2015 - BGP advance
Cisco Live Milan 2015 - BGP advance
 
BGP
BGPBGP
BGP
 
BGP Monitoring Protocol
BGP Monitoring ProtocolBGP Monitoring Protocol
BGP Monitoring Protocol
 
Ospf.ppt
Ospf.pptOspf.ppt
Ospf.ppt
 
bgp(border gateway protocol)
bgp(border gateway protocol)bgp(border gateway protocol)
bgp(border gateway protocol)
 
MPLS + BGP Presentation
MPLS + BGP PresentationMPLS + BGP Presentation
MPLS + BGP Presentation
 
Part1
Part1Part1
Part1
 
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 protocol presentation
BGP protocol  presentationBGP protocol  presentation
BGP protocol presentation
 
BGP Traffic Engineering / Routing Optimisation
BGP Traffic Engineering / Routing OptimisationBGP Traffic Engineering / Routing Optimisation
BGP Traffic Engineering / Routing Optimisation
 
Study Notes BGP Exam
Study Notes BGP ExamStudy Notes BGP Exam
Study Notes BGP Exam
 
BGP Advance Technique by Steven & James
BGP Advance Technique by Steven & JamesBGP Advance Technique by Steven & James
BGP Advance Technique by Steven & James
 
Border Gateway Protocol
Border Gateway ProtocolBorder Gateway Protocol
Border Gateway Protocol
 
Bgp (1)
Bgp (1)Bgp (1)
Bgp (1)
 
Bgp protocol
Bgp protocolBgp protocol
Bgp protocol
 
Bgp multihoming
Bgp multihomingBgp multihoming
Bgp multihoming
 
Bgp For Presentation
Bgp For PresentationBgp For Presentation
Bgp For Presentation
 
Bgp
BgpBgp
Bgp
 
Bgp
BgpBgp
Bgp
 

Ähnlich wie BGP Prime

project on OSPF
project on OSPFproject on OSPF
project on OSPFOm Prakash
 
Network Interface Card.pdf
Network Interface Card.pdfNetwork Interface Card.pdf
Network Interface Card.pdfKurtGardy
 
Whats so special about 512?, by Geoff Huston [APNIC 38 / APOPS 3]
Whats so special about 512?, by Geoff Huston [APNIC 38 / APOPS 3]Whats so special about 512?, by Geoff Huston [APNIC 38 / APOPS 3]
Whats so special about 512?, by Geoff Huston [APNIC 38 / APOPS 3]APNIC
 
Networking peer-to-peer-powerpoint-presentation4410 (1)
Networking peer-to-peer-powerpoint-presentation4410 (1)Networking peer-to-peer-powerpoint-presentation4410 (1)
Networking peer-to-peer-powerpoint-presentation4410 (1)sarmad ali
 
Forensic Tracing in the Internet: An Update
Forensic Tracing in the Internet: An UpdateForensic Tracing in the Internet: An Update
Forensic Tracing in the Internet: An UpdateAPNIC
 
2017 03-01-forensics 1488330715
2017 03-01-forensics 14883307152017 03-01-forensics 1488330715
2017 03-01-forensics 1488330715APNIC
 
Challenges and experiences with IPTV from a network point of view
Challenges and experiences with IPTV from a network point of viewChallenges and experiences with IPTV from a network point of view
Challenges and experiences with IPTV from a network point of viewbrouer
 
The End of IPv4: What It Means for Incident Responders
The End of IPv4: What It Means for Incident RespondersThe End of IPv4: What It Means for Incident Responders
The End of IPv4: What It Means for Incident RespondersCarlos Martinez Cagnazzo
 
Seqüestro de dados na Internet
Seqüestro de dados na InternetSeqüestro de dados na Internet
Seqüestro de dados na InternetJoão S Magalhães
 
768K Day - Internet Doomsday: is it real?
768K Day - Internet Doomsday: is it real?768K Day - Internet Doomsday: is it real?
768K Day - Internet Doomsday: is it real?Dhiman Chowdhury
 
BGP: Whats so special about the number 512?
BGP: Whats so special about the number 512?BGP: Whats so special about the number 512?
BGP: Whats so special about the number 512?GeoffHuston
 
What's so special about the number 512?
What's so special about the number 512?What's so special about the number 512?
What's so special about the number 512?APNIC
 
Running head network design 1 netwo
Running head network design                             1 netwoRunning head network design                             1 netwo
Running head network design 1 netwoAKHIL969626
 
How our Cloudy Mindsets Approached Physical Routers
How our Cloudy Mindsets Approached Physical RoutersHow our Cloudy Mindsets Approached Physical Routers
How our Cloudy Mindsets Approached Physical RoutersSteffen Gebert
 

Ähnlich wie BGP Prime (20)

Networking
NetworkingNetworking
Networking
 
IPv6 examples
IPv6 examplesIPv6 examples
IPv6 examples
 
Bigbgp
BigbgpBigbgp
Bigbgp
 
project on OSPF
project on OSPFproject on OSPF
project on OSPF
 
Ch5
Ch5Ch5
Ch5
 
35d70683c4fd405d89db4a5287aa4b89
35d70683c4fd405d89db4a5287aa4b8935d70683c4fd405d89db4a5287aa4b89
35d70683c4fd405d89db4a5287aa4b89
 
NETWORK INTERFACE CARD
NETWORK INTERFACE CARDNETWORK INTERFACE CARD
NETWORK INTERFACE CARD
 
Network Interface Card.pdf
Network Interface Card.pdfNetwork Interface Card.pdf
Network Interface Card.pdf
 
Whats so special about 512?, by Geoff Huston [APNIC 38 / APOPS 3]
Whats so special about 512?, by Geoff Huston [APNIC 38 / APOPS 3]Whats so special about 512?, by Geoff Huston [APNIC 38 / APOPS 3]
Whats so special about 512?, by Geoff Huston [APNIC 38 / APOPS 3]
 
Networking peer-to-peer-powerpoint-presentation4410 (1)
Networking peer-to-peer-powerpoint-presentation4410 (1)Networking peer-to-peer-powerpoint-presentation4410 (1)
Networking peer-to-peer-powerpoint-presentation4410 (1)
 
Forensic Tracing in the Internet: An Update
Forensic Tracing in the Internet: An UpdateForensic Tracing in the Internet: An Update
Forensic Tracing in the Internet: An Update
 
2017 03-01-forensics 1488330715
2017 03-01-forensics 14883307152017 03-01-forensics 1488330715
2017 03-01-forensics 1488330715
 
Challenges and experiences with IPTV from a network point of view
Challenges and experiences with IPTV from a network point of viewChallenges and experiences with IPTV from a network point of view
Challenges and experiences with IPTV from a network point of view
 
The End of IPv4: What It Means for Incident Responders
The End of IPv4: What It Means for Incident RespondersThe End of IPv4: What It Means for Incident Responders
The End of IPv4: What It Means for Incident Responders
 
Seqüestro de dados na Internet
Seqüestro de dados na InternetSeqüestro de dados na Internet
Seqüestro de dados na Internet
 
768K Day - Internet Doomsday: is it real?
768K Day - Internet Doomsday: is it real?768K Day - Internet Doomsday: is it real?
768K Day - Internet Doomsday: is it real?
 
BGP: Whats so special about the number 512?
BGP: Whats so special about the number 512?BGP: Whats so special about the number 512?
BGP: Whats so special about the number 512?
 
What's so special about the number 512?
What's so special about the number 512?What's so special about the number 512?
What's so special about the number 512?
 
Running head network design 1 netwo
Running head network design                             1 netwoRunning head network design                             1 netwo
Running head network design 1 netwo
 
How our Cloudy Mindsets Approached Physical Routers
How our Cloudy Mindsets Approached Physical RoutersHow our Cloudy Mindsets Approached Physical Routers
How our Cloudy Mindsets Approached Physical Routers
 

Mehr von KHNOG

SIP (Session Initiation Protocol)
SIP (Session Initiation Protocol)SIP (Session Initiation Protocol)
SIP (Session Initiation Protocol)KHNOG
 
Network Attack Counter
Network Attack CounterNetwork Attack Counter
Network Attack CounterKHNOG
 
Wireless Network Pentestration
Wireless Network PentestrationWireless Network Pentestration
Wireless Network PentestrationKHNOG
 
Core Concept of TCP/IP
Core Concept of TCP/IPCore Concept of TCP/IP
Core Concept of TCP/IPKHNOG
 
Bonding Interface in MikroTik
Bonding Interface in MikroTikBonding Interface in MikroTik
Bonding Interface in MikroTikKHNOG
 
Network Exploitation
Network ExploitationNetwork Exploitation
Network ExploitationKHNOG
 
Network Security-Honeypot
Network Security-HoneypotNetwork Security-Honeypot
Network Security-HoneypotKHNOG
 
Bandwidth Management on Linux
Bandwidth Management on LinuxBandwidth Management on Linux
Bandwidth Management on LinuxKHNOG
 
Why / How to become the Linux certified
Why / How to become the Linux certifiedWhy / How to become the Linux certified
Why / How to become the Linux certifiedKHNOG
 
Terminal Access Controller
Terminal Access ControllerTerminal Access Controller
Terminal Access ControllerKHNOG
 
Cambodia International Backbone Network
Cambodia International Backbone NetworkCambodia International Backbone Network
Cambodia International Backbone NetworkKHNOG
 
Introduction to BRAS
Introduction to BRASIntroduction to BRAS
Introduction to BRASKHNOG
 
ElasticISP
ElasticISPElasticISP
ElasticISPKHNOG
 
Hotspot on Mikrotik Router
Hotspot on Mikrotik RouterHotspot on Mikrotik Router
Hotspot on Mikrotik RouterKHNOG
 
Virtual Extensible LAN (VXLAN)
Virtual Extensible LAN (VXLAN)Virtual Extensible LAN (VXLAN)
Virtual Extensible LAN (VXLAN)KHNOG
 
Bidirectional Forwarding Detection (BFD)
Bidirectional Forwarding Detection (BFD) Bidirectional Forwarding Detection (BFD)
Bidirectional Forwarding Detection (BFD) KHNOG
 
Network Mapper (NMAP)
Network Mapper (NMAP)Network Mapper (NMAP)
Network Mapper (NMAP)KHNOG
 
IT Service Level Agreement
IT Service Level AgreementIT Service Level Agreement
IT Service Level AgreementKHNOG
 
Rapid Ring Protection Protocol (RRPP)
Rapid Ring Protection Protocol (RRPP)Rapid Ring Protection Protocol (RRPP)
Rapid Ring Protection Protocol (RRPP)KHNOG
 
Introduction to Python
Introduction to PythonIntroduction to Python
Introduction to PythonKHNOG
 

Mehr von KHNOG (20)

SIP (Session Initiation Protocol)
SIP (Session Initiation Protocol)SIP (Session Initiation Protocol)
SIP (Session Initiation Protocol)
 
Network Attack Counter
Network Attack CounterNetwork Attack Counter
Network Attack Counter
 
Wireless Network Pentestration
Wireless Network PentestrationWireless Network Pentestration
Wireless Network Pentestration
 
Core Concept of TCP/IP
Core Concept of TCP/IPCore Concept of TCP/IP
Core Concept of TCP/IP
 
Bonding Interface in MikroTik
Bonding Interface in MikroTikBonding Interface in MikroTik
Bonding Interface in MikroTik
 
Network Exploitation
Network ExploitationNetwork Exploitation
Network Exploitation
 
Network Security-Honeypot
Network Security-HoneypotNetwork Security-Honeypot
Network Security-Honeypot
 
Bandwidth Management on Linux
Bandwidth Management on LinuxBandwidth Management on Linux
Bandwidth Management on Linux
 
Why / How to become the Linux certified
Why / How to become the Linux certifiedWhy / How to become the Linux certified
Why / How to become the Linux certified
 
Terminal Access Controller
Terminal Access ControllerTerminal Access Controller
Terminal Access Controller
 
Cambodia International Backbone Network
Cambodia International Backbone NetworkCambodia International Backbone Network
Cambodia International Backbone Network
 
Introduction to BRAS
Introduction to BRASIntroduction to BRAS
Introduction to BRAS
 
ElasticISP
ElasticISPElasticISP
ElasticISP
 
Hotspot on Mikrotik Router
Hotspot on Mikrotik RouterHotspot on Mikrotik Router
Hotspot on Mikrotik Router
 
Virtual Extensible LAN (VXLAN)
Virtual Extensible LAN (VXLAN)Virtual Extensible LAN (VXLAN)
Virtual Extensible LAN (VXLAN)
 
Bidirectional Forwarding Detection (BFD)
Bidirectional Forwarding Detection (BFD) Bidirectional Forwarding Detection (BFD)
Bidirectional Forwarding Detection (BFD)
 
Network Mapper (NMAP)
Network Mapper (NMAP)Network Mapper (NMAP)
Network Mapper (NMAP)
 
IT Service Level Agreement
IT Service Level AgreementIT Service Level Agreement
IT Service Level Agreement
 
Rapid Ring Protection Protocol (RRPP)
Rapid Ring Protection Protocol (RRPP)Rapid Ring Protection Protocol (RRPP)
Rapid Ring Protection Protocol (RRPP)
 
Introduction to Python
Introduction to PythonIntroduction to Python
Introduction to Python
 

Kürzlich hochgeladen

Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Principled Technologies
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 

Kürzlich hochgeladen (20)

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 

BGP Prime

  • 1. a  little  something  about  BGP   Mike  Gaertner,  Sabay  Digital  
  • 2. ah?   Ê  what  is  the  internet   Ê  who  controls  it?   Ê  what  problem  does  BGP  solve   Ê  how  to  get  free  internet      (yes  that’s  a  lie,  but  stay  to  learn  the  truth)   Ê  BGP  at  Sabay  practical  stuff  
  • 3. what  is  the  internet,  really?   Ê  a  collection  of  52059  autonomous  systems  (AS)  on  Oct  15  2015   Ê  each  network  has  a  number  of  IP  address,  group  into  prefix     Ê   575,609  prefix  are  visible  in  the  global  routing  table   Ê  no  government  regulations  
  • 4. who  is  in  charge?  
  • 5. how?   Ê  if  you  have  IP  address   space  from  APNIC  they  will   assign  you  a  AS  number  for   free  J   Ê  AS  numbers  used  on  the   internet  to  identify  each  of   the  52000  participating   networks     Ê  anyone  can  get  a  IP  address   range  from  APNIC  if  they  can   demonstrate  the  need  it   Ê  the  need  arises  if  you  connect   to  more  then  1  ISP  and  you   have  infrastructure  that  will   use  50%  of  the  allocation   within  1  year  
  • 6. BGP   Ê  DNS  is  the  address  book  of  the  internet   Ê  BGP  is  the  mapping  software  of  the  internet   Ê  it  glues  together  52,000  networks  and  remembers  at  its  core   where  to  find  over  570,000  prefixes  /  destination  networks   Ê  BGP  in  it’s  most  simple  form  connects  2  network   Ê  it  is  established  between  2  AS  numbers  and  it  exchanges   information  about  prefixes  own  by  each  AS  and  installs  a   route  for  each  prefix  (mostly)  
  • 7. what  is  a  prefix?   118.67.200.0/21   118.67.200.0/24   118.67.201.0/24   118.67.202.0/24   118.67.203.0/24   118.67.204.0/24   118.67.205.0/24   118.67.206.0/24   118.67.207.0/24   118.67.200.0/23   118.67.202.0/23   118.67.204.0/23   118.67.206.0/23     118.67.200.0/22   118.67.204.0/22     if  you  wonder  how  52,000  networks  can  have  570,000  prefixes,  that’s  how!   pollution  is  the  right  word  
  • 8. in  the  beginning   Ê  BGP  was  designed  during  a  break  at  a  IETF  meeting  in  January  1989   in  Texas,  Austin   Ê  3  napkins  where  used  to  “invent”  the  core  concepts   Ê  by  October  1989  at  the  IETF  meeting  in  Hawaii  version  BGP-­‐v2  was   introduced   Ê  1991  BGP-­‐v3  was  being  used  at  a  peer-­‐by-­‐peer  bases,  Cisco  adding   support  for  BGP   Ê  1993  most  networks  had  implemented  BGP-­‐3,  facing  out  EGP   Ê  1994  BGP-­‐v4  universal  adoption  at  tier  1  carriers  
  • 9. BGP  get  connected   Ê  so  you  have  your  IP  space,  got  your  ASN  and  now?   Ê  get  connected   Ê  transit,  you  buy  access  to  the  internet  from  a  transit  provider   Ê  peer  direct  with  friendly  networks   Ê  or  peer  at  a  free  peering  exchange  like  CNX  
  • 11. Peers  at  CNX   you  can  reach  every  internet  user  in   Cambodia  via  CNX  peers  for  free  
  • 12. BGP  @  Sabay  –  our  peering   7712   CORE   TCT   CNX   SI   7712   DC   204/23  PPPoE  201/24  Backup  200/24  Content   202/24  Games   MKN  
  • 13. BGP  @  Sabay  -­‐  our  routing  policy   Ê  we  want  to  deliver  content  as  cheap  as  possible  and  as  fast  as   possible  to  users  in  Cambodia   Ê  we  want  to  give  out  customers  a  smooth  internet  access   experience   Ê  remember:   Ê   routes  you  import  decided  your  outgoing  traffic  routes   Ê  what  you  export  decides  how  traffic  gets  to  you    
  • 14. •  TCT   •  0.0.0.0/0.0.0.0   •  CNX   •  everything  <  /24   •  highest  local  preference   •  MKN   •  everything  <  /24   •  second  highest  local  preference   •  SI   •  nothing     BGP  @  Sabay  -­‐  import  policy   7712   TCT   CNX   SI   MKN  
  • 15. default  only?   7712   TCT   SI   HK  SIN   EU   US   NY   DC   You  are  only  in   charge  of  selecting   the  first  hop  a   packet  may  travel   to  it  destination!  
  • 16. BGP  @  Sabay  –  export  policy   7712   TCT   CNX+   MKN   SI   118.67.200.0/21   118.67.200.0/24  (content)   118.67.202.0/24  (game)   remember  what  you  export   controls  how  traffic  comes  to  you!   the   net   +1  
  • 17. BGP  export  –  puts  you  in  control   7712   TCT   MKN   118.67.200.0/21   118.67.200.0/21   If  we  only  announce  118.67.200.0/21  then  ISP  X  can  choose   which  way  he  want  to  send  traffic  to  us.   ISP  X  
  • 18. BGP  export  –  puts  you  in  control   7712   TCT   MKN   ISP  X   118.67.200.0/21   118.67.200.0/21   118.67.200.0/24   118.67.200.0/24   but  if  announce  important  parts  of  our  network  only  via  the  free  peering,   then  we  can  ensure  traffic  for  our  content  will  be  delivered  via  our  free  link.  
  • 19. BGP  communities   7712   TCT   GGC   118.67.200.0/21   118.67.200.4/23  -­‐  7712:5555   very  simple,  community  means  a  extra  bit  of  information  per  prefix.   the   net   118.67.200.0/21