Linux-based IPv4/v6 virtual tunnel router design
- Author
- ChenHuaBing
- Advisor
- ZhangFuSheng , ZhangYouJie
- School
- Taiyuan University of Science and Technology
- Major
- Applied Computer Technology
- Classification
- TP393.05 Network equipment
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 115
- Citations
- 0
Abstract
IPv6 is the next generation of the core protocols of the Internet. IPv4 address resources have been exhausted the situation accelerated countries IPv4 network to IPv6 network transition. Early in the transition, IPv4 and IPv6 networks will coexist in a period of time, IPv6 network IPv4 network ocean island. Communication between IPv6 islands, there are two ways to network: IPv6 islands of the physical link is established directly between; IPv4 network to achieve an IPv6 tunnel. IPv4 nodes and IPv6 node communication need some transition mechanisms, including dual-stack technology, tunnel and conversion technology. Tunnel technology is widely used in a manner that in the practical application. The tunnel currently available technology, such as ISATAP, 6TO4 and TEREDO. However, these technologies have their advantages and disadvantages in different environmental applications. A UDP-based IPv4/v6 virtual tunnel router and a Linux-based software package. The package can be applied in a variety of network environments, including private networks connected to the Internet. The main work is as follows: First, the protocol software to learn and analyze the IPv6 protocol suite, including IPv6 specification, IPv6 address structure, ICMPv6, neighbor discovery protocol and the stateless address auto-configuration protocol and IPv6 across Ethernet. Then, under the Linux operating system, written in C language as a programming language, the use of the virtual NICs technology in user space layer developed based on the the UDP virtual tunnel communication package. The package includes a client and a server-side support for the Linux platform. Server as a virtual tunnel router for client tunnel service tunnel type IPv6-in-UDP provides a means of authentication and encryption. The software mainly Agreement tunnel session protocol and the virtual NIC tunnel method. The package is mainly to solve the problem: First, the design and implementation of a tunnel session protocol;, designed and implemented based on the RSA key exchange algorithm, encryption and decryption of data packets; Third, to achieve a The client automatically configure IPv6 global address; to achieve a solution to the conflict a sorted binary tree hash table for IPv4 network and IPv6 network boundary nodes for packet forwarding. Finally, the the HEXGO Gateway6 client connection to http://go6.net network, an IPv6 test environment, test software, and analysis of the experimental results. The thesis is divided into six chapters: Introduction, IPv6 protocol suite of research, development platform, virtual tunnel router design, testing and analysis and conclusion.
Table of contents
Chinese Abstract 3-4
ABSTRACT 4-14
first chapter 14-22
1.1 Background 14-15
1.2 Research 15-18
1.2.1 transitional technology status 15-16
1.2.2 build tunnels based on the virtual NIC Research 16-18
1.3 research content and objectives 18-20
1.3.1 terminology explained 18
1.3.2 research 18-20
1.3.3 research objectives 20
1.4 research work and achievements 20-22
1.4.1 research 20-21
1.4.2 research 21-22
Chapter IPv6 protocol suite analysis 22-40
2.1 IPv6 specification and address 22-25 <br / > 2.1.1 IPv6 specification 22-24
2.1.2 IPv6 address 24-25
2.2 IPv6 upper-layer protocols checksum 25-27 <br / > 2.3 ICMPv6 27
2.4 Neighbor Discovery Protocol 27-35
2.4.1 Neighbor Discovery Protocol 27-28
2.4.2 Neighbor request packet 28-30
2.4.3 neighbor announcement message 30-31
2.4.4 router solicitation message 31-32 < br /> 2.4.5 Router Advertisement packets 32-35
2.4.6 redirect packets 35
2.5 stateless address autoconfiguration 35-37
2.5.1 Address Configuration describes 35-36
2.5.2 stateless address autoconfiguration protocol 36-37
2.6 IPv6 across Ethernet 37-40
Chapter III development platform 40-44
3.1 installed FEDORA 8 LINUX 40
3.2 Development Environment 40-41 < br /> 3.3 aids 41-42
3.4 configuration FEDORA 8 LINUX network 42-44
3.4.1 configuration file 42
3.4. two network parameters 42
3.4.3 configuration 42-44
Chapter router design and implementation of virtual tunnels 44-77
4.1 feasible analysis 44-45
4.2 overall design 45-46
4.3 Communication model 46-50
4.3.1 UDP server and client communication model 46-47
4.3.2 server and client thread communication model 47-48
4.3.3 server internal communications 48
4.3 .4 server and client communications protocol model 48-49
4.3.5 Process and thread synchronization 49-50
4.4 data forwarding tunnel design 50-57
4.4.1 fast forwarding data structure design 50-52
4.4.2 hash table with binary tree sort of conflict solving major function 52-57
4.5 Session protocol design 57-65
4.5.1 designed 57-58
4.5.2 Basic Agreement 58
4.5.3 handshake protocol 58-59
4.5.4 File Transfer Protocol 59-61
4.5.5 Authentication Protocol 61-62
4.5.6 Symmetric key transport protocol 62-64
4.5.7 Configuration Protocol 64-65
4.5.8 Management Protocol 65
4.6 virtual NIC 65 - 71
4.6.1 Working Principle 65-66
4.6.2 IOCTL programming 66-70
4.6.3 Virtual NIC IOCTL function test 70
4.6.4 virtual NIC configuration 70-71
4.7 Database Design and Implementation 71-73
4.7.1 database design 71
4.7.2 C language to access the MySQL database 71-72
4.7.3 client virtual network card hardware address generation 72-73
4.8 key distribution 73-75
4.8.1 Basic Terminology 73-74
4.8.2 key distribution algorithm 74-75
4.9 IPv4/v6 routing technology tunnel 75-77
4.9.1 Network logic diagram 75
4.9.2 normal IPv6 routing 75-76
4.9.3 IPv4/v6 tunnel route 76
4.9.4 host address configuration and parsing 76-77
Chapter 5 Software testing and analysis 77-92
5.1 Test platform for the establishment 77-82
5.1.1 Test Method 77
5.1.2 Network diagram 77-78
5.1.3 Gateway6 78
5.1.4 configuration steps 78-81
5.1.5 Verify the configuration 81-82
5.2 testing and analysis 82 - 90
5.2.1 PING test 82-86
5.2.2 IPv6 application layer analysis 86-90
5.3 summarizes research 90 - 92
Chapter VI Conclusion 92-94
References 94-98
Appendix A CPU performance test report 98-100
Appendix B, Figure 5-3 for the first 2473 records packet information 100-102
Thanks 102-103
papers published during the study for a degree directory 103-104
Related dissertations
- Realization and Application of IPv6Protocol Stack Based on WLAN
- Research and Design on BACnet and IPv6for Intelligent Buildings Networking
- Design and Implementation of Hybrid VPN Networking Formula Based on IPv6in Linux
- Design and Implementation of a Communication Platform for Internet-based Teleoperation
- Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
- Research and Design of Embedded Building Security System
- The Softeware Design and Implement on Integrated Intelligent Camera Platform Based on Davinci DM6446
- The Research of Household Remote Monitoring Based on Embedded Web Server
- Research and Design of Intelligent Video Surveillance System Based on ARM
- Design of Video Monitoring System Based on the Embedded
- The Design of Embedded Network Video Surveillance System Based on ARM9
- Design and Application of the Distributed Monitoring System Based on Embedded Web
- Study on Embedded Data Acquisition System Application
- Embedded Software Design of AC Field Detection Instrument Based on ARM
- Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
- Based on the Samsung2440Embedded Home Furnishing Design and Implementation of Intelligent Control System
- Design of Industrial Ethernet Motion Controller Based on ARM
- Research on Pulsating Vacuum Pressure Steam Sterilization Control System Based on ARM
- The software design of intelligent control Home Furnishing gateway based on ARM11
- The System Design and Implementation of Smart Home Control Terminal Based on Linux