CN101047645A - Double-stack support extension method of layer mobile IPv6 protocol - Google Patents

Double-stack support extension method of layer mobile IPv6 protocol Download PDF

Info

Publication number
CN101047645A
CN101047645A CNA2007100650245A CN200710065024A CN101047645A CN 101047645 A CN101047645 A CN 101047645A CN A2007100650245 A CNA2007100650245 A CN A2007100650245A CN 200710065024 A CN200710065024 A CN 200710065024A CN 101047645 A CN101047645 A CN 101047645A
Authority
CN
China
Prior art keywords
address
ipv6
ipv4
map
protocol
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2007100650245A
Other languages
Chinese (zh)
Other versions
CN100571214C (en
Inventor
周华春
秦雅娟
张宏科
陈晓华
关建峰
乔鹏
瞿玮
任兰芳
钱轶群
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jiaotong University
Original Assignee
Beijing Jiaotong University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jiaotong University filed Critical Beijing Jiaotong University
Priority to CNB2007100650245A priority Critical patent/CN100571214C/en
Publication of CN101047645A publication Critical patent/CN101047645A/en
Application granted granted Critical
Publication of CN100571214C publication Critical patent/CN100571214C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

一种层次移动IPv6协议的双栈支持扩展方法,该方法包含:MN接收到包含有MAP的IPv6地址与MAP的IPv4地址的RA;MN配置RCoA和LCoA;MN与MAP进行绑定;MN发送包含有MN的IPv4与IPv6的HAO的BU给HA进行绑定,HA响应,发送包含有对应的HAO的BA给MN。本发明的优点在于,通过扩展可以使得在双栈网络中只运行一套移动性管理协议就可实现对移动节点的管理,减少了网络实体配置的复杂度,提高了网络管理的性能。

A dual-stack support extension method for a hierarchical mobile IPv6 protocol, the method comprising: MN receives an RA containing the IPv6 address of the MAP and the IPv4 address of the MAP; the MN configures RCoA and LCoA; the MN binds the MAP; the MN sends an RA containing The BU with the MN's IPv4 and IPv6 HAO is bound to the HA, and the HA responds by sending the BA containing the corresponding HAO to the MN. The advantage of the present invention is that, through expansion, only one set of mobility management protocol can be run in the dual-stack network to realize the management of the mobile node, which reduces the complexity of network entity configuration and improves the performance of network management.

Description

层次移动IPv6协议的双栈支持扩展方法Dual-stack Support Extension Method of Hierarchical Mobile IPv6 Protocol

技术领域technical field

本发明属于双栈网络移动通信技术领域,尤其涉及一种层次移动IPv6协议(HMIPv6-Hierarchical Mobile IPv6)的双栈支持扩展方法。The invention belongs to the technical field of dual-stack network mobile communication, and in particular relates to a dual-stack support extension method of a hierarchical mobile IPv6 protocol (HMIPv6-Hierarchical Mobile IPv6).

背景技术Background technique

目前移动网络协议(MIP-Mobile Internet Protocol)是一种在全球互联网上提供移动功能的方案,它具有可扩展性较好、可靠性较强和安全性较高等特点,并可以保证移动节点(MN-Mobile Node)在改变网络接入点时仍然可以保持当前正在进行的通信。MIP有MIPv4与MIPv6两种,其中MIPv6协议是在IPv6的基础上引入移动性特点,以便更好地为移动用户服务。由于IPv6在地址空间、安全性等方面优于IPv4,所以MIPv6比MIPv4性能更为优越。At present, the mobile network protocol (MIP-Mobile Internet Protocol) is a solution that provides mobile functions on the global Internet. It has the characteristics of good scalability, strong reliability and high security, and can guarantee the -Mobile Node) can still maintain the current ongoing communication when changing the network access point. There are two types of MIP, MIPv4 and MIPv6. The MIPv6 protocol introduces mobility features on the basis of IPv6 in order to better serve mobile users. Because IPv6 is superior to IPv4 in terms of address space and security, MIPv6 has superior performance than MIPv4.

MIPv6协议中规定,当MN从家乡移动到外地网络时,就会获得一个转交地址(CoA-Care-of Address)。为了保持其通信的连续性,MN需要向其家乡代理(HA-Home Agent)注册它当前所在的位置,这样HA就可以转发任何发往MN或者由MN发出的分组。很明显,在这种三角路由的转发方式下,增加了HA的负担,很可能会使HA成为通信的瓶颈,从而影响整个链路的性能。为了减小这一隐患发生的可能性,实现路由优化,MIPv6协议规定,MN也需要向相应的通信对端(CN-Corresponding Node)进行注册,这样MN就可以直接与CN进行通信,不再需要HA的转发。为了保证相互之间通信的安全性,协议规定在MN与CN绑定之前必须首先进行返回路由可达过程。其目的是验证MN的家乡地址(HoA-Home Address)与CoA对于HA是否可达,进而协商出完成通信的通信密钥。The MIPv6 protocol stipulates that when the MN moves from its home network to a foreign network, it will obtain a care-of address (CoA-Care-of Address). In order to maintain the continuity of its communication, MN needs to register its current location with its home agent (HA-Home Agent), so that HA can forward any packets sent to or sent by MN. Obviously, in this triangular routing forwarding mode, the burden on HA is increased, which may make HA become a communication bottleneck, thereby affecting the performance of the entire link. In order to reduce the possibility of this hidden danger and achieve route optimization, the MIPv6 protocol stipulates that the MN also needs to register with the corresponding corresponding peer (CN-Corresponding Node), so that the MN can directly communicate with the CN, no longer need HA forwarding. In order to ensure the security of the mutual communication, the protocol stipulates that before the MN binds with the CN, the process of return route reachability must be carried out first. Its purpose is to verify whether the MN's home address (HoA-Home Address) and CoA are reachable to the HA, and then negotiate a communication key to complete the communication.

MIPv6协议允许节点在Internet网络拓扑内移动时,保持其可达性,并维护MN与CN之间正在进行的通信的连续性。为此,MN在每次移动之后都需要向其HA以及所有的CN发送绑定更新(BU-Binding Update)进行注册。而对于CN的绑定更新的认证,即使在最佳情况下,也大约需要1.5倍MN与CN之间的往返时间。此外,更新HA以及CN都需要1倍的往返时间。家乡密钥的重复使用也不能减少更新CN所需的往返时间。每当节点发生切换时,这一系列更新操作所产生的时延将会使当前正在进行的通信中断,从而影响通信质量。如果在切换期间消除或减少这些附加的切换时延,则可以显著提高MIPv6的性能,增强对时延敏感业务的支持。The MIPv6 protocol allows nodes to maintain their reachability and maintain the continuity of ongoing communication between MNs and CNs when they move within the Internet network topology. For this reason, the MN needs to send a binding update (BU-Binding Update) to its HA and all CNs for registration after each move. And for the authentication of CN's binding update, even in the best case, it needs about 1.5 times the round-trip time between MN and CN. In addition, updating both HA and CN requires 1x the round-trip time. Reuse of the home key also does not reduce the round-trip time required to update the CN. Whenever a node switches, the time delay generated by this series of update operations will interrupt the ongoing communication, thus affecting the communication quality. If these additional switching delays are eliminated or reduced during switching, the performance of MIPv6 can be significantly improved and the support for delay-sensitive services can be enhanced.

互联网工程任务组(IETF-Internet Engineering Task Force)提出的HMIPv6协议,通过采用层次型路由结构,减少了MN与HA和CN的信令交互数量,从而减少切换引起的通信中断时间。在HMIPv6中,引入了一个新的功能实体,称为移动锚点(MAP-Mobility Anchor Point)。一个MAP区域包含多个子网,每个子网都有接入路由器(AR-Access Router),子网的个数根据情况可以变化。MN通过接收包含MAP信息的路由通告(RA-Router Advertisement)配置特定区域转交地址(RCoA-Regional CoA),然后使用这一地址向HA以及CN进行注册。另外,MN同时还会获得一个链路转交地址(LCoA-On-LinkCoA)。当MN在同一个MAP域内移动时,RCoA并不发生变化,这时就不需要向HA以及CN重新进行绑定,这样就减少了MN在MAP域内的子网间移动时与HA和CN交互的频率。The HMIPv6 protocol proposed by the Internet Engineering Task Force (IETF-Internet Engineering Task Force) adopts a hierarchical routing structure to reduce the number of signaling interactions between the MN and the HA and CN, thereby reducing the communication interruption time caused by handover. In HMIPv6, a new functional entity called MAP-Mobility Anchor Point is introduced. A MAP area contains multiple subnets, each subnet has an access router (AR-Access Router), and the number of subnets can vary according to the situation. MN configures a specific regional care-of address (RCoA-Regional CoA) by receiving RA-Router Advertisement containing MAP information, and then uses this address to register with HA and CN. In addition, the MN will also obtain a link care-of address (LCoA-On-LinkCoA) at the same time. When the MN moves within the same MAP domain, the RCoA does not change. At this time, there is no need to re-bind to the HA and CN, which reduces the interaction between the MN and the HA and CN when the MN moves between subnets within the MAP domain. frequency.

从上面的叙述可以看出不管是MIPv6协议还是HMIPv6协议都是只适用于IPv6网络。但是当前的实际情况是,IPv6网络并没有广泛部署,Internet绝大部分还是IPv4的网络,或者说是IPv4与IPv6共存的网络。因此,MN并不可能都通过IPv6地址来保持其现有的通信,这就使得HMIPv6协议的应用具有一定的限制。所以,有必要对HMIPv6协议进行扩展改进,使其适应于IPv4网络与IPv6网络共存的双栈环境。It can be seen from the above description that both the MIPv6 protocol and the HMIPv6 protocol are only applicable to IPv6 networks. However, the current actual situation is that IPv6 networks have not been widely deployed, and most of the Internet is still an IPv4 network, or a network where IPv4 and IPv6 coexist. Therefore, it is impossible for MNs to maintain their existing communications through IPv6 addresses, which limits the application of the HMIPv6 protocol. Therefore, it is necessary to expand and improve the HMIPv6 protocol to adapt to the dual-stack environment where IPv4 network and IPv6 network coexist.

公知技术一:HMIPv6的MAP可以位于层次网络中的任意层,不像移动IPv4中的外地代理,MAP并不要求有一个独立的子网。MAP将可以减少MIPv6局部范围内的信息交互数目。MAP的引入为下面一些问题提供了解决方案:Known technology 1: the MAP of HMIPv6 can be located at any layer in the hierarchical network, unlike the foreign agent in mobile IPv4, the MAP does not require an independent subnet. MAP will reduce the number of information exchange in MIPv6 local range. The introduction of MAP provides solutions to the following problems:

MN在同一个MAP域内移动时只需要向MAP发送局部本地绑定更新(LBU-Local Binding Update),而不需要向HA以及CN发送。When the MN moves within the same MAP domain, it only needs to send a local local binding update (LBU-Local Binding Update) to the MAP, instead of sending it to the HA and the CN.

在MN移动到新的MAP域之后,MN只需要向HA以及CN发送一次BU,而且这一过程与MN正在通信的CN的数目无关。After the MN moves to a new MAP domain, the MN only needs to send a BU to the HA and the CN once, and this process has nothing to do with the number of CNs the MN is communicating with.

MAP实质上是一个局部的HA。在MIPv6中引入层次移动管理模型,目的是为了提高MIPv6的性能,同时对MIPv6或其他IPv6协议的影响最小化。MAP is essentially a local HA. The purpose of introducing a hierarchical mobility management model in MIPv6 is to improve the performance of MIPv6 while minimizing the impact on MIPv6 or other IPv6 protocols.

当MN移动到一个层次型外地网络时,就会接收到包含MAP选项的RA。该选项中填充的是该域内MAP的相关信息,其中有距离、长度以及MAP的地址等,利用这一选项MN也可以判断其是否仍在原来的MAP域内。若MN在同一个MAP域内移动时,RA中将接收到关于同一个MAP的信息。一旦接收到MAP地址发生变化的RA,MN必须向HA以及所有的CN发送BU进行相应的改变。When the MN moves to a hierarchical foreign network, it will receive an RA containing the MAP option. This option is filled with the relevant information of the MAP in this domain, including the distance, length, and address of the MAP, etc. By using this option, the MN can also determine whether it is still in the original MAP domain. If the MN moves within the same MAP domain, the RA will receive information about the same MAP. Once receiving the RA whose MAP address changes, the MN must send a BU to the HA and all CNs to make corresponding changes.

若MN是一个不支持HMIPv6的节点,则将不再执行HMIPv6协议的过程,此时MN将仍然按照MIPv6中定义的那样进行移动性管理。如果MN是一个支持HMIPv6的节点,则应该选择使用HMIPv6协议进行移动性管理。If the MN is a node that does not support HMIPv6, it will no longer execute the process of the HMIPv6 protocol, and at this time, the MN will still perform mobility management as defined in MIPv6. If the MN is a node supporting HMIPv6, it should choose to use the HMIPv6 protocol for mobility management.

MN的操作:Operation of MN:

当MN移动到一个新的MAP域时,就需要配置两个转交地址:一个是根据MAP地址前缀生成的RCoA,另一个是LCoA。RCoA是以无状态地址自动配置方式生成的,LCoA既可以无状态地址自动配置方式生成,也可以通过动态主机配置协议(DHCP-Dynamic Host Configuration Protocol)分配。When the MN moves to a new MAP domain, two care-of addresses need to be configured: one is the RCoA generated according to the MAP address prefix, and the other is the LCoA. RCoA is generated in a stateless address auto-configuration mode, and LCoA can be generated in a stateless address auto-configuration mode, or can be assigned through a Dynamic Host Configuration Protocol (DHCP-Dynamic Host Configuration Protocol).

在生成RCoA之后,MN需要向MAP发送LBU,其中表明向MAP注册的M标志位和需要绑定确认(BA-Binding Acknowledgement)的A标志位必须置位。LBU中的家乡地址选项(HAO-Home Address Option)包含的是MN的RCoA。该信息中不包含有可替代转交地址选项。LBU的源地址为LCoA。MAP将为MN的RCoA执行重复地址检测(DAD-Duplicate AddressDetection),并向MN返回一个本地绑定确认信息(LBA-Local BindingAcknowledgement)。MN必须忽略包含MN的RCoA但不包含类型2路由头的BA分组。After generating the RCoA, the MN needs to send an LBU to the MAP, which indicates that the M flag bit registered with the MAP and the A flag bit that requires binding confirmation (BA-Binding Acknowledgment) must be set. The home address option (HAO-Home Address Option) in the LBU contains the RCoA of the MN. This message does not include an alternative care-of address option. The source address of the LBU is LCoA. MAP will perform duplicate address detection (DAD-Duplicate Address Detection) for the RCoA of the MN, and return a local binding confirmation message (LBA-Local Binding Acknowledgment) to the MN. The mobile node MUST ignore BA packets that contain the mobile node's RCoA but do not contain a type 2 routing header.

MN成功注册之后,就会在MN与MAP之间建立一条双向隧道。MN发送的所有分组将通过隧道发至MAP处。分组外部头中的源地址为MN的LCoA,目的地址为MAP的地址。内部头中,源地址为MN的RCoA,目的地址为CN的地址。类似地,所有的目的地址为MN的RCoA的分组都被MAP截获并通过隧道转发至MN的LCoA。After the MN successfully registers, a two-way tunnel will be established between the MN and the MAP. All packets sent by the MN will be sent to the MAP through the tunnel. The source address in the packet external header is the LCoA of the MN, and the destination address is the address of the MAP. In the internal header, the source address is the RCoA of the MN, and the destination address is the address of the CN. Similarly, all packets whose destination address is the MN's RCoA are intercepted by the MAP and forwarded to the MN's LCoA through the tunnel.

若MN接收到包含多个MAP选项信息的RA时,可以配置多个RCoA。这种情况下,MN必须将每一个RCoA执行绑定更新程序。If the MN receives an RA containing multiple MAP option information, multiple RCoAs can be configured. In this case, the mobile node must perform a binding update procedure for each RCoA.

向MAP注册之后,MN必须向它的HA注册新的RCoA。其中,HAO中为MN的HoA,CoA为RCoA。同时,MN也需要向它的CN发送BU。After registering with the MAP, the MN must register the new RCoA with its HA. Wherein, the HAO is the HoA of the MN, and the CoA is the RCoA. At the same time, MN also needs to send BU to its CN.

MN应该等到接收到MAP的LBA之后再向HA进行注册。对HA以及CN绑定的生存期不能大于与MAP绑定的生存期,而该绑定的生存期是在LBA中得到的。The MN should wait to register with the HA after receiving the LBA from the MAP. The lifespan bound to HA and CN cannot be greater than the lifespan bound to MAP, and the bounded lifespan is obtained in LBA.

为了增加在MAP之间切换的速度,以及减少分组的丢失,MN应该向它原来的MAP发送LBU,注册它新的LCoA。这样,到达原来MAP的分组,也可以立即转发到新的LCoA处。In order to increase the switching speed between MAPs and reduce packet loss, the MN should send LBUs to its original MAP to register its new LCoA. In this way, the packets arriving at the original MAP can also be immediately forwarded to the new LCoA.

需要注意的是,若CN与MN在同一链路上时,此时MN执行BU的地址可以是它的LCoA,这样,MN与CN之间就可以直接通信,不再需要MAP的转发。It should be noted that if the CN and the MN are on the same link, the address of the MN executing the BU can be its LCoA. In this way, the MN and the CN can communicate directly without forwarding by the MAP.

MAP的操作:Operation of MAP:

MAP扮演HA的角色:它截获所有目的地址为MN的RCoA的分组,并通过隧道转发到MN的当前LCoA处。MAP plays the role of HA: it intercepts all packets whose destination address is MN's RCoA, and forwards them to the current LCoA of MN through the tunnel.

MAP对于MN的HoA是不知道的。MN向MAP发送一个含有M、A位的LBU。该绑定的目的是向MAP表明MN已经形成RCoA。若绑定成功,则MAP必须返回一个LBA来表明该注册的成功。这与HA的操作是相同的。在HMIPv6中并没有引入新的错误编码。BA中必须包含一个类型2的路由头,在其中包含MN的RCoA。The MAP is not aware of the MN's HoA. The MN sends an LBU containing M and A bits to the MAP. The purpose of this binding is to indicate to the MAP that the MN has formed an RCoA. If the binding is successful, the MAP must return an LBA to indicate the success of the registration. This is the same operation as HA. No new error encodings were introduced in HMIPv6. The BA must contain a Type 2 routing header, which contains the MN's RCoA.

MAP必须可以截获并通过隧道转发来自MN的分组。其中MN为隧道的入口点,而MAP为隧道的出口点。The MAP must be able to intercept and forward packets from the MN through the tunnel. Among them, the MN is the entry point of the tunnel, and the MAP is the exit point of the tunnel.

MAP作为LCoA的HA,目的地址为RCoA的所有分组使用代理邻居通告由MAP截获,然后封装路由到MN的LCoA处。The MAP acts as the HA of the LCoA, and all packets whose destination address is RCoA are intercepted by the MAP through proxy neighbor notification, and then encapsulated and routed to the LCoA of the MN.

至于HA与CN的操作,HMIPv6并没有作任何的修改。As for the operation of HA and CN, HMIPv6 has not made any modification.

公知技术一的缺陷在于只适用于IPv6网络,不支持IPv4节点。The disadvantage of the first known technique is that it is only applicable to IPv6 networks and does not support IPv4 nodes.

公知技术二:即MIPv6协议对双栈节点的支持。The second known technology: that is, the MIPv6 protocol supports dual-stack nodes.

MIPv6协议支持IPv6节点一些操作,对于不支持IPv6的节点,还需要修改该协议,从而满足IPv4以及IPv6等双栈节点的要求。为了使双栈节点可以使用MIPv6协议,MN应同时使用一个IPv4和一个IPv6的HoA,并对其HA分别注册这两个地址;而且MN应该知道HA的IPv4和IPv6地址,但对于IPv4地址不需要进行前缀发现。为了使双栈节点可以使用MIPv6协议进行移动性管理,需要修改其对家乡的BU以及相应的BA信息。具体说明如下:The MIPv6 protocol supports some operations of IPv6 nodes. For nodes that do not support IPv6, the protocol needs to be modified to meet the requirements of dual-stack nodes such as IPv4 and IPv6. In order to enable dual-stack nodes to use the MIPv6 protocol, the MN should use both an IPv4 and an IPv6 HoA, and register these two addresses with its HA; and the MN should know the IPv4 and IPv6 addresses of the HA, but not for the IPv4 address Perform prefix discovery. In order to enable a dual-stack node to use the MIPv6 protocol for mobility management, it is necessary to modify its home BU and corresponding BA information. The specific instructions are as follows:

一个双栈的MN,当移动到外地网络时,需要向其HA进行注册,绑定其当前所在的CoA。为了使MN在一个不支持IPv6的外地网络中保持通信,MN需要一个IPv4的HoA,并为每一个地址都建立对应的绑定缓存项。这时携带BU、BA的IP数据包的格式将有所不同。这取决于外地网络是否支持IPv6。这时将有三种不同的情况:When a dual-stack MN moves to a foreign network, it needs to register with its HA and bind its current CoA. In order for the MN to maintain communication in a foreign network that does not support IPv6, the MN needs an IPv4 HoA and establishes a corresponding binding cache entry for each address. At this time, the format of the IP data packet carrying BU and BA will be different. It depends on whether the foreign network supports IPv6. There will be three different situations:

外地网络支持IPv6,并给MN配置一个IPv6的CoA;The foreign network supports IPv6, and an IPv6 CoA is configured for the MN;

MN在外地网络只配置了一个全球唯一的IPv4地址;The MN configures only one globally unique IPv4 address in the foreign network;

MN在外地网络配置了一个私有的IPv4地址。The MN configures a private IPv4 address on the foreign network.

下面分别对这三种情况进行分析:The following three situations are analyzed separately:

外地网络支持IPv6:The foreign network supports IPv6:

这时,MN可以配置一个全球唯一的IPv6地址。MN将向HA的IPv6地址发送BU。该BU中可以包含有IPv4的HAO。在接收到BU后,HA将创建两个绑定缓存项。一个用来存放MN的IPv4的HoA,另一个用来存放MN的IPv6的HoA。这两个缓存项都指向MN的IPv6的CoA。因此目的地址为MN的IPv4或者IPv6的HoA的分组都可以通过隧道发送至MN的IPv6的CoA处。为了提高效率,MN可以建立两条不同的隧道,一条用于IPv4业务,另一条用于IPv6业务。At this time, the MN can configure a globally unique IPv6 address. MN will send BU to the IPv6 address of HA. The BU may contain IPv4 HAO. After receiving a BU, HA will create two binding cache entries. One is used to store the MN's IPv4 HoA, and the other is used to store the MN's IPv6 HoA. Both cache entries point to the MN's IPv6 CoA. Therefore, packets whose destination address is the MN's IPv4 or IPv6 HoA can be sent to the MN's IPv6 CoA through the tunnel. In order to improve efficiency, the MN can establish two different tunnels, one for IPv4 services and the other for IPv6 services.

这种情况下,只需要在BU中增加一个IPv4的HAO即可。In this case, it is only necessary to add an IPv4 HAO in the BU.

在接收到BU并完成对应的绑定缓存项后,HA必须向MN发送BA。此外,若BU中包含有IPv4的HAO,则BA中也必须包含此项。表明对MN的IPv4的HoA的接受。After receiving a BU and completing the corresponding binding cache entry, the HA must send a BA to the MN. In addition, if the HAO of IPv4 is included in the BU, this item must also be included in the BA. Indicates acceptance of the MN's IPv4 HoA.

当MN在外地网络中同时获得IPv4和IPv6的CoA后,优先使用IPv6的CoA进行MIPv6绑定注册。When the MN obtains both IPv4 and IPv6 CoA in the foreign network, it will preferentially use the IPv6 CoA for MIPv6 binding registration.

对于外地网络只支持IPv4,将有下面两种情况:For foreign networks that only support IPv4, there will be the following two situations:

外地网络只支持IPv4公共地址:Foreign networks only support IPv4 public addresses:

这时MN需要将包含BU的IPv6分组通过隧道发送至HA的IPv4地址处。其中外部头的源地址为MN从外地网络获得的IPv4的CoA,BU中HAO包含MN的IPv6的HoA。然而,由于CoA是MN的IPv4地址,则MN必须将IPv4的CoA包含在IPv6分组中。At this time, the MN needs to send the IPv6 packet containing the BU to the IPv4 address of the HA through the tunnel. The source address of the external header is the IPv4 CoA obtained by the MN from the foreign network, and the HAO in the BU includes the MN's IPv6 HoA. However, since the CoA is the MN's IPv4 address, the MN must include the IPv4's CoA in the IPv6 packet.

接收到BU后,HA必须为MN的IPv6的HoA创建绑定缓存项。若BU中包含有IPv4的HAO,则必须为该地址创建另一个缓存项,并且所有项都指向MN的IPv4的CoA处。因此,所以目的地址为MN的HoA的分组,都将封装在一个IPv4头中。其中,源地址为HA的IPv4的HoA,目的地址为MN的IPv4的CoA。After receiving the BU, the HA must create a binding cache entry for the MN's IPv6 HoA. If the HAO of IPv4 is included in the BU, another cache entry must be created for this address, and all entries point to the CoA of IPv4 of the MN. Therefore, all packets whose destination address is the HoA of the MN will be encapsulated in an IPv4 header. Wherein, the source address is the HoA of IPv4 of the HA, and the destination address is the CoA of IPv4 of the MN.

外地网络只支持IPv4私有地址:The foreign network only supports IPv4 private addresses:

这时,MN需要通过隧道发送包含BU的IPv6分组到HA的IPv4地址处。为了要经过网络地址转换设备(NAT-Network Address Translation),IPv6分组是以用户数据报协议(UDP-User Datagram Protocol)形式封装在IPv4分组中来通过隧道转发的。在IPv4头中,MN使用外地网络获得的IPv4地址为源地址,BU的HAO中包含的MN的IPv6的HoA。IPv6分组的内容与公共地址场合是相同的。At this time, the MN needs to send the IPv6 packet containing the BU to the IPv4 address of the HA through the tunnel. In order to pass through the Network Address Translation (NAT-Network Address Translation), IPv6 packets are encapsulated in IPv4 packets in the form of User Datagram Protocol (UDP-User Datagram Protocol) to be forwarded through the tunnel. In the IPv4 header, the MN uses the IPv4 address obtained from the foreign network as the source address, and the MN's IPv6 HoA contained in the HAO of the BU. The content of the IPv6 packet is the same as that of the public address.

接收到BU后,HA必须为MN的IPv6的HoA创建绑定缓存项。若包含有IPv4的HAO,则必须另外创建。所有项都必须指向IPv6分组源地址域中MN的IPv4的CoA处。因此,目的地址为MN的HoA的分组都以UDP封装,然后再封装在IPv4头中,该头中的源地址为HA的IPv4地址,目的地址为MN的IPv4的CoA。After receiving the BU, the HA must create a binding cache entry for the MN's IPv6 HoA. If it contains IPv4 HAO, it must be created separately. All items must point to the MN's IPv4 CoA in the IPv6 packet source address domain. Therefore, the packets whose destination address is the MN's HoA are all encapsulated with UDP, and then encapsulated in an IPv4 header. The source address in the header is the IPv4 address of the HA, and the destination address is the CoA of the MN's IPv4.

在双栈情况中,MN与CN之间的路由优化方式不再适用,所有的分组都将经过HA进行转发。In the dual-stack situation, the route optimization method between MN and CN is no longer applicable, and all packets will be forwarded through HA.

公知技术二的缺陷在于该方案中运行的是MIPv6协议,因此具有MIPv6协议的所有不足,尤其是对于时延敏感的业务无法适用。The defect of the second known technology is that the solution runs the MIPv6 protocol, so it has all the shortcomings of the MIPv6 protocol, and is especially unsuitable for delay-sensitive services.

发明内容Contents of the invention

本发明的主要目的,在于解决上述缺陷,避免缺陷存在,提供一种层次移动IPv6协议的双栈支持扩展方法,当MN移动到外地网络时,该方法包含:The main purpose of the present invention is to solve the above-mentioned defects, avoid the existence of defects, and provide a dual-stack support extension method of the hierarchical mobile IPv6 protocol. When the MN moves to a foreign network, the method includes:

MN接收到包含有MAP的IPv6地址的RA;The MN receives the RA containing the IPv6 address of the MAP;

MN配置RCoA和LCoA;MN configures RCoA and LCoA;

MN与MAP进行绑定;MN binds with MAP;

MN与HA进行绑定,MN在发往HA的BU中包含一个HAO来存放MN的IPv6的HoA,HA响应,发送包含有对应的HAO的BA给MN。The MN binds with the HA, and the MN includes a HAO in the BU sent to the HA to store the MN's IPv6 HoA, and the HA responds by sending a BA containing the corresponding HAO to the MN.

一种层次移动IPv6协议的双栈支持扩展方法,进一步包含:MN接收到包含有对外地域内MAP的IPv4地址的RA。A dual-stack support extension method for hierarchical mobile IPv6 protocol further includes: the MN receives the RA containing the IPv4 address of the MAP in the external area.

一种层次移动IPv6协议的双栈支持扩展方法,MN与HA进行绑定的过程中,在发往HA的BU中还包含一个HAO来存放MN的IPv4的HoA。A dual-stack support extension method of the hierarchical mobile IPv6 protocol. During the binding process between the MN and the HA, the BU sent to the HA also includes a HAO to store the MN's IPv4 HoA.

一种层次移动IPv6协议的双栈支持扩展方法,MN配置的RCoA是根据MAP地址前缀以无状态地址自动配置方式生成的。A dual-stack support extension method of the hierarchical mobile IPv6 protocol, the RCoA configured by the MN is generated in a stateless address auto-configuration mode according to the MAP address prefix.

本发明与公知技术相比,其优点在于:在一个双栈网络中,分别运行两套移动性管理协议,不仅增加了每个节点配置的复杂度,而且增加了网络管理的复杂性。一旦节点发生移动,将会产生大量的信息交互,对整个网络的性能造成很大的影响。本发明通过扩展可以使得在双栈网络中只运行一套移动性管理协议就可实现对移动节点的管理,减少了网络实体配置的复杂度,提高了网络管理的性能。Compared with the known technology, the present invention has the advantages that in a dual-stack network, two sets of mobility management protocols are run separately, which not only increases the complexity of each node configuration, but also increases the complexity of network management. Once a node moves, a large amount of information interaction will occur, which will have a great impact on the performance of the entire network. The invention can realize the management of the mobile node by running only one set of mobility management protocols in the double-stack network through expansion, reduces the complexity of network entity configuration, and improves the performance of network management.

附图说明Description of drawings

图1为层次移动IPv6协议基本拓扑图;Figure 1 is a basic topology diagram of the hierarchical mobile IPv6 protocol;

图2为双栈网络的信息交互过程图。FIG. 2 is a diagram of an information interaction process of a dual-stack network.

具体实施方式Detailed ways

有关本发明的技术内容及详细说明,现配合附图说明如下:Relevant technical content and detailed description of the present invention, now cooperate accompanying drawing to explain as follows:

为了使HMIPv6协议能够支持双栈网络节点,本发明提出了一种HMIPv6协议的双栈支持扩展方法,用来实现对IPv4、IPv6两种业务的支持。在HMIPv6中,MN与CN之间的所有分组都是通过HA与MAP的转发而进行的。当CN向MN发送分组时,首先由HA截获,并转发给MN当前所在域的MAP,然后由MAP发送给MN。In order to enable the HMIPv6 protocol to support dual-stack network nodes, the present invention proposes a dual-stack support extension method of the HMIPv6 protocol, which is used to support IPv4 and IPv6 services. In HMIPv6, all groups between MN and CN are forwarded by HA and MAP. When the CN sends a packet to the MN, it is firstly intercepted by the HA and forwarded to the MAP in the domain where the MN is currently located, and then sent to the MN by the MAP.

在双栈网络中,即网络中所有节点均支持IPv4与IPv6,本发明需要修改RA,增加对外地域内MAP的IPv4地址通告,还需在发往HA的BU中增加一个家乡地址选项HAO来存放MN的IPv4的HoA,来确保双栈节点通信的连续性。当MN离开家乡移动到外地网络时,根据外地网络对IPv6的支持情况来配置需要的CoA。由于网络中运行的移动性管理协议是HMIPv6协议,所以一定存在一个支持IPv6的MAP,本发明假定所说的MAP均支持IPv6。而且MAP也同时拥有一个IPv4地址和一个IPv6地址。In a dual-stack network, that is, all nodes in the network support IPv4 and IPv6, the present invention needs to modify the RA, increase the IPv4 address announcement of the MAP in the external area, and also need to add a home address option HAO in the BU sent to the HA to store The MN's IPv4 HoA ensures the continuity of dual-stack node communication. When the MN leaves home and moves to a foreign network, the required CoA is configured according to the support of the foreign network for IPv6. Since the mobility management protocol running in the network is the HMIPv6 protocol, there must be a MAP supporting IPv6, and the present invention assumes that all MAPs support IPv6. And the MAP also has an IPv4 address and an IPv6 address at the same time.

图1为层次移动IPv6协议基本拓扑图。当外地网络支持IPv6时,整个HMIPv6协议的操作过程同普通情况下完全一样,当前的RCoA和LCoA均为IPv6的。只需要在MN向HA的绑定更新中,增加一个关于MN的IPv4的HAO,以在HA和MAP上生成IPv4的绑定缓存条目,用来确保MN可以与IPv4的节点通信。当外地网络不支持IPv6,这时将有三种情况需要分别进行讨论。下面对MN所在外地网络分情况进行说明。图2为双栈网络的信息交互过程图。Figure 1 is a basic topology diagram of the hierarchical mobile IPv6 protocol. When the foreign network supports IPv6, the operation process of the whole HMIPv6 protocol is exactly the same as the normal situation, and the current RCoA and LCoA are both IPv6. It is only necessary to add a HAO about the MN's IPv4 in the binding update from the MN to the HA to generate IPv4 binding cache entries on the HA and the MAP to ensure that the MN can communicate with IPv4 nodes. When the foreign network does not support IPv6, there will be three situations that need to be discussed separately. The following describes the situation of the foreign network where the MN is located. FIG. 2 is a diagram of an information interaction process of a dual-stack network.

1、外地网络支持IPv6:1. The foreign network supports IPv6:

本发明中MAP下面的AR1和AR2都支持IPv6。当MN移动到这样一个外地网络时,接收到包含有MAP地址的RA,在这一通告中既包含有MAP的IPv6地址,也包含有MAP的IPv4地址,以及转交地址。这里将优先使用IPv6地址。Both AR1 and AR2 under the MAP in the present invention support IPv6. When the MN moves to such a foreign network, it receives an RA containing the address of the MAP. In this announcement, it contains both the IPv6 address of the MAP, the IPv4 address of the MAP, and the care-of address. Here, IPv6 addresses will be used first.

根据HMIPv6协议,MN可以配置RCoA和LCoA,由于当前的AR也是支持IPv6的,所以这两个地址均为IPv6的地址。在成功完成地址配置后,MN需要向MAP发送LBU,该信息的源地址为LCoA,目的地址为MAP的IPv6地址。其中HAO中填充MN的RCoA。LCoA在HMIPv6中MAP域中的地位与CoA在MIPv6中HA域中的地位是一样,需要用它来建立绑定缓存条目,HAO中填充的应是MN的HoA,在HMIPv6中对应的是RCoA,由于在MIPv6中MN与CN通信使用的地址是MN的HoA,但分组在网络路由过程中使用的源地址是MN的CoA,此时应把MN的HoA填充在HAO中,CN收到后递交给上层应用程序时,上层应用程序通过HAO能知道是否是跟该程序通信的MN发来的分组。这时的LBU的格式同HMIPv6中规定的完全一样。According to the HMIPv6 protocol, the MN can configure RCoA and LCoA. Since the current AR also supports IPv6, these two addresses are IPv6 addresses. After the address configuration is successfully completed, the MN needs to send an LBU to the MAP. The source address of the information is the LCoA, and the destination address is the IPv6 address of the MAP. The RCoA of the MN is filled in the HAO. The status of LCoA in the MAP domain in HMIPv6 is the same as that of CoA in the HA domain in MIPv6. It needs to be used to establish binding cache entries. The HAO should be filled with the HoA of the MN, and the corresponding one in HMIPv6 is RCoA. In MIPv6, the address used by the MN to communicate with the CN is the HoA of the MN, but the source address used in the network routing process of the packet is the CoA of the MN. At this time, the HoA of the MN should be filled in the HAO, and the CN will submit it to the HAO after receiving it. When the upper-layer application program, the upper-layer application program can know whether it is a packet sent by the MN communicating with the program through the HAO. The format of the LBU at this time is exactly the same as that stipulated in HMIPv6.

在接收MN的LBU后,MAP发出响应的LBA信息,该信息的源地址为MAP的IPv6地址,目的地址为MN的LCoA。其中的HoA确认选项填充的是MN的RCoA。After receiving the LBU of the MN, the MAP sends out corresponding LBA information, the source address of which is the IPv6 address of the MAP, and the destination address is the LCoA of the MN. The HoA confirmation option is filled with the RCoA of the MN.

之后,MN向HA发送BU。该信息的源地址为MN的RCoA,目的地址为HA的IPv6地址。HA的IPv6地址是指与MN的HoA的前缀一致的地址,以便MN发往HA的分组能正常路由,MN尚未漫游到外地网络时,是通过HA上配置了该地址的接口接入HA所连接的网络的,即所有发往MN的分组都要通过HA的这个接口到达MN,反之亦然。这里,同MIPv6对双栈节点支持一样,在该BU中,增加一个HAO用来存放MN的IPv4的HoA。所以该BU中的两个HAO中分别填充MN的IPv4和IPv6的HoA。这样,HA需要为MN建立两个绑定缓存项,一个存放IPv6的HoA,另一个存放IPv4的HoA,但这两项均指向MN的RCoA。其中IPv4的HoA即MN的IPv4的HoA。该地址是一个单播的IPv4地址,可能是公开的,也可能是私有的。本发明中该地址是一个公开的IPv4地址。对于私有地址的情况,只需要经过NAT即可。After that, MN sends BU to HA. The source address of the information is the RCoA of the MN, and the destination address is the IPv6 address of the HA. The IPv6 address of the HA refers to the address that is consistent with the prefix of the HoA of the MN, so that the packets sent by the MN to the HA can be routed normally. network, that is, all packets sent to the MN must reach the MN through this interface of the HA, and vice versa. Here, as MIPv6 supports dual-stack nodes, in this BU, an HAO is added to store the MN's IPv4 HoA. Therefore, the two HAOs in the BU are filled with the MN's IPv4 and IPv6 HoA respectively. In this way, the HA needs to establish two binding cache items for the MN, one for storing the IPv6 HoA and the other for storing the IPv4 HoA, but both of them point to the RCoA of the MN. The HoA of IPv4 is the HoA of IPv4 of the MN. The address is a unicast IPv4 address, which may be public or private. In the present invention, the address is a public IPv4 address. For private addresses, only need to go through NAT.

在MN尚未移动到其它网络前,HA与MN之间是直接通信的,不需要转发,当MN移动到外地网络时,CN发往MN的分组仍要发往HA,因为CN并不知道MN是否移动,但MN移动后通过上述发送BU接收BA的过程,在HA建立了绑定缓存条目,其中指明了MN的当前地址CoA与对应的HoA,这样HA在收到CN发往MN的分组后如果存在该条目会根据该条目的HoA和CoA之间的映射关系,找到分组的目的MN的当前地址并转发该分组到MN。Before the MN has moved to other networks, the HA and the MN communicate directly without forwarding. When the MN moves to a foreign network, the packets sent by the CN to the MN must still be sent to the HA, because the CN does not know whether the MN Move, but after the MN moves, through the above process of sending BU and receiving BA, a binding cache entry is established in the HA, which specifies the current address CoA of the MN and the corresponding HoA, so that after the HA receives the packet sent by the CN to the MN, if If the entry exists, the current address of the destination MN of the packet will be found according to the mapping relationship between the HoA and the CoA of the entry, and the packet will be forwarded to the MN.

当HA接收到MN的BU后,发出响应的BA信息,该信息的源地址为HA的IPv6地址,目的地址为MN的RCoA。在该BA中,响应的两个HoA确认选项中分别填充MN的IPv4和IPv6的HoA。其中IPv4的HoA为在绑定缓存中HA将要使用的IPv4的HoA。该地址是一个单播的IPv4地址,可能是公开的,也可能是私有的。本发明中该地址是一个公开的IPv4地址。对于私有地址的情况,只需要经过NAT即可。如果该地址是DHCP自动分配的,HA向MN通知这一地址。否则,若该地址为静态配置给MN的,则HA将从BU信息中复制该地址。When the HA receives the BU of the MN, it sends out a corresponding BA message, the source address of which is the IPv6 address of the HA, and the destination address is the RCoA of the MN. In this BA, the two HoA confirmation options of the response are filled with the MN's IPv4 and IPv6 HoA respectively. Wherein, the HoA of IPv4 is the HoA of IPv4 to be used by the HA in the binding cache. The address is a unicast IPv4 address, which may be public or private. In the present invention, the address is a public IPv4 address. For private addresses, only need to go through NAT. If the address is automatically assigned by DHCP, the HA notifies the MN of this address. Otherwise, if the address is statically configured for the MN, the HA will copy the address from the BU information.

这时,当一个双栈的CN与MN进行通信时,该分组将首先由HA截获,然后转发给MN所在域的MAP,最后由MAP转发给MN当前所在的位置,其中IPv4的业务流量被封装在IPv6的隧道中,从而保证了MN在双栈网络中通信的连续性。At this time, when a dual-stack CN communicates with the MN, the packet will first be intercepted by the HA, then forwarded to the MAP in the domain where the MN is located, and finally forwarded by the MAP to the current location of the MN, where the IPv4 traffic is encapsulated In the IPv6 tunnel, the communication continuity of the MN in the dual-stack network is guaranteed.

2、外地网络不支持IPv62. The foreign network does not support IPv6

当AR只支持IPv4时,MN配置的LCoA为IPv4地址,这时首先MN需要向MAP发送LBU,注册其IPv4的LCoA。待接收到MAP的LBA后,MN才会向HA发送BU,注册其RCoA,此时,一定还需要包含一个携带有MN的IPv6的HAO。这样可以保证IPv4与IPv6的业务同时进行转发。When the AR only supports IPv4, the LCoA configured by the MN is an IPv4 address. At this time, the MN first needs to send an LBU to the MAP to register its IPv4 LCoA. After receiving the LBA of the MAP, the MN will send a BU to the HA to register its RCoA. At this time, it must also include a HAO carrying the MN's IPv6. This can ensure that IPv4 and IPv6 services are forwarded at the same time.

对于外地网络不支持IPv6,移动触发切换时存在下面三种情况:For foreign networks that do not support IPv6, there are the following three situations when mobile triggers handover:

当MN移动到一个外地网络时,接收到包含有MAP地址的RA,在这一通告中既包含有MAP的IPv6地址,也包含有MAP的IPv4地址,以及转交地址。When the MN moves to a foreign network, it receives an RA containing the address of the MAP. In this announcement, it contains both the IPv6 address of the MAP, the IPv4 address of the MAP, and the care-of address.

(1)AR1支持IPv6,而AR2支持IPv4;(1) AR1 supports IPv6, while AR2 supports IPv4;

这种情况表示MN从一个支持IPv6的AR1移动到一个仅支持IPv4的AR2。由于发生的是MAP域内的移动,所以MN的RCoA并不发生改变,而只有LCoA发生变化。这时,由于当前的AR2为一个IPv4的节点,所以配置产生的LCoA就是一个IPv4地址。MN需要向MAP发送LBU,该信息的IPv4头中源地址为MN的LCoA,目的地址为MAP的IPv4地址。内层IPv6头中源地址为MN的RCoA,目的地址为MAP的IPv6地址。由于AR2只支持IPv4,因此MN只能使用IPv4的LCoA,之前的IPv6的LCoA已无法使用,因此只能把IPv6的RCoA封装在内层包头,因为需要用RCoA来建立绑定缓存条目,以便MAP截获发往MN的IPv6的RCoA的包并封装入IPv4包中发给MN。其中的HAO填充的是MN的RCoA。这时的LBU的格式同HMIPv6中规定的完全一样。This situation means that the MN moves from an IPv6-supporting AR1 to an IPv4-only AR2. Since the movement within the MAP domain occurs, the RCoA of the MN does not change, but only the LCoA changes. At this time, since the current AR2 is an IPv4 node, the LCoA generated by the configuration is an IPv4 address. The MN needs to send the LBU to the MAP, the source address in the IPv4 header of the information is the LCoA of the MN, and the destination address is the IPv4 address of the MAP. The source address in the inner IPv6 header is the RCoA of the MN, and the destination address is the IPv6 address of the MAP. Since AR2 only supports IPv4, the MN can only use IPv4 LCoA, and the previous IPv6 LCoA can no longer be used, so it can only encapsulate IPv6 RCoA in the inner layer header, because RCoA is needed to establish binding cache entries, so that MAP Intercept the IPv6 RCoA packet sent to the MN and encapsulate it into an IPv4 packet and send it to the MN. The HAO is filled with the RCoA of the MN. The format of the LBU at this time is exactly the same as that stipulated in HMIPv6.

在接收MN的LBU后,MAP发出响应的LBA信息,该信息的IPv4头中源地址为MAP的IPv4地址,目的地址为MN的IPv4的LCoA。IPv6头中源地址为MAP的IPv6地址,目的地址为MN的IPv6的RCoA。其中的HoA确认选项填充的是MN的RCoA。After receiving the LBU of the MN, the MAP sends out the corresponding LBA information, the source address in the IPv4 header of the information is the IPv4 address of the MAP, and the destination address is the LCoA of the MN's IPv4. The source address in the IPv6 header is the IPv6 address of the MAP, and the destination address is the RCoA of the MN's IPv6. The HoA confirmation option is filled with the RCoA of the MN.

这时,由于MN发生的是MAP域内的移动,根据HMIPv6协议,MN不需要向HA发送绑定。MAP截获HA发往MN的RCoA的所有分组,然后把IPv6的流量封装在IPv4隧道发往MN的IPv4的LCoA。At this time, because the MN moves within the MAP domain, according to the HMIPv6 protocol, the MN does not need to send binding to the HA. The MAP intercepts all packets sent by the HA to the RCoA of the MN, and then encapsulates the IPv6 traffic in the IPv4 tunnel to the LCoA of the MN's IPv4.

(2)AR1支持IPv4,而AR2也支持IPv4;(2) AR1 supports IPv4, and AR2 also supports IPv4;

当MN在这样两个AR之间移动时,LCoA发生变化,MN与MAP的绑定过程与(1)相同。When the MN moves between such two ARs, the LCoA changes, and the binding process between the MN and the MAP is the same as (1).

(3)AR1支持IPv4,而AR2支持IPv6。(3) AR1 supports IPv4, while AR2 supports IPv6.

这种情况表示MN从一个支持IPv4的AR1移动到一个仅支持IPv6的AR2。由于发生的是MAP域内的移动,所以MN的RCoA并不发生改变,而只有LCoA发生变化。这时,由于当前的AR2为一个IPv6的节点,所以配置产生的LCoA就是一个IPv6地址。MN需要向MAP发送LBU,该信息的IPv6头中源地址为MN的LCoA,目的地址为MAP的IPv6地址。其中的HAO填充的是MN的RCoA。这时的LBU的格式同HMIPv6中规定的完全一样。This situation means that the MN moves from an IPv4-supporting AR1 to an IPv6-only AR2. Since the movement within the MAP domain occurs, the RCoA of the MN does not change, but only the LCoA changes. At this time, since the current AR2 is an IPv6 node, the LCoA generated by the configuration is an IPv6 address. The MN needs to send the LBU to the MAP, the source address in the IPv6 header of the information is the LCoA of the MN, and the destination address is the IPv6 address of the MAP. The HAO is filled with the RCoA of the MN. The format of the LBU at this time is exactly the same as that stipulated in HMIPv6.

在接收MN的LBU后,MAP发出响应的LBA信息,该信息的IPv4头中源地址为MAP的IPv4地址,目的地址为MN的LCoA。IPv6头中源地址为MAP的IPv6地址,目的地址为MN的LCoA。其中的HAO填充的是MN的RCoA。After receiving the LBU of the MN, the MAP sends out the corresponding LBA information, the source address in the IPv4 header of the information is the IPv4 address of the MAP, and the destination address is the LCoA of the MN. The source address in the IPv6 header is the IPv6 address of the MAP, and the destination address is the LCoA of the MN. The HAO is filled with the RCoA of the MN.

这时,由于MN发生的是MAP域内的移动,根据HMIPv6协议,MN不需要向HA发送绑定。其它的分组传输同IPv6情况类似。At this time, because the MN moves within the MAP domain, according to the HMIPv6 protocol, the MN does not need to send binding to the HA. Other packet transmissions are similar to those of IPv6.

(1)、(3)两种情况的实质性区别在于,发出的LBU的包头中的源地址和目的地址协议不同:前者为IPv4,后者为IPv6,其根本原因在于是否支持IPv6,另外切换完成后,建立起来的MAP到MN的隧道类型也不同,前者为IPv4-in-IPv4,后者为IPv6-in-IPv6。但无论哪种情况,在HA上注册的都是MN的IPv6的RCoA,而前者在MAP上RCoA指向MN的IPv4的LCoA,后者指向的则是IPv6的LCoA。The substantive difference between (1) and (3) is that the protocol of the source address and destination address in the packet header of the LBU sent out is different: the former is IPv4, and the latter is IPv6. The root cause is whether IPv6 is supported, and switching After completion, the established tunnel types from the MAP to the MN are also different, the former is IPv4-in-IPv4, and the latter is IPv6-in-IPv6. But in either case, the RCoA of the MN's IPv6 is registered on the HA, and the former RCoA on the MAP points to the MN's IPv4 LCoA, and the latter points to the IPv6 LCoA.

当MN位于一个只支持IPv4的网络时,将按照下面的格式向HA发送封装在IPv4隧道中的IPv6分组:在外层IPv4头中,源地址为MN的IPv4的LCoA,目的地址为HA的IPv4地址。在内层IPv6头中,源地址为MN的IPv6的HoA,目的地址为CN的IPv6地址。类似的,MN将以下面的格式向HA发送IPv4隧道分组:在外层IPv4头中,源地址为MN的IPv4的LCoA,目的地址为HA的IPv4地址。在内层IPv4头中,源地址为MN的IPv4的HoA,目的地址为CN的IPv4地址。When the MN is located in a network that only supports IPv4, it will send IPv6 packets encapsulated in the IPv4 tunnel to the HA in the following format: In the outer IPv4 header, the source address is the LCoA of the MN's IPv4, and the destination address is the IPv4 address of the HA . In the inner IPv6 header, the source address is the MN's IPv6 HoA, and the destination address is the CN's IPv6 address. Similarly, the MN will send an IPv4 tunnel packet to the HA in the following format: In the outer IPv4 header, the source address is the MN's IPv4 LCoA, and the destination address is the HA's IPv4 address. In the inner IPv4 header, the source address is the MN's IPv4 HoA, and the destination address is the CN's IPv4 address.

本发明主要是从IPv6的角度出发,通过修改HMIPv6协议实现的。而实际上对于双栈节点的支持,也可以通过修改MIPv4协议以及MIPv4区域注册来实现。The present invention is mainly implemented from the perspective of IPv6 by modifying the HMIPv6 protocol. In fact, support for dual-stack nodes can also be realized by modifying the MIPv4 protocol and MIPv4 area registration.

上述仅为本发明的较佳实施例而已,并非用来限定本发明实施范围。即凡依本发明申请专利范围所做的均等变化与修饰,皆为本发明专利范围所涵盖。The foregoing are only preferred embodiments of the present invention, and are not intended to limit the implementation scope of the present invention. That is, all equivalent changes and modifications made according to the patent scope of the present invention are covered by the patent scope of the present invention.

Claims (4)

1, a kind of double-stack support extension method of layer mobile IPv 6 protocol when MN moves to field network, is characterized in that, comprises:
MN receives the RA of the IPv6 address that includes MAP;
MN configuration RCoA and LCoA;
MN and MAP bind;
MN and HA bind, and MN comprises the HoA that a HAO deposits the IPv6 of MN in mailing to the BU of HA, the HA response, and the BA that sends the HAO that includes correspondence is to MN.
2, method according to claim 1 is characterized in that, further comprises: MN receives the RA of the IPv4 address that includes MAP in the external region.
3, method according to claim 1 and 2 is characterized in that: in the process that MN and HA bind, also comprise the HoA that a HAO deposits the IPv4 of MN in mailing to the BU of HA.
4, method according to claim 3 is characterized in that: the RCoA of MN configuration generates with the stateless address auto configuration mode according to the MAP address prefix.
CNB2007100650245A 2007-03-30 2007-03-30 Dual-stack Support Extension Method of Hierarchical Mobile IPv6 Protocol Expired - Fee Related CN100571214C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007100650245A CN100571214C (en) 2007-03-30 2007-03-30 Dual-stack Support Extension Method of Hierarchical Mobile IPv6 Protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007100650245A CN100571214C (en) 2007-03-30 2007-03-30 Dual-stack Support Extension Method of Hierarchical Mobile IPv6 Protocol

Publications (2)

Publication Number Publication Date
CN101047645A true CN101047645A (en) 2007-10-03
CN100571214C CN100571214C (en) 2009-12-16

Family

ID=38771874

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007100650245A Expired - Fee Related CN100571214C (en) 2007-03-30 2007-03-30 Dual-stack Support Extension Method of Hierarchical Mobile IPv6 Protocol

Country Status (1)

Country Link
CN (1) CN100571214C (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102625279A (en) * 2012-03-16 2012-08-01 中山大学 A Method of Layered Mobile IPv6 Supporting IPv4
CN102625280A (en) * 2012-03-16 2012-08-01 中山大学 A Method of Mobile IPv4/v6 Based on Proxy-Anchor Gateway
CN104348821A (en) * 2013-08-08 2015-02-11 联想(北京)有限公司 Method, equipment and system for managing services of IPv4/IPv6 (internet protocol version 4/internet protocol version 6)
CN106464564A (en) * 2014-05-27 2017-02-22 谷歌公司 Network packet encapsulation and routing

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102625279A (en) * 2012-03-16 2012-08-01 中山大学 A Method of Layered Mobile IPv6 Supporting IPv4
CN102625280A (en) * 2012-03-16 2012-08-01 中山大学 A Method of Mobile IPv4/v6 Based on Proxy-Anchor Gateway
CN102625280B (en) * 2012-03-16 2014-12-24 中山大学 Agent anchor gateway-based mobile internet protocol version 4/version 6 (IPv4/v6) method
CN104348821A (en) * 2013-08-08 2015-02-11 联想(北京)有限公司 Method, equipment and system for managing services of IPv4/IPv6 (internet protocol version 4/internet protocol version 6)
CN106464564A (en) * 2014-05-27 2017-02-22 谷歌公司 Network packet encapsulation and routing
CN106464564B (en) * 2014-05-27 2019-10-01 谷歌有限责任公司 Method, system and the computer-readable medium for encapsulating and routing for network packet

Also Published As

Publication number Publication date
CN100571214C (en) 2009-12-16

Similar Documents

Publication Publication Date Title
CA2520576C (en) Arrangement for traversing an ipv4 network by ipv6 mobile nodes
CN1288880C (en) Wireless local area network system capable of supporting host mobility and an operation method therefor
CN102256236B (en) System and method for mobility management under separate mapping mechanism
CN100574503C (en) A kind of terminal and terminal switching method and system
CN100534218C (en) A method for realizing communication between mobile IPv4 node and IPv6 communication node
KR100531623B1 (en) COMMUNICATION METHOD USING MOBILE IPv6 IN NAT-PT ENVIRONMENT AND MEDIUM THEREOF
CN1801764A (en) Internet access method based on identity and location separation
CN1511404A (en) Method and system for low overhead mobility management protocol in internet protocol layer
CN101005444A (en) Method and device for quick switching
WO2007022683A1 (en) A method for realizing the communication between mobile ipv6 node and ipv4 communication partner
CN101030934A (en) Method for spanning heterogeneous network mobile telecommunication based on two-way tunnel
CN1784059A (en) Fast switching method in MAP field of HMIPv6
CN1596023A (en) Method for implementing seamless switching between mobile nodes in mobile IP
CN101047673A (en) Method and system for acquiring terminal address correlation information
CN101047645A (en) Double-stack support extension method of layer mobile IPv6 protocol
CN1181655C (en) Data packet transmission method in mobile IP
CN1705285A (en) Tunnel based mobile IPv6 quick switching method
CN101115022B (en) Apparatus and method for implementing node roaming in internet protocol version 6 network
CN101030936A (en) Telecommunication for switching node from IPv4 network to IPv6 network
CN1691668A (en) A system and method for providing IPv6 service
CN1477884A (en) Hierarchical mobile data packet communication network and communication method thereof
CN1324924C (en) Method for realizing mobile node switching in mobile IP
CN103249026B (en) A kind of method supporting HNP to renumber in PMIPv6
CN101902725B (en) Mobile communication system and mobility management method
CN102769676B (en) Internet protocol (IP) network mobile management method, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20071003

Assignee: China High Speed Rail Technology Limited by Share Ltd

Assignor: Beijing Jiaotong University

Contract record no.: 2016990000184

Denomination of invention: Double-stack support extension method of layer mobile IPv6 protocol

Granted publication date: 20091216

License type: Common License

Record date: 20160505

LICC Enforcement, change and cancellation of record of contracts on the licence for exploitation of a patent or utility model
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20091216

Termination date: 20180330