Design and Implementation of IPv6 Tunnel Based on ThreadX Operating System
|Course||Applied Computer Technology|
|Keywords||ThreadX NetX IPv6 Transition Tunnel|
With the rapid development of science and technology, and Internet applications continue to expand, the IPv4 protocol problems are gradually exposed, such as:Network address depletion, the rapid expansion of the routing table, limited support for mobility, and security vulnerabilities. As the next version of Internet protocol IPv6 will instead of IPv4. But IPv6 and IPv4 will coexist for a long time, that how to intercommunicate between IPv4 and IPv6 network becomes an important issue at this stage.Also in the embedded field, the device requires network connectivity with the Internet, is also facing a lack of addresses and interoperability problems. The embedded equipments are small size and fast run speed. So in this paper, ThreadX operating system platform is selected which is a good hard real-time operating system, based on NetX functional which has dual stack, and study of IPv6 transition technology, Dual-Stack Translation Mechanism (DSTM) and Bi-Directional Mapping System (BDMS), to achieve intercommunication between IPv4 and IPv6 networks.In this paper, the ThreadX operating system and the NetX dual protocol stack functionality has been used to realize the IPv6 tunnel technology. The concrete realization of the process: configurating the IPv6 tunnel node tunnel, judging the tunnel mode, encapsulating and decapsulating the packet. For embedded devices with the smaller and faster feature, then optimizating the code and improving the speed.When the IPv6 tunnel function has been done, installing the test environment on the FREEBSD and running the IPv6 tunnel function on RAM9263 borad to test according to the TAHI tests. The test results show that RAM9263 borad can correctly connect with FRESSB by using the IPv6 tunnel function.In this paper, two different transition mechanisms which are dual-stack translation mechanism (DSTM) and Bi-Directional Mapping System (BDMS) are selected、described and analyzed. OMNET++ simulation platform is used for the simulation of BDMS and DSTM. End-To-End Delay, Round Trip Time, and Throughput are measured and compared.