Design and Implementation of L2TP System Based on Router
- Author
- TianLei
- Advisor
- QiTao
- School
- Beijing University of Posts and Telecommunications
- Major
- Computer Science and Technology
- Classification
- TP393.05 Network equipment
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 64
- Citations
- 1
Abstract
Along with the opening and the scale that increased day-by-day of the network, the people’s demands for the network had become even more diversified. Layer Two Tunneling Protocol (L2TP) just appeared in such condition, which can meet the demands for visiting the company’s internal server from other place with a remote dial client over the Internet. It is just like a special and secure virtual tunnel established between the two ends. Then the remote client can visit the company’s internal data across the Internet.The company’s internal server is a access router which support the Layer Two Tunneling Protocol (L2TP), and it also be known as L2TP Network Server (LNS). The aim of this paper is to achieve the support of L2TP in the vanlink router, and then the vanlink router can work as LNS that support the application of the virtual tunneling. In this paper, the research work can be summarized in the following aspects:Firstly, the background of Virtual Private Dial-up Networks (VPDN) and L2TP is summarized. Then the reasons why choose L2TP to support VPDN are pointed out. The theory and establishment process of L2TP are mainly studied. And the message format of L2TP and the function of kinds of messages used for information exchange are analyzed in depth.Secondly, the L2TP system is designed and implemented. By analyzing the work theory and the process of each module, the key of the design and the frame flow of the program are indicated, which are the emphases of design and implement in each module. Then some key points of the each module are mainly introduced, and the pseudocode is also used to display how to implement each module.Thirdly, the key techniques related to the implementation of the L2TP system are analyzed and studied in detail, including the flow control and the mistake control, the encapsulation and analysis of the attribute, and the Encryption and decryption algorithm. They are the basis of the implementation, and also the key to the system’s quality assurance.Finally, the L2TP system testing environment is set up. The L2TP system is tested from the functionality and the performance in detail. The testing process and the results are displayed by the screenshots of the running system and the coordinate graphes that are draw by testing data. The testing results indicate that the system reaches the anticipated effect.
Table of contents
Summary 4-6
ABSTRACT 6-10
Chapter 1 Introduction 10-17
1.1 topics background 10-12 meaning
1.2 topics 12-15
1.3 work content 15
1.4 thesis arrangements 15-17
Chapter 2 L2TP protocol-related overview 17-33
2.1 VPDN Introduction 17-19
2.1.1 VPDN construction 18-19
2.1.2 VPDN realization process 19
2.2 L2TP protocol outlined 19-23
2.2.1 L2TP works 19-22
the process of establishing 2.2.2 L2TP 22-23
2.3 L2TP protocol details 23-33
2.3.1 L2TP topology 23
2.3.2 L2TP bearer technology 23-24
2.3.3 L2TP packet format 24-26
2.3.4 L2TP control messages 26-27
2.3.5 L2TP PPP negotiation of 27-28
2.3.6 control setup and teardown messages and tunnels 28-31
2.3.7 and session control messages establishment and removal design and implementation 31-33
Chapter 3 L2TP system 33-61
3.1 system development environment 33-35
3.1.1 hardware development environment 33
3.1.2 software development environment 33-35
3.1.3 programming language 35
3.2 module design and implementation of the overall overall design 35-37
3.2.1 module 35-36
3.2.2 global data structure 36
3.2.3 system main function module implementations 36-37
3.3 receives UDP message module design and implementation of 37-49
3.3.1 control Message processing Module workflow 38 - 42
3.3.2 data message processing module workflow data structures 42-43
3.3.3 tunnels and sessions 43-46
3.3.4 control implement the message processing module achieve 46-48
3.3.5 data message processing module 48-49
3.4 PPP message receiver module design and implementation 49 -52
3.4.1 PPP message reception module design 49-50
3.4.2 PPP message reception module 50-51
3.4.3 L2TP key technology and PPP module interacts 51
key issues 3.4.4 L2TP and PPP module interacts 51-52
3.5 MMI message receiver module design and implementation 52-56
3.5.1 MMI message reception module design 52-53
3.5.2 MMI data receives data structure 53-54
3.5. the key issues 54-55
3.5.4 L2TP interact with MMI 's ; 3 receiver module MMI message nbsp 55-56
3.6 receiver timer message module design and implementation 56-61
3.6.1 timer message receiver module design 56-57
data Structure 3.6.2 timer message 57
3.6 .3 timer message receiver module implementation process 57-59
3.6.4 use of timers key technologies 59-61
Chapter 4 L2TP system 61-71
control 4.1 L2TP reliability of 61-63
4.1.1 to receive and send sequence number 61
4.1.2 Tunnel traffic control queue 61-63
4.2 attribute analysis and packaging 63-67
4.2.1 resolves attributes 65-67
4.2.2 property Package 67
4.3 L2TP system to encrypt and decrypt 67-71
4.3.1 tunnel authentication encryption and decryption 67-68
4.3.2 hidden attribute tests 68-71
Chapter 5 L2TP system 71-92
5.1 clients connect directly LNS 71-79 <br / > 5.1.1 environment to build tests 72-74
5.1.2 features 74-77
5.1.3 line connecting two clients well test 77-79
5.2 client connections LNS nbsp by LAC; 79-85
5.2.1 environment to build tests 79-83
5.2.2 features 83-85
5.3 system performance test 85-91
5.3.1 stability test 86-87
5.3.2 throughput test 87-89
5.3.3 rate Test 89-91
5.4 test results 91-92
Chapter 6 summary and Outlook 92 -93
References 93-95
Thanks nbsp published papers and research during the 95-96
case study for a degree ; 96
papers published 96
Related dissertations
- Research and Implementation of L2TP Technology in VPN
- Study of VPDN Technology Based on L2TP and Applications to BRAS
- The Research and Design of Xiangyang Career Technical College Campus Network Virus Prevntion System
- Hierarchical Network Routing Implementation in Family Gateway
- Research on Storage System in High Performance Routers
- Smart Home System Based on Zigbee Wireless Communication Technology
- Research on Key Technologies of Cost-efficient Fault-tolerant Networks-on-chip
- Design of On-board Bus Networks Based on SpaceWire
- Research of Downhole Data Acquisition System Based on ZigBee Protocol
- The Planning and Construction of Campus Network
- Design and research of VPN scheme of Northeast Securities Co. Ltd.
- Research on the System of Anomaly Traffic Identihcation and the Key Technologies
- A Approach and Realization of Router Attack Technology Based on Vulnerability Attacking Theory
- The Design and Development of the Router Remote Management Assistant
- Implementation Scheme and Implementation Research for AQM Algorithms Based on FPGA
- Research and Implementation of Test Methods of Ethernet Routers and Switches Physical Layer Interface
- Research on Ethernet switch / router protocol testing method
- Research and Implement of Packet Transport Network Store-and-Forward and Scheduling Key Technology
- The border gateway protocol based on Linux implementation and parallel reconstruction
- The Planing Design and Engineering Practice of Merging VPDN Accessing Platform of Shanxi Unicom