The Research and Implementation of Tunnel Through NAT Gateway in IPv6 Transition Phase
- Author
- LiChangXing
- Advisor
- ZuoShiCai
- School
- Lanzhou University of Technology
- Major
- Applied Computer Technology
- Classification
- TP393.05 Network equipment
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 192
- Citations
- 2
Abstract
The next generation Internet Protocol (IPv6) has resolved the resource crisis of IP address thoroughly, but it should be tested through experiments for a long time before used in the network largely and It will be a long process in transition from IPv4 to IPv6.During this transition, Network Address Translation (NAT) decreases the needs of IP addresses for our word and gains much valuable time to prefect IPv6. In the phase of transition from IPv4 to IPv6, the most popular technology of communication between IPv6 islands is that the IPv6 packet was encapsulated into IPv4 packet (also IPv6-in-IPv4 tunnel) to be transmitted in existing network. This technology also named IPv6-in-IPv4 tunnel. But the tunnel only is applied to End-to-End model and don’t allow a NAT gateway exist between tunnel end. So it is difficult to connect IPv6 network for hosts in domain of NAT. Today, NAT is used widely, this problem undoubtedly increase the difficulty of transition.In this paper, the theories of NAT and tunnel technology are discussed. By experiments, the way that NAT gateway deals with IPv6-in-IPv4 data packets is researched as well as the incompatibility between IPv6-in-IPv4 tunnel and NAT technology;especially NAPT (Network Address Port Translation).Based above study, the idea of double 6to4 domains is introduced. Each host holds an inside local address in micro-domain and an inside global address in macro-domain. After that, the translation between 6to4 inside local address and inside global address is made in macro 6to4 border router so that the hosts in NAT domain can visit outside IPv6 network through 6to4 tunnel easily.When the scenario is designed, a new extended format of 6to4 address is defined to hold the mapping relationship between inside local address and inside global address in source address of the 6to4 packet for reducing the complexity of implementation, which a new IPv4 address is embedded in the last 32 bits of the standard 6to4 address. When the scenario is implemented, the data packets are queued to user space by netfilter/iptables frame in Linux and its address are translated by programming in user space. Finally, the scenario is applied and tested in our school network practically, the difference in time of address translation and throughput between this scenario and NAT based on iptables are compared and analyzed, and the future improvement is discussed.
Table of contents
Summary 8-9
Abstract 9-11
illustrations index 11-12
first chapter 12-16
1.1 IPv6 protocol overview to generate background 12-14
1.1.1 IPv6 12
1.1.2 IPv6 protocol advantages 12-13 <br / > 1.1.3 IPv4 to IPv6 transition the 13-14
1.2 research significance with the status quo 14-15
1.3 main content and organizational structure 15 -16
IPv6 transition stage technology research 16-23
2.1 Transitional Technology Overview 16-18
2.1.1 dual protocol stack technology 16
2.1.2 protocol translation technology 16-17
2.1.3 tunneling technology 17-18
2.2 the main tunnel technique Profile 18 -20
2.2.1 configured tunnel 18
2.2.2 Tunnel Broker 18
2.2.3 Automatic Tunnel 18-19
2.2.4 ISATAP 19
2.2.5 Teredo tunnel 19-20
2.3 of 6to4 tunnels Research 20-23
2.3.1 6to4 address format 20-21
2.3.2 6to4 network composed the 21-22 2.3.3 6to4 gateway
communications 22
2.3.4 6to4 network non-6to4 network communication 22-23
Chapter NAT technology netfilter / ipltables framework 23-30
3.1 NAT principle 23-24
3.2 NAT 24-26
3.2.1 Source NAT, and Purpose NAT 24
3.2.2 Static and Dynamic NAT and port NAT 24 - 25
3.2.3 clone NAT with symmetric NAT 25-26
3.3 Netfilter / iptables framework the 26-30 3.3.1 Netfilter Overview
26
3.3.2 packets flowing through the netfilter the 26-28
3.3.3 using iptables packet selection 28-29
3.3.4 queued data packet to the user space 29-30
Chapter NAT tunneling technology compatibility studies 30-42
4.1 Basic NAT tunneling technology compatibility studies 30-35
4.1.1 configured tunnel 30-33
4.1.2 tunnel Broker 33
4.1.3 embedded IPv4 address of the tunnel 33-35
4.2 NAPT tunnel technology compatibility studies 35-41
4.2.1 Cisco routers handling 36
4.2.2 Huawei routers approach 36-38
4.2.3 Windows 2003 server processing 38
4.2.4 Linux approach 38-40
4.2.5 Experimental summary 40-41
4.3 Summary Analysis 41-42
Chapter tunnel through a the NAT program designed 42-50
5.1 program design ideas 42
5.2 overall design of the program the 42-44 5.3 6to4 data packet address translation
44-46
5.3. 1 No the state translation mechanism 44-45
5.3.2 6to4 address format extensions 45
5.3.3 translator Rules. 45-46
5.4 extension header processing the 46-47
5.5 file transfer. agreement with analysis of the program's compatibility the 47-48
program 5.6, advantages and disadvantages of 48 - 50
Chapter VI program implementation and test the 50-62
6.1 under Linux specific realization 50-55
6.1.1 scheme 50
6.1.2 Libipq library the process 50-51
6.1.3 program to achieve the 51-52
6.1.4 header checksum and calculation 52-54
6.1.5-hop limit (Hop Limit) field consider 54-55
the 6.2 experiment platform and Configuration 55-56
6.3 System test 56-60
6.3.1 within the network of communications test 56-57
6.3.2 within the network to the external network communication test 57
6.3.3 external network to the internal network communications test 57-58
6.3.4 system delay testing and analysis 58-59
6.3. 5 System throughput test 59-60
6.4 program deployment point thinking the 60-62
conclusion to References 62-63
63-66
Acknowledgements 66-67
Appendix A experimental environment host configuration information the
Appendix B 67-69 studying the papers published by the Master of the period 69
Related dissertations
- NAT Technologies for IPv6Transition
- The Research of Connection Approach between Hosts That are Located Behind NATs
- Vocational Cappus Network to IPv6Transition Study
- The Design and Implementation of a NEW Generation of Digital Campus Network
- Research and Design of Campus Network Construction Model Based on IPv6
- Research and Design of University Network Construction
- Research on IPv6Routing Strategy Based on the Virtual Router
- Research on Packet Marking Against Malicious IP Packets
- The Research of Secure DHCPv6System Based on SAVI Technology
- Research on Network Performance Monitoring Based on SNMP under IPv6Environment
- Research on Tcl-based Automatic Test Technology on IPv6Network
- Research and Implementation of Integrated Network Management Supports IPv6
- Application and Realization of embedded IPv6 protocol stack in embedded system
- Research and Implementation of IPv6Stateless Address Auto-configuration System Based on Authentication
- Research and Implementation of the Application Proxy System for IPv4/IPv6Transition
- Research on Performance Testing of IPv6Transition Technology
- Construction of IPv6Network System in Chengdu Institute of Biological
- Research of Evolution Scheme and Strategy of the IPv6Network for China Unicom ShanDong Branch
- The Research of IPv6Transition Technology Based on Tunnel and ⅠⅥ Mechanism
- The Research of Process Gas Analysis Instruments Networking