Routing diff

Routing diff
Anurag Bhatia
Anurag Bhatia - Hurricane Electric - bdNOG 11 - Cox Bazar, Bangladesh - Routing diff
Objective
Comparison of routes in global routing table as seen across
various large networks.
Anurag Bhatia - Hurricane Electric - bdNOG 11 - Cox Bazar, Bangladesh - Routing diff
Why?
To see if announcements are actually global & find reason
for difference in number of routes from various networks.
Anurag Bhatia - Hurricane Electric - bdNOG 11 - Cox Bazar, Bangladesh - Routing diff
What we already know?
■ Large networks carry relatively similar number of routes
■ Route announcements can be limited by use of BGP community & hence may result in
difference in number of routes
■ Eyeball networks announce more specific routes to steer inbound traffic across various circuits
Anurag Bhatia - Hurricane Electric - bdNOG 11 - Cox Bazar, Bangladesh - Routing diff
But we also know...
■ Large networks carry relatively similar number of routes <- But there’s a visible difference of few
thousand routes!
■ Route announcements can be limited by use of BGP community & hence may result in
difference in number of routes <- Can that alone result in difference of thousands of routes?
■ Eyeball networks announce more specific routes to steer inbound traffic across various circuits
<- But if route reaches default free zone, it should reach everywhere else!
Anurag Bhatia - Hurricane Electric - bdNOG 11 - Cox Bazar, Bangladesh - Routing diff
Networks considered in the study
1. AT&T - AS7018
2. Century Link / Level3 / Global Crossing - AS3549
3. Cogent - AS174
4. GTT - AS3257
5. Hurricane Electric - AS6939
6. KPN - AS286
7. NTT - AS2914
8. Sprint - AS1239
9. Verizon - AS701
Anurag Bhatia - Hurricane Electric - bdNOG 11 - Cox Bazar, Bangladesh - Routing diff
Why specifically these networks?
1. Large networks by size & reach
2. Full routes are visible at RIPE RIS and Oregon Route Views. For other’s it’s either no visibility at
popular collectors
3. Routes in default free zone without no-export (or similar community) should reach everyone else
Note: Remember downstream give a picture but the picture is seperate from what upstream gets it
Anurag Bhatia - Hurricane Electric - bdNOG 11 - Cox Bazar, Bangladesh - Routing diff
Best path propagation only
Blue
Red
Green
Route Collector:
Best paths only!
Flow of routes
Anurag Bhatia - Hurricane Electric - bdNOG 11 - Cox Bazar, Bangladesh - Routing diff
Best path propagation only
Blue
Red
Green
Route Collector:
Best paths only!
Yellow Purple
Red via Blue
Green via Blue
Yellow via Red via Blue
Purple via Green via Blue Flow of routes
Anurag Bhatia - Hurricane Electric - bdNOG 11 - Cox Bazar, Bangladesh - Routing diff
Warning! Slides with lot of numbers ahead!
Anurag Bhatia - Hurricane Electric - bdNOG 11 - Cox Bazar, Bangladesh - Routing diff
Comparing routes
Total unique IPv4 Prefixes: 8,02,156
Prefixes with limited visibility: 34,872
That’s 4.34% routes!
Anurag Bhatia - Hurricane Electric - bdNOG 11 - Cox Bazar, Bangladesh - Routing diff
Removing announcements smaller than /24...
Anurag Bhatia - Hurricane Electric - bdNOG 11 - Cox Bazar, Bangladesh - Routing diff
Comparing routes
Total unique IPv4 Prefixes: 801834
Prefixes with limited visibility: 34565
ASNs with limited visibility: 3866
Prefixes with limited visibility + invalid ROAs: 4477
ASNs with limited visibility + invalid ROAs: 987
That’s 4.31% routes!
Anurag Bhatia - Hurricane Electric - bdNOG 11 - Cox Bazar, Bangladesh - Routing diff
Comparing routes (cont.)
ASN IPv4 Prefixes Diff from total Missing %
AS7018 769143 32691 4.08
AS174 769917 31917 3.98
AS3257 772781 29053 3.62
AS6939 796930 4904 0.61
AS286 772654 29180 3.64
AS2914 773027 28807 3.59
AS1239 771004 30830 3.84
AS701 771563 30271 3.78
Anurag Bhatia - Hurricane Electric - bdNOG 11 - Cox Bazar, Bangladesh - Routing diff
Top 10 ASNs with limited visibility
ASN Prefix Count Prefix % AS Name
47331 5453 15.78 TTNET, TR
31334 3203 9.27 KABELDEUTSCHLAND-AS, DE
18403 983 2.84 FPT-AS-AP The Corporation for Financing & Promoting Technology, VN
45090 481 1.39 CNNIC-TENCENT-NET-AP Shenzhen Tencent Computer Systems Company Limited, CN
4787 447 1.29 ASN-CBN PT Cyberindo Aditama, ID
7545 427 1.24 TPG-INTERNET-AP TPG Telecom Limited, AU
24955 359 1.04 UBN-AS, RU
24560 298 0.86 AIRTELBROADBAND-AS-AP Bharti Airtel Ltd., Telemedia Services, IN
38333 275 0.80 SYMBIO-AS-AU-AP Symbio Networks, AU
9808 225 0.65 CMNET-GD Guangdong Mobile Communication Co.Ltd., CN
Anurag Bhatia - Hurricane Electric - bdNOG 11 - Cox Bazar, Bangladesh - Routing diff
Top 10 countries with limited visibility
Country Prefix Count Percentage
TR 5770 16.69
BR 3856 11.16
DE 3411 9.87
US 3002 8.69
CN 2281 6.60
RU 1290 3.73
AU 1218 3.52
ID 1207 3.49
IN 1203 3.48
VN 1050 3.04
Anurag Bhatia - Hurricane Electric - bdNOG 11 - Cox Bazar, Bangladesh - Routing diff
Possible reasons for the difference
1. RPKI based filtering by network like AS7018 etc and dropping 4k+ invalids in diff list
2. IRR based filtering resulting in drop due to bad route object by certain networks
3. IRR based filtering resulting in drop due to missing AS-SET in the chain
4. Route announcement by anycast sensitive networks with no-export to these specific networks
5. Delays due to slow BGP convergence
6. Misconfiguration - Announcing route only to a “peer” and not all default free zone peers or transit
7. BGP filtering: Some networks filtering downstream & found with unopened filters for few days while some
accepted without filtering.
Anurag Bhatia - Hurricane Electric - bdNOG 11 - Cox Bazar, Bangladesh - Routing diff
Some misc things...
1. Large operators like AS18101 signed prefixes and missed to create ROAs
for smaller chunks assigned & announced by downstream resulting in
RPKI invalids
2. Bad operational practice like removing a prefix without covering prefix from
“link 1” and announcing on “link 2”
3. Around 454 routes of AS45090 were missing specifically from AS701 and
AS1239
Anurag Bhatia - Hurricane Electric - bdNOG 11 - Cox Bazar, Bangladesh - Routing diff
What operators can do to ensure global reachability?
1. Ensure proper IRR hygiene. Remember to create IRR route objects,
mantain AS SETs (if you have downstream), ensure your ASN is in
upstream’s AS SET
2. Ensure RPKI hygiene. Ensure ROAs are present with correct origin AS and
max length
3. If load balancing traffic with more specific, ensure covering prefix is always
present to avoid convergence issues
4. Know the difference between your “Peers” and “Transit”. Don’t assume
peers to be transit! :)
Questions?
Anurag Bhatia
anurag@he.net
1 of 20

Recommended

RPKI invalids aren't gone yet by
RPKI invalids aren't gone yetRPKI invalids aren't gone yet
RPKI invalids aren't gone yetBangladesh Network Operators Group
318 views19 slides
RPKI Deployment Status in Bangladesh by
RPKI Deployment Status in BangladeshRPKI Deployment Status in Bangladesh
RPKI Deployment Status in BangladeshBangladesh Network Operators Group
153 views27 slides
Routing Security - its importance and status in South Asia by
Routing Security - its importance and status in South AsiaRouting Security - its importance and status in South Asia
Routing Security - its importance and status in South AsiaBangladesh Network Operators Group
256 views25 slides
IPv6 Deployment Update by
IPv6 Deployment UpdateIPv6 Deployment Update
IPv6 Deployment UpdateBangladesh Network Operators Group
444 views18 slides
Bgp Basic Labs by
Bgp Basic LabsBgp Basic Labs
Bgp Basic Labscisconetworker
2.7K views77 slides
RPKI and Me by
RPKI and MeRPKI and Me
RPKI and MeMyNOG
641 views40 slides

More Related Content

What's hot

Border Gateway Protocol (BGP) by
Border Gateway Protocol (BGP)Border Gateway Protocol (BGP)
Border Gateway Protocol (BGP)Nutan Singh
343 views23 slides
Part1 by
Part1Part1
Part1cisconetworker
2.3K views101 slides
Using BGP To Manage Dual Internet Connections by
Using BGP To Manage Dual Internet ConnectionsUsing BGP To Manage Dual Internet Connections
Using BGP To Manage Dual Internet ConnectionsRowell Dionicio
31.2K views25 slides
BGP Techniques for Network Operators by
BGP Techniques for Network OperatorsBGP Techniques for Network Operators
BGP Techniques for Network OperatorsAPNIC
5.6K views208 slides
B G P Part2 by
B G P  Part2B G P  Part2
B G P Part2cisconetworker
1K views107 slides
BGP Multihoming Techniques by
BGP Multihoming TechniquesBGP Multihoming Techniques
BGP Multihoming TechniquesAPNIC
4.4K views219 slides

What's hot(20)

Border Gateway Protocol (BGP) by Nutan Singh
Border Gateway Protocol (BGP)Border Gateway Protocol (BGP)
Border Gateway Protocol (BGP)
Nutan Singh343 views
Using BGP To Manage Dual Internet Connections by Rowell Dionicio
Using BGP To Manage Dual Internet ConnectionsUsing BGP To Manage Dual Internet Connections
Using BGP To Manage Dual Internet Connections
Rowell Dionicio31.2K views
BGP Techniques for Network Operators by APNIC
BGP Techniques for Network OperatorsBGP Techniques for Network Operators
BGP Techniques for Network Operators
APNIC5.6K views
BGP Multihoming Techniques by APNIC
BGP Multihoming TechniquesBGP Multihoming Techniques
BGP Multihoming Techniques
APNIC4.4K views
IPv6 at FPT Telecom by APNIC
IPv6 at FPT TelecomIPv6 at FPT Telecom
IPv6 at FPT Telecom
APNIC1.5K views
Segment Routing & Application Engeering Routing by Bertrand Duvivier
Segment Routing & Application Engeering RoutingSegment Routing & Application Engeering Routing
Segment Routing & Application Engeering Routing
Bertrand Duvivier1.8K views
IPLC Analytic Dashboard - Mohd Rizal bin Mohd Ramly by MyNOG
IPLC Analytic Dashboard - Mohd Rizal bin Mohd RamlyIPLC Analytic Dashboard - Mohd Rizal bin Mohd Ramly
IPLC Analytic Dashboard - Mohd Rizal bin Mohd Ramly
MyNOG1K views
PhNOG 2020: ROA and RPKI in the Philippines by APNIC
PhNOG 2020: ROA and RPKI in the PhilippinesPhNOG 2020: ROA and RPKI in the Philippines
PhNOG 2020: ROA and RPKI in the Philippines
APNIC663 views
Bgp training by Aun Haider
Bgp trainingBgp training
Bgp training
Aun Haider321 views
NZNOG 2020: APNIC update by APNIC
NZNOG 2020: APNIC updateNZNOG 2020: APNIC update
NZNOG 2020: APNIC update
APNIC189 views
Engineering The New IP Transport by MyNOG
Engineering The New IP TransportEngineering The New IP Transport
Engineering The New IP Transport
MyNOG411 views
Routing Security by RIPE NCC
Routing SecurityRouting Security
Routing Security
RIPE NCC42 views

Similar to Routing diff

Let's talk about routing security, Anurag Bhatia, Hurricane Electric by
Let's talk about routing security, Anurag Bhatia, Hurricane ElectricLet's talk about routing security, Anurag Bhatia, Hurricane Electric
Let's talk about routing security, Anurag Bhatia, Hurricane ElectricBangladesh Network Operators Group
424 views39 slides
3 ip routing pbr bfd -v2 by
3 ip routing   pbr bfd -v23 ip routing   pbr bfd -v2
3 ip routing pbr bfd -v2SagarR24
254 views124 slides
BGP Traffic Engineering / Routing Optimisation by
BGP Traffic Engineering / Routing OptimisationBGP Traffic Engineering / Routing Optimisation
BGP Traffic Engineering / Routing OptimisationAndy Davidson
11.7K views47 slides
Computer network (14) by
Computer network (14)Computer network (14)
Computer network (14)NYversity
249 views50 slides
3 ip routing vrf lite - v2 by
3 ip routing   vrf lite - v23 ip routing   vrf lite - v2
3 ip routing vrf lite - v2SagarR24
150 views128 slides
Interautonomous System PLS VPN Advanced Concepts by
Interautonomous System PLS VPN Advanced ConceptsInterautonomous System PLS VPN Advanced Concepts
Interautonomous System PLS VPN Advanced ConceptsBrozaa
272 views44 slides

Similar to Routing diff(20)

3 ip routing pbr bfd -v2 by SagarR24
3 ip routing   pbr bfd -v23 ip routing   pbr bfd -v2
3 ip routing pbr bfd -v2
SagarR24254 views
BGP Traffic Engineering / Routing Optimisation by Andy Davidson
BGP Traffic Engineering / Routing OptimisationBGP Traffic Engineering / Routing Optimisation
BGP Traffic Engineering / Routing Optimisation
Andy Davidson11.7K views
Computer network (14) by NYversity
Computer network (14)Computer network (14)
Computer network (14)
NYversity249 views
3 ip routing vrf lite - v2 by SagarR24
3 ip routing   vrf lite - v23 ip routing   vrf lite - v2
3 ip routing vrf lite - v2
SagarR24150 views
Interautonomous System PLS VPN Advanced Concepts by Brozaa
Interautonomous System PLS VPN Advanced ConceptsInterautonomous System PLS VPN Advanced Concepts
Interautonomous System PLS VPN Advanced Concepts
Brozaa272 views
Implementing Internet and MPLS BGP by Private
Implementing Internet and MPLS BGPImplementing Internet and MPLS BGP
Implementing Internet and MPLS BGP
Private13.1K views
3 ip routing part b by SagarR24
3 ip routing part b3 ip routing part b
3 ip routing part b
SagarR24171 views
3 ip routing bgp-updated by SagarR24
3 ip routing bgp-updated3 ip routing bgp-updated
3 ip routing bgp-updated
SagarR24167 views
PLNOG15: BGP New Advanced Features - Piotr Wojciechowski by PROIDEA
PLNOG15: BGP New Advanced Features - Piotr WojciechowskiPLNOG15: BGP New Advanced Features - Piotr Wojciechowski
PLNOG15: BGP New Advanced Features - Piotr Wojciechowski
PROIDEA183 views
Misused top ASNs by APNIC
Misused top ASNsMisused top ASNs
Misused top ASNs
APNIC562 views
LkNOG 3: Strengthening the Internet infrastructure in Sri Lanka by APNIC
LkNOG 3: Strengthening the Internet infrastructure in Sri LankaLkNOG 3: Strengthening the Internet infrastructure in Sri Lanka
LkNOG 3: Strengthening the Internet infrastructure in Sri Lanka
APNIC426 views
LKNOG3-Keynote by LKNOG
LKNOG3-KeynoteLKNOG3-Keynote
LKNOG3-Keynote
LKNOG81 views
Planning and route survey by Bala V
Planning and route surveyPlanning and route survey
Planning and route survey
Bala V4.7K views
SLT-IX Setting up an Internet Exchange : Sri Lankan experience by APNIC
SLT-IX Setting up an Internet Exchange : Sri Lankan experienceSLT-IX Setting up an Internet Exchange : Sri Lankan experience
SLT-IX Setting up an Internet Exchange : Sri Lankan experience
APNIC620 views
Cloud Traffic Engineer – Google Espresso Project by Shaowen Ma by MyNOG
Cloud Traffic Engineer – Google Espresso Project  by Shaowen MaCloud Traffic Engineer – Google Espresso Project  by Shaowen Ma
Cloud Traffic Engineer – Google Espresso Project by Shaowen Ma
MyNOG870 views
Circuit switch vs packet switch by GauravBiswas9
Circuit switch vs packet switchCircuit switch vs packet switch
Circuit switch vs packet switch
GauravBiswas9113 views

More from Bangladesh Network Operators Group

IPv6 Deployment in South Asia 2022 by
IPv6 Deployment in South Asia  2022IPv6 Deployment in South Asia  2022
IPv6 Deployment in South Asia 2022Bangladesh Network Operators Group
43 views20 slides
Introduction to Software Defined Networking (SDN) by
Introduction to Software Defined Networking (SDN)Introduction to Software Defined Networking (SDN)
Introduction to Software Defined Networking (SDN)Bangladesh Network Operators Group
138 views27 slides
RPKI Deployment Status in Bangladesh by
RPKI Deployment Status in BangladeshRPKI Deployment Status in Bangladesh
RPKI Deployment Status in BangladeshBangladesh Network Operators Group
45 views21 slides
An Overview about open UDP Services by
An Overview about open UDP ServicesAn Overview about open UDP Services
An Overview about open UDP ServicesBangladesh Network Operators Group
217 views15 slides
12 Years in DNS Security As a Defender by
12 Years in DNS Security As a Defender12 Years in DNS Security As a Defender
12 Years in DNS Security As a DefenderBangladesh Network Operators Group
111 views21 slides
Contents Localization Initiatives to get better User Experience by
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
72 views31 slides

More from Bangladesh Network Operators Group(20)

Recently uploaded

PharoJS - Zürich Smalltalk Group Meetup November 2023 by
PharoJS - Zürich Smalltalk Group Meetup November 2023PharoJS - Zürich Smalltalk Group Meetup November 2023
PharoJS - Zürich Smalltalk Group Meetup November 2023Noury Bouraqadi
126 views17 slides
STPI OctaNE CoE Brochure.pdf by
STPI OctaNE CoE Brochure.pdfSTPI OctaNE CoE Brochure.pdf
STPI OctaNE CoE Brochure.pdfmadhurjyapb
13 views1 slide
Special_edition_innovator_2023.pdf by
Special_edition_innovator_2023.pdfSpecial_edition_innovator_2023.pdf
Special_edition_innovator_2023.pdfWillDavies22
17 views6 slides
STKI Israeli Market Study 2023 corrected forecast 2023_24 v3.pdf by
STKI Israeli Market Study 2023   corrected forecast 2023_24 v3.pdfSTKI Israeli Market Study 2023   corrected forecast 2023_24 v3.pdf
STKI Israeli Market Study 2023 corrected forecast 2023_24 v3.pdfDr. Jimmy Schwarzkopf
16 views29 slides
virtual reality.pptx by
virtual reality.pptxvirtual reality.pptx
virtual reality.pptxG036GaikwadSnehal
11 views15 slides
Voice Logger - Telephony Integration Solution at Aegis by
Voice Logger - Telephony Integration Solution at AegisVoice Logger - Telephony Integration Solution at Aegis
Voice Logger - Telephony Integration Solution at AegisNirmal Sharma
31 views1 slide

Recently uploaded(20)

PharoJS - Zürich Smalltalk Group Meetup November 2023 by Noury Bouraqadi
PharoJS - Zürich Smalltalk Group Meetup November 2023PharoJS - Zürich Smalltalk Group Meetup November 2023
PharoJS - Zürich Smalltalk Group Meetup November 2023
Noury Bouraqadi126 views
STPI OctaNE CoE Brochure.pdf by madhurjyapb
STPI OctaNE CoE Brochure.pdfSTPI OctaNE CoE Brochure.pdf
STPI OctaNE CoE Brochure.pdf
madhurjyapb13 views
Special_edition_innovator_2023.pdf by WillDavies22
Special_edition_innovator_2023.pdfSpecial_edition_innovator_2023.pdf
Special_edition_innovator_2023.pdf
WillDavies2217 views
STKI Israeli Market Study 2023 corrected forecast 2023_24 v3.pdf by Dr. Jimmy Schwarzkopf
STKI Israeli Market Study 2023   corrected forecast 2023_24 v3.pdfSTKI Israeli Market Study 2023   corrected forecast 2023_24 v3.pdf
STKI Israeli Market Study 2023 corrected forecast 2023_24 v3.pdf
Voice Logger - Telephony Integration Solution at Aegis by Nirmal Sharma
Voice Logger - Telephony Integration Solution at AegisVoice Logger - Telephony Integration Solution at Aegis
Voice Logger - Telephony Integration Solution at Aegis
Nirmal Sharma31 views
iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas... by Bernd Ruecker
iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas...iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas...
iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas...
Bernd Ruecker33 views
Data Integrity for Banking and Financial Services by Precisely
Data Integrity for Banking and Financial ServicesData Integrity for Banking and Financial Services
Data Integrity for Banking and Financial Services
Precisely12 views
handbook for web 3 adoption.pdf by Liveplex
handbook for web 3 adoption.pdfhandbook for web 3 adoption.pdf
handbook for web 3 adoption.pdf
Liveplex22 views
Five Things You SHOULD Know About Postman by Postman
Five Things You SHOULD Know About PostmanFive Things You SHOULD Know About Postman
Five Things You SHOULD Know About Postman
Postman30 views
Unit 1_Lecture 2_Physical Design of IoT.pdf by StephenTec
Unit 1_Lecture 2_Physical Design of IoT.pdfUnit 1_Lecture 2_Physical Design of IoT.pdf
Unit 1_Lecture 2_Physical Design of IoT.pdf
StephenTec12 views
Case Study Copenhagen Energy and Business Central.pdf by Aitana
Case Study Copenhagen Energy and Business Central.pdfCase Study Copenhagen Energy and Business Central.pdf
Case Study Copenhagen Energy and Business Central.pdf
Aitana16 views

Routing diff

  • 2. Anurag Bhatia - Hurricane Electric - bdNOG 11 - Cox Bazar, Bangladesh - Routing diff Objective Comparison of routes in global routing table as seen across various large networks.
  • 3. Anurag Bhatia - Hurricane Electric - bdNOG 11 - Cox Bazar, Bangladesh - Routing diff Why? To see if announcements are actually global & find reason for difference in number of routes from various networks.
  • 4. Anurag Bhatia - Hurricane Electric - bdNOG 11 - Cox Bazar, Bangladesh - Routing diff What we already know? ■ Large networks carry relatively similar number of routes ■ Route announcements can be limited by use of BGP community & hence may result in difference in number of routes ■ Eyeball networks announce more specific routes to steer inbound traffic across various circuits
  • 5. Anurag Bhatia - Hurricane Electric - bdNOG 11 - Cox Bazar, Bangladesh - Routing diff But we also know... ■ Large networks carry relatively similar number of routes <- But there’s a visible difference of few thousand routes! ■ Route announcements can be limited by use of BGP community & hence may result in difference in number of routes <- Can that alone result in difference of thousands of routes? ■ Eyeball networks announce more specific routes to steer inbound traffic across various circuits <- But if route reaches default free zone, it should reach everywhere else!
  • 6. Anurag Bhatia - Hurricane Electric - bdNOG 11 - Cox Bazar, Bangladesh - Routing diff Networks considered in the study 1. AT&T - AS7018 2. Century Link / Level3 / Global Crossing - AS3549 3. Cogent - AS174 4. GTT - AS3257 5. Hurricane Electric - AS6939 6. KPN - AS286 7. NTT - AS2914 8. Sprint - AS1239 9. Verizon - AS701
  • 7. Anurag Bhatia - Hurricane Electric - bdNOG 11 - Cox Bazar, Bangladesh - Routing diff Why specifically these networks? 1. Large networks by size & reach 2. Full routes are visible at RIPE RIS and Oregon Route Views. For other’s it’s either no visibility at popular collectors 3. Routes in default free zone without no-export (or similar community) should reach everyone else Note: Remember downstream give a picture but the picture is seperate from what upstream gets it
  • 8. Anurag Bhatia - Hurricane Electric - bdNOG 11 - Cox Bazar, Bangladesh - Routing diff Best path propagation only Blue Red Green Route Collector: Best paths only! Flow of routes
  • 9. Anurag Bhatia - Hurricane Electric - bdNOG 11 - Cox Bazar, Bangladesh - Routing diff Best path propagation only Blue Red Green Route Collector: Best paths only! Yellow Purple Red via Blue Green via Blue Yellow via Red via Blue Purple via Green via Blue Flow of routes
  • 10. Anurag Bhatia - Hurricane Electric - bdNOG 11 - Cox Bazar, Bangladesh - Routing diff Warning! Slides with lot of numbers ahead!
  • 11. Anurag Bhatia - Hurricane Electric - bdNOG 11 - Cox Bazar, Bangladesh - Routing diff Comparing routes Total unique IPv4 Prefixes: 8,02,156 Prefixes with limited visibility: 34,872 That’s 4.34% routes!
  • 12. Anurag Bhatia - Hurricane Electric - bdNOG 11 - Cox Bazar, Bangladesh - Routing diff Removing announcements smaller than /24...
  • 13. Anurag Bhatia - Hurricane Electric - bdNOG 11 - Cox Bazar, Bangladesh - Routing diff Comparing routes Total unique IPv4 Prefixes: 801834 Prefixes with limited visibility: 34565 ASNs with limited visibility: 3866 Prefixes with limited visibility + invalid ROAs: 4477 ASNs with limited visibility + invalid ROAs: 987 That’s 4.31% routes!
  • 14. Anurag Bhatia - Hurricane Electric - bdNOG 11 - Cox Bazar, Bangladesh - Routing diff Comparing routes (cont.) ASN IPv4 Prefixes Diff from total Missing % AS7018 769143 32691 4.08 AS174 769917 31917 3.98 AS3257 772781 29053 3.62 AS6939 796930 4904 0.61 AS286 772654 29180 3.64 AS2914 773027 28807 3.59 AS1239 771004 30830 3.84 AS701 771563 30271 3.78
  • 15. Anurag Bhatia - Hurricane Electric - bdNOG 11 - Cox Bazar, Bangladesh - Routing diff Top 10 ASNs with limited visibility ASN Prefix Count Prefix % AS Name 47331 5453 15.78 TTNET, TR 31334 3203 9.27 KABELDEUTSCHLAND-AS, DE 18403 983 2.84 FPT-AS-AP The Corporation for Financing & Promoting Technology, VN 45090 481 1.39 CNNIC-TENCENT-NET-AP Shenzhen Tencent Computer Systems Company Limited, CN 4787 447 1.29 ASN-CBN PT Cyberindo Aditama, ID 7545 427 1.24 TPG-INTERNET-AP TPG Telecom Limited, AU 24955 359 1.04 UBN-AS, RU 24560 298 0.86 AIRTELBROADBAND-AS-AP Bharti Airtel Ltd., Telemedia Services, IN 38333 275 0.80 SYMBIO-AS-AU-AP Symbio Networks, AU 9808 225 0.65 CMNET-GD Guangdong Mobile Communication Co.Ltd., CN
  • 16. Anurag Bhatia - Hurricane Electric - bdNOG 11 - Cox Bazar, Bangladesh - Routing diff Top 10 countries with limited visibility Country Prefix Count Percentage TR 5770 16.69 BR 3856 11.16 DE 3411 9.87 US 3002 8.69 CN 2281 6.60 RU 1290 3.73 AU 1218 3.52 ID 1207 3.49 IN 1203 3.48 VN 1050 3.04
  • 17. Anurag Bhatia - Hurricane Electric - bdNOG 11 - Cox Bazar, Bangladesh - Routing diff Possible reasons for the difference 1. RPKI based filtering by network like AS7018 etc and dropping 4k+ invalids in diff list 2. IRR based filtering resulting in drop due to bad route object by certain networks 3. IRR based filtering resulting in drop due to missing AS-SET in the chain 4. Route announcement by anycast sensitive networks with no-export to these specific networks 5. Delays due to slow BGP convergence 6. Misconfiguration - Announcing route only to a “peer” and not all default free zone peers or transit 7. BGP filtering: Some networks filtering downstream & found with unopened filters for few days while some accepted without filtering.
  • 18. Anurag Bhatia - Hurricane Electric - bdNOG 11 - Cox Bazar, Bangladesh - Routing diff Some misc things... 1. Large operators like AS18101 signed prefixes and missed to create ROAs for smaller chunks assigned & announced by downstream resulting in RPKI invalids 2. Bad operational practice like removing a prefix without covering prefix from “link 1” and announcing on “link 2” 3. Around 454 routes of AS45090 were missing specifically from AS701 and AS1239
  • 19. Anurag Bhatia - Hurricane Electric - bdNOG 11 - Cox Bazar, Bangladesh - Routing diff What operators can do to ensure global reachability? 1. Ensure proper IRR hygiene. Remember to create IRR route objects, mantain AS SETs (if you have downstream), ensure your ASN is in upstream’s AS SET 2. Ensure RPKI hygiene. Ensure ROAs are present with correct origin AS and max length 3. If load balancing traffic with more specific, ensure covering prefix is always present to avoid convergence issues 4. Know the difference between your “Peers” and “Transit”. Don’t assume peers to be transit! :)