OpenWrt作为一个高度模块化、自动化的嵌入式Linux系统,拥有强大的网络组建和扩展性。基于该系统,提出了一种6LoWPAN边界路由器的设计方案。通过在边界路由器上分别搭建两种协议栈,实现对于IPv6和6LoWPAN网络的接入;之后在协议栈之间建立SLIP通道,实现两种异构网络之间的通信。借助OpenWrt系统强大的路由功能和包管理机制,该边界路由器可以直接接入IPv6网络,并具备极强的拓展性。
OpenWrt is a highly modular and automatic embedded Linux system. It includes effective network components for net-work forming and extensibility. Based on OpenWrt, a design scheme of the 6LoWPAN border router is presented. In order to gain access to both IPv6 and 6LoWPAN, two kinds of protocol are designed respectively on the border router. Through the establishment of a SLIP channel between two protocol stacks, communication between the heterogeneous networks is realized. Owing to the power-ful routing function and strong packet management mechanism of OpenWrt system, this border router has direct access to IPv6 net-work and its scalability is good.