| 6LoWPAN as a product of WSN combined with IPv6 technology,Not only inherited the advantages of IPv6 huge address space,but also meet the low-power requirements in wireless sensor network.In terms of its own characteristics,it should be interconnected with some external networks.So that the external network can monitor and control the 6LoWPAN network.This can be more practical significance.The IP network the mainstream network currently.So how to acess 6LoWPAN network to the IP network,is a urgent problem to be solved.The focus of this paper is to design a 6LoWPAN border router based on OpenWrt.It can solve the problem of that 6LoWPAN network how to access IP network.It is far-reaching for the development of wireless sensor network and promote the seamless fusion of heterogeneous networks.First of all,we analyzes the border router equipment at home and abroad.Then we points out the shortcomings of existing products.Mainly reflects in:(1)operating system is not open-source,poor scalability.(2)Only provide the access of IPv6 network,but IPv4 network is still the mainsteam.(3)Use dual stack technology to achieve IPv6 to IPv4 network,it can not solve the IPv4 address depleting status.In view of the above shortcomings,this paper designs a 6LoWPAN border router device based on OpenWrt system,which can help 6LoWPAN network access IP network.Secondly,we not only provide the access to IPv6 network,but also design fuction to access IPv4 network.The 6LoWPAN border-router use the open source operating system: OpenWrt system and Contiki system.This can make the user easier to improve the boder-router to meet their requirement.NAT-PT is implement in the IPv6-IPv4 conversion,which provide dynamic address mapping can remit the current status of IPv4 address exhaustion.Thirdly,the 6LoWPAN border-router design in this paper provide the function of 6LoWPAN networking.It relay on the RPL protocol to constructs the network topology.Then analysis the correlative techinique in network,and how they realize in the 6LoWPAN border-router.Finally,the overall test system is established in parper to test the 6LoWPAN border-router function and performance.Test results validate the 6LoWPAN border-router achieved the corresponding function module.It work stably and reliably,which can meet the desired design. |