移动IPv6在LwIP中的应用
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
今天越来越多的无线设备开始提供IP连接,移动计算也因此开始流行。当某个节点移动到其他子网时,它希望能够在当前位置继续当前的通信,而不会因为链路的切换而引起通信问题。因为当前使用的IPv4协议不能向用户提供移动透明性,所以移动IPv4被设计出来解决这个问题。然而,IPv6是未来发展趋势,它具有内嵌移动支持优势。并且在产业界也支持这样的发展趋势。例如,第三代合作项目(3GPP)已经接纳IPv6作为下一代无线网络规范。随着嵌入式通信网络技术的发展和良好的应用前景,特别是IPv6协议的逐步完善和应用需求,越来越多的嵌入式设备要求具有移动IPv6的功能。
     MIPL(Mobile IPv6 for Linux)作为Linux下的开源项目,在Linux环境下实现了移动IPv6。它被越来越多的人承认,并应用于实际的IPv6网络中。具有很高的实用价值。
     LwIP(Light weigth IP)作为一种运行在嵌入式设备上的TCP/IP协议栈,被广泛移植到各种嵌入式系统中。如果在LwIP中加入移动IPv6的功能,就能够使移植LwIP的嵌入式设备增加支持移动性的功能。
     本文的目标是移植MIPL到LwIP上,并将移植了MIPL的LwIP移植到Linux系统上,在实际的网络环境中测试移植后的功能。
     本文首先介绍了移动IPv6的原理,包括移动IPv6产生的背景,移动IPv6对IPv6的修改,移动IPv6的基本操作,移动IPv6与移动IPv4的比较。
     接着,本文对移动IPv6在MIPL上的基本实现算法进行了研究,分析了MIPL实现移动IPv6的基本算法流程和数据结构。
     然后,本文比较了Linux系统与LwIP的异同。研究了MIPL移植到LwIP上的可行性,并提出了移植方案。
     在移植MIPL到LwIP上后,为了测试移植的正确性,进一步将LwIP移植到Linux系统上。在简易的网络环境中测试了移植后的功能。
Nowadays, mobile computing is becoming popular with more and more wireless devices beginning to offer IP connectivity. When a node moves to another subnet, it expects to keep current communication despite the subnet shift. Since the currently used IPv4 protocol can’t make mobility transparent to the user, mobile IPv4 was designed to solve this problem. However, IPv6 is the future trend for network protocol with the advantage of built-in mobility support. Besides, the wireless industry tends to be in support of IPv6. For instance, the Third-Generation Partnership Project (3GPP) has adopted IPv6 as the wireless network standard for the third generation with the development of embedded system and communication network, especially the development of IPv6, more and more embedded device require mobile IPv6 technology.
     The MIPL (Mobile IPv6 for Linux) is an implement of mobile IPv6 in Linux environment. More and more people accept and implement it in real IPv6 enviroment. It has high value.
     The LwIP (Light weigth IP) is a TCP/IP protocol that can be used in embedded device. It is widely ported to many embed operation systems.If we add mobile IPv6 to the LwIP, it can make the device which transport LwIP support mobility.
     The paper’s target is transporting MIPL to LwIP, and then transport the LwIP which was transported MIPL to linux. The function of the LwIP is test in real network environment.
     Firstly, the paper introduce the principle of mobile IPv6, including the background of mobile IPv6, the amending of IPv6 by mobile IPv6, the base operation of mobile IPv6, the comparision of mobile IPv6 and mobile IPv4.
     Then, the paper research the base arithmetic of MIPL which implement the mobile IPv6 based on linux, analyse the base data flow and data structure in MIPL.
     Then, the paper compare linux operation and LwIP, research the feasibility that transported MIPL to LwIP, and give a method of transporting.
     In the end, after transportting the MIPL to LwIP, in order to testing that if the transport is successful, I transport LwIP to Linux. The LwIP had been test in real network environment. I got the success, and based the further research.
引文
[1] PerKins C, IP Mobility Support[S], RFC2002, October 1996.
    [2] Nicolas Montavont and Thomas Noel Handover, Management for Mobile Nodes in IPv6 Networks, IEEE Communication Magazine August 2002
    [3] 张宏科,苏伟,IPv6 路由协议栈原理与技术,北京邮电大学出版社 pp3-4
    [4] 周贤伟,移动 IP 与安全,国防工业出版社 pp21
    [5] C.Perkins, Ed., IP Mobility Support for IPv4, RFC 3344, August 2002
    [6] D.Johnson, C.Perkins, J.Arkko, etc, Mobility Support in IPv6, RFC 3775, June, 2003
    [7] Urban Lindegren,嵌入式系统网络互连的挑战,半导体应用网,Dec.2005
    [8] http://www.embed.com.cn/protocol/interniche/tcpip.asp
    [9] J. Arkko, Ericsson, etc, Using IPsec to Protect Mobile IPv6 Signaling Between Mobile Nodes and Home Agents, RFC 3776, June 2004
    [10] http://cn.access-company.com/products/embedded/tcpip.html
    [11] http://www.ietf.org
    [12] http://www.kame.com
    [13] http://www.sics.se/~adam/uip/
    [14] http://savannah.nongnu.org/projects/lwip/
    [15] 曹宏亮,周华春,张宏科,嵌入式移动 IPv6 的设计与实现,单片机与嵌入式系统应用,2006 年第 9 期,pp.16-17
    [16] T. Narten, E. Nordmark, Neighbor Discovery for IP Version 6 (IPv6), RFC 2461, December 1998
    [17] S. Thomson,IPv6 Stateless Address Autoconfiguration,RFC 2462,December 1998
    [18] www.mipl.mediapoli.com
    [19] W.Richard Stevens, UNIX Network Programming Volume.1 The Sockets Networking API, Addison Wesley, November 21, 2003
    [20] 杨沙洲,Posix 线程编程指南,http://www.ibm.com/developerworks
    [21] Adam Dunkels, design and implementation of the LWIP TCP/IP stack, Swedish institute of computer science, February 20, 2001
    [22] 陈渝“SkyEye Project FAQ”
    [23] http://download.savannah.nongnu.org/releases/lwip/
    [24] http://lists.gnu.org/archive/html/lwip-users/2003-01/msg00049.html
    [25] Robert Love 著 陈莉君 康华 张波译,Linux 内核设计与实现,机械工业出版社
    [26] Pcstudy,Linux 系统下的多线程编程入门,www.blogchina.com, 2006-01-17
    [27] 郑 彦 兴 , Linux 环 境 进 程 间 通 信 , http://www.ibm.com/developerworks/cn/linux/l-ipc/ part3/index.html,2003 年 1 月 17 日
    [28] Jonathan Corbet, AlessandroRubini, and Greg Kroah-Hartman ”Linux device drivers”pp516
    [29] Iab Sommerville 著,程成 陈霞 等译,软件工程 机械工业出版社,2003
    [30] Csondes, Sarolta Dibuz, Peter Kremer, Experiment on IPv6 Testing. Proceeding o#IFIP the 13th International Conference on Testing of Communication Systems, Ottawa, Canada 113-126, 2000
    [31] Linux 网络接口源码导读,bekras
    [32] Lars Strand,“Linux 下移动 IPv6 实现指南”,7-30-2003

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700