GEO BASED ROUTING FOR BORDER GATEWAY PROTOCOL IN ISP MULTI-HOMING ENVIRONMENT

Similar documents
ADAPTIVE VIDEO STREAMING FOR BANDWIDTH VARIATION WITH OPTIMUM QUALITY

STUDY ON THE EFFECT OF ORIENTATION ON PHTOTOVOLTAIC ARRAY OUTPUT IN SELECTED LOCATIONS OF SRI LANKA

STUDY ON THE USE OF PUBLIC DATA CENTERS FOR IT INFRASTRUCTURE OUTSOURCING IN SRI LANKA

SCALABLE IN-MEMORY DATA MANAGEMENT MODEL FOR ENTERPRISE APPLICATIONS

STANDARD REST API FOR

ACCELERATED COMPLEX EVENT PROCESSING WITH GRAPHICS PROCESSING UNITS

OpenFOAM on GPUs. Thilina Rathnayake R. Department of Computer Science & Engineering. University of Moratuwa Sri Lanka

University of Moratuwa

Location Based Selling Platform for Mobile Buyers

Advanced Migration of Schema and Data across Multiple Databases

AUTOMATED STUDENT S ATTENDANCE ENTERING SYSTEM BY ELIMINATING FORGE SIGNATURES

STUDY ON MATURITY OF BUSINESS CONTINUITY MANAGEMENT AND ICT RELIANCE IN SRI LANKA MASTER OF BUSINESS ADMINISTRATION IN INFORMATION TECHNOLOGY

Supporting Quality of Service for Internet Applications A thesis presented for the degree of Master of Science Research

BTEC Level 3 Extended Diploma

Asymmetric Digital Subscriber Line As Internet Superhighway for Sri Lanka

CS 204: BGP. Jiasi Chen Lectures: MWF 12:10-1pm Humanities and Social Sciences

Outline Computer Networking. Inter and Intra-Domain Routing. Internet s Area Hierarchy Routing hierarchy. Internet structure

The Discovery and Retrieval of Temporal Rules in Interval Sequence Data

COM-208: Computer Networks - Homework 6

Operation Manual BGP. Table of Contents

The Contemporary Internet p. 3 Evolution of the Internet p. 5 Origins and Recent History of the Internet p. 5 From ARPANET to NSFNET p.

BGP Configuration. BGP Overview. Introduction to BGP. Formats of BGP Messages. Header

FINAL INTERNSHIP REPORT

Network Layer (Routing)

Particle Swarm Optimization Methods for Pattern. Recognition and Image Processing

BGP Case Studies. ISP Workshops

BGP Scaling (RR & Peer Group)

Border Gateway Protocol

TOMRAS: A Task Oriented Mobile Remote Access System for Desktop Applications

Important Lessons From Last Lecture Computer Networking. Outline. Routing Review. Routing hierarchy. Internet structure. External BGP (E-BGP)

Inter-Domain Routing: BGP

Development of IIC and Future Trends in Sri Lanka. Nishantha Palihawadana Deputy Director, Telecommunications Regulatory Commission, Sri Lanka

Border Gateway Protocol - BGP

UNIVERSITI MALAYSIA PAHANG

Migrate and Transfer Schema and Data across Multiple Databases

PoP Level Mapping And Peering Deals

CS 43: Computer Networks Internet Routing. Kevin Webb Swarthmore College November 16, 2017

CS 640: Introduction to Computer Networks. Intra-domain routing. Inter-domain Routing: Hierarchy. Aditya Akella

internet technologies and standards

Introduction to IP Routing. Geoff Huston

Interdomain Routing Reading: Sections P&D 4.3.{3,4}

BGP. Inter-domain routing with the Border Gateway Protocol. Iljitsch van Beijnum Amsterdam, 13 & 16 March 2007

Internet Routing Architectures, Second Edition

Lab Guide 2 - BGP Configuration

CSc 450/550 Computer Networks Internet Routing

Introduction. Keith Barker, CCIE #6783. YouTube - Keith6783.

Introduction to BGP. ISP/IXP Workshops

Inter-AS routing and BGP. Network Layer 4-1

BGP101. Howard C. Berkowitz. (703)

Master Course Computer Networks IN2097

Service Provider Multihoming

Content distribution networks over shared infrastructure : a paradigm for future content network deployment

Service Provider Multihoming

(Cover Page) TITLE OF THE THESIS TITLE OF THE THESIS TITLE OF THE THESIS (Not more than 3 lines. CAPS Times New Roman Font size 20)

CS 43: Computer Networks. 24: Internet Routing November 19, 2018

Inter-Autonomous-System Routing: Border Gateway Protocol

CS 43: Computer Networks Internet Routing. Kevin Webb Swarthmore College November 14, 2013

Chapter 13 Configuring BGP4

Interdomain Routing Reading: Sections K&R EE122: Intro to Communication Networks Fall 2007 (WF 4:00-5:30 in Cory 277)

Hierarchical Routing. Our routing study thus far - idealization all routers identical network flat not true in practice

ISP Border Definition. Alexander Azimov

Multihoming Complex Cases & Caveats

ibgp Multipath Load Sharing

Enhanced Web Log Based Recommendation by Personalized Retrieval

Routing Protocols. Technology Description BGP CHAPTER

Ravi Chandra cisco Systems Cisco Systems Confidential

A ROLE MANAGEMENT MODEL FOR USER AUTHORIZATION QUERIES IN ROLE BASED ACCESS CONTROL SYSTEMS A THESIS CH.SASI DHAR RAO

Inter-Domain Routing: BGP

Configuring BGP. Cisco s BGP Implementation

BGP. Autonomous system (AS) BGP version 4. Definition (AS Autonomous System)

CS BGP v4. Fall 2014

Master Course Computer Networks IN2097

IP & DCN Planning for Microwave Networks

Internet Routing Protocols Lecture 01 & 02

Using MSDP to Interconnect Multiple PIM-SM Domains

MPLS: Layer 3 VPNs: Inter-AS and CSC Configuration Guide, Cisco IOS Release 15SY

BGP. Border Gateway Protocol A short introduction. Karst Koymans. Informatics Institute University of Amsterdam. (version 18.3, 2018/12/03 13:53:22)

Protecting an EBGP peer when memory usage reaches level 2 threshold 66 Configuring a large-scale BGP network 67 Configuring BGP community 67

Chapter IV: Network Layer

Advanced Multihoming. BGP Traffic Engineering

code pattern analysis of object-oriented programming languages

Privacy Preserving Data Sharing in Data Mining Environment

A Frequent Max Substring Technique for. Thai Text Indexing. School of Information Technology. Todsanai Chumwatana

Copyright is owned by the Author of the thesis. Permission is given for a copy to be downloaded by an individual for the purpose of research and

Multicast Technology White Paper

vcloud Director Tenant Portal Guide vcloud Director 8.20

CS4450. Computer Networks: Architecture and Protocols. Lecture 15 BGP. Spring 2018 Rachit Agarwal

CS321: Computer Networks Unicast Routing

Interdomain Routing. EE122 Fall 2011 Scott Shenker

BGP can also be used for carrying routing information for IPv6 prefix over IPv6 networks.

Introduction to BGP. ISP Workshops. Last updated 30 October 2013

Lecture 19: Network Layer Routing in the Internet

Service Provider Multihoming

Copyright is owned by the Author of the thesis. Permission is given for a copy to be downloaded by an individual for the purpose of research and

PART III. Implementing Inter-Network Relationships with BGP

ETSF10 Internet Protocols Routing on the Internet

Ref: NU/REG/E1/ / Date: CIRCULAR

CSC 4900 Computer Networks: Routing Protocols

Modified ECMP Routing Using Adapted Cost Disjoint Multiple Paths ACDMP

Connecting to a Service Provider Using External BGP

Transcription:

GEO BASED ROUTING FOR BORDER GATEWAY PROTOCOL IN ISP MULTI-HOMING ENVIRONMENT Duleep Thilakarathne (118473A) Degree of Master of Science Department of Electronic and Telecommunication Engineering University of Moratuwa Sri Lanka November 2015

GEO BASED ROUTING FOR BORDER GATEWAY PROTOCOL IN ISP MULTI-HOMING ENVIRONMENT Duleep Thilakarathne (118473A) Thesis Submitted in Partial Fulfillment of the Requirements for the Degree Master of Science in Telecommunication Department of Electronic and Telecommunication Engineering University of Moratuwa Sri Lanka November 2015

Declaration I declare that this is my own work and this thesis/dissertation does not incorporate without acknowledgement any material previously submitted for a Degree or Diploma in any other University or institute of higher learning and to the best of my knowledge and belief it does not contain any material previously published or written by another person except where the acknowledgement is made in the text. Also, I hereby grant to University of Moratuwa the non-exclusive right to reproduce and distribute my thesis/dissertation, in whole or in part in print, electronic or other medium. I retain the right to use this content in whole or part in future works (such as articles or books). Signature: Date: The above candidate has carried out research for the Masters Dissertation under my supervision. Signature of the supervisor: Date i

Abstract GEO BASED ROUTING FOR BORDER GATEWAY PROTOCOL IN ISP MULTI-HOMING ENVIRONMENT Key words: BGP, SDN, AS-PATH, optimum route selection, Internet Architecture, Internet routing, Latency BGP is the one and only protocol used by ISPs to exchange routing information between Autonomous Systems. An Autonomous System is an IP network or group of IP networks under a common administration with common routing policies. Internet Service Providers (ISP) connects to each other to facilitate reachability among Autonomous Systems using BGP protocol. Many ISPs setup multiple upstream connections to achieve global connectivity, redundancy, and a better quality of service. Multiple upstream connectivity results multiple paths to destinations. ISPs need to apply complex route policies to select the best outgoing interface to destination among multiple paths since BGP protocol does not consider link congestion, and distance to destination during the route selection process. Incorrect path selection leads to unnecessary traffic route between autonomous systems, high latency and low quality of service. Most prevailing issue for the South Asian internet users is that Internet content is not hosted within the region but in Singapore, Europe, and USA data centers. BGP protocol does not select shortest distance always when multiple upstream connections are available to ISP. This results in high latency to the end users. We can simulate different ISP path delays by introducing delay element between end server and client terminal. This proposal provides experimental results on how end user experience varies when delay to end server varies. Delay is proportional to distance between user terminal and end server. Therefore, this proposal considers distance to end server when solution is proposed to optimize end user delay. Traditional BGP does not consider geographical distance to end server when selecting outgoing interface. BGP has thirteen criteria to select best outgoing interface but most dominant criteria is the AS-PATH length. This research focuses on equal AS path length occurrences of current full BGP routing table in multi-homing environment. Equal AS-PATH length results BGP protocol to select outgoing interface randomly based on lowest router ID or lowest interface ID. The proposal suggests using geo graphic distance to destination as tiebreak condition for equal AS-PATH. This enables BGP itself to calculate best path without using complex routing policies. BGP is a heavily adopted protocol in the internet domain. It is hard to change such a stable implementation to achieve proposed geo based routing. SDN based implementation proposes in this proposal since SDN implementation is becoming popular in IP networking domain. New route selection criteria for BGP can easily implement using SDN controller. Simulation results reveal approximately 50 percent of the routing decisions are based on equal AS-PATH length if special routing policies are not applied. Further, simulation result justifies a relationship between latency and web page browsing user experience. ii

Dedication This is dedicated to my loving Father and Mother. iii

Acknowledgements Firstly, I would like to express my sincere gratitude to my advisor Dr. Ajith Pasqual, for the continuous support for my MSC research study, for his patience, motivation, and immense knowledge shared. His guidance helped me at all times of research and writing of this thesis. Besides my advisor, I would like to thank Dr. Chandika Wavegedara for his insightful comments and encouragement. My sincere thanks also goes to the senior management of Mobitel (Pvt) limited who provide me access to simulation data. Without ISP environment real-time data, it would not be possible to conduct this research. I thank my office colleagues who helped and encouraged me during simulations and research case development. Last but not the least, I would like to thank my family: my wife and daughters for supporting me spiritually throughout writing this thesis. iv

Table of Contents Declaration... i Abstract... ii Dedication... iii Acknowledgements... iv List of Figures... viii List of Tables... x List of Abbreviations... xi List of Appendices... xii INTRODUCTION... 1 1.1 Internet... 1 1.2 Internet Architecture to Reduce Latency... 2 1.3 Boarder Gateway Protocol (BGP)... 4 1.4 ISPs Upstream Connectivity... 5 1.5 BGP Route Selection Possibilities... 8 1.6 Motivation and Objective... 10 1.7 Organization of the Thesis... 11 LITERATURE REVIEW... 12 2.1 Internet Connectivity Topology... 12 2.2 Internet Routing... 16 2.2.1 BGP Protocol... 16 2.2.2 Message Types and Format... 17 2.2.3 BGP Best Path Selection... 21 2.2.4 Path Selection Attributes... 22 2.2.5 Standard BGP Path Selection Algorithm... 23 2.2.6 Route Policy and BGP Community Strings... 24 v

2.3 BGP Route Selection Possibilities... 26 2.3.1 Unequal Path... 26 2.3.2 Equal Path... 28 2.3.3 General scenario... 30 2.4 Current Practices... 30 2.4.1 Existing BGP Route Selection... 30 METHODOLOGY... 33 3.1 Proposed New Addition to BGP Route Selection Algorithm... 34 3.2 Geo Region Classification.... 35 3.2.1 Assumptions... 35 3.2.2 IP to Country Mapping.... 36 3.3 Calculations... 37 3.4 Calculating flow table... 38 RESULTS... 40 4.1 Relationship between Latency and Web Page Loading Time... 40 4.1.1 Test Result for www.google.lk... 41 4.1.2 Test Statistics for www.facebook.com... 42 4.1.3 Test Statistics for www.cnn.com... 43 4.1.4 Test Statistics for www.bbc.com... 43 4.1.5 Test Statistics for ikman.lk... 44 4.1.6 Test Statistics for www.hirunews.lk... 45 4.1.7 Test Statistics for www.bing.com... 45 4.1.8 Test Statistics for www.divaina.com... 46 4.2 BGP Routing Table Analysis for Equal AS_PATH... 47 SDN BASED IMPLEMENTATION... 48 5.1 SDN Architecture... 48 vi

5.1.1 Proposed SDN Implementation... 50 CONCLUSION AND FUTURE WORK... 51 REFERENCES... 53 APPENDIX -1... 54 APPENDIX-2... 62 vii

List of Figures Figure 1: Internet Users in the world by geographic regions... 1 Figure 2: Internet penetration in the world by geographic regions... 2 Figure 3: Typical ASN interconnect Scenario... 5 Figure 4: How Sri Lanka Telecom connects to upstream ISPs... 6 Figure 5: How Dialog Axiata connects to upstream ISPs... 7 Figure 6: How SLT Mobitel connects to upstream ISPs... 7 Figure 7: BGP best path selection scenario - 1... 8 Figure 8: BGP best path selection scenario II... 9 Figure 9: BGP best path selection scenario III... 9 Figure 10: ISP Connectivity... 12 Figure 11: Illustration of IXP peering... 14 Figure 12: Illustration of direct peering without IXP... 14 Figure 13: Type of ISP... 15 Figure 14: BGP Open Message Format... 17 Figure 15: BGP Update Message Format... 19 Figure 16: Path attribute header format... 21 Figure 17: BGP Keepalive and Notification message format... 21 Figure 18: AS 2914 BGP community marking based on route originate location... 25 Figure 19: BGP route Selection Unequal Path... 26 Figure 20: BGP route Selection Equal Path... 28 Figure 21: BGP route Selection General Case... 30 Figure 22: Definition of route Object... 37 Figure 23: Timing Components of Web Page Loading... 40 Figure 24: Simulation Setup for Web Page Loading Time.... 41 Figure 25: Latency vs. Page load Time for www.google.lk... 42 Figure 26: Latency vs. Page load Time for www.facebook.com... 42 Figure 27: Latency vs. Page load Time for www.faacebook.com... 43 Figure 28: Latency vs. Page load Time for www.bbc.com... 44 Figure 29: Latency vs. Page load Time for www.ikman.lk... 44 Figure 30: Latency vs. Page load Time for www.hirunews.lk... 45 viii

Figure 31: Latency vs. Page load Time for www.bing.com... 46 Figure 32: Latency vs. Page load Time for www.divaina.com... 46 Figure 33: SDN Architecture... 49 Figure 34: Proposed SDN based implementation... 50 ix

List of Tables Table 1: Latency to different servers through different ISP... 3 Table 2 : Proposed Modification to BGP route Selection Algorithm... 34 Table 3: Notations... 37 Table 4: Country Code vs Best Outgoing Interface... 38 Table 5: Memory Requirement to Keep GEO routing Table... 39 Table 6: Sample GEO Routing Table... 39 Table 7: Page Load time vs. latency for www.google.lk... 41 Table 8: Page Load time vs. latency www.facebook.com... 42 Table 9: Page Load time vs. latency for www.cnn.com... 43 Table 10: Page Load time vs. latency for www.bbc.com... 43 Table 11: Page Load time vs. latency for www.ikman.lk... 44 Table 12: Page Load time vs. latency for www.hirunews.lk... 45 Table 13: Page Load time vs. latency for www.bing.com... 45 Table 14: Page Load time vs. latency for www.divaina.com... 46 Table 15: Simulation Result... 47 Table 16: List of Country Codes... 54 Table 17: Reserved IP blocks... 62 x

List of Abbreviations Abbreviation Description AS BGP EBGP IBGP ISP SDN Autonomous System Border Gateway Protocol Exterior Border Gateway Protocol Interior Border Gateway Protocol Internet Service Provider Software Define Networking xi

List of Appendices Appendix Description Page Appendix 1 List of Country Codes 54 Appendix 2 Reserved IP address Range 62 xii