SlideShare a Scribd company logo
www.glcnetworks.com
BGP on Mikrotik
GLC webinar, 6 october 2016
Achmad Mardiansyah
achmad@glcnetworks.com
GLC Networks, Indonesia
www.glcnetworks.com
Agenda
● Introduction
● BGP
● BGP on mikrotik
● Demo
● Q & A
2
www.glcnetworks.com
What is GLC?
● Garda Lintas Cakrawala (www.glcnetworks.com)
● An Indonesian company
● Located in Bandung
● Areas: Training, IT Consulting
● Mikrotik Certified Training Partner
● Mikrotik Certified Consultant
● Mikrotik distributor
3
www.glcnetworks.com
Trainer Introduction
● Name: Achmad Mardiansyah
● Base: bandung, Indonesia
● Linux user since ’99
● Certified Trainer (MTCNA/RE/WE/UME/INE/TCE)
● Mikrotik Certified Consultant
● Work: Telco engineer, Sysadmin, PHP programmer,
and Lecturer
● Personal website: http://achmad.glcnetworks.com
● More info:
http://au.linkedin.com/in/achmadmardiansyah
4
www.glcnetworks.com
Please introduce yourself
● Your name
● Your company/university?
● Your networking experience?
● Your mikrotik experience?
● Your expectation from this course?
5
www.glcnetworks.com
What is Mikrotik?
● Name of a company
● A brand
● A program (e.g. mikrotik academy)
● Headquarter: Riga, Latvia
6
www.glcnetworks.com
What are mikrotik products?
● Router OS
○ The OS. Specialized for networking
○ Website: www.mikrotik.com/download
● RouterBoard
○ The hardware
○ RouterOS installed
○ Website: www.routerboard.com
7
www.glcnetworks.com
What Router OS can do?
● Go to www.mikrotik.com
○ Download: what_is_routeros.pdf
○ Download: product catalog
○ Download: newsletter
8
www.glcnetworks.com
What are Mikrotik training & certifications?
9
Certificate validity is 3 years
www.glcnetworks.com
BGP (Border Gateway Protocol)
10
www.glcnetworks.com
What is BGP?
● Path Vector Protocol
● Incremental Updates
● Many options for policy enforcement
● Support VLSM
● Classless Inter Domain Routing (CIDR)
● Widely used for Internet backbone
● Connects Autonomous systems
11
www.glcnetworks.com
What is VLSM?
● Variable-Length Subnet Masking (VLSM)
● Can divide an IP address block into subnets of different sizes using / (slash)
notation
● Solution the in efficient of classful IP address (fixed length). No more class A,
class B, Class C -> pleeease dont say this classes anymore
● making it possible to create subnets with very different host counts without
wasting large numbers of addresses.
● RFC: 1878 (1995)
● Basis for CIDR
● Example: 23.45.0.0/16
○ 23.45.0.0/25
○ 23.45.0.128/25
12
www.glcnetworks.com
VLSM RFC
13
www.glcnetworks.com
What is CIDR?
● CIDR: Classless Inter-Domain Routing (sometimes is called supernetting)
● CIDR solves problem of wasted address spaceby providing a new and more
flexible way to specify network addresses in routers (using slash as notation)
● allow flexible allocation of Internet Protocol (IP) addresses.
● Replaces classfull network (class A,B,C,D). Please dont ever mention this
anymore...
● CIDR lets a routing table entry represent an aggregation of networks that exist
in the forward path
● Each IP address has a network prefix that identifies either one or several
network gateways.
● RFC: 1519
14
www.glcnetworks.com
CIDR
15
www.glcnetworks.com
Path Vector Protocol
● BGP is classified as a path vector routing protocol (see RFC 1322)
● A path vector protocol defines a route as a pairing between a destination and
the attributes of the path to that destination.
● See AS path below
16
www.glcnetworks.com
Path vector protocol
17
Image source: philip smith,
introduction to BGP
(http://www.bgp4all.com.au)
www.glcnetworks.com
Definitions
● Transit - service provided by an ISP to carry other ISP/customer traffic to
other network (internet). Usually is for commercial (paid service)
● Peering - 2 ISPs or more exchange traffic and routing information. Can be
commercial or non commercial (gratis). Example: peering on IXP (Internet
Exchange Point)
● Default - default route, sending traffic to default router of there is no explicit
match on routing table
18
www.glcnetworks.com
Peering and transit example (IIX vs openIXP?)
19
source: philip smith,
introduction to BGP
(http://www.bgp4all.com.au)
www.glcnetworks.com
Autonomous System (AS)
● Collection of networks with same routing policy
● Single routing protocol
● Usually under single ownership, trust and administrative control
● Identified by a unique 32-bit integer (ASN)
20
source: philip smith,
introduction to BGP
(http://www.bgp4all.com.au)
www.glcnetworks.com
BGP basics
21
source: philip smith,
introduction to BGP
(http://www.bgp4all.com.au)
www.glcnetworks.com
Building forwarding table for BGP
22
source: philip smith,
introduction to BGP
(http://www.bgp4all.com.au)
www.glcnetworks.com
eBGP & iBGP
● BGP is used
○ Internally, inside AS (iBGP - internal BGP)
○ Externally, between AS (eBGP - external BGP)
● iBGP is used to carry
○ Some/all Internet prefixes across ISP backbone
○ Prefixes from ISP customers
● eBGP is used to
○ Exchange prefixes with other ASes
○ Implement routing policy
23
www.glcnetworks.com
eBGP & iBGP
24
source: philip smith,
introduction to BGP
(http://www.bgp4all.com.au)
IGP: interior Gateway
Protocol. E.g. RIP, OSPF,
IEGRP
www.glcnetworks.com
External BGP Peering (eBGP)
● Between BGP speakers in different AS
● Should be directly connected
● Never run an IGP between eBGP peers
25
source: philip smith,
introduction to BGP
(http://www.bgp4all.com.au)
www.glcnetworks.com
Internal BGP (iBGP)
● BGP peer within the same AS
● Not required to be directly connected
○ IGP takes care of inter-BGP speaker connectivity
● iBGP speakers must be fully meshed:
○ They originate connected networks
○ They pass on prefixes learned from outside the ASN
○ They do not pass on prefixes learned from other iBGP speakers
● Recommended to do peer with loopback interface
● To avoid mesh peering: AS confederation, route reflector
26
source: philip smith,
introduction to BGP
(http://www.bgp4all.com.au)
www.glcnetworks.com
BGP on Mikrotik
27
www.glcnetworks.com
Setup instance
28
www.glcnetworks.com
Setup BGP peer
29
www.glcnetworks.com
Display peer
30
www.glcnetworks.com
Display routing table
31
www.glcnetworks.com
Demo
32
www.glcnetworks.com
33
www.glcnetworks.com
QA
34
www.glcnetworks.com
End of slides
● Thank you for your attention
● Please submit your feedback: http://bit.ly/glcfeedback
● Like our facebook page: “GLC networks”
● Stay tune with our schedule
35

More Related Content

PDF
Routing fundamentals with mikrotik
Achmad Mardiansyah
 
PDF
Mikrotik fastpath
Achmad Mardiansyah
 
PDF
Mikrotik firewall raw table
Achmad Mardiansyah
 
PDF
MUM Melbourne : Build Enterprise Wireless with CAPsMAN
GLC Networks
 
PDF
Mikrotik firewall mangle
Achmad Mardiansyah
 
PDF
Mikrotik Hotspot
GLC Networks
 
PDF
MikroTik & RouterOS
Faelix Ltd
 
PDF
BGP filter with mikrotik
Achmad Mardiansyah
 
Routing fundamentals with mikrotik
Achmad Mardiansyah
 
Mikrotik fastpath
Achmad Mardiansyah
 
Mikrotik firewall raw table
Achmad Mardiansyah
 
MUM Melbourne : Build Enterprise Wireless with CAPsMAN
GLC Networks
 
Mikrotik firewall mangle
Achmad Mardiansyah
 
Mikrotik Hotspot
GLC Networks
 
MikroTik & RouterOS
Faelix Ltd
 
BGP filter with mikrotik
Achmad Mardiansyah
 

What's hot (20)

PDF
VLAN on mikrotik
Achmad Mardiansyah
 
PDF
Mikrotik Bridge Deep Dive
GLC Networks
 
PDF
Mikrotik Load Balancing with PCC
GLC Networks
 
PPTX
MikroTik MTCNA
Ali Layth
 
PDF
MikroTik Security
Rofiq Fauzi
 
PDF
BGP on RouterOS7 -Part 1
GLC Networks
 
PDF
IPsec on Mikrotik
GLC Networks
 
PDF
How BGP Works
ThousandEyes
 
PDF
Choosing Mikrotik Platform x86 vs chr
GLC Networks
 
PDF
Mikrotik Fastpath vs Fasttrack
GLC Networks
 
PDF
Mikrotik firewall NAT
Achmad Mardiansyah
 
DOC
Basic command to configure mikrotik
Tola LENG
 
PDF
Mikrotik Hardening
AdityaNanda26
 
DOCX
Mikrotik pcq
Putra Jambak
 
PDF
Mikrotik fasttrack
Achmad Mardiansyah
 
PDF
Mikro tik advanced training
Jignesh H. Bhalsod
 
PDF
Using mikrotik with radius
Achmad Mardiansyah
 
PDF
Ccnp workbook network bulls
Swapnil Kapate
 
PDF
Network Monitoring with The Dude and Whatsapp
GLC Networks
 
PDF
Layer 7 Firewall on Mikrotik
GLC Networks
 
VLAN on mikrotik
Achmad Mardiansyah
 
Mikrotik Bridge Deep Dive
GLC Networks
 
Mikrotik Load Balancing with PCC
GLC Networks
 
MikroTik MTCNA
Ali Layth
 
MikroTik Security
Rofiq Fauzi
 
BGP on RouterOS7 -Part 1
GLC Networks
 
IPsec on Mikrotik
GLC Networks
 
How BGP Works
ThousandEyes
 
Choosing Mikrotik Platform x86 vs chr
GLC Networks
 
Mikrotik Fastpath vs Fasttrack
GLC Networks
 
Mikrotik firewall NAT
Achmad Mardiansyah
 
Basic command to configure mikrotik
Tola LENG
 
Mikrotik Hardening
AdityaNanda26
 
Mikrotik pcq
Putra Jambak
 
Mikrotik fasttrack
Achmad Mardiansyah
 
Mikro tik advanced training
Jignesh H. Bhalsod
 
Using mikrotik with radius
Achmad Mardiansyah
 
Ccnp workbook network bulls
Swapnil Kapate
 
Network Monitoring with The Dude and Whatsapp
GLC Networks
 
Layer 7 Firewall on Mikrotik
GLC Networks
 
Ad

Viewers also liked (20)

PDF
Detecting network virus using mikrotik
Achmad Mardiansyah
 
PDF
Mikrotik firewall filter
Achmad Mardiansyah
 
PDF
Mikrotik the dude
Achmad Mardiansyah
 
PDF
IPv6 on Mikrotik
Achmad Mardiansyah
 
PDF
Mikrotik API
Achmad Mardiansyah
 
PDF
MikroTik Firewall : Securing your Router with Port Knocking
Akbar Azwir, MM, PMP, PMI-SP, PSM I, CISSP
 
PDF
Mikrotik metarouter
Achmad Mardiansyah
 
PDF
Mikrotik advanced
guest8423a64e
 
PDF
Limiting bandwidth of specific destination based on address list
Achmad Mardiansyah
 
PDF
Mikrotik Network Simulator (MUM Presentation Material 2013)
Rofiq Fauzi
 
PDF
GLC webinar: limiting bandwidth using mikrotik
Achmad Mardiansyah
 
ODP
Super easy FreeBSD 8.0 installation guide
Achmad Mardiansyah
 
PDF
Wireless Project Using CAPsMAN
Aidan Venn MSc
 
PDF
CAPsMANv2 | Wireless APs Controller by MikroTik
Dobri Boyadzhiev
 
PDF
Class 6
mozaharulhoq
 
PPTX
VPN on Mikrotik
Achmad Mardiansyah
 
PDF
Class 3
mozaharulhoq
 
PDF
Hotspot on Mikrotik Router
KHNOG
 
PDF
Class 7
mozaharulhoq
 
PPT
Hot Spot Network Manager
HS NETWORK MANAGER
 
Detecting network virus using mikrotik
Achmad Mardiansyah
 
Mikrotik firewall filter
Achmad Mardiansyah
 
Mikrotik the dude
Achmad Mardiansyah
 
IPv6 on Mikrotik
Achmad Mardiansyah
 
Mikrotik API
Achmad Mardiansyah
 
MikroTik Firewall : Securing your Router with Port Knocking
Akbar Azwir, MM, PMP, PMI-SP, PSM I, CISSP
 
Mikrotik metarouter
Achmad Mardiansyah
 
Mikrotik advanced
guest8423a64e
 
Limiting bandwidth of specific destination based on address list
Achmad Mardiansyah
 
Mikrotik Network Simulator (MUM Presentation Material 2013)
Rofiq Fauzi
 
GLC webinar: limiting bandwidth using mikrotik
Achmad Mardiansyah
 
Super easy FreeBSD 8.0 installation guide
Achmad Mardiansyah
 
Wireless Project Using CAPsMAN
Aidan Venn MSc
 
CAPsMANv2 | Wireless APs Controller by MikroTik
Dobri Boyadzhiev
 
Class 6
mozaharulhoq
 
VPN on Mikrotik
Achmad Mardiansyah
 
Class 3
mozaharulhoq
 
Hotspot on Mikrotik Router
KHNOG
 
Class 7
mozaharulhoq
 
Hot Spot Network Manager
HS NETWORK MANAGER
 
Ad

Similar to BGP on mikrotik (20)

PDF
Running BGP with Mikrotik
GLC Networks
 
PDF
BGP Services IP Transit vs IP Peering
GLC Networks
 
PPTX
BGP Ebook: Everything you need to know about Border Gateway Protocol
noBGP
 
PDF
Apnic_bgp_training_cisco_ciscosaicoc.pdf
PCCW GLOBAL
 
PDF
BGP (border gateway routing protocol)
Netwax Lab
 
PDF
BGP troubleshooting: route origin
GLC Networks
 
PPT
BGP
Reza Farahani
 
PDF
SANOG23-BGP-Techniques.pdf
GhulamIbneGhulam
 
PDF
BGP tuning: Peer with loopback
GLC Networks
 
PPT
BGP Overview
Matt Bynum
 
PDF
U5CSS2 (1).pdf
chelsi33
 
PDF
Internal BGP tuning: Mesh peering to avoid loop
GLC Networks
 
PPT
bgp1 cryptogrphy and network security.ppt
NithyasriA2
 
PDF
Bgpeuro
gigicaltea
 
DOCX
CCNP Route 642 902 BGP
IT Tech
 
PDF
BGP Techniques for Network Operators
APNIC
 
PDF
Halabi Bgp4 Case Studies Tutorial
Hussein Elmenshawy
 
PDF
BGP evolution -from SDN perspective
Miya Kohno
 
PDF
Bgp Toc
bigb0206
 
Running BGP with Mikrotik
GLC Networks
 
BGP Services IP Transit vs IP Peering
GLC Networks
 
BGP Ebook: Everything you need to know about Border Gateway Protocol
noBGP
 
Apnic_bgp_training_cisco_ciscosaicoc.pdf
PCCW GLOBAL
 
BGP (border gateway routing protocol)
Netwax Lab
 
BGP troubleshooting: route origin
GLC Networks
 
SANOG23-BGP-Techniques.pdf
GhulamIbneGhulam
 
BGP tuning: Peer with loopback
GLC Networks
 
BGP Overview
Matt Bynum
 
U5CSS2 (1).pdf
chelsi33
 
Internal BGP tuning: Mesh peering to avoid loop
GLC Networks
 
bgp1 cryptogrphy and network security.ppt
NithyasriA2
 
Bgpeuro
gigicaltea
 
CCNP Route 642 902 BGP
IT Tech
 
BGP Techniques for Network Operators
APNIC
 
Halabi Bgp4 Case Studies Tutorial
Hussein Elmenshawy
 
BGP evolution -from SDN perspective
Miya Kohno
 
Bgp Toc
bigb0206
 

More from Achmad Mardiansyah (14)

PDF
01 introduction to mpls
Achmad Mardiansyah
 
PDF
Solaris 10 Container
Achmad Mardiansyah
 
PDF
Backup & Restore (BR) in Solaris OS
Achmad Mardiansyah
 
PDF
Mikrotik User Meeting Manila: bgp vs ospf
Achmad Mardiansyah
 
PDF
PHPID online Learning #6 Migration from procedural to OOP
Achmad Mardiansyah
 
PDF
Troubleshooting load balancing
Achmad Mardiansyah
 
PDF
ISP load balancing with mikrotik nth
Achmad Mardiansyah
 
PDF
Wireless CSMA with mikrotik
Achmad Mardiansyah
 
PDF
SSL certificate with mikrotik
Achmad Mardiansyah
 
PDF
Mikrotik VRRP
Achmad Mardiansyah
 
PDF
Jumpstart your router with mikrotik quickset
Achmad Mardiansyah
 
PDF
Using protocol analyzer on mikrotik
Achmad Mardiansyah
 
PDF
Routing Information Protocol (RIP) on Mikrotik
Achmad Mardiansyah
 
PDF
Connection load balancing with mikrotik [workshop]
Achmad Mardiansyah
 
01 introduction to mpls
Achmad Mardiansyah
 
Solaris 10 Container
Achmad Mardiansyah
 
Backup & Restore (BR) in Solaris OS
Achmad Mardiansyah
 
Mikrotik User Meeting Manila: bgp vs ospf
Achmad Mardiansyah
 
PHPID online Learning #6 Migration from procedural to OOP
Achmad Mardiansyah
 
Troubleshooting load balancing
Achmad Mardiansyah
 
ISP load balancing with mikrotik nth
Achmad Mardiansyah
 
Wireless CSMA with mikrotik
Achmad Mardiansyah
 
SSL certificate with mikrotik
Achmad Mardiansyah
 
Mikrotik VRRP
Achmad Mardiansyah
 
Jumpstart your router with mikrotik quickset
Achmad Mardiansyah
 
Using protocol analyzer on mikrotik
Achmad Mardiansyah
 
Routing Information Protocol (RIP) on Mikrotik
Achmad Mardiansyah
 
Connection load balancing with mikrotik [workshop]
Achmad Mardiansyah
 

Recently uploaded (20)

PPT
Transformaciones de las funciones elementales.ppt
rirosel211
 
PPTX
Artificial-Intelligence-in-Daily-Life (2).pptx
nidhigoswami335
 
PPTX
原版北不列颠哥伦比亚大学毕业证文凭UNBC成绩单2025年新版在线制作学位证书
e7nw4o4
 
PPTX
The Internet of Things (IoT) refers to a vast network of interconnected devic...
chethana8182
 
PDF
The Internet of Things (IoT) refers to a vast network of interconnected devic...
chethana8182
 
PDF
Data Protection & Resilience in Focus.pdf
AmyPoblete3
 
PPTX
B2B_Ecommerce_Internship_Simranpreet.pptx
LipakshiJindal
 
PDF
Cybersecurity Awareness Presentation ppt.
banodhaharshita
 
PPTX
The Latest Scam Shocking the USA in 2025.pptx
onlinescamreport4
 
PPTX
AI ad its imp i military life read it ag
ShwetaBharti31
 
PPTX
Different Generation Of Computers .pptx
divcoder9507
 
PPTX
Slides Powerpoint: Eco Economic Epochs.pptx
Steven McGee
 
PPTX
LESSON-2-Roles-of-ICT-in-Teaching-for-learning_123922 (1).pptx
renavieramopiquero
 
PPTX
Crypto Recovery California Services.pptx
lionsgate network
 
PDF
Slides: PDF Eco Economic Epochs for World Game (s) pdf
Steven McGee
 
PDF
APNIC Update, presented at PHNOG 2025 by Shane Hermoso
APNIC
 
PDF
Latest Scam Shocking the USA in 2025.pdf
onlinescamreport4
 
PPTX
Pengenalan perangkat Jaringan komputer pada teknik jaringan komputer dan tele...
Prayudha3
 
PPTX
Perkembangan Perangkat jaringan komputer dan telekomunikasi 3.pptx
Prayudha3
 
PPTX
Blue and Dark Blue Modern Technology Presentation.pptx
ap177979
 
Transformaciones de las funciones elementales.ppt
rirosel211
 
Artificial-Intelligence-in-Daily-Life (2).pptx
nidhigoswami335
 
原版北不列颠哥伦比亚大学毕业证文凭UNBC成绩单2025年新版在线制作学位证书
e7nw4o4
 
The Internet of Things (IoT) refers to a vast network of interconnected devic...
chethana8182
 
The Internet of Things (IoT) refers to a vast network of interconnected devic...
chethana8182
 
Data Protection & Resilience in Focus.pdf
AmyPoblete3
 
B2B_Ecommerce_Internship_Simranpreet.pptx
LipakshiJindal
 
Cybersecurity Awareness Presentation ppt.
banodhaharshita
 
The Latest Scam Shocking the USA in 2025.pptx
onlinescamreport4
 
AI ad its imp i military life read it ag
ShwetaBharti31
 
Different Generation Of Computers .pptx
divcoder9507
 
Slides Powerpoint: Eco Economic Epochs.pptx
Steven McGee
 
LESSON-2-Roles-of-ICT-in-Teaching-for-learning_123922 (1).pptx
renavieramopiquero
 
Crypto Recovery California Services.pptx
lionsgate network
 
Slides: PDF Eco Economic Epochs for World Game (s) pdf
Steven McGee
 
APNIC Update, presented at PHNOG 2025 by Shane Hermoso
APNIC
 
Latest Scam Shocking the USA in 2025.pdf
onlinescamreport4
 
Pengenalan perangkat Jaringan komputer pada teknik jaringan komputer dan tele...
Prayudha3
 
Perkembangan Perangkat jaringan komputer dan telekomunikasi 3.pptx
Prayudha3
 
Blue and Dark Blue Modern Technology Presentation.pptx
ap177979
 

BGP on mikrotik

  • 1. www.glcnetworks.com BGP on Mikrotik GLC webinar, 6 october 2016 Achmad Mardiansyah [email protected] GLC Networks, Indonesia
  • 2. www.glcnetworks.com Agenda ● Introduction ● BGP ● BGP on mikrotik ● Demo ● Q & A 2
  • 3. www.glcnetworks.com What is GLC? ● Garda Lintas Cakrawala (www.glcnetworks.com) ● An Indonesian company ● Located in Bandung ● Areas: Training, IT Consulting ● Mikrotik Certified Training Partner ● Mikrotik Certified Consultant ● Mikrotik distributor 3
  • 4. www.glcnetworks.com Trainer Introduction ● Name: Achmad Mardiansyah ● Base: bandung, Indonesia ● Linux user since ’99 ● Certified Trainer (MTCNA/RE/WE/UME/INE/TCE) ● Mikrotik Certified Consultant ● Work: Telco engineer, Sysadmin, PHP programmer, and Lecturer ● Personal website: http://achmad.glcnetworks.com ● More info: http://au.linkedin.com/in/achmadmardiansyah 4
  • 5. www.glcnetworks.com Please introduce yourself ● Your name ● Your company/university? ● Your networking experience? ● Your mikrotik experience? ● Your expectation from this course? 5
  • 6. www.glcnetworks.com What is Mikrotik? ● Name of a company ● A brand ● A program (e.g. mikrotik academy) ● Headquarter: Riga, Latvia 6
  • 7. www.glcnetworks.com What are mikrotik products? ● Router OS ○ The OS. Specialized for networking ○ Website: www.mikrotik.com/download ● RouterBoard ○ The hardware ○ RouterOS installed ○ Website: www.routerboard.com 7
  • 8. www.glcnetworks.com What Router OS can do? ● Go to www.mikrotik.com ○ Download: what_is_routeros.pdf ○ Download: product catalog ○ Download: newsletter 8
  • 9. www.glcnetworks.com What are Mikrotik training & certifications? 9 Certificate validity is 3 years
  • 11. www.glcnetworks.com What is BGP? ● Path Vector Protocol ● Incremental Updates ● Many options for policy enforcement ● Support VLSM ● Classless Inter Domain Routing (CIDR) ● Widely used for Internet backbone ● Connects Autonomous systems 11
  • 12. www.glcnetworks.com What is VLSM? ● Variable-Length Subnet Masking (VLSM) ● Can divide an IP address block into subnets of different sizes using / (slash) notation ● Solution the in efficient of classful IP address (fixed length). No more class A, class B, Class C -> pleeease dont say this classes anymore ● making it possible to create subnets with very different host counts without wasting large numbers of addresses. ● RFC: 1878 (1995) ● Basis for CIDR ● Example: 23.45.0.0/16 ○ 23.45.0.0/25 ○ 23.45.0.128/25 12
  • 14. www.glcnetworks.com What is CIDR? ● CIDR: Classless Inter-Domain Routing (sometimes is called supernetting) ● CIDR solves problem of wasted address spaceby providing a new and more flexible way to specify network addresses in routers (using slash as notation) ● allow flexible allocation of Internet Protocol (IP) addresses. ● Replaces classfull network (class A,B,C,D). Please dont ever mention this anymore... ● CIDR lets a routing table entry represent an aggregation of networks that exist in the forward path ● Each IP address has a network prefix that identifies either one or several network gateways. ● RFC: 1519 14
  • 16. www.glcnetworks.com Path Vector Protocol ● BGP is classified as a path vector routing protocol (see RFC 1322) ● A path vector protocol defines a route as a pairing between a destination and the attributes of the path to that destination. ● See AS path below 16
  • 17. www.glcnetworks.com Path vector protocol 17 Image source: philip smith, introduction to BGP (http://www.bgp4all.com.au)
  • 18. www.glcnetworks.com Definitions ● Transit - service provided by an ISP to carry other ISP/customer traffic to other network (internet). Usually is for commercial (paid service) ● Peering - 2 ISPs or more exchange traffic and routing information. Can be commercial or non commercial (gratis). Example: peering on IXP (Internet Exchange Point) ● Default - default route, sending traffic to default router of there is no explicit match on routing table 18
  • 19. www.glcnetworks.com Peering and transit example (IIX vs openIXP?) 19 source: philip smith, introduction to BGP (http://www.bgp4all.com.au)
  • 20. www.glcnetworks.com Autonomous System (AS) ● Collection of networks with same routing policy ● Single routing protocol ● Usually under single ownership, trust and administrative control ● Identified by a unique 32-bit integer (ASN) 20 source: philip smith, introduction to BGP (http://www.bgp4all.com.au)
  • 21. www.glcnetworks.com BGP basics 21 source: philip smith, introduction to BGP (http://www.bgp4all.com.au)
  • 22. www.glcnetworks.com Building forwarding table for BGP 22 source: philip smith, introduction to BGP (http://www.bgp4all.com.au)
  • 23. www.glcnetworks.com eBGP & iBGP ● BGP is used ○ Internally, inside AS (iBGP - internal BGP) ○ Externally, between AS (eBGP - external BGP) ● iBGP is used to carry ○ Some/all Internet prefixes across ISP backbone ○ Prefixes from ISP customers ● eBGP is used to ○ Exchange prefixes with other ASes ○ Implement routing policy 23
  • 24. www.glcnetworks.com eBGP & iBGP 24 source: philip smith, introduction to BGP (http://www.bgp4all.com.au) IGP: interior Gateway Protocol. E.g. RIP, OSPF, IEGRP
  • 25. www.glcnetworks.com External BGP Peering (eBGP) ● Between BGP speakers in different AS ● Should be directly connected ● Never run an IGP between eBGP peers 25 source: philip smith, introduction to BGP (http://www.bgp4all.com.au)
  • 26. www.glcnetworks.com Internal BGP (iBGP) ● BGP peer within the same AS ● Not required to be directly connected ○ IGP takes care of inter-BGP speaker connectivity ● iBGP speakers must be fully meshed: ○ They originate connected networks ○ They pass on prefixes learned from outside the ASN ○ They do not pass on prefixes learned from other iBGP speakers ● Recommended to do peer with loopback interface ● To avoid mesh peering: AS confederation, route reflector 26 source: philip smith, introduction to BGP (http://www.bgp4all.com.au)
  • 35. www.glcnetworks.com End of slides ● Thank you for your attention ● Please submit your feedback: http://bit.ly/glcfeedback ● Like our facebook page: “GLC networks” ● Stay tune with our schedule 35