Design and Implementation of Checker for BGP Routing Configuration File
- Author
- SuXiaoDan
- Advisor
- LeiYou
- School
- Beijing University of Posts and Telecommunications
- Major
- Computer Science and Technology
- Classification
- TP393.09 The application of computer network
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 19
- Citations
- 1
Abstract
In the past decades, the scale and complexity of the Internet have increased at an unprecedented rate. The Internet is composed of thousands of independent autonomous systems that exchange reachability information to destinations using Border Gateway Protocol. BGP is a policy-based routing protocol, network operators use router configurations to provide reachability and to express routing policy, and the configuration is distributed across routers. Operator-induced configuration fault, such as routing loop, invalid routes and persistently oscillating routes, are perhaps the biggest threat to a single AS, even the whole Internet. Hence, it is important to develop a checker based on static analysis of the router configurations before the protocol running on a live network.In this paper, the lexical, syntax and semantic errors, which are common in the BGP routing configuration file, are described, and three properties to classify the behavior of a routing protocol:path visibility, route validity and safety, are introduced. Also, semantic errors which could cause path visibility fault and route validity fault in configuration are defined as well.This paper describes the implemention of BGP configuration checker, a tool that finds faults in BGP configurations using static analysis. In the base of Cisco router configuration syntax, the configuration checker’s design method, the design of function module and implementation of the main functions are discussed. The checker framework involves configuration file management module, lexical and syntax checker module, semantic checker module and view errors module.By using static analysis, BGP routing configuration checker can effectively detect the configuration faults in BGP configurations, guaranteeing the safety and stability of the network.
Table of contents
Abstract 4-5
ABSTRACT 5-8
first chapter 8-14
1.1 Background topics 8-10
1.2 research status 10-11
1.3 topics task 11-13
1.4 thesis structure 13-14
The second chapter of the Border Gateway Protocol BGP-4 14-32
2.1 BGP basic principle 14-17
2.1.1 terminology explained 14-16
2.1.2 principle outlined 16
2.1.3 working process 16-17
2.2 BGP messages 17-18
2.3 BGP finite state machine 18-20
2.4 BGP path attribute 20-26
2.4.1 Origin attribute 21-22
2.4.2 AS-path attribute 22-23
2.4.3 Next-hop attribute 23-24
2.4.4 MED attribute 24
2.4.5 Local_preference attributes 24-25
2.4.6 Community Properties 25-26
2.5 BGP routing process 26-28
2.5.1 Notice to peer routing 27
2.5.2 BGP routing decision-making process 27-28
2.6 route reflector 28-31
2.6.1 route reflector related terms and concepts 29-30
2.6.2 route reflector configuration connection rules and notification rules 30-31
2.7 This chapter Summary 31-32
Software Requirements Analysis 32-49
3.1 software development goals 32-33
3.2 BGP configuration file check tool requirements outlined 33-44
3.3 BGP Configuration File Checker tool features Overview 44-46
3.3.1 software user analysis 44
3.3.2 software functionality 44-45
3.3.3 system use case diagram 45-46
3.4 software overall design 46-48
3.5 This chapter Summary 48-49
Chapter BGP configuration files lexical and grammar checker design 49-65
4.1 BGP configuration files lexical and syntax checking design 49-55
4.1.1 design ideas 49
4.1.2 software function modules design 49-55
4.2 BGP configuration files lexical and grammar checker to achieve 55-63
4.2.1 Technical 55-57
4.2.2 software process flow 57-60
4.2.3 lexical analyzer to achieve 60-61
4.2.4 parser implementations 61-63
4.3 lexical and syntax checking function test 63-64
4.4 This chapter Summary 64-65
the
the fifth chapter BGP configuration file semantics checking feature design and Implementation 65-86
5.1 BGP configuration file semantics checking design 65-72
5.1.1 design ideas 65-66
5.1.2 software features modules designed 66-67
5.1.3 Semantic Analysis database design 67-72
semantic checks
5.2 BGP configuration file to achieve 72-82
5.2.1 Technical 72-73
5.2.2 software process flow 73-76
5.2.3 semantic checks achieve 76-82
5.3 semantic checking function test 82-85
5.4 This chapter Summary 85-86
Chapter VI Conclusion 86-88
6.1 thesis work summarizes 86-87
6.2 Problems and Prospects 87-88
the
References 88-89
Acknowledgements 89-90
to
pursuing degree during the academic 90
Related dissertations
- The Study on a Robust Finite State Machines Testing Model Based on Consistency in BGP-4
- Fast Route Convergence, Competition Strategies and Traffic Modeling for Autonomous Systems
- Study on BGP-Based InterDomain Traffic Engineering
- Study on Inter-Domain Routing Stability
- Research on the Stability of Internet Inter-Domain Routing
- Research on Security Monitoring Technologies for Inter-domain Routing in the Internet
- Study on Several Problems for Inter-domain MPLS VPN
- Research on Inter-Domain Routing System Security
- Study on the Predictability for Inter-Domain Routing
- Modeling and Analysis of BGP Routing Stability
- IP Traceback Techniques Research Based on the Packet Marking Schemes
- Time -based control algorithm of the Border Gateway Protocol
- Research and Implement of Algorithm for Generating Internet Autonomous System Hiberarchy Topology Graph
- Research and Implementation of Intermediate-System-to-Intermediate-System Routing Protocol
- MPLS Oriented VPN Network Design and Its Engineering
- Study and Implementation on Test of Conflicting BGP Routing Policies
- 6PE Study and Implementation in the Transition of IPv4 to IPv6
- The Study of Defense Strategy under Distributed Denial of Service Attacks
- Research on MPLS VPN and Its Application in Guizhou Electric Power
- Core router Border Gateway Protocol BGP-4 technology research