SlideShare une entreprise Scribd logo
1  sur  22
Télécharger pour lire hors ligne
Practical Implementation of BGP Community
with Geotags
Muhammad Moinur Rahman
1Asia Alliance Communication Ltd
moin@1asia-ahl.com
GeoTAGS
•  Geographical Identification Metadata
•  A form of GeoSpatial Metadata
–  Applicable to objects that have GeoGraphic Extent
–  Or applicable to objects with some position on this
Earth
–  Objects like Photo, Audio/Video Files, SMS Messages
–  Unlikely but true DNS information (LOC resources)
•  Facebook Check-in or Photos @
–  Adds Geotaggs in our Facebook updates
–  Adds Geotaggs in our Facebook Photos
Geotags in BGP Routes
•  A router is a device which intelligently
routes packets
– Not a Phone
– Not a Camera
– Not a GPS Device
•  How can we add metatags in a route?
– GeoCoding
Geocoding
•  A process of enriching description of a
location
•  Most frequently a postal address/place with
GeoGraphic co-ordinates
–  From a Spatial Reference Data
•  Or reverse Geocoding
•  Enriching a GeoGraphic Co-ordinate with a
postal address/place
–  Facebook/Google Plus and other social sites use
reverse Geocoding for our Check-in
BGP routes with location
information
•  Routers don’t have a builtin GPS device
•  Need a process to manually Geocode it’s
route-origin
•  Need to add a tag to the route objects or
group of routes
•  Answer : BGP Communities
BGP Communities
•  A BGP attribute (RFC1997)
•  A mechanism for coloring or (GEO)tagging
route destinations or a group of route
destinations
•  A 4-byte value (RFC1998)
•  Two types of communities
– Regular
– Extended
BGP Communities(Contd)
•  A 32-bit integer isn’t always easy to work with
–  More common convention is to split into two 16-bit values
–  Commonly <local-ASN>:value e.g 10102:0 (Sorry no help
for 4 byte ASNs)
–  Specially reserved (0:0 – 0:65535 and 65535:0 –
65535:65535)
–  First value is intended to define the scope or “target”
•  So you know if this community is “for you” or someone else
•  So two networks don’t do conflicting things with the same data
–  Second value is arbitrary data for the targeted network
•  Whatever data you’re trying to encode
BGP Community Tags
•  Can be added to a particular prefix
–  set community 10102:100
–  Set community 10102:90 additive
•  Can be matched by route-map
–  ip community-list PEER-ROUTES 10102:6600
–  community-set PEER
10102:31021
end-set
•  Can be deleted from particular prefixes
•  Full control over community tags
Cause
•  A scalable network needs them for its own use
–  Be able to identify customers, transits, peers, etc
–  To perform traffic engineering and export controls
–  There is no other truly acceptable implementation
•  But customers love using them as well
–  “Power user” customers demand this level of control.
–  Having self-supporting customers doesn’t hurt either.
–  The more powerful you make your communities, the
more work it will save you in the long run.
Practical consideration
•  Most routers parse BGP communities as strings
rather than integers, using Regular Expressions.
–  Design your community system with this in mind.
–  Think strings and character positions, not numbers.
–  For Example, 10102:1234 can easily be parsed as
•  Field #1, Value 1
•  Field #2, Value 23
•  Field #3, Value 4
–  But can’t easily be parsed numerically
•  For example as “larger than 1233”.
–  Remember not to exceed 65535 as a 16-bit value.
(65536 options) to represent
•  Carried across AS
Types of Implementation
•  Practical BGP Communities Implementation can
essentially be classified into two types:
•  Informational tags
–  Communities set by and sent from a provider network, to
tell their customers (or other interested parties) something
about that route.
•  Action tags
–  Communities set by and sent from a customer network, to
influence the routing policies of the provider network
–  Alter route attributes on demand
–  Both globally and within own network
–  Control the import/export of routes
Informational tags
•  Information communities typically focus on
–  Where the route was learned
•  AKA Geographic data (continent, country, region, city, etc in
short geotag)
–  How the route was learned
•  AKA Relationship data (transit, peer, customer, internal, etc)
–  There is no other good way to pass on this data
•  This data is then used to make policy decisions
–  Either by you, your customer, or an unknown third party.
–  Exporting this data to the Internet can provide invaluable
assistance to third party networks you may never even
know about. This is usually a good thing for everyone.
Ways to encode Information
•  Encode simple arbitrary data
–  No standards, each network defines its own
mapping
•  Which must be published somewhere like ASN
description in IRR for others to use
–  Ex: Continent (1 = Asia, 2 = Africa, etc)
–  Ex: Relationship (1 = Transit, 2 = Public Peer, etc)
•  Standards based encoding
–  Ex: ISO 3166 encodes Country Codes into 2
digits
Providing information
•  As always, the exact design decision
depends on specific network and footprint.
•  Networks in only a few major cities may want
to focus on enumerating those cities in a
short list.
•  Networks in a great number of cities may
want to focus on regional aggregation
specific to their scope.
•  Plan for the future!
–  Changing community design after it is already
being used by customers may prove impossible.
Practical Use of Informational Tags
•  Make certain that Informational Tags from your
Action Tags can easily be distinguished
•  Ex: Make Informational Tags always 5 characters
in length, and action tags to be 4 characters or
less.
•  This allow to easily match Info tags: “10102:.{5}”
•  Filter communities from neighbors
–  None is allowed to send Informational tags, these
should only be set by Service Provider, and these
should be stripped from all BGP neighbors
(customers, transits, peers, etc).
–  Otherwise there is a massive security problem.
A simple approach towards
providing information
•  For example: 10102:TCCCP
–  T Type of Relationship
–  C Continent Code
–  CC Country Code
–  P POP Code
•  The community 10102:21021 could be
parsed as:
–  Public Peer
–  Asia
–  Singapore
–  Equinix
Definitions - Types
•  Type of routes
– 1XYYP – Transit
– 2XYYP – Public Peer
– 3XYYP – Private Peer
– 4XYYP – Customer
– 5XYYP – Internal
Definitions (Contd)
•  Continents
– T0YYP – Asia
– T1YYP – Africa
– T2YYP – Europe
– T3YYP – North America
– T4YYP – South America
– T5YYP – Australia
– T6YYP – Antarctica
Definitions (Contd)
•  Countries
– T001P – Bangladesh
– T002P – Singapore
– T201P – United Kingdom
– T202P – France
– So on ..
Definitions (Contd)
•  PoP
– T0011 – Central NOC
– T0021 – Singapore Global Switch
– T0022 – Singapore Equinix
– T2011 – United Kingdom Telehouse North
– T3011 – United States TelX
– So on ..
Let’s start geoconfiguring!!
router bgp 10102
neighbor x.x.x.x remote-as 58656
neighbor x.x.x.x description bdHUB @Telx
NYC
neighbor x.x.x.x route-map as58656-in in
neighbor x.x.x.x send-community
!
route-map as58656-in permit 10
set community 10102:43011
References
1.  Using Communities for Multihoming (
http://bgp4all.com/ftp/isp-workshops/BGP%20Presentations/09-
BGP-Communities.pdf)
2.  BGP Techniques for Internet Service Providers – Philip Smith
3.  BGP Communities: A guide for Service Providers – Richard A.
Steenbergen & Tom Scholl

Contenu connexe

Tendances

Dhcp presentation 01
Dhcp presentation 01Dhcp presentation 01
Dhcp presentation 01maverick4489
 
Server Load Balancing on pfSense 2.4 - pfSense Hangout July 2017
Server Load Balancing on pfSense 2.4 - pfSense Hangout July 2017Server Load Balancing on pfSense 2.4 - pfSense Hangout July 2017
Server Load Balancing on pfSense 2.4 - pfSense Hangout July 2017Netgate
 
Dhcp presentation
Dhcp presentationDhcp presentation
Dhcp presentationSaqib Malik
 
An Introduction to BGP Flow Spec
An Introduction to BGP Flow SpecAn Introduction to BGP Flow Spec
An Introduction to BGP Flow SpecShortestPathFirst
 
Introduction to Wi-Fi Direct
Introduction to Wi-Fi DirectIntroduction to Wi-Fi Direct
Introduction to Wi-Fi DirectWei-Tsung Su
 
Using MikroTik routers for BGP transit and IX points
Using MikroTik routers for BGP transit and IX points  Using MikroTik routers for BGP transit and IX points
Using MikroTik routers for BGP transit and IX points Pavel Odintsov
 
DHCP (Dynamic Host Configuration Protocol)
DHCP (Dynamic Host Configuration Protocol)DHCP (Dynamic Host Configuration Protocol)
DHCP (Dynamic Host Configuration Protocol)Faisal Jatt
 
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
 
CCNA Advanced Routing Protocols
CCNA Advanced Routing ProtocolsCCNA Advanced Routing Protocols
CCNA Advanced Routing ProtocolsDsunte Wilson
 
Local DNS with pfSense 2.4 - pfSense Hangout April 2018
Local DNS with pfSense 2.4 - pfSense Hangout April 2018Local DNS with pfSense 2.4 - pfSense Hangout April 2018
Local DNS with pfSense 2.4 - pfSense Hangout April 2018Netgate
 
Wifi cracking Step by Step Using CMD and Kali Linux 2018
Wifi cracking Step by Step Using CMD and Kali Linux 2018Wifi cracking Step by Step Using CMD and Kali Linux 2018
Wifi cracking Step by Step Using CMD and Kali Linux 2018Mohammad Fareed
 
Network Address Translation (NAT)
Network Address Translation (NAT)Network Address Translation (NAT)
Network Address Translation (NAT)Joud Khattab
 
6 understanding DHCP
6 understanding DHCP6 understanding DHCP
6 understanding DHCPHameda Hurmat
 
Unicast multicast & broadcast
Unicast multicast & broadcastUnicast multicast & broadcast
Unicast multicast & broadcastNetProtocol Xpert
 

Tendances (20)

Dhcp presentation 01
Dhcp presentation 01Dhcp presentation 01
Dhcp presentation 01
 
OSPF v3
OSPF v3OSPF v3
OSPF v3
 
Server Load Balancing on pfSense 2.4 - pfSense Hangout July 2017
Server Load Balancing on pfSense 2.4 - pfSense Hangout July 2017Server Load Balancing on pfSense 2.4 - pfSense Hangout July 2017
Server Load Balancing on pfSense 2.4 - pfSense Hangout July 2017
 
Dhcp presentation
Dhcp presentationDhcp presentation
Dhcp presentation
 
Cisco: QoS
Cisco: QoSCisco: QoS
Cisco: QoS
 
Dns
DnsDns
Dns
 
An Introduction to BGP Flow Spec
An Introduction to BGP Flow SpecAn Introduction to BGP Flow Spec
An Introduction to BGP Flow Spec
 
Introduction to Wi-Fi Direct
Introduction to Wi-Fi DirectIntroduction to Wi-Fi Direct
Introduction to Wi-Fi Direct
 
Using MikroTik routers for BGP transit and IX points
Using MikroTik routers for BGP transit and IX points  Using MikroTik routers for BGP transit and IX points
Using MikroTik routers for BGP transit and IX points
 
DHCP (Dynamic Host Configuration Protocol)
DHCP (Dynamic Host Configuration Protocol)DHCP (Dynamic Host Configuration Protocol)
DHCP (Dynamic Host Configuration Protocol)
 
BGP
BGPBGP
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)
 
CCNA Advanced Routing Protocols
CCNA Advanced Routing ProtocolsCCNA Advanced Routing Protocols
CCNA Advanced Routing Protocols
 
Local DNS with pfSense 2.4 - pfSense Hangout April 2018
Local DNS with pfSense 2.4 - pfSense Hangout April 2018Local DNS with pfSense 2.4 - pfSense Hangout April 2018
Local DNS with pfSense 2.4 - pfSense Hangout April 2018
 
DNS (Domain Name System)
DNS (Domain Name System)DNS (Domain Name System)
DNS (Domain Name System)
 
Wifi cracking Step by Step Using CMD and Kali Linux 2018
Wifi cracking Step by Step Using CMD and Kali Linux 2018Wifi cracking Step by Step Using CMD and Kali Linux 2018
Wifi cracking Step by Step Using CMD and Kali Linux 2018
 
Network Address Translation (NAT)
Network Address Translation (NAT)Network Address Translation (NAT)
Network Address Translation (NAT)
 
6 understanding DHCP
6 understanding DHCP6 understanding DHCP
6 understanding DHCP
 
7 understanding DNS
7 understanding DNS7 understanding DNS
7 understanding DNS
 
Unicast multicast & broadcast
Unicast multicast & broadcastUnicast multicast & broadcast
Unicast multicast & broadcast
 

En vedette

En vedette (20)

Internet Governance: Why does it matter to Bangladesh?
Internet Governance: Why does it matter to Bangladesh?Internet Governance: Why does it matter to Bangladesh?
Internet Governance: Why does it matter to Bangladesh?
 
Securing Asterisk: A practical approach
Securing Asterisk: A practical approachSecuring Asterisk: A practical approach
Securing Asterisk: A practical approach
 
Traffic Engineering for CDNs
Traffic Engineering for CDNs Traffic Engineering for CDNs
Traffic Engineering for CDNs
 
Participant Access Control in IP Multicasting
Participant Access Control in IP Multicasting Participant Access Control in IP Multicasting
Participant Access Control in IP Multicasting
 
APNIC Services Update
APNIC Services Update APNIC Services Update
APNIC Services Update
 
Shikkhok.com, An ISIF awarded project
Shikkhok.com, An ISIF awarded project Shikkhok.com, An ISIF awarded project
Shikkhok.com, An ISIF awarded project
 
RPKI with rpki.net Tools
RPKI with rpki.net ToolsRPKI with rpki.net Tools
RPKI with rpki.net Tools
 
APNIC Policy Update
APNIC Policy Update APNIC Policy Update
APNIC Policy Update
 
Prefix Filtering BCP
Prefix Filtering BCP Prefix Filtering BCP
Prefix Filtering BCP
 
Monetizing 4G LTE : How we make money out of LTE
Monetizing 4G LTE : How we make money out of LTEMonetizing 4G LTE : How we make money out of LTE
Monetizing 4G LTE : How we make money out of LTE
 
RPKI Deployment Status in Bangladesh
RPKI Deployment Status in Bangladesh RPKI Deployment Status in Bangladesh
RPKI Deployment Status in Bangladesh
 
IPv6 Greenfield
IPv6 Greenfield IPv6 Greenfield
IPv6 Greenfield
 
How Internet is Empowering Women in Bangladesh
How Internet is Empowering Women in Bangladesh How Internet is Empowering Women in Bangladesh
How Internet is Empowering Women in Bangladesh
 
Cyber security Awareness: In perspective of Bangladesh
Cyber security Awareness: In perspective of Bangladesh Cyber security Awareness: In perspective of Bangladesh
Cyber security Awareness: In perspective of Bangladesh
 
Discovering and Participating at ICANN
Discovering and Participating at ICANNDiscovering and Participating at ICANN
Discovering and Participating at ICANN
 
Good Peering Practices
Good Peering Practices Good Peering Practices
Good Peering Practices
 
Launch a Successful LTE Footprints in Bangladesh
Launch a Successful LTE Footprints in BangladeshLaunch a Successful LTE Footprints in Bangladesh
Launch a Successful LTE Footprints in Bangladesh
 
Building REN in BD
Building REN in BD Building REN in BD
Building REN in BD
 
Resource Public Key Infrastructure (RPKI)
Resource Public Key Infrastructure (RPKI) Resource Public Key Infrastructure (RPKI)
Resource Public Key Infrastructure (RPKI)
 
Cloud Computing Using OpenStack
Cloud Computing Using OpenStack Cloud Computing Using OpenStack
Cloud Computing Using OpenStack
 

Similaire à Practical Implementation of BGP Community with Geotags

Practical Implementation of Large BGP communities with Geotags and Traffic En...
Practical Implementation of Large BGP communities with Geotags and Traffic En...Practical Implementation of Large BGP communities with Geotags and Traffic En...
Practical Implementation of Large BGP communities with Geotags and Traffic En...Muhammad Moinur Rahman
 
Practical Implementation of Large BGP Community with Geotags and Traffic Engi...
Practical Implementation of Large BGP Community with Geotags and Traffic Engi...Practical Implementation of Large BGP Community with Geotags and Traffic Engi...
Practical Implementation of Large BGP Community with Geotags and Traffic Engi...APNIC
 
AQA AS ICT INFO2 Revision
AQA AS ICT INFO2 RevisionAQA AS ICT INFO2 Revision
AQA AS ICT INFO2 RevisionSnowfairy007
 
zipd and Url Shortner ppt Amey
zipd and Url Shortner ppt Ameyzipd and Url Shortner ppt Amey
zipd and Url Shortner ppt AmeyAmeya Mhasawade
 
BGP Communities: A Guide for Service Provider Networks
BGP Communities: A Guide for Service Provider NetworksBGP Communities: A Guide for Service Provider Networks
BGP Communities: A Guide for Service Provider NetworksRichard Steenbergen
 
Windows network administration Basic theories
Windows network administration Basic theoriesWindows network administration Basic theories
Windows network administration Basic theoriesRavi Yasas
 
Introduction to Routing Protocols of MANET
Introduction to Routing Protocols of MANET Introduction to Routing Protocols of MANET
Introduction to Routing Protocols of MANET Darwin Nesakumar
 
Sept 2017 dynamic routing
Sept 2017   dynamic routingSept 2017   dynamic routing
Sept 2017 dynamic routingshahin raj
 
Meetup prague 201811_v01
Meetup prague 201811_v01Meetup prague 201811_v01
Meetup prague 201811_v01Milos Molnar
 
Tags. troubleshooting and optimization startup sauna
Tags. troubleshooting and optimization startup saunaTags. troubleshooting and optimization startup sauna
Tags. troubleshooting and optimization startup saunaKarina Uryvskaya
 
【EPN Seminar Nov.10. 2015】 パネルディスカッション その2: BGP Peering Engineering Automatio...
【EPN Seminar Nov.10. 2015】 パネルディスカッション その2: BGP Peering Engineering Automatio...【EPN Seminar Nov.10. 2015】 パネルディスカッション その2: BGP Peering Engineering Automatio...
【EPN Seminar Nov.10. 2015】 パネルディスカッション その2: BGP Peering Engineering Automatio...シスコシステムズ合同会社
 
Internet Measurement Tools & Their Usefulness by Gaurab Raj Upadhaya
Internet Measurement Tools & Their Usefulness by Gaurab Raj UpadhayaInternet Measurement Tools & Their Usefulness by Gaurab Raj Upadhaya
Internet Measurement Tools & Their Usefulness by Gaurab Raj UpadhayaMyNOG
 
DSDV Protocols by Mr.Darwin Nesakumar A, AP/ECE, R.M.K.Engineering College
DSDV Protocols by Mr.Darwin Nesakumar A, AP/ECE, R.M.K.Engineering CollegeDSDV Protocols by Mr.Darwin Nesakumar A, AP/ECE, R.M.K.Engineering College
DSDV Protocols by Mr.Darwin Nesakumar A, AP/ECE, R.M.K.Engineering CollegeDarwin Nesakumar
 
Communication systems revision 2017
Communication systems revision 2017 Communication systems revision 2017
Communication systems revision 2017 greg robertson
 
aniruddh khare resume (1)
aniruddh khare resume (1)aniruddh khare resume (1)
aniruddh khare resume (1)aniruddh khare
 

Similaire à Practical Implementation of BGP Community with Geotags (20)

Practical Implementation of Large BGP communities with Geotags and Traffic En...
Practical Implementation of Large BGP communities with Geotags and Traffic En...Practical Implementation of Large BGP communities with Geotags and Traffic En...
Practical Implementation of Large BGP communities with Geotags and Traffic En...
 
Practical Implementation of Large BGP Community with Geotags and Traffic Engi...
Practical Implementation of Large BGP Community with Geotags and Traffic Engi...Practical Implementation of Large BGP Community with Geotags and Traffic Engi...
Practical Implementation of Large BGP Community with Geotags and Traffic Engi...
 
AQA AS ICT INFO2 Revision
AQA AS ICT INFO2 RevisionAQA AS ICT INFO2 Revision
AQA AS ICT INFO2 Revision
 
zipd and Url Shortner ppt Amey
zipd and Url Shortner ppt Ameyzipd and Url Shortner ppt Amey
zipd and Url Shortner ppt Amey
 
BGP Communities: A Guide for Service Provider Networks
BGP Communities: A Guide for Service Provider NetworksBGP Communities: A Guide for Service Provider Networks
BGP Communities: A Guide for Service Provider Networks
 
Windows network administration Basic theories
Windows network administration Basic theoriesWindows network administration Basic theories
Windows network administration Basic theories
 
Introduction to Routing Protocols of MANET
Introduction to Routing Protocols of MANET Introduction to Routing Protocols of MANET
Introduction to Routing Protocols of MANET
 
Sept 2017 dynamic routing
Sept 2017   dynamic routingSept 2017   dynamic routing
Sept 2017 dynamic routing
 
Meetup prague 201811_v01
Meetup prague 201811_v01Meetup prague 201811_v01
Meetup prague 201811_v01
 
Tags. troubleshooting and optimization startup sauna
Tags. troubleshooting and optimization startup saunaTags. troubleshooting and optimization startup sauna
Tags. troubleshooting and optimization startup sauna
 
【EPN Seminar Nov.10. 2015】 パネルディスカッション その2: BGP Peering Engineering Automatio...
【EPN Seminar Nov.10. 2015】 パネルディスカッション その2: BGP Peering Engineering Automatio...【EPN Seminar Nov.10. 2015】 パネルディスカッション その2: BGP Peering Engineering Automatio...
【EPN Seminar Nov.10. 2015】 パネルディスカッション その2: BGP Peering Engineering Automatio...
 
Internet Measurement Tools & Their Usefulness by Gaurab Raj Upadhaya
Internet Measurement Tools & Their Usefulness by Gaurab Raj UpadhayaInternet Measurement Tools & Their Usefulness by Gaurab Raj Upadhaya
Internet Measurement Tools & Their Usefulness by Gaurab Raj Upadhaya
 
Information Networks - (Covered all the Important Topics)
Information Networks - (Covered all the Important Topics) Information Networks - (Covered all the Important Topics)
Information Networks - (Covered all the Important Topics)
 
Bluetooth Data Points
Bluetooth Data PointsBluetooth Data Points
Bluetooth Data Points
 
Best Practices Using RTI Connext DDS
Best Practices Using RTI Connext DDSBest Practices Using RTI Connext DDS
Best Practices Using RTI Connext DDS
 
DSDV Protocols by Mr.Darwin Nesakumar A, AP/ECE, R.M.K.Engineering College
DSDV Protocols by Mr.Darwin Nesakumar A, AP/ECE, R.M.K.Engineering CollegeDSDV Protocols by Mr.Darwin Nesakumar A, AP/ECE, R.M.K.Engineering College
DSDV Protocols by Mr.Darwin Nesakumar A, AP/ECE, R.M.K.Engineering College
 
Communication systems revision 2017
Communication systems revision 2017 Communication systems revision 2017
Communication systems revision 2017
 
aniruddh khare resume (1)
aniruddh khare resume (1)aniruddh khare resume (1)
aniruddh khare resume (1)
 
CV_ANUPAM MONDAL
CV_ANUPAM MONDALCV_ANUPAM MONDAL
CV_ANUPAM MONDAL
 
Alternative metrics
Alternative metricsAlternative metrics
Alternative metrics
 

Plus de Bangladesh Network Operators Group

Accelerating Hyper-Converged Enterprise Virtualization using Proxmox and Ceph
Accelerating Hyper-Converged Enterprise Virtualization using Proxmox and CephAccelerating Hyper-Converged Enterprise Virtualization using Proxmox and Ceph
Accelerating Hyper-Converged Enterprise Virtualization using Proxmox and CephBangladesh Network Operators Group
 
Contents Localization Initiatives to get better User Experience
Contents Localization Initiatives to get better User ExperienceContents Localization Initiatives to get better User Experience
Contents Localization Initiatives to get better User ExperienceBangladesh Network Operators Group
 
Re-define network visibility for capacity planning & forecasting with Grafana
Re-define network visibility for capacity planning & forecasting with GrafanaRe-define network visibility for capacity planning & forecasting with Grafana
Re-define network visibility for capacity planning & forecasting with GrafanaBangladesh Network Operators Group
 

Plus de Bangladesh Network Operators Group (20)

Accelerating Hyper-Converged Enterprise Virtualization using Proxmox and Ceph
Accelerating Hyper-Converged Enterprise Virtualization using Proxmox and CephAccelerating Hyper-Converged Enterprise Virtualization using Proxmox and Ceph
Accelerating Hyper-Converged Enterprise Virtualization using Proxmox and Ceph
 
Recent IRR changes by Yoshinobu Matsuzaki, IIJ
Recent IRR changes by Yoshinobu Matsuzaki, IIJRecent IRR changes by Yoshinobu Matsuzaki, IIJ
Recent IRR changes by Yoshinobu Matsuzaki, IIJ
 
Fact Sheets : Network Status in Bangladesh
Fact Sheets : Network Status in BangladeshFact Sheets : Network Status in Bangladesh
Fact Sheets : Network Status in Bangladesh
 
AI Driven Wi-Fi for the Bottom of the Pyramid
AI Driven Wi-Fi for the Bottom of the PyramidAI Driven Wi-Fi for the Bottom of the Pyramid
AI Driven Wi-Fi for the Bottom of the Pyramid
 
IPv6 Security Overview by QS Tahmeed, APNIC RCT
IPv6 Security Overview by QS Tahmeed, APNIC RCTIPv6 Security Overview by QS Tahmeed, APNIC RCT
IPv6 Security Overview by QS Tahmeed, APNIC RCT
 
Network eWaste : Community role to manage end of life Product
Network eWaste : Community role to manage end of life ProductNetwork eWaste : Community role to manage end of life Product
Network eWaste : Community role to manage end of life Product
 
A plenarily integrated SIEM solution and it’s Deployment
A plenarily integrated SIEM solution and it’s DeploymentA plenarily integrated SIEM solution and it’s Deployment
A plenarily integrated SIEM solution and it’s Deployment
 
IPv6 Deployment in South Asia 2022
IPv6 Deployment in South Asia  2022IPv6 Deployment in South Asia  2022
IPv6 Deployment in South Asia 2022
 
Introduction to Software Defined Networking (SDN)
Introduction to Software Defined Networking (SDN)Introduction to Software Defined Networking (SDN)
Introduction to Software Defined Networking (SDN)
 
RPKI Deployment Status in Bangladesh
RPKI Deployment Status in BangladeshRPKI Deployment Status in Bangladesh
RPKI Deployment Status in Bangladesh
 
An Overview about open UDP Services
An Overview about open UDP ServicesAn Overview about open UDP Services
An Overview about open UDP Services
 
12 Years in DNS Security As a Defender
12 Years in DNS Security As a Defender12 Years in DNS Security As a Defender
12 Years in DNS Security As a Defender
 
Contents Localization Initiatives to get better User Experience
Contents Localization Initiatives to get better User ExperienceContents Localization Initiatives to get better User Experience
Contents Localization Initiatives to get better User Experience
 
BdNOG-20220625-MT-v6.0.pptx
BdNOG-20220625-MT-v6.0.pptxBdNOG-20220625-MT-v6.0.pptx
BdNOG-20220625-MT-v6.0.pptx
 
Route Leak Prevension with BGP Community
Route Leak Prevension with BGP CommunityRoute Leak Prevension with BGP Community
Route Leak Prevension with BGP Community
 
Tale of a New Bangladeshi NIX
Tale of a New Bangladeshi NIXTale of a New Bangladeshi NIX
Tale of a New Bangladeshi NIX
 
MANRS for Network Operators
MANRS for Network OperatorsMANRS for Network Operators
MANRS for Network Operators
 
Re-define network visibility for capacity planning & forecasting with Grafana
Re-define network visibility for capacity planning & forecasting with GrafanaRe-define network visibility for capacity planning & forecasting with Grafana
Re-define network visibility for capacity planning & forecasting with Grafana
 
RPKI ROA updates
RPKI ROA updatesRPKI ROA updates
RPKI ROA updates
 
Blockchain Demystified
Blockchain DemystifiedBlockchain Demystified
Blockchain Demystified
 

Dernier

₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...Diya Sharma
 
Networking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGNetworking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGAPNIC
 
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...tanu pandey
 
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersMoving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersDamian Radcliffe
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024APNIC
 
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl ServiceRussian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl Servicegwenoracqe6
 
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.soniya singh
 
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Delhi Call girls
 
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...APNIC
 
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445ruhi
 
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...Escorts Call Girls
 
CALL ON ➥8923113531 🔝Call Girls Lucknow Lucknow best sexual service Online
CALL ON ➥8923113531 🔝Call Girls Lucknow Lucknow best sexual service OnlineCALL ON ➥8923113531 🔝Call Girls Lucknow Lucknow best sexual service Online
CALL ON ➥8923113531 🔝Call Girls Lucknow Lucknow best sexual service Onlineanilsa9823
 

Dernier (20)

₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
 
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
 
Networking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGNetworking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOG
 
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
 
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
 
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersMoving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024
 
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl ServiceRussian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
 
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
 
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
 
@9999965857 🫦 Sexy Desi Call Girls Laxmi Nagar 💓 High Profile Escorts Delhi 🫶
@9999965857 🫦 Sexy Desi Call Girls Laxmi Nagar 💓 High Profile Escorts Delhi 🫶@9999965857 🫦 Sexy Desi Call Girls Laxmi Nagar 💓 High Profile Escorts Delhi 🫶
@9999965857 🫦 Sexy Desi Call Girls Laxmi Nagar 💓 High Profile Escorts Delhi 🫶
 
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
 
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
 
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
 
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
 
Russian Call Girls in %(+971524965298 )# Call Girls in Dubai
Russian Call Girls in %(+971524965298  )#  Call Girls in DubaiRussian Call Girls in %(+971524965298  )#  Call Girls in Dubai
Russian Call Girls in %(+971524965298 )# Call Girls in Dubai
 
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
 
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
 
CALL ON ➥8923113531 🔝Call Girls Lucknow Lucknow best sexual service Online
CALL ON ➥8923113531 🔝Call Girls Lucknow Lucknow best sexual service OnlineCALL ON ➥8923113531 🔝Call Girls Lucknow Lucknow best sexual service Online
CALL ON ➥8923113531 🔝Call Girls Lucknow Lucknow best sexual service Online
 

Practical Implementation of BGP Community with Geotags

  • 1. Practical Implementation of BGP Community with Geotags Muhammad Moinur Rahman 1Asia Alliance Communication Ltd moin@1asia-ahl.com
  • 2. GeoTAGS •  Geographical Identification Metadata •  A form of GeoSpatial Metadata –  Applicable to objects that have GeoGraphic Extent –  Or applicable to objects with some position on this Earth –  Objects like Photo, Audio/Video Files, SMS Messages –  Unlikely but true DNS information (LOC resources) •  Facebook Check-in or Photos @ –  Adds Geotaggs in our Facebook updates –  Adds Geotaggs in our Facebook Photos
  • 3. Geotags in BGP Routes •  A router is a device which intelligently routes packets – Not a Phone – Not a Camera – Not a GPS Device •  How can we add metatags in a route? – GeoCoding
  • 4. Geocoding •  A process of enriching description of a location •  Most frequently a postal address/place with GeoGraphic co-ordinates –  From a Spatial Reference Data •  Or reverse Geocoding •  Enriching a GeoGraphic Co-ordinate with a postal address/place –  Facebook/Google Plus and other social sites use reverse Geocoding for our Check-in
  • 5. BGP routes with location information •  Routers don’t have a builtin GPS device •  Need a process to manually Geocode it’s route-origin •  Need to add a tag to the route objects or group of routes •  Answer : BGP Communities
  • 6. BGP Communities •  A BGP attribute (RFC1997) •  A mechanism for coloring or (GEO)tagging route destinations or a group of route destinations •  A 4-byte value (RFC1998) •  Two types of communities – Regular – Extended
  • 7. BGP Communities(Contd) •  A 32-bit integer isn’t always easy to work with –  More common convention is to split into two 16-bit values –  Commonly <local-ASN>:value e.g 10102:0 (Sorry no help for 4 byte ASNs) –  Specially reserved (0:0 – 0:65535 and 65535:0 – 65535:65535) –  First value is intended to define the scope or “target” •  So you know if this community is “for you” or someone else •  So two networks don’t do conflicting things with the same data –  Second value is arbitrary data for the targeted network •  Whatever data you’re trying to encode
  • 8. BGP Community Tags •  Can be added to a particular prefix –  set community 10102:100 –  Set community 10102:90 additive •  Can be matched by route-map –  ip community-list PEER-ROUTES 10102:6600 –  community-set PEER 10102:31021 end-set •  Can be deleted from particular prefixes •  Full control over community tags
  • 9. Cause •  A scalable network needs them for its own use –  Be able to identify customers, transits, peers, etc –  To perform traffic engineering and export controls –  There is no other truly acceptable implementation •  But customers love using them as well –  “Power user” customers demand this level of control. –  Having self-supporting customers doesn’t hurt either. –  The more powerful you make your communities, the more work it will save you in the long run.
  • 10. Practical consideration •  Most routers parse BGP communities as strings rather than integers, using Regular Expressions. –  Design your community system with this in mind. –  Think strings and character positions, not numbers. –  For Example, 10102:1234 can easily be parsed as •  Field #1, Value 1 •  Field #2, Value 23 •  Field #3, Value 4 –  But can’t easily be parsed numerically •  For example as “larger than 1233”. –  Remember not to exceed 65535 as a 16-bit value. (65536 options) to represent •  Carried across AS
  • 11. Types of Implementation •  Practical BGP Communities Implementation can essentially be classified into two types: •  Informational tags –  Communities set by and sent from a provider network, to tell their customers (or other interested parties) something about that route. •  Action tags –  Communities set by and sent from a customer network, to influence the routing policies of the provider network –  Alter route attributes on demand –  Both globally and within own network –  Control the import/export of routes
  • 12. Informational tags •  Information communities typically focus on –  Where the route was learned •  AKA Geographic data (continent, country, region, city, etc in short geotag) –  How the route was learned •  AKA Relationship data (transit, peer, customer, internal, etc) –  There is no other good way to pass on this data •  This data is then used to make policy decisions –  Either by you, your customer, or an unknown third party. –  Exporting this data to the Internet can provide invaluable assistance to third party networks you may never even know about. This is usually a good thing for everyone.
  • 13. Ways to encode Information •  Encode simple arbitrary data –  No standards, each network defines its own mapping •  Which must be published somewhere like ASN description in IRR for others to use –  Ex: Continent (1 = Asia, 2 = Africa, etc) –  Ex: Relationship (1 = Transit, 2 = Public Peer, etc) •  Standards based encoding –  Ex: ISO 3166 encodes Country Codes into 2 digits
  • 14. Providing information •  As always, the exact design decision depends on specific network and footprint. •  Networks in only a few major cities may want to focus on enumerating those cities in a short list. •  Networks in a great number of cities may want to focus on regional aggregation specific to their scope. •  Plan for the future! –  Changing community design after it is already being used by customers may prove impossible.
  • 15. Practical Use of Informational Tags •  Make certain that Informational Tags from your Action Tags can easily be distinguished •  Ex: Make Informational Tags always 5 characters in length, and action tags to be 4 characters or less. •  This allow to easily match Info tags: “10102:.{5}” •  Filter communities from neighbors –  None is allowed to send Informational tags, these should only be set by Service Provider, and these should be stripped from all BGP neighbors (customers, transits, peers, etc). –  Otherwise there is a massive security problem.
  • 16. A simple approach towards providing information •  For example: 10102:TCCCP –  T Type of Relationship –  C Continent Code –  CC Country Code –  P POP Code •  The community 10102:21021 could be parsed as: –  Public Peer –  Asia –  Singapore –  Equinix
  • 17. Definitions - Types •  Type of routes – 1XYYP – Transit – 2XYYP – Public Peer – 3XYYP – Private Peer – 4XYYP – Customer – 5XYYP – Internal
  • 18. Definitions (Contd) •  Continents – T0YYP – Asia – T1YYP – Africa – T2YYP – Europe – T3YYP – North America – T4YYP – South America – T5YYP – Australia – T6YYP – Antarctica
  • 19. Definitions (Contd) •  Countries – T001P – Bangladesh – T002P – Singapore – T201P – United Kingdom – T202P – France – So on ..
  • 20. Definitions (Contd) •  PoP – T0011 – Central NOC – T0021 – Singapore Global Switch – T0022 – Singapore Equinix – T2011 – United Kingdom Telehouse North – T3011 – United States TelX – So on ..
  • 21. Let’s start geoconfiguring!! router bgp 10102 neighbor x.x.x.x remote-as 58656 neighbor x.x.x.x description bdHUB @Telx NYC neighbor x.x.x.x route-map as58656-in in neighbor x.x.x.x send-community ! route-map as58656-in permit 10 set community 10102:43011
  • 22. References 1.  Using Communities for Multihoming ( http://bgp4all.com/ftp/isp-workshops/BGP%20Presentations/09- BGP-Communities.pdf) 2.  BGP Techniques for Internet Service Providers – Philip Smith 3.  BGP Communities: A guide for Service Providers – Richard A. Steenbergen & Tom Scholl