CN1870633B - Method for supporting mobile IPv4 by double-stack moible IPv6 node - Google Patents

Method for supporting mobile IPv4 by double-stack moible IPv6 node Download PDF

Info

Publication number
CN1870633B
CN1870633B CN2005101055572A CN200510105557A CN1870633B CN 1870633 B CN1870633 B CN 1870633B CN 2005101055572 A CN2005101055572 A CN 2005101055572A CN 200510105557 A CN200510105557 A CN 200510105557A CN 1870633 B CN1870633 B CN 1870633B
Authority
CN
China
Prior art keywords
ipv4
ipv6
address
mobile node
home
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.)
Expired - Fee Related
Application number
CN2005101055572A
Other languages
Chinese (zh)
Other versions
CN1870633A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2005101055572A priority Critical patent/CN1870633B/en
Priority to PCT/CN2006/002525 priority patent/WO2007036146A1/en
Publication of CN1870633A publication Critical patent/CN1870633A/en
Application granted granted Critical
Publication of CN1870633B publication Critical patent/CN1870633B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/04Network layer protocols, e.g. mobile IP [Internet Protocol]
    • H04W80/045Network layer protocols, e.g. mobile IP [Internet Protocol] involving different protocol versions, e.g. MIPv4 and MIPv6

Abstract

This invention relates to a method for supporting IPv4 by double-stack mobile IPv6 node including: first of all, the IPv6 hometown proxy gets the IPv4 hometown address and its proxy address information and information of IPv6 hometown address and its delivered address to realize communication between the IPv6 mobile node and the IPv4 communication partner matched with the IPv4 hometown proxy basedon the obtained address information, thus, mobile nodes apply the mobile IPv6 technology to resolve the motion of the IPv6 and IPv4 at the same time so as to simplify the complexity for realizing mobile nodes.

Description

Support the method for mobile IPv 4 by two stack mobile IPv 6 nodes
Technical field
The present invention relates to the communications field, relate in particular to a kind of method of supporting mobile IPv 4 by two stack mobile IPv 6 nodes.
Background technology
Along with development of internet technology, and the appearance of a large amount of portable terminals, as notebook computer, PDA, mobile phone, mobile unit or the like, started the upsurge of mobile computing, increasing user wishes by various terminals, be connected to Internet by the common moving wireless network anywhere, realize mobile service.
For solving the demand of mobile service, on network level, introduced Mobile IP technology.The basic principle of Mobile IP technology is to make mobile node can carry out IP communication with initial IP address (being called home address) all the time in moving process, thus the upper layer application that guarantees the IP network layer carrying not interrupting and continuing property in keeping moving.
At different IP network, Mobile IP technology comprises Mobile IPv4 agreement and Mobile IPv6 agreement.The basic principle of two kinds of agreements is similar, but uses on IPv4 and IPv6 network respectively, and at the characteristics of IPv4 and IPv6 agreement, there have quite a few details to realize to be different.
The basic principle of Mobile IPv4 technology as shown in Figure 1, mobile node has the home address that initial IP address belongs to home network.
Step 1, mobile agent (comprising home agent and Foreign Agent) are announced the existence of oneself by agent advertisement message; Mobile node also can send Agent Solicitation, and the request mobile agent sends agent advertisement message;
Step 2, when mobile node is received agent advertisement message, can judge that the place network be field network or home network according to described agent advertisement message;
Step 3, confirm of living inly when being home network, do not need to use mobile IP address when mobile node.Confirm of living inly when being field network when mobile node, at first need to obtain a Care-of Address.This Care-of Address can obtain by Foreign Agent announcement message (foreign agent care-of address), also can obtain (being called the co-located Care-of Address) by DHCP Server (Dynamic Host Configuration Protocol server).
Step 4, mobile node need be by login request message with information such as home address and Care-of Address, and home agent is given in registration.Method has two kinds: 1) if Care-of Address is to obtain by Foreign Agent, mobile node must be given home agent by Foreign Agent relaying registration message; 2) if Care-of Address is the co-located Care-of Address, and Foreign Agent do not do requirement, and mobile node can directly be registered to home agent.
After home agent is received login request message, information such as record home address and Care-of Address, and to mobile node response registration reply message.
Mobile node receives that registration reply message post-registration process finishes.
Step 5, mobile node directly send packet to communication parter, or are sent to home agent by reverse tunnel, hand to communication parter by home agent again.
Step 6, communication parter send to the packet (destination is a home address) of mobile node, are intercepted and captured by home agent, and the process of passing through tunnel encapsulation is sent to the Care-of Address of mobile node.
Step 7, at Foreign Agent or mobile node place, then, give mobile node with packet data delivery to the channel message decapsulation.
Along with the expansion of network size, the IPv6 technology replaces present IPv4 technology gradually with its huge advantage such as address space.Based on the Mobile IP of IPv6, i.e. Mobile IPv6 technology by the technical advantage of IPv6 self with to the improvement of Mobile IPv4 technology, more and more progressively should be used widely.
The basic principle of Mobile IPv6 is as shown in Figure 2:
Step 11, when mobile node is connected on its home network, it takes the mode the same with other stationary nodes to work.
Whether step 12, mobile node oneself roam on the field network by the neighbor discovery mechanisms detection of IPv6.The transmission router advertisement message in the nonlocal gateway meeting cycle of IPv6, the prefix that wherein comprises this field network, after mobile node is received the router advertisement message of nonlocal gateway, check that the prefix of field network wherein is different with the prefix of home network, then think to roam to field network.
Step 13, when mobile node finds oneself to have moved on the field network, then on the basis of the router advertisement information of receiving by there being the automatic layoutprocedure in state or stateless address to obtain Care-of Address on the field network.This moment, mobile node had home address and Care-of Address simultaneously.
Step 14, mobile node are registered to the Care-of Address of oneself on the home agent by " Binding Update " message.Home agent is safeguarded information such as home address and Care-of Address according to message content, so that proxy mobile node transmitting-receiving message.
Step 15, mobile node are given this Care-of Address its communication parter by " Binding Update " message registration notification.To realize " routing optimality " mode.
If the communication parter of step 16, mobile node is not known its Care-of Address, just will packet be sent on the home network of mobile node according to the home address of mobile node, its home agent will be truncated to these packets then, according to the mobile node present care-of address, utilize tunneling mechanism that these packets are transmitted to mobile node again.On the rightabout, mobile node is issued the message of communication parter, issues home agent by reverse tunnel earlier, hands to communication parter by home agent again.
If communication parter is known the Care-of Address of mobile node by " Binding Update ", it will directly issue packet the mobile node in the field network, and does not need to pass through the home agent transfer.On the rightabout, mobile node is also directly issued the packet of communication parter.Promptly realize " routing optimality " mode.
For the problem that the mobile node that solves support Mobile IPv6 is communicated by letter with the IPv4 communication parter, the technical scheme of prior art one related to the present invention is:
Require mobile node both to support Mobile IPv6 technology, also support Mobile IPv4 technology, at Mobile IPv6 technology and Mobile IPv4 technology two cover mobile agents (comprising home agent or Foreign Agent) are set respectively simultaneously.When mobile node visit IPv6 communication parter, use Mobile IPv6 technology, and when visit IPv4 communication parter, use Mobile IPv4 technology.
By the technical scheme of above-mentioned prior art one as can be seen, though prior art one has thoroughly solved the problem that mobile node is visited IPv6 and IPv4 communication parter simultaneously, but require mobile node to support Mobile IPv6 and Mobile IPv4 simultaneously, increased the weight of the implementation complexity of mobile node on the one hand, the portable terminal that is unfavorable for lightweight is realized, the repetition and the redundancy that have also caused mobile IP to handle simultaneously.In addition, prior art one require mobile Access Network must be two stacks or IPv6 and IPv4 network overlapped so that support the Mobile IPv6 of mobile node and Mobile IPv4 to handle simultaneously, these have all increased the difficulty of disposing.
In order to solve the problem that the mobile node of supporting Mobile IPv6 is communicated by letter with the IPv4 communication parter, the prior art two that the present invention is correlated with has been proposed, its mode by Mobile IPv6+NAT-PT realizes that the mobile node of Mobile IPv6 communicates by letter with the IPv4 communication parter, specific implementation process comprises as shown in Figure 3:
Step 21, when mobile IPv 6 node moves to field network, obtain the IPv6 Care-of Address after, at first register to home agent by " Binding Update " message.
Before step 22, mobile IPv 6 node are issued the packet of IPv4 communication parter, obtain the destination address of the corresponding IPv6 address (concrete grammar is used with common NAT-PT) of IPv4 communication parter earlier as packet, source address is the home address of mobile IPv 6 node, send to home agent earlier by reverse tunnel then, deliver by home agent again, this packet is sent to the IPv4 communication parter.
Step 23, since the packet rs destination address be the IPv6 address of IPv4 communication parter correspondence, this packet can be sent to the NAT-PT gateway, at NAT-PT gateway place, according to the NAT-PT protocol requirement, the IPv6 packet is converted to the IPv4 packet, wherein the destination address of packet is converted to the IPv4 address of IPv4 communication parter, and IPv6 source address (being home address) is converted into an IPv4 address (being made as tranSourceIPv4) of distributing from NAT-PT gateway IPv4 address pool.
IPv4 packet after step 24, the conversion mails to the IPv4 communication parter from the NAT-PT gateway.Return to the packet of mobile IPv 6 node from the IPv4 communication parter, destination address is tranSourceIPv4.
The return data bag of step 25, IPv4 communication parter arrives the NAT-PT gateway, and the NAT-PT gateway is converted to the IPv6 packet with packet.Destination address after the conversion is the home address of mobile IPv 6 node.
Packet after step 26, the conversion is intercepted and captured by home agent earlier, according to the Care-of Address of mobile node, by the tunnel packet is issued mobile IPv 6 node then.
Step 27, mobile IPv 6 node receive the IPv6 packet that communication parter returns from the tunnel, finish processing.
By the technical scheme of above-mentioned prior art two as can be seen, " triangle route " mode+NAT-PT that prior art two is actually by Mobile IPv6 solves the problem that mobile IPv 6 node is communicated by letter with IPv4, all communication data packet all will be by the conversion of NAT-PT gateway, make the NAT-PT gateway become bottleneck easily, reduce network efficiency.In addition, the NAT-PT gateway exists certain applications layer transfer problem, and autgmentability is bad.
Summary of the invention
The purpose of this invention is to provide a kind of method of supporting mobile IPv 4 by two stack mobile IPv 6 nodes, by the present invention, can make mobile node only adopt Mobile IPv6 technology, by IPv6 home agent of having disposed in the network and IPv4 home agent, solve the mobility of IPv6 and IPv4 simultaneously, simplified the complexity that mobile node is realized greatly; The present invention does not rely on special gateway equipment in addition, and mobile Access Network can to need not to be two stacks or IPv6 and IPv4 network overlapped, thereby make and support IPv6 and the ambulant application of IPv4 to be easier to carry out and dispose simultaneously.
The objective of the invention is to be achieved through the following technical solutions:
A kind of method by two stack mobile IPv 6 nodes support mobile IPv 4s provided by the invention comprises:
A, IPv6 home agent receive binding update messages, and obtain IPv4 home address and IPv4 hometown-agent-address information according to the content of described binding update messages, and IPv6 home address and IPv6 address information;
B, based on above-mentioned IPv4 home address that obtains and IPv4 hometown-agent-address information, and IPv6 home address and IPv6 address information cooperate the IPv4 home agent, realizes that the IPv6 mobile node communicates by letter with the IPv4 communication parter.
Wherein, described IPv6 mobile node is for supporting the IPv6 mobile node of two stacks, and it has IPv6 home address and IPv4 home address, and IPv6 hometown-agent-address that gets access to and IPv4 hometown-agent-address.
Wherein, described steps A specifically comprises:
A1, IPv6 mobile node structure binding update messages indicate IPv4 home address and IPv4 hometown-agent-address information in described binding update messages;
A2, when described IPv6 mobile node moves to field network, obtain the IPv6 Care-of Address after, register to the IPv6 home agent by described posttectonic binding update messages;
After A3, described IPv6 home agent receive described binding update messages,, get access to IPv6 home address and IPv6 address information according to described binding update messages content, and IPv4 home address and IPv4 hometown-agent-address information.
Wherein, described steps A 1 specifically comprises:
A11, IPv6 mobile node increase IPv4 registration mobile option behind the binding update messages of IPv6 standard code;
A12, in described IPv4 registration mobile option, indicate IPv4 home address and IPv4 hometown-agent-address information.
Wherein, with before the IPv4 communication parter is communicated by letter, described step B specifically comprises at the IPv6 mobile node:
B1, described IPv6 home agent are responded IPv6 " binding acknowledgement " message according to described IPv6 home address that obtains and IPv6 address information to the IPv6 mobile node; And, check oneself whether to have acted on behalf of the described IPv4 home address that obtains according to described IPv4 home address that obtains and IPv4 hometown-agent-address information, if confirm to act on behalf of, then do not initiate process to the registration of IPv4 home agent; If confirm not act on behalf of, then execution in step B2;
B2, replacement IPv6 mobile node carry out IPv4 to the IPv4 home agent and move registration.
Wherein, described step B2 specifically comprises:
B21, described IPv6 home agent be with the destination address of IPv4 hometown-agent-address as login request message, and with the IPv4 address of the IPv6 home agent source address as login request message, structure IPv4 login request message;
B22, replace the IPv6 mobile node that posttectonic IPv4 login request message is sent to the IPv4 home agent, and in buffer memory placeholder record IPv4 home address and IPv4 hometown-agent-address, and corresponding IPv6 home address and IPv6 address information;
B23, described IPv4 home agent receive described login request message, obtain the IPv4 address of IPv4 home address and IPv6 home agent, and it is recorded in the buffer memory of IPv4 home agent, respond registration reply message then and give the IPv6 home agent;
B24, described IPv6 home agent receive the registration reply message from the IPv4 home agent, after confirming that described registration reply message effectively, agent functionality for the IPv4 home address of relevant mobile node is come into force, and the information of placeholder record in the described buffer memory is come into force, the IPv4 that finishes Agent IP v6 mobile node then moves registration process.
Wherein, among the step B22, described replacement IPv6 mobile node sends to the process of IPv4 home agent with posttectonic IPv4 login request message, specifically comprises:
When the IPv6 home agent is supported two stacks, and have at least one IPv4 address, and have the IPv4 network when connecting, then directly replace the IPv6 mobile node to send posttectonic IPv4 login request message to the IPv4 home agent; Or,
When the IPv6 home agent is supported two stacks, and have at least one IPv4 address, and when not having the connection of IPv4 network, then replace the IPv6 mobile node to send posttectonic IPv4 login request message to the IPv4 home agent by IPv4 Over IPv6 tunnel or gre tunneling; Or,
When the IPv6 home agent confirms not have the IPv4 address to use, then replace the IPv6 mobile node to send posttectonic IPv4 login request message to the IPv4 home agent by the NAT-PT mode.
Wherein, before described step B, also comprise:
B0, IPv6 mobile node are provided with the IPv4 hometown-agent-address as the IPv4 gateway, and the outgoing interface that described IPv4 gateway is set is the IPv6 reverse tunnel on the mobile node.
Wherein, when the IPv6 mobile node was communicated by letter with the IPv4 communication parter, described step B specifically comprised:
The IPv6 home agent carries the IPv4 hometown-agent-address that the IPv4 home address is searched correspondence according to the IPv4 packet that the IPv6 mobile node sends to the IPv4 communication parter, and described IPv4 packet is sent to the IPv4 home agent, and send to the IPv4 communication parter by the IPv4 home agent according to described IPv4 hometown-agent-address; And/or,
The IPv4 home agent is intercepted and captured the IPv4 packet that the IPv4 communication parter sends to the IPv6 mobile node, send to corresponding IPv6 home agent according to the IPv4 home address that carries in the data, the IPv4 home address that carries according to the IPv4 packet when the IPv6 home agent confirms that described IPv4 home address corresponding mobile node acted on behalf of out-of-dately, then described IPv4 packet is sent to the IPv6 mobile node.
Wherein, when the IPv6 mobile node was communicated by letter with the IPv4 communication parter, described step B specifically comprised:
B4, IPv6 mobile node will send to the IPv4 packet of IPv4 communication parter, be encapsulated as the IPv6 packet by described IPv6 reverse tunnel after, send the IPv6 home agent to; The destination address of IPv4 packet is the IPv4 communication parter, and source address is the IPv4 home address of mobile node; Destination address by the IPv6 packet after the described IPv6 reverse tunnel encapsulation is the IPv6 home agent, and source address is the IPv6 Care-of Address of IPv6 mobile node.
B5, described IPv6 home agent restore the IPv4 packet of issuing the IPv4 communication parter after described IPv6 packet is carried out decapsulation;
B6, IPv6 home agent are the information of IPv4 home address in the source address whether information searching that replaces the IPv6 mobile node to the process record of IPv4 home agent registration has described IPv4 packet to carry, when confirming sometimes, think that then described IPv4 home address was acted on behalf of, then act on behalf of described IPv6 mobile node described IPv4 packet is sent to the IPv4 communication parter.
Wherein, among the step B6, the described IPv6 mobile node of described agency sends to the process of IPv4 communication parter with described IPv4 packet, specifically comprises:
B61, IPv6 home agent are the source address information of IPv4 home address according to what described IPv4 packet carried, are replacing the IPv6 mobile node to the information searching of the process record of IPv4 home agent registration and obtain the IPv4 hometown-agent-address of described IPv4 home address correspondence;
Whether B62, inspection exist the IPv4 reverse tunnel of the IPv4 home agent of described IPv4 hometown-agent-address correspondence, if exist, and then direct execution in step B63; If do not exist, then setting up destination address is the IPv4 home agent, and source address is the IPv4 reverse tunnel of the IPv4 address of IPv6 home agent, execution in step B63 then;
B63, by described IPv4 reverse tunnel described IPv4 packet is encapsulated after, send to corresponding IPv4 home agent;
After the IPv4 home agent of B64, described correspondence receives IPv4 packet after the described encapsulation, described packet is carried out decapsulation to be handled, restore the IPv4 packet, and be the source address information of IPv4 home address according to what the described IPv4 packet that restores carried, in the log-on message that in the communication parter registration process, writes down, search and whether have corresponding information, when confirming to have corresponding information, then described IPv4 packet is sent to corresponding IPv4 communication parter.
Wherein, described step B63 specifically comprises:
When the IPv6 home agent is supported two stacks, and have at least one IPv4 address, and have the IPv4 network when connecting, after then described IPv4 packet being encapsulated, send to corresponding IPv4 home agent by described IPv4 reverse tunnel; Or,
When the IPv6 home agent is supported two stacks, and have at least one IPv4 address, and when not having the connection of IPv4 network, after then described IPv4 packet being encapsulated, send to corresponding IPv4 home agent by IPv4Over IPv6 tunnel or gre tunneling by described IPv4 reverse tunnel;
Wherein, when the IPv6 mobile node was communicated by letter with the IPv4 communication parter, described step B also comprised:
After B7, IPv4 communication parter received described IPv4 packet, the source address that obtains described packet was the IPv4 home address of IPv6 mobile node;
B8, send the IPv4 packet to the IPv6 mobile node according to the IPv4 home address of described IPv6 mobile node;
B9, IPv4 home agent are intercepted and captured the IPv4 packet of issuing the IPv6 mobile node from the IPv4 communication parter, described IPv4 packet after the tunnel is packaged into corresponding IPv4 packet, is sent to the IPv6 home agent of the IPv4 Care-of Address of described IPv4 home address correspondence;
After B10, IPv6 home agent are separated tunnel encapsulation to the IPv4 packet that receives, restore the IPv4 packet of issuing the IPv6 mobile node, and according to the described IPv4 packet that restores be the destination address of IPv4 home address, described IPv4 packet is sent to the IPv6 mobile node.
Wherein, described step B10 specifically comprises:
B101, IPv6 home agent restore the IPv4 packet of issuing the IPv6 mobile node after the IPv4 packet that receives is separated tunnel encapsulation;
B102, be the destination address of IPv4 home address, replacing the IPv6 mobile node in the information of the process record of IPv4 home agent registration, to search and obtain the IPv6 Care-of Address of this IPv4 home address correspondence according to what the described IPv4 packet that restores carried;
B103, according to the described IPv6 Care-of Address that obtains, described IPv4 packet is sent to the IPv6 mobile node.
Wherein, described step B103 specifically comprises:
Whether B1031, inspection have the IPv6 tunnel of this IPv6 Care-of Address, if existing, then direct execution in step B1032; Otherwise, be established to the IPv6 tunnel of IPv6 Care-of Address, then execution in step B1032;
B1032, described IPv4 data envelope is dressed up the IPv6 packet, and send it to the IPv6 mobile node by described IPv6 tunnel.
Wherein, when the IPv6 mobile node was communicated by letter with the IPv4 communication parter, described step B also comprised:
Described mobile node receives described IPv6 packet, after described IPv6 packet is carried out decapsulation and handles, restores the IPv4 packet, and it is uploaded to application layer receives processing.
As seen from the above technical solution provided by the invention, IPv6 home agent of the present invention obtains IPv4 home address and IPv4 hometown-agent-address information, and IPv6 home address and IPv6 address information; Cooperate IPv4 home agent realization IPv6 mobile node to communicate by letter based on the described address information of obtaining with the IPv4 communication parter.By the present invention, can make mobile node only adopt Mobile IPv6 technology, by IPv6 home agent of having disposed in the network and IPv4 home agent, solve the mobility of IPv6 and IPv4 simultaneously, thereby simplify the complexity that mobile node is realized greatly, and do not rely on special gateway equipment, it is network overlapped that mobile Access Network can need not to be two stacks or IPv6 and IPv4, and these all make supports IPv6 and the ambulant application of IPv4 to be easier to carry out and dispose simultaneously.
Description of drawings
Fig. 1 is the basic principle schematic of Mobile IPv4 technology;
Fig. 2 is the basic principle schematic of Mobile IPv6 technology;
Fig. 3 realizes the principle schematic that the mobile node of Mobile IPv6 is communicated by letter with the IPv4 communication parter for the mode by Mobile IPv6+NAT-PT in the prior art;
Fig. 4 is the flow chart of embodiment provided by the invention.
Embodiment
The invention provides and a kind ofly support the method for mobile I Pv4 by two stack mobile IPv 6 nodes, its core is: the IPv6 home agent obtains IPv4 home address and IPv4 hometown-agent-address information, and IPv6 home address and IPv6 address information; Cooperate IPv4 home agent realization IPv6 mobile node to communicate by letter based on the described address information of obtaining with the IPv4 communication parter.
Embodiment provided by the invention handles the mobility of the IPv4 that realizes mobile node by Mobile IPv6 mobile node, and uses the IPv6 home agent to cooperate the IPv4 home agent as secondary agent, realizes the IPv4 locomotivity of mobile node.Specifically comprise:
Step 100, IPv6 mobile node structure binding update messages indicates IPv4 home address and IPv4 hometown-agent-address information in described binding update messages.Specifically comprise:
At first, the IPv6 mobile node increases IPv4 registration mobile option behind the binding update messages of IPv6 standard code, then, indicates IPv4 home address and IPv4 hometown-agent-address information in described IPv4 registration mobile option.
The mobile option form of Mobile IPv6 standard code is:
0 1 2 3
0?1?2?3?4?5?6?7?8?9?0?1?2?3?4?5?6?7?8?9?0?1?2?3?4?5?6?7?8?9?0?1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|?Option Type|?Option?Length|?Option?Data...
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
The binding update messages of constructing among the present invention is based on the mobile option form of above-mentioned Mobile IPv6 standard code, increases new mobile option, i.e. IPv4 registration mobile option, and its form is as follows:
0 1 2 3
0?1?2?3?4?5?6?7?8?9?0?1?2?3?4?5?6?7?8?9?0?1?2?3?4?5?6?7?8?9?0?1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type=10 | Length=8 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| IPv4Home?Address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| IPv4Home?Agent |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Wherein the Type value is decided according to the value of actual standard tissue application, and IPv4Home Address is the IPv4 home address, and IPv4Home Agent is the IPv4 hometown-agent-address.
Step 200, IPv6 mobile node are based on IPv4 home address in the binding update messages of described structure and IPv4 hometown-agent-address information, by IPv6 home agent and IPv4 communication parter interactive information.Its realization flow comprises as shown in Figure 4:
The mobile node of step 1, the two stacks of support has IPv6 home address and IPv4 home address simultaneously, and learns hometown-agent-address and the IPv4 hometown-agent-address of IPv6.
Wherein the acquisition mode of the home address of IPv4 and IPv4 hometown-agent-address can be static configuration or other dynamical fashions.
Step 2, when mobile node moves to field network, obtain the IPv6 Care-of Address after, " Binding Update " message by structure moves registration to the IPv6 home agent.
Among the present invention, mobile node moves to field network does not need to obtain the IPv4 Care-of Address, and mobile node is communicated by letter with extraneous with the IPv4 home address all the time.
Carry information such as IPv4 home address and IPv4 hometown-agent-address in the binding update messages of the present invention's structure.
After step 3, IPv6 home agent received " Binding Update " message, information such as IPv4 home address that the IPv6 home agent carries according to message content and IPv4 hometown-agent-address replaced mobile node to send the login request message of IPv4 to the IPv4 home agent.Specifically comprise:
After step 1, described IPv6 home agent receive described binding update messages,, obtain IPv6 home address and IPv6 address information according to described binding update messages content, and IPv4 home address and IPv4 hometown-agent-address information.
Step 2, according to described IPv6 home address that obtains and IPv6 address information, respond IPv6 " binding acknowledgement " message to the IPv6 mobile node; And, check oneself whether to have acted on behalf of the described IPv4 home address that obtains according to described IPv4 home address that obtains and IPv4 hometown-agent-address information, if confirm to act on behalf of, then finish process to the registration of IPv4 home agent; If confirm not act on behalf of, then execution in step three.
Step 3, described IPv6 home agent be with the destination address of IPv4 hometown-agent-address as login request message, and with the IPv4 address of the IPv6 home agent source address as login request message, structure IPv4 login request message.
Among the present invention, according to step 2, information such as IPv4 home address and IPv4 hometown-agent-address have been carried in " Binding Update " message, if the IPv6 home agent is found above-mentioned IP v4 information, and confirm that this local agency had not acted on behalf of this IPv4 home address, with the login request message that replaces mobile node to IPv4 home agent transmission IPv4, concrete grammar is:
At first, with the destination address of IPv4 hometown-agent-address as login request message; With the IPv4 address of IPv6 home agent source address as login request message.Be equivalent to the IPv4 address of IPv6 home agent IPv4Co-Located Care-of Address as mobile node.
Then, by following form structure IPv4 login request message: (can send) by socket
The IPv4 territory:
The IPv4 address of source address=IPv6 home agent
Destination address=IPv4 hometown-agent-address
TTL=64
The UDP territory:
Source Port=<any〉(system is self-defined)
Destination?Port=434
The register requirement territory:
Press Mobile IPv4 agreement regulation
0 1 2 3
0?1?2?3?4?5?6?7?8?9?0?1?2?3?4?5?6?7?8?9?0?1?2?3?4?5?6?7?8?9?0?1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type |S|B|D|M|G|r|T|x| Lifetime |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Home?Address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Home?Agent |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Care-of?Address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
+ Identification +
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|Extensions...
+-+-+-+-+-+-+-+-
Type=1 wherein;
S=0, B=0, D=1, M=1 or 0 (optional), G=1 or 0 (optional);
Lifetime=1800 (seconds) (can be self-defined);
The IPv4 home address of Home Address=mobile node;
Home Agent=IPv4 hometown-agent-address;
The IPv4 address of Care-of Address=IPv6 home agent;
Identification=(standard of pressing Mobile IPv4 mobile node is handled);
Extensions:(is optional).
Step 4, replacement IPv6 mobile node send to the IPv4 home agent with posttectonic IPv4 login request message, and in buffer memory placeholder record IPv4 home address and IPv4 hometown-agent-address, and corresponding IPv6 home address and IPv6 address information;
When above-mentioned message is sent to the IPv4 home agent, if the IPv6 home agent has the IPv4 network to connect, can directly give the IPv4 home agent with message routing, otherwise can pass through tunnel style, the IPv4 login request message is issued the IPv4 home agent, for example pass through IPv4over IPv6 tunnel, or gre tunneling etc.Specifically comprise:
When the IPv6 home agent is supported two stacks, and have at least one IPv4 address, and have the IPv4 network when connecting, then directly replace the IPv6 mobile node to send posttectonic IPv4 login request message to the IPv4 home agent;
When the IPv6 home agent is supported two stacks, and have at least one IPv4 address, and when not having the connection of IPv4 network, then replace the IPv6 mobile node to send posttectonic IPv4 login request message to the IPv4 home agent by IPv4Over IPv6 tunnel or gre tunneling;
When the IPv6 home agent confirms not have the IPv4 address to use, then replace the IPv6 mobile node to send posttectonic IPv4 login request message to the IPv4 home agent by the NAT-PT mode.
Step 4, described IPv4 home agent receive described login request message, obtain IPv4 home address and IPv4 Care-of Address (the IPv4 address of IPv6 home agent), and it is recorded in the buffer memory of IPv4 home agent, respond registration reply message then and give the IPv6 home agent;
Described IPv6 home agent receives the registration reply message from the IPv4 home agent, after confirming that described registration reply message effectively, agent functionality for the IPv4 home address of relevant mobile node is come into force, and the information of placeholder record in the described buffer memory is come into force, the IPv4 that finishes Agent IP v6 mobile node then moves registration process.
Among the present invention, the IPv4 home agent receives login request message, and information such as record IPv4 home address and IPv4 Care-of Address, learn that according to step 3 this moment, the IPv4 Care-of Address was the IPv4 address of IPv6 home agent, give the IPv6 home agent so respond registration reply message.After the IPv6 home agent receives registration reply message from the IPv4 home agent, in case confirm that registration reply message is effective, agent functionality for relevant mobile node IPv4 home address is come into force at once, and make the IPv4 home address and the IPv4 hometown-agent-address of placeholder record in the step 3, and information such as corresponding IPv6 home address and Care-of Address are formally effective.At this moment, the IPv6 home agent is equivalent to replace mobile node to finish the registration process of mobile IPv 4.
Through after the above-mentioned steps, the IPv6 mobile node can with described IPv4 communication parter interactive information, the specific implementation process comprises:
Step 5, IPv6 mobile node are provided with the IPv4 hometown-agent-address as the IPv4 gateway, and the outgoing interface that described IPv4 gateway is set is the IPv6 reverse tunnel on the mobile node.
With before the IPv4 communication parter is communicated by letter, mobile node can be provided with the IPv4 hometown-agent-address as the IPv4 default gateway, and Mobile IPv6 reverse tunnel on the mobile node is set, and (the IPv6 mobile node carries out in the Mobile IPv6 message processing procedure, between mobile node and IPv6 home agent, set up) as the default gateway outgoing interface of IPv4, promptly all mail to outside IPv4 packet and all pass through the transmission of Mobile IPv6 reverse tunnel.
Step 6, IPv6 mobile node will send to the IPv4 packet of IPv4 communication parter, be encapsulated as the IPv6 packet by described IPv6 reverse tunnel after, send the IPv6 home agent to; The destination address of IPv4 packet is the IPv4 communication parter, and source address is the IPv4 home address of IPv6 mobile node; Destination address by the IPv6 packet after the reverse tunnel encapsulation is the IPv6 home agent, and source address is the IPv6 Care-of Address of IPv6 mobile node.
After step 7, described IPv6 home agent carry out decapsulation to described IPv6 packet, restore the IPv4 packet of issuing the IPv4 communication parter, and be the information of IPv4 home address replacing the IPv6 mobile node in the information of the process record of IPv4 home agent registration, to search the source address that whether has described IPv4 packet to carry, when confirming sometimes, think that then described IPv4 home address corresponding mobile node was acted on behalf of, then act on behalf of described IPv6 mobile node described IPv4 packet is sent to the IPv4 communication parter.
The packet of step 6 at first carries out decapsulation after reverse tunnel arrives the IPv6 home agent, restore the IPv4 packet of issuing the IPv4 communication parter; The IPv6 home agent is according to the result of step 4 then, in case confirm the source address of this IPv4 packet, promptly the IPv4 home address is acted on behalf of, and will be responsible for replacing mobile node that this IPv4 packet is sent to the IPv4 communication parter, and concrete grammar is:
Step 1, IPv6 home agent are the source address information of IPv4 home address according to what described IPv4 packet carried, (search and obtain the IPv4 hometown-agent-address of described IPv4 home address correspondence in the information of step 4) record in the process that replaces the IPv6 mobile node to the registration of IPv4 home agent.
Whether step 2, inspection exist the IPv4 reverse tunnel of the IPv4 home agent of described IPv4 hometown-agent-address correspondence, if exist, and then direct execution in step three; If do not exist, then setting up destination address is the IPv4 home agent, and source address is the IPv4 reverse tunnel of the IPv4 address of IPv6 home agent, and execution in step three then.
Step 3, by described IPv4 reverse tunnel described IPv4 packet is encapsulated after, send to corresponding IPv4 home agent; The destination address of the packet after the tunnel encapsulation is the IPv4 home agent, and source address is the IPv4 address of IPv6 home agent.Specifically comprise following several situation:
When the IPv6 home agent is supported two stacks, and have at least one IPv4 address, and have the IPv4 network when connecting, after then described IPv4 packet being encapsulated, send to corresponding IPv4 home agent by described IPv4 reverse tunnel; Or,
When the IPv6 home agent is supported two stacks, and have at least one IPv4 address, and when not having the connection of IPv4 network, after then described IPv4 packet being encapsulated by described IPv4 reverse tunnel, send to corresponding IPv4 home agent by tunnel style again, as IPv4Over IPv6 tunnel or gre tunneling etc.; Or,
When the IPv6 home agent confirms not have the IPv4 address to use, after then described IPv4 packet being encapsulated, send to corresponding IPv4 home agent by the NAT-PT mode again by described IPv4 reverse tunnel.
After the IPv4 home agent of step 8, described correspondence receives IPv4 packet after the described encapsulation, described packet is carried out decapsulation to be handled, restore the IPv4 packet, and be the source address information of IPv4 home address according to what the described IPv4 packet that restores carried, search and whether have corresponding M obile IPv4 log-on message, when confirming to have corresponding information, then described IPv4 packet is sent to corresponding IPv4 communication parter.
The IPv4 home agent receives the packet that step 7 is sent through the tunnel, handles decapsulation according to standard Mobile IPv4, restores the IPv4 packet, and according to the Mobile IPv4 log-on message that writes down in the step 4, the IPv4 packet is issued the IPv4 communication parter.
The address information that step 9, IPv4 communication parter carry according to the packet that receives sends the IPv4 packet to the IPv6 mobile node, the IPv4 home agent is intercepted and captured described packet, the destination address of checking described packet is the IPv4 home address, will described IPv4 packet be issued the IPv6 home agent of the IPv4 Care-of Address correspondence of IPv4 home address correspondence by the tunnel.
Because sending to the destination address of the IPv4 packet of IPv6 mobile node from the IPv4 communication parter is the IPv4 home address, so at first can be intercepted and captured by the IPv4 home agent, it is the IPv4 home address that IPv4 home agent inspection this moment obtains the destination address of described packet, so the IPv4 packet is issued the IPv4 Care-of Address of IPv4 home address correspondence by the tunnel.Learnt that according to step 4 the IPv4 Care-of Address is the I Pv4 address of IPv6 home agent, so in fact this IPv4 packet can issue the IPv6 home agent through the tunnel.
The process of step 9 specifically comprises:
After step 1, IPv4 communication parter received described IPv4 packet, the source address that obtains described packet was the IPv4 home address of IPv6 mobile node.
Step 2, send the IPv4 packet to the IPv6 mobile node according to the IPv4 home address of described IPv6 mobile node; The destination address of described packet is the IPv4 home address.
Step 3, IPv4 home agent are intercepted and captured the IPv4 packet of issuing the IPv6 mobile node from the IPv4 communication parter, described IPv4 packet behind the corresponding IPv4 packet of Mobile IPv4 tunnel encapsulation one-tenth, is sent to the IPv6 home agent of the IPv4 Care-of Address of described IPv4 home address correspondence.
After step 10, IPv6 home agent are separated tunnel encapsulation to the IPv4 packet that receives, restore the IPv4 packet of issuing the IPv6 mobile node, and according to the described IPv4 packet that restores be the destination address of IPv4 home address, described IPv4 packet is sent to the IPv6 mobile node.
After the IPv6 home agent is separated tunnel encapsulation, restore the IPv4 packet of issuing mobile node.The IPv6 home agent is according to the result of step 4, confirm the destination address of this IPv4 packet, promptly IPv4 home address corresponding mobile node was acted on behalf of, then to the Mobile IPv6 tunnel of mobile node this IPv4 packet is sent to the IPv6 mobile node by the IPv6 home agent
Specifically comprise:
Step 1, IPv6 home agent restore the IPv4 packet of issuing the IPv6 mobile node after the IPv4 packet that receives is separated tunnel encapsulation.
Step 2, be the destination address of IPv4 home address, replacing the IPv6 mobile node in the information of the process record of IPv4 home agent registration, to search and obtain the IPv6 Care-of Address of this IPv4 home address correspondence according to what the described IPv4 packet that restores carried.
Step 3, according to the described IPv6 Care-of Address that obtains, described IPv4 packet is sent to the IPv6 mobile node.
The IPv6 home agent is according to step 4, can access the IPv6 Care-of Address of this IPv4 home address correspondence, it checks the Mobile IPv6 tunnel that whether has this IPv6 Care-of Address, if it is existing, after then directly described IPv4 data envelope being dressed up the IPv6 packet, send to the IPv6 mobile node by described IPv6 tunnel; Otherwise, be established to the IPv6 tunnel of IPv6 Care-of Address, by described IPv6 tunnel described IPv4 data envelope is dressed up the IPv6 packet then after, send to the IPv6 mobile node.
Step 11, described mobile node receive described IPv6 packet, after described IPv6 packet is carried out decapsulation and handles, restore the IPv4 packet, and it is uploaded to application layer receives processing.
By the technical scheme of the invention described above as can be seen, among the present invention, for the requirement of IPv6 mobile node, only need to support two stacks and Mobile IPv6 agreement, and a small amount of Mobile IPv6 protocol extension (in Mobile IPv6 " binding message ", carrying IPv4 registration mobile option), do not need to support the MobileIPv4 agreement, thereby simplify the implementation complexity of mobile node greatly; Have no requirement for the IPv4 home agent in addition, do not need to do expansion, IPv4 home agent that can application standard, and do not rely on special gateway equipment, it is network overlapped that mobile Access Network can need not to be two stacks or IPv6 and IPv4, and these all make supports IPv6 and the ambulant application of IPv4 to be easier to carry out and dispose simultaneously.
The above; only be the preferable embodiment of the present invention; but protection scope of the present invention is not limited thereto; anyly be familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement; as; copy thought of the present invention to realize supporting the IPv6 mobility of mobile node by the IPv4 mobile node; or the IPv6 mobile node is under " routing optimality " mode; copy thought of the present invention to realize all should being encompassed within protection scope of the present invention to the process of communication parter registration.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (14)

1. the method by two stack mobile IPv 6 nodes support mobile IPv 4s is characterized in that, comprising:
A, IPv6 home agent receive binding update messages, and obtain IPv4 home address and IPv4 hometown-agent-address information according to the content of described binding update messages, and IPv6 home address and IPv6 address information;
B, based on above-mentioned IPv4 home address that obtains and IPv4 hometown-agent-address information, and IPv6 home address and IPv6 address information cooperate the IPv4 home agent, realizes that the IPv6 mobile node communicates by letter with the IPv4 communication parter;
Wherein, when the IPv6 mobile node was communicated by letter with the IPv4 communication parter, described step B specifically comprised:
The IPv6 home agent sends to the IPv4 home address that the IPv4 packet of IPv4 communication parter carries according to the IPv6 mobile node and searches corresponding IPv4 hometown-agent-address, and described IPv4 packet is sent to the IPv4 home agent, and send to the IPv4 communication parter by the IPv4 home agent according to described IPv4 hometown-agent-address; And/or,
The IPv4 home agent is intercepted and captured the IPv4 packet that the IPv4 communication parter sends to the IPv6 mobile node, send to corresponding IPv6 home agent according to the IPv4 home address that carries in the packet, the IPv4 home address that carries according to the IPv4 packet when the IPv6 home agent confirms that described IPv4 home address corresponding mobile node acted on behalf of out-of-dately, then described IPv4 packet is sent to the IPv6 mobile node.
2. method according to claim 1 is characterized in that, described IPv6 mobile node is for supporting the IPv6 mobile node of two stacks, and it has IPv6 home address and IPv4 home address, and IPv6 hometown-agent-address that gets access to and IPv4 hometown-agent-address.
3. method according to claim 1 and 2 is characterized in that, described steps A specifically comprises:
A1, IPv6 mobile node structure binding update messages indicate IPv4 home address and IPv4 hometown-agent-address information in described binding update messages;
A2, when described IPv6 mobile node moves to field network, obtain the IPv6 Care-of Address after, register to the IPv6 home agent by described posttectonic binding update messages;
After A3, described IPv6 home agent receive described binding update messages,, get access to IPv6 home address and IPv6 address information according to described binding update messages content, and IPv4 home address and IPv4 hometown-agent-address information.
4. method according to claim 3 is characterized in that, described steps A 1 specifically comprises:
A11, IPv6 mobile node increase IPv4 registration mobile option behind the binding update messages of IPv6 standard code;
A12, in described IPv4 registration mobile option, indicate IPv4 home address and IPv4 hometown-agent-address information.
5. method according to claim 3 is characterized in that, with before the IPv4 communication parter is communicated by letter, described method also comprises at the IPv6 mobile node:
B1, described IPv6 home agent are responded IPv6 " binding acknowledgement " message according to IPv6 home address and IPv6 address information to the IPv6 mobile node; And according to described IPv4 home address that obtains and IPv4 hometown-agent-address information, check the IPv6 mobile node of oneself whether having acted on behalf of the described IPv4 home address correspondence that obtains, if confirm to act on behalf of, then do not initiate process to the registration of IPv4 home agent; If confirm not act on behalf of, then execution in step B2;
B2, replacement IPv6 mobile node carry out IPv4 to the IPv4 home agent and move registration.
6. method according to claim 5 is characterized in that, described step B2 specifically comprises:
B21, described IPv6 home agent be with the destination address of IPv4 hometown-agent-address as login request message, and with the IPv4 address of the IPv6 home agent source address as login request message, structure IPv4 login request message;
B22, replace the IPv6 mobile node that posttectonic IPv4 login request message is sent to the IPv4 home agent, and in buffer memory placeholder record IPv4 home address and IPv4 hometown-agent-address, and corresponding IPv6 home address and IPv6 address information;
B23, described IPv4 home agent receive described login request message, obtain the IPv4 address of IPv4 home address and IPv6 home agent, and it is recorded in the buffer memory of IPv4 home agent, respond registration reply message then and give the IPv6 home agent;
B24, described IPv6 home agent receive the registration reply message from the IPv4 home agent, after confirming that described registration reply message effectively, agent functionality for the IPv4 home address of relevant mobile node is come into force, and the information of placeholder record in the described buffer memory is come into force, the IPv4 that finishes Agent IP v6 mobile node then moves registration process.
7. method according to claim 6 is characterized in that, among the step B22, described replacement IPv6 mobile node sends to the process of IPv4 home agent with posttectonic IPv4 login request message, specifically comprises:
When the IPv6 home agent is supported two stacks, and have at least one IPv4 address, and have the IPv4 network when connecting, then directly replace the IPv6 mobile node to send posttectonic IPv4 login request message to the IPv4 home agent; Or,
When the IPv6 home agent is supported two stacks, and have at least one IPv4 address, and when not having the connection of IPv4 network, then replace the IPv6 mobile node to send posttectonic IPv4 login request message to the IPv4 home agent by IPv4 Over IPv6 tunnel or gre tunneling; Or,
When the IPv6 home agent confirms not have the IPv4 address to use, then replace the IPv6 mobile node to send posttectonic IPv4 login request message to the IPv4 home agent by the NAT-PT mode.
8. the method by two stack mobile IPv 6 nodes support mobile IPv 4s is characterized in that, comprising:
A, IPv6 home agent receive binding update messages, and obtain IPv4 home address and IPv4 hometown-agent-address information according to the content of described binding update messages, and IPv6 home address and IPv6 address information;
B, based on above-mentioned IPv4 home address that obtains and IPv4 hometown-agent-address information, and IPv6 home address and IPv6 address information cooperate the IPv4 home agent, realizes that the IPv6 mobile node communicates by letter with the IPv4 communication parter;
Before described step B, also comprise:
B0, IPv6 mobile node are provided with the IPv4 hometown-agent-address as the IPv4 gateway, and the outgoing interface that described IPv4 gateway is set is the IPv6 reverse tunnel on the mobile node;
Wherein, when the IPv6 mobile node was communicated by letter with the IPv4 communication parter, described step B specifically comprised:
B4, IPv6 mobile node will send to the IPv4 packet of IPv4 communication parter, be encapsulated as the IPv6 packet by described IPv6 reverse tunnel after, send the IPv6 home agent to; The destination address of IPv4 packet is the IPv4 communication parter, and source address is the IPv4 home address of mobile node; Destination address by the IPv6 packet after the described IPv6 reverse tunnel encapsulation is the IPv6 home agent, and source address is the IPv6 Care-of Address of IPv6 mobile node;
B5, described IPv6 home agent restore the IPv4 packet of issuing the IPv4 communication parter after described IPv6 packet is carried out decapsulation;
B6, IPv6 home agent are the information of IPv4 home address in the source address whether information searching that replaces the IPv6 mobile node to the process record of IPv4 home agent registration has described IPv4 packet to carry, when confirming sometimes, think that then described IPv4 home address was acted on behalf of, then act on behalf of described IPv6 mobile node described IPv4 packet is sent to the IPv4 communication parter.
9. method according to claim 8 is characterized in that, among the step B6, the described IPv6 mobile node of described agency sends to the process of IPv4 communication parter with described IPv4 packet, specifically comprises:
B61, IPv6 home agent are the source address information of IPv4 home address according to what described IPv4 packet carried, are replacing the IPv6 mobile node to the information searching of the process record of IPv4 home agent registration and obtain the IPv4 hometown-agent-address of described IPv4 home address correspondence;
Whether B62, inspection exist the IPv4 reverse tunnel of the IPv4 home agent of described IPv4 hometown-agent-address correspondence, if exist, and then direct execution in step B63; If do not exist, then setting up destination address is the IPv4 home agent, and source address is the IPv4 reverse tunnel of the IPv4 address of IPv6 home agent, execution in step B63 then;
B63, by described IPv4 reverse tunnel described IPv4 packet is encapsulated after, send to corresponding IPv4 home agent;
After the IPv4 home agent of B64, described correspondence receives IPv4 packet after the described encapsulation, described packet is carried out decapsulation to be handled, restore the IPv4 packet, and be the source address information of IPv4 home address according to what the described IPv4 packet that restores carried, in the log-on message that in the communication parter registration process, writes down, search and whether have corresponding information, when confirming to have corresponding information, then described IPv4 packet is sent to corresponding IPv4 communication parter.
10. method according to claim 9 is characterized in that, described step B63 specifically comprises:
When the IPv6 home agent is supported two stacks, and have at least one IPv4 address, and have the IPv4 network when connecting, after then described IPv4 packet being encapsulated, send to corresponding IPv4 home agent by described IPv4 reverse tunnel; Or,
When the IPv6 home agent is supported two stacks, and have at least one IPv4 address, and when not having the connection of IPv4 network, after then described IPv4 packet being encapsulated, send to corresponding IPv4 home agent by IPv4 Over IPv6 tunnel or gre tunneling by described IPv4 reverse tunnel.
11. method according to claim 8 is characterized in that, when the IPv6 mobile node was communicated by letter with the IPv4 communication parter, described step B also comprised:
After B7, IPv4 communication parter received described IPv4 packet, the source address that obtains described packet was the IPv4 home address of IPv6 mobile node;
B8, send the IPv4 packet to the IPv6 mobile node according to the IPv4 home address of described IPv6 mobile node;
B9, IPv4 home agent are intercepted and captured the IPv4 packet of issuing the IPv6 mobile node from the IPv4 communication parter, described IPv4 packet after the tunnel is packaged into corresponding IPv4 packet, is sent to the IPv6 home agent of the IPv4 Care-of Address of described IPv4 home address correspondence;
After B10, IPv6 home agent are separated tunnel encapsulation to the IPv4 packet that receives, restore the IPv4 packet of issuing the IPv6 mobile node, and according to the described IPv4 packet that restores be the destination address of IPv4 home address, described IPv4 packet is sent to the IPv6 mobile node.
12. method according to claim 11 is characterized in that, described step B10 specifically comprises:
B101, IPv6 home agent restore the IPv4 packet of issuing the IPv6 mobile node after the IPv4 packet that receives is separated tunnel encapsulation;
B102, be the destination address of IPv4 home address, replacing the IPv6 mobile node in the information of the process record of IPv4 home agent registration, to search and obtain the IPv6 Care-of Address of this IPv4 home address correspondence according to what the described IPv4 packet that restores carried;
B103, according to the described IPv6 Care-of Address that obtains, described IPv4 packet is sent to the IPv6 mobile node.
13. method according to claim 12 is characterized in that, described step B103 specifically comprises:
Whether B1031, inspection have the IPv6 tunnel of this IPv6 Care-of Address, if existing, then direct execution in step B1032; Otherwise, be established to the IPv6 tunnel of IPv6 Care-of Address, then execution in step B1032;
B1032, described IPv4 data envelope is dressed up the IPv6 packet, and send it to the IPv6 mobile node by described IPv6 tunnel.
14. method according to claim 11 is characterized in that, when the IPv6 mobile node was communicated by letter with the IPv4 communication parter, described step B also comprised:
Described mobile node receives described IPv6 packet, after described IPv6 packet is carried out decapsulation and handles, restores the IPv4 packet, and it is uploaded to application layer receives processing.
CN2005101055572A 2005-09-27 2005-09-27 Method for supporting mobile IPv4 by double-stack moible IPv6 node Expired - Fee Related CN1870633B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2005101055572A CN1870633B (en) 2005-09-27 2005-09-27 Method for supporting mobile IPv4 by double-stack moible IPv6 node
PCT/CN2006/002525 WO2007036146A1 (en) 2005-09-27 2006-09-25 A METHOD, SYSTEM AND DEVICE FOR COMMUNICATING BETWEEN IPv6 MOBILE NODE AND IPv4 COMMUNICATION PARTNER

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2005101055572A CN1870633B (en) 2005-09-27 2005-09-27 Method for supporting mobile IPv4 by double-stack moible IPv6 node

Publications (2)

Publication Number Publication Date
CN1870633A CN1870633A (en) 2006-11-29
CN1870633B true CN1870633B (en) 2010-06-02

Family

ID=37444181

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2005101055572A Expired - Fee Related CN1870633B (en) 2005-09-27 2005-09-27 Method for supporting mobile IPv4 by double-stack moible IPv6 node

Country Status (2)

Country Link
CN (1) CN1870633B (en)
WO (1) WO2007036146A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101277233B (en) * 2007-03-30 2010-09-22 华为技术有限公司 Access method and system for proxy mobile internet protocol
CN101330719B (en) * 2007-06-18 2011-08-10 中兴通讯股份有限公司 Method for selecting mobile management mode in wireless network
CN101374097B (en) * 2007-08-23 2010-09-15 上海贝尔阿尔卡特股份有限公司 Method and apparatus for controlling mobile node and heterogeneous network communication of communication network
CN102282821B (en) * 2009-03-03 2014-02-19 华为技术有限公司 Method, network device and system of IPv4-v6 coexistence
CN101702800B (en) * 2009-11-19 2012-08-22 中国科学院计算技术研究所 Agent mobile communication system and method
CN104348821B (en) * 2013-08-08 2018-04-27 联想(北京)有限公司 Manage the method, apparatus and system of IPv4/IPv6 business

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7284057B2 (en) * 2002-02-27 2007-10-16 Cisco Technology, Inc. Methods and apparatus for Mobile IP Home Agent clustering
US20040148428A1 (en) * 2003-01-28 2004-07-29 George Tsirtsis Methods and apparatus for supporting an internet protocol (IP) version independent mobility management system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
同上.

Also Published As

Publication number Publication date
CN1870633A (en) 2006-11-29
WO2007036146A1 (en) 2007-04-05

Similar Documents

Publication Publication Date Title
US6862274B1 (en) Method and system capable of providing mobility support for IPv4/IPv6 inter-networking
JP3633430B2 (en) COMMUNICATION METHOD, COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND RECORDING MEDIUM
CN100428719C (en) Internet access method based on identity and location separation
TWI500305B (en) Enabling ipv6 mobility with nat64
CN101160842B (en) Method for realizing the communication between mobile IPv6 node and IPv4 communication partner
KR100531623B1 (en) COMMUNICATION METHOD USING MOBILE IPv6 IN NAT-PT ENVIRONMENT AND MEDIUM THEREOF
JP4430106B2 (en) System and method for providing IPv6 service
CN102256236A (en) System and method for mobility management under separate mapping mechanism
US20030236914A1 (en) Connection of next generation mobile nodes across previous generation networks to next generation networks
CN1870633B (en) Method for supporting mobile IPv4 by double-stack moible IPv6 node
TW200826560A (en) Apparatus and method of IP mobility management for persistent connections
CN101977246B (en) Method and system for supporting PMIPv6 (Proxy Mobile IPv6) mobility
CN101160927B (en) Method for communicating between the IPv6 communication partner and the mobile IPv6 node as well as the communication partner agent gateway
JP2003018185A (en) Mobile ip communication system, mobile ip communication method, network repeater system and terminal for mobile object
JP3621917B2 (en) Data relay method and data relay device used in the method
JP2002223236A (en) Gateway device in communication system and route optimizing method in the same system
CN100466609C (en) Method for implementing communication of IPv6 mobile node and IPv4 communication buddy
CN101494849A (en) Communication equipment and application method and system thereof
KR20060070322A (en) Ipv6 corresponding method in mobile ipv4 network
KR20040066432A (en) Method for Mobility Support using Mobile IP In Networks
JP4606391B2 (en) Access network, method for connecting to local network, mobile terminal, and program
JP4605381B2 (en) Communication control system and management device
JP2003092597A (en) Mobile communication system
JP3861885B2 (en) Mobile terminal and packet transmission method
KR100749816B1 (en) Method for providing an ability of roaming from IPv6 network based on NEMO to IPv4 network

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
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: 20100602

Termination date: 20170927