CN100518378C - A communication method for switching the mobile node from IPv6 network to IPv4 network - Google Patents

A communication method for switching the mobile node from IPv6 network to IPv4 network Download PDF

Info

Publication number
CN100518378C
CN100518378C CNB2007100270509A CN200710027050A CN100518378C CN 100518378 C CN100518378 C CN 100518378C CN B2007100270509 A CNB2007100270509 A CN B2007100270509A CN 200710027050 A CN200710027050 A CN 200710027050A CN 100518378 C CN100518378 C CN 100518378C
Authority
CN
China
Prior art keywords
address
ipv6
network
mobile node
ipv4
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
CNB2007100270509A
Other languages
Chinese (zh)
Other versions
CN101018412A (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.)
Sun Yat Sen University
National Sun Yat Sen University
Original Assignee
National Sun Yat Sen 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 National Sun Yat Sen University filed Critical National Sun Yat Sen University
Priority to CNB2007100270509A priority Critical patent/CN100518378C/en
Publication of CN101018412A publication Critical patent/CN101018412A/en
Application granted granted Critical
Publication of CN100518378C publication Critical patent/CN100518378C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The related continual communication switch method from IPv6 to IPv4 network comprises: as both the local agent and communication node on IPv6 network, setting a NAT-PT gateway with DNS-ALG between the IPv6 and IPv4 network; when moving from IPv6 to IPv4 network, the node queries the IPv4 addresses of local agent and node distributed by NAT-PT gateway for next register and communication. Besides, this invention applies mobile option of Care-of Test message for convenient data calculation.

Description

A kind of mobile node of realizing switches to the communication means of IPv4 network from the IPv6 network
Technical field
The present invention relates to the communications field, be specifically related to a kind of mobile node of realizing and switch to the communication means of IPv4 network from the IPv6 network.
Background technology
Along with the expansion of development of internet technology and network size, IPv4 (Internet Protocol version 4) can not satisfy the requirement of network development.IPv6 (Internet Protocol version 6) as the alternate version of IPv4, can provide huge address space, and have the not available new features of many IPv4, has been subjected to increasing attention.Because the IPv4 number of addresses that China has seldom, the problem of address exhaustion is particularly outstanding, and China is just carrying forward vigorously the research and development of IPv6.On the other hand, along with the day by day increase of people, the research of mobile communication has also been reached unprecedented height to the mobile communication demand.
In order to solve the problem of mobile communication, people have introduced Mobile IP (mobile IP) technology.A distinguishing feature of Mobile IP technology is that moving of mobile node has the transparency for the application of being carried on the network layer.Briefly, be exactly that mobile node moves between different networks, the above application of transport layer and transport layer all needn't change the source address and the destination address of communication, thereby keeps communication continuity.
At present, Mobile IP Study on Technology has been obtained certain effect.IETF was in 2002 and you can well imagine out Mobile IPv4 (defining) agreement and Mobile IPv6 (defining) agreement 2004 the fraction of the year in RFC3344 in RFC3775, had solved the mobile communication problem at pure IPv4 network and pure IPv6 network effectively.Yet IPv6 replacement IPv4 is not a thing overnight, and IPv4 and IPv6 are with long-term co-existence.Therefore, solve the mobile communication problem between the heterogeneous network (referring to IPv4 and IPv6 network here), have crucial meaning.
The mobile communication problem of heterogeneous network roughly has following six kinds of situations:
1, mobile node and home agent thereof are in the IPv6 network, and communication node is in the IPv4 network;
2, mobile node and home agent thereof are in the IPv4 network, and communication node is in the IPv6 network;
3, the home agent of mobile node is in the IPv6 network, and communication node is in the IPv4 network, and mobile node moves between IPv6 network and IPv4 network;
4, the home agent of mobile node is in the IPv6 network, and communication node is in the IPv6 network, and mobile node moves between IPv6 network and IPv4 network;
5, the home agent of mobile node is in the IPv4 network, and communication node is in the IPv4 network, and mobile node moves between IPv4 network and IPv6 network;
6, the home agent of mobile node is in the IPv4 network, and communication node is in the IPv6 network, and mobile node moves between IPv4 network and IPv6 network.
At present, IETF does not also propose the solution of the problems referred to above.Disclosed data shows, domestic existing unit has proposed a solution at first kind of top situation, and submitted patent application (number of patent application is 200510105560.4) to, at second kind of top situation, we have proposed a solution, and submitted patent application (number of patent application is 200710026298.3) to, but this two kinds of solutions and be not suitable for above-mentioned other four kinds of situations.Purpose of the present invention is exactly to propose a solution at the 4th kind of above-mentioned situation.
As previously mentioned, IPv6 will with IPv4 long-term co-existence.At present, mainly contain three kinds of technical supports and be in the node of IPv6 network and be in communication between the node of IPv4 network, be i.e. double-stack technology, tunneling technique and NAT-PT technology.
The basic principle of NAT-PT (being network address translation-protocol conversion) technology is, gateway (being called the NAT-PT gateway) is set between IPv4 network and IPv6 network, data message to diversity of protocol versions carries out address transition and protocol conversion, promptly will convert the message of IPv6 form to from the data message of IPv4 network destined IPv6 network; To convert the message of IPv4 form to from the data message of IPv6 network destined IPv4 network.The NAT-PT gateway is responsible for safeguarding the mapping table of an IPv4 address pool and IPv4 address and IPv6 address.For the address transition of IPv6 to IPv4, the NAT-PT gateway distributes an available IPv4 map addresses IPv6 address from address pool; For the address transition of IPv4 to IPv6, the NAT-PT gateway then adds one 96 NAT-PT gateway prefix in front, IPv4 address.Mapping table has write down these mapping relations, inquires about in communication process subsequently for the NAT-PT gateway.
In addition,, can only change the data message in network layer because the NAT-PT gateway belongs to the equipment of network layer, thus DNS, FTP etc. relate to the application of address transition in application layer can not the crossing NAT-PT gateway.In order to address this problem, people add ALG (ALG) at the NAT-PT gateway, at different application, DNS-ALG are just arranged, FTP-ALG etc.The application layer process function of the network layer translation function of NAT-PT gateway and ALG is combined, just can solve the problem of crossing NAT-PT gateways such as DNS, FTP.
Demonstrate the operation principle that adds the DNS inquiry between the DNS-ALG realization heterogeneous network with the NAT-PT gateway below in conjunction with Fig. 1.
As shown in Figure 1, the node A that is in the IPv4 network will communicate by letter with the Node B that is in the IPv6 network, and node A needs at first to arrive with the inquiry of the domain name of Node B the IP address (IPv4 form) of Node B, and this process will be finished by dns server.
For convenience of description, supposing that IPv4 network and IPv6 network all have only a dns server, is respectively dns server A and dns server B.The domain name of Node B is www.abc.com, and its IPv6 address is 2001::1.
Node A wants the IP address of query node B, at first sends the DNS query requests to dns server A, and dns server A finds there is not the record of above-mentioned domain name, so inquire about to dns server B.Dns server B finds the record of above-mentioned domain name, and it is interpreted as IPv6 address 2001::1, and sends response message to dns server A.During this response message process NAT-PT gateway, the NAT-PT gateway is found out the IPv4 address of an available IPv4 address (being assumed to be 202.116.78.10) as Node B from the address pool of its maintenance, and creates a map record.Node A turns back to node A through amended response message through former road, so just can communicate by 202.116.78.10 and Node B.
Node B is if the IP address of query node A, and its process is roughly the same.When response message was returned, the NAT-PT gateway can add that 96 NAT-PT gateway prefix is as the IPv6 address of node A in the front, IPv4 address of node A.
The invention still further relates to Mobile IPv6 technology.Basic principle below in conjunction with Fig. 2 and RFC 3775 explanation Mobile IPv6:
1, no matter be at home network or field network, the home address of mobile node can not change.When mobile node was in home network, mobile node was by conventional IP routing mechanism transceive data message;
2, after mobile node moves to field network, obtain Care-of Address.The data message that mails to this Care-of Address can be sent to mobile node.Mobile node can have a plurality of Care-of Address simultaneously;
3, move to field network after, mobile node can send binding update messages to register the main Care-of Address of its acquisition to home agent;
4, communication node can be that fix or mobile.Mobile node can provide its current position information to its communication node by the mode of registration;
5, mobile node is before communication node sends binding update messages, at first carry out Return Routability Procedure, the purpose of Return Routability Procedure is to confirm that the home address of mobile node and Care-of Address thereof are accessibility.
Return Routability Procedure comprises 4 message: Home Test Init, Care-of Test Init, Home Test and Care-of Test.Wherein, Home Test Init and Care-of Test Init message are to mail to communication node from mobile node simultaneously: Care-of Test Init message directly mails to communication node from mobile node, Home Test Init message then at first sends to home network by reverse tunnel, and then sends to communication node from home network.Communication node receives and handles after above-mentioned two message and just beam back Home Test message and Care-of Test message to mobile node respectively that these two message will be returned mobile node by former road.
6, the mobile node communication that communicates with node has dual mode.
First kind is " bidirectional tunnel " mode.The data message that communication node sends is routed to home network, and home agent is intercepted and captured this data message and this data message sent to the Care-of Address of mobile node by the tunnel; And the data message that mobile node sends sends to home network by reverse tunnel, and then sends to communication node from home network.When adopting this mode, communication node need not to know the mobile node current position information.
Second kind is " routing optimality " mode.This communication mode allows communication node that data message is directly sent to the Care-of Address of mobile node, and its precondition is that mobile node must be to the communication node registration so that communication node be known the binding relationship of its home address and Care-of Address.
7, when communication node when mobile node sends datagram, destination address is the Care-of Address of mobile node, and carries the home address information of mobile node in data message.Similarly, when mobile node sent datagram to communication node, source address was a Care-of Address, and carried home address information in data message.The purpose of carrying home address is in order to guarantee that Care-of Address is transparent for the application more than the network layer.
Compare with Mobile IPv4 technology, a distinguishing feature of Mobile IPv6 technology is to support " routing optimality ".When adopting " routing optimality " when mode is communicated by letter, mobile node arrives after the field network, not only to the new Care-of Address of its home agent registration, and can be to the new Care-of Address of its communication node registration.Communication node is safeguarded the home address of mobile node and the banding cache of Care-of Address thereof, and the data message that mails to mobile node just can directly send to the Care-of Address of mobile node, need not through home agent.
But, Mobile IPv6 agreement can not directly apply to above-mentioned the 4th kind of situation, its subject matter has two: after mobile node switches to the IPv4 network from the IPv6 network, registration subsequently, communication process all carry out between heterogeneous network, need carry out address transition, promptly how handle the problem of address transition; Be exactly in addition in Return Routability Procedure, mobile node need be used the Care-of Address of IPv6 form of oneself and the IPv6 address of communication node when calculating some verify data, but IPv4 network itself can only process IP v4 form the address, all be converted into 32 IPv4 form IP address from the IP address of the data message of IPv6 network destined IPv4 network, therefore, mobile node switches to after the IPv4 network, can not obtain the IPv6 address of communication node and the Care-of Address of the IPv6 form of oneself by conventional method.These two problems are the keys that solve above-mentioned the 4th kind of described mobile communication problem of situation.
Summary of the invention
Purpose of the present invention is exactly at the problems referred to above, provides a kind of mobile node of realizing to switch to the communication means of IPv4 network from the IPv6 network.By this method, mobile node still can be kept original communication after the IPv6 network moves to the IPv4 network, guaranteed transparent for the application of being carried on the network layer of moving of mobile node, and communicating by letter between mobile node and the communication node supported routing optimality, and data message need not through home agent.
The object of the present invention is achieved like this:
1, between IPv4 network and IPv6 network, is provided with the NAT-PT gateway of DNS-ALG.
After mobile node moved to the IPv4 network from the IPv6 network, follow-up registration, communication process were all wanted crossover heterogeneous networks, and in these processes, all data messages all will carry out address transition and protocol conversion through the NAT-PT gateway and by the NAT-PT gateway.In the process of DNS inquiry, also to use DNS-ALG.
2, after mobile node moved to the IPv4 network from the IPv6 network, the mode by inquiry of the domain name obtained the home agent that NAT-PT distributes and the IPv4 address of communication node.
After mobile node moves to the IPv4 network, need send binding update messages to register the Care-of Address of its new acquisition to home agent and communication node, because mobile node is in the IPv4 network, so mobile node need be known the IPv4 address of home agent that NAT-PT distributes and communication node.Mobile node can obtain the IPv4 address of above-mentioned home agent and communication node by the mode that sends the DNS query requests to dns server.Because crossover heterogeneous networks is wanted in this DNS inquiry, thus the process need of inquiry by the NAT-PT gateway with and on the DNS-ALG function.Concrete DNS query script can be referring to the background technology part.
3, the Care-of Test message among the ReturnRoutability Procedure is expanded, made the IPv6 address of the Care-of Address and the communication node of its IPv6 form that can carry mobile node.
In Mobile IPv6, the purpose of Return Routability Procedure is to guarantee that the home address of mobile node and the new Care-of Address that obtains thereof are accessibility.Return Routability Procedure comprises 4 message, is respectively Home TestInit, Care-of Test Init, Home Test and Care-of Test.Wherein, Home Test Init and Care-of Test Init message are to mail to communication node from mobile node simultaneously: Care-of Test Init message directly mails to communication node from mobile node, Home Test Init message then at first sends to home network by reverse tunnel, and then sends to communication node from home network.Communication node receives and handles after above-mentioned two message and just beam back Home Test message and Care-of Test message to mobile node respectively that these two message will be returned mobile node by former road.
Home Test Init message format as shown in Figure 3, wherein Home Init Cookie is the random number that mobile node generates.Home Test message format as shown in Figure 4, wherein Home Init Cookie directly comes from Home Test Init message copy, Home Keygen Token is the verify data that communication node generates.Care-of Test Init message format as shown in Figure 5, wherein Care-of Init Cookie is the random number that mobile node generates.Care-of Test message format as shown in Figure 6, wherein Care-ofInit Cookie directly comes from Care-of Test Init message copy, Care-of Keygen Token is the verify data that communication node generates.
After Return Routability Procedure finished, mobile node just can send binding update messages to communication node.In Mobile IPv6, consideration for fail safe, mobile node has attached a verify data to the binding update messages that communication node sends, this verify data is to calculate by following formula: First (96, HMAC_SHA1 (Kbm, (CoA|CN|BU))), HMAC_SHA1 is a kind of title of algorithm in the formula, Kbm is data of utilizing above-mentioned Home Keygen Token and Care-of Keygen Token to calculate, CoA is the Care-of Address of the IPv6 form of mobile node, CN is the IPv6 address of communication node, and preceding 96 of result are got in First and 96 expressions.As seen, when calculating verify data, mobile node must be known the IPv6 address of communication node and the Care-of Address of the IPv6 form of oneself.But, after mobile node moves to the IPv4 network from the IPv6 network, IP address that can only process IP v4 form on network layer, and all can be converted into the IPv4 form from the data message of the IPv6 network destined mobile node IP address on the network layer through the NAT-PT gateway time, therefore, after mobile node arrives the IPv4 network, can not obtain the IPv6 address of communication node and the Care-of Address of the IPv6 form of oneself by the IP address of requester network layer.
In order to address the above problem, the present invention is by expansion Care-of Test message, define two new mobile options in the mobile option (MobilityOption) of this message part, be used for carrying the Care-of Address of the IPv6 form of the IPv6 address of communication node and mobile node respectively.According to the regulation of RFC 3775, the form of mobile option must be followed the Type-Length-Value form, i.e. type-length-numeric format.RFC 3775 has defined 6 class mobile options, and its types value is from 0~5.Therefore, 2 mobile option types values of the present invention's definition are decided to be 6 and 7 (specifically adopt what types value to examine through relevant departments, adopt 6 and 7 earlier here).The form of two mobile options of the present invention definition as shown in Figure 7 and Figure 8, the Care-of Test message after the expansion is as shown in Figure 9.
After mobile node moves to the IPv4 network, by receiving above-mentioned Care-of Test message through expansion, just can obtain the IPv6 address of communication node and the Care-of Address of the IPv6 form of oneself, thereby can calculate verify data according to the method for 3775 li of RFC, guarantee the fail safe and the validity of binding update messages.
Some, some technology and the principle of existing Mobile IP also used in enforcement of the present invention, mainly comprises except above-mentioned:
1, in the IPv6 network, no matter be at home network or field network, the home address of mobile node can not change.When mobile node was in home network, mobile node was by conventional IP routing mechanism transceive data message;
2, mobile node lays oneself open to home network or field network by receiving the judgement of mobile agent advertisement information;
3, after mobile node arrives field network, obtain Care-of Address.The data message that mails to this Care-of Address can be sent to mobile node;
4, mobile node can send binding update messages to register the Care-of Address of its acquisition to home agent;
5, communication node can be that fix or mobile.Mobile node can provide its current position information to its communication node by the mode of registration;
6, mobile node communicates with the communication employing routing optimization manner of node.
7, when communication node when mobile node sends datagram, destination address is the Care-of Address of mobile node, and carries the home address information of mobile node in data message.Similarly, when mobile node sent datagram to communication node, source address was a Care-of Address, and carried home address information in data message.The purpose of carrying home address is in order to guarantee that Care-of Address is transparent for the application more than the network layer.
Description of drawings
Fig. 1 is the basic principle schematic of Mobile IPv6 technology;
Fig. 2 is for carrying out the basic principle schematic of DNS inquiry between heterogeneous network;
Fig. 3 is a Home Test Init message format schematic diagram;
Fig. 4 is a Home Test message format schematic diagram;
Fig. 5 is a Care-of Test Init message format schematic diagram;
Fig. 6 is a Care-of Test message format schematic diagram;
Fig. 7 is the schematic diagram of mobile option that is used to carry communication node IPv6 address of the present invention definition;
Fig. 8 is the schematic diagram of mobile option of Care-of Address that is used to carry the IPv6 form of the present invention definition;
Fig. 9 is the Care-of Test message format schematic diagram after expanding;
Figure 10 is a schematic diagram of the present invention.
Embodiment
The invention provides a kind of mobile node of realizing and switch to the communication means of IPv4 network from the IPv6 network, its basic thought is: mobile node is supported IPv4 and IPv6 agreement simultaneously, so that mobile node can be communicated by letter with corresponding protocol at different networks; Between IPv4 network and IPv6 network, be provided with the NAT-PT gateway of DNS-ALG, mobile node is after the IPv6 network moves to the IPv4 network, inquire the IP address of home agent and communication node thereof by DNS, be used for follow-up registration, communication process, thereby the assurance communication continuity, and support routing optimality.
Provide an example of the present invention below, and describe the specific embodiment of the present invention in detail in conjunction with Figure 10.
1, the agent advertisement message sent by mobile agent of mobile node knows that oneself enters the IPv4 network from the IPv6 network.
Mobile agent (comprising IPv4 mobile agent and IPv6 mobile agent) can send agent advertisement message to show existing of they at the place network in pseudo-periodicity ground.Mobile node just can judge according to the agent advertisement message of being received whether oneself enters the IPv4 network from the IPv6 network.Mobile node also can send agent advertisement to oneself by send Agent Solicitation request mobile agent to mobile agent.
Agent advertisement message is actually a kind of extended message of ICMP route advertisement message.In the IPv4 network, mobile agent can indicate in agent advertisement message and oneself serve as home agent or Foreign Agent; If serve as Foreign Agent, mobile agent also can attach the Care-of Address of some in agent advertisement message, and specifies the data message that whether requires mobile node to send in follow-up registration, communication process must pass through Foreign Agent.The Agent Solicitation that mobile node sends also is a kind of ICMP route request information, the different just life spans (TTL) of message must be set to 1.
2, mobile node obtains a Care-of Address at the IPv4 at place network.
Care-of Address can be assigned by Foreign Agent, also can obtain by modes such as DHCP.When being assigned by Foreign Agent, the Care-of Address that mobile node obtains is actually an IP address of Foreign Agent.This mode allows the shared Care-of Address of a plurality of mobile nodes, can not cause too big burden to facing exhausted IPv4 address space.Then can not be shared by the Care-of Address that modes such as DHCP are obtained, this just brings burden to address space, but this mode is of great use for the field network that Foreign Agent also is not set.
In Mobile IPv4, when mobile node was in field network, home agent was to give mobile node the data message forwarding of being intercepted and captured by it that mails to the moving nodes local address by the tunnel, and in fact Care-of Address is exactly the terminal point in tunnel.And in Mobile IPv6, adopting " bidirectional tunnel " when mode is communicated by letter, Care-of Address also is the terminal point that serves as the tunnel; And adopting " routing optimality " when mode is communicated by letter, the data message that mails to mobile node directly sends to Care-of Address.
The present invention supports " routing optimality ", so Care-of Address is as the destination address that mails to the data message of mobile node.
In addition, describe for convenient, what Fig. 3 drew is the situation that does not have Foreign Agent.
3, the IPv4 address acted on behalf of to the local by the inquiry of the domain name of home agent of mobile node.
Mobile node obtains will register to home agent behind the Care-of Address, and mobile node must know that the IP address of home agent could send registration message before the registration.In the present invention, mobile node is the address that obtains the IP of home agent by DNS inquiry.
The dns server of mobile node in the IPv4 network sends the IP address of DNS query requests inquiry home agent, and the dns server in the IPv4 network is searched less than relative recording and will be inquired about to the dns server in the IPv6 network.Dns server in the IPv6 network finds the relative recording of above-mentioned domain name, and returns a response message, and this response message comprises the IP address of the IPv6 form corresponding with above-mentioned domain name.When above-mentioned response message was passed through the NAT-PT gateway, the NAT-PT gateway took out an IPv6 address in the available above-mentioned response message of IPv4 map addresses from address pool, and revises this response message by DNS-ALG.Mobile node is received above-mentioned response message, has just known the IP address (IPv4 form) of home agent.
4, mobile node is registered new Care-of Address by login request message to its home agent.
Mobile node sends login request message to home agent, and the source address of this message is a Care-of Address, and destination address is the IPv4 address of home agent.
Above-mentioned login request message can convert the IPv6 form to through the NAT-PT gateway and by the NAT-PT gateway.Particularly, the NAT-PT gateway is the keyword lookup mapping table with the destination address, finds the destination address of the IPv6 address of home agent as login request message; The NAT-PT gateway prefix that adds 96 in the front of source address is as new source address.In addition, the NAT-PT gateway also can be done corresponding conversion to other parts of login request message.
After converting, the NAT-PT gateway sends to home agent to new login request message.
5, after home agent is received register requirement, if accept this request, then create or the home address of renewal mobile node and the binding relationship of its Care-of Address, and represent to accept request to mobile node transmission registration reply message; Otherwise, send registration reply message to mobile node and represent refusal.
The source address of above-mentioned registration reply message is a hometown-agent-address, and destination address is the Care-of Address (IPv6 form) of mobile node.
Above-mentioned registration reply message can convert the IPv4 form to through the NAT-PT gateway and by the NAT-PT gateway equally.Particularly, the NAT-PT gateway is the keyword lookup mapping table with the source address, finds the source address of the IPv4 address of home agent as registration reply message; Get 32 new destination addresses of conduct in back of destination address.In addition, the NAT-PT gateway also can be done corresponding conversion to other parts of registration reply message.
Mobile node is received the registration reply message after the above-mentioned conversion, learns that home agent accepted register requirement.So far, mobile node has been finished the operation to home agent registration, below just can begin to have registered to communication node.
6, mobile node arrives the IPv4 address of communication node by the inquiry of the domain name of communication node.
Before the communication node registration, mobile node need be known the IPv4 address of communication node.In the present invention, mobile node is the address that obtains the IP of communication node by DNS inquiry.
The dns server of mobile node in the IPv4 network sends DNS query requests query communication IP addresses of nodes, and the dns server in the IPv4 network is searched less than relative recording and will be inquired about to the dns server in the IPv6 network.Dns server in the IPv6 network finds the relative recording of above-mentioned domain name, and returns a response message, and this response message comprises the IP address of the IPv6 form corresponding with above-mentioned domain name.When above-mentioned response message was passed through the NAT-PT gateway, the NAT-PT gateway took out an IPv6 address in the available above-mentioned response message of IPv4 map addresses from address pool, and revises this response message by DNS-ALG.Mobile node is received above-mentioned response message, has just known the IP address (IPv4 form) of communication node.
7, mobile node sends Home Test Init message and Care-of Test Init message to communication node simultaneously.
Home Test Init message at first process of passing through tunnel sends to home network, and then sends to communication node from home network.The Home Test Init message that mobile node generates, source address is a Care-of Address, destination address is the IPv4 address of home agent.During this message process NAT-PT gateway, be converted into the IPv6 form, wherein, the NAT-PT gateway adds that in the source address front 96 NAT-PT gateway prefix is as the source address after changing, and be the keyword lookup corresponding relation with former destination address, the address of finding corresponding home agent is as new destination address.At home network, Home Test Init message can be sent to communication node, and wherein source address is the IPv6 home address of mobile node, and destination address is the communication node address.
Home Test Init message has been carried a parameter that is called home init cookie, is used for the calculating of some follow-up verify datas.
Care-of Test Init message directly sends to communication node, need not through home agent.The source address of this message is a Care-of Address, and destination address is the IPv4 address of communication node.During through the NAT-PT gateway, this message is converted into the IPv6 form, wherein, the NAT-PT gateway adds that in the source address front 96 NAT-PT gateway prefix is as the source address after changing, and be the keyword lookup corresponding relation with former destination address, find the corresponding communication address of node as new destination address.
Care-of Test Init message has been carried a parameter that is called care-of init cookie, is used for the calculating of some follow-up verify datas.
8, communication node is handled above-mentioned Home Test Init message and Care-of Test Init message respectively, and sends HomeTest message and Care-of Test message respectively as response.
Home Test message is attached 3 parameters, is respectively home init cookie, home keygen token and home nonceindex.Wherein, home init cookie directly duplicates from Home Test Init message, home keygen token is a communication node with the IPv6 home address of some random numbers and the mobile node cryptographic Hash as calculation of parameter, home nonce index just for convenience in the registration process of back communication node can easily find and calculate the random number that home keygen token uses.
Care-of Test message is attached 5 parameters, is respectively the Care-of Address of care-of init cookie, care-of keygen token, care-ofnonce index, IPv6 form and the IPv6 address of communication node.Wherein, care-of init cookie directly duplicates from Care-of Test Init message, care-of keygen token is a communication node with the IPv6 Care-of Address of some random numbers and the mobile node cryptographic Hash as calculation of parameter, care-of nonce index just for convenience in the registration process of back communication node can easily find and calculate the random number that care-of keygen token uses, and the IPv6 address of IPv6 Care-of Address and communication node can be moved node in the back and is used to calculate cryptographic Hash.
Article two, receive the response and all return along former road.That is to say that Home Test message is at first to send to home network and then send to mobile node by the tunnel; Care-of Test message then directly sends to mobile node.Certainly, receive the response for two and through the NAT-PT gateway time, will convert the IPv4 form to, but detailed process reference background technology part.
Step 7 and step 8 are called Return Routability Procedure.It mainly acts on is fail safe and reliability for the registration that guarantees step 9.
9, mobile node sends binding update messages to register its Care-of Address to communication node.
Binding update messages directly mails to communication node by mobile node, and its source address is a Care-of Address, and destination address is the communication node address.
Binding update messages attaches 5 parameters, be respectively IPv6 home address, sequence number, home nonceindex, care-of nonce index and a cryptographic Hash that is used to authenticate of mobile node, this cryptographic Hash is that mobile node calculates with IPv6 address and some random numbers of home keygentoken, care-of keygen token, IPv6 Care-of Address, communication node.
During this binding update messages process NAT-PT, convert the IPv6 form to the described method of background technology.
10, communication node can recomputate verify data after receiving above-mentioned binding update messages, if authentication is passed through, just creates the home address of mobile node and the group of Care-of Address thereof and decides buffer memory, sends binding acknowledgement message to mobile node then.
After the registration process of communication node is finished, just can proceed between mobile node and the communication node to have communicated by letter.
11, the data message that mails to mobile node by communication node directly sends to mobile node, need not through home agent.
Transparent for what communicate by letter in order to guarantee moving of mobile node, communication node is mailing to meeting insertion one second class route header (type 2 routing header) in the data message of mobile node, and the IPv6 home address of mobile node is being adorned in the inside.
When data message arrived the NAT-PT gateway, source address, destination address can be converted into the IPv4 form, and data message can send to the Care-of Address of mobile node then.After mobile node is received data message, from the second class route header, take out the IPv6 home address and replace original destination address, and replace former source address with the IPv6 address of communication node.
12, the data message that mails to communication node by mobile node directly sends to communication node, need not through home agent.
Transparent in order to guarantee moving of mobile node for what communicate by letter, mobile node is mailing to a meeting insertion purpose options extension header (Destination Option extension header) in the data message of communication node, and the IPv6 home address of mobile node is being adorned in the inside.
When data message arrived the NAT-PT gateway, source address, destination address can be converted into the IPv6 form, and data message can send to communication node then.After communication node is received data message, take out the IPv6 home address and replace original source address from the purpose options extension header, destination address remains unchanged, and is the IPv6 address of communication node.
From above-mentioned embodiment of the present invention as can be seen, enforcement of the present invention is to be based upon on the basis that makes full use of existing MobileIPv6 technology.Because in the problem that the present invention discussed, mobile node is former communicated by letter in the IPv6 network before this, moved to the IPv4 network afterwards, and therefore, mobile node need be supported IPv4 and IPv6 agreement simultaneously.In addition, because home agent and communication node all are in the IPv6 network, mobile node is after the IPv6 network moves to the IPv4 network, and data messages such as registration, communication all must pass through the IPv4 network and arrive the IPv6 network, and this brings difficulty with regard to the processing of giving the address.The present invention utilizes the function of NAT-PT gateway, makes mobile node can obtain the IPv4 address of home agent and communication node by the mode of inquiry of the domain name, thereby can solve the problem that the IPv4 network is passed through in registration, communication.At last, in Return Routability Procedure, consideration for fail safe and reliability aspect, mobile node need know oneself the Care-of Address of IPv6 form and the IPv6 address of communication node so that calculate verify data, the present invention expands Return Routability Procedure.The IPv6 address that allows Care-of Test message carry the IPv6 Care-of Address and the communication node of mobile node has so just solved the computational problem of verify data.By each step of above-mentioned embodiment, solved mobile node and switched to registration, communication issue behind the IPv4 network, and supported routing optimality from the IPv6 network.

Claims (3)

1, a kind of mobile node of realizing switches to the communication means of IPv4 network from the IPv6 network, it is characterized in that:
A, between IPv4 network and IPv6 network, be provided with the NAT-PT gateway of DNS-ALG;
B, mobile node are supported IPv4 agreement and IPv6 agreement simultaneously;
After C, mobile node move to the IPv4 network from the IPv6 network, obtain the IPv4 address of home agent and communication node by the inquiry of the domain name mode;
D, in Return Routability Procedure, expansion Care-of Test message makes the IPv6 address of its Care-of Address that can carry the IPv6 form and communication node, is used for mobile node and calculates verify data.
2, realization mobile node according to claim 1 switches to the communication means of IPv4 network from the IPv6 network, it is characterized in that described step C specifically comprises:
(1) dns server of mobile node in the IPv4 network sends the DNS query requests about home agent and communication node respectively;
(2) dns server in the IPv4 network is forwarded to dns server in the IPv6 network to query requests;
(3) dns server in the IPv6 network is successfully resolved domain name, and sends response message respectively, and the response message the inside comprises the IPv6 address of home agent and communication node respectively;
When (4) response message was through the NAT-PT gateway, the NAT-PT gateway distributed available IPv4 map addresses above-mentioned IP v6 address from the address pool of its maintenance, and response message is made suitable modification;
(5) mobile node is received above-mentioned response message through revising, thereby obtains the IPv4 address of home agent and communication node.
3, realization mobile node according to claim 1 switches to the communication means of IPv4 network from the IPv6 network, it is characterized in that described step D specifically comprises:
Expansion Care-ofTest message, partly define two new mobile options at the mobile option Mobility of this message Option, its types value is respectively 6 and 7, be used for carrying the Care-of Address of the IPv6 form of the IPv6 address of communication node and mobile node respectively, after mobile node receives the Care-ofTest message of expansion, take out this two addresses, calculate verify data, verify data is put into the binding update messages that mails to communication node.
CNB2007100270509A 2007-03-05 2007-03-05 A communication method for switching the mobile node from IPv6 network to IPv4 network Expired - Fee Related CN100518378C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007100270509A CN100518378C (en) 2007-03-05 2007-03-05 A communication method for switching the mobile node from IPv6 network to IPv4 network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007100270509A CN100518378C (en) 2007-03-05 2007-03-05 A communication method for switching the mobile node from IPv6 network to IPv4 network

Publications (2)

Publication Number Publication Date
CN101018412A CN101018412A (en) 2007-08-15
CN100518378C true CN100518378C (en) 2009-07-22

Family

ID=38727111

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007100270509A Expired - Fee Related CN100518378C (en) 2007-03-05 2007-03-05 A communication method for switching the mobile node from IPv6 network to IPv4 network

Country Status (1)

Country Link
CN (1) CN100518378C (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101237410B (en) * 2008-03-04 2011-08-24 中山大学 A method for realizing communication of mobile node in IPv4/v6 mixed network
CN101964968B (en) * 2009-07-22 2014-02-05 中兴通讯股份有限公司 Method and system for inquiring domain name in mobile terminal
CN102098352B (en) * 2011-01-19 2013-06-05 北京邮电大学 Network system and method for supporting host computer mobility in Internet protocol version 4 (IPv4)-Internet protocol version 6 (IPv6) hybrid network environment
ES2665571T3 (en) 2011-06-17 2018-04-26 Huawei Technologies Co., Ltd. Computer cloud service control and extended management architecture to connect to the network layer
CN103124253B (en) * 2011-11-18 2018-04-17 中兴通讯股份有限公司 A kind of method and home gateway of IP protocol type switching
CN102984294A (en) * 2012-12-07 2013-03-20 中兴通讯股份有限公司 IPv6 DNS address distribution and acquisition method and device
CN104519147B (en) * 2013-09-30 2018-09-25 中国电信股份有限公司 A kind of synchronous method and system of state table
CN107105026B (en) * 2017-04-14 2020-02-11 中国联合网络通信有限公司沈阳市分公司 IPV4/IPV6 exchange application platform
CN109936844B (en) * 2017-12-19 2020-08-21 中国科学院声学研究所 Mobile signaling management method
CN110798540B (en) * 2019-10-18 2023-01-20 北京奇艺世纪科技有限公司 Data interaction method and device
CN110784562B (en) * 2019-10-25 2021-10-01 新华三信息安全技术有限公司 Message forwarding method, domain name address query method, device, equipment and medium

Also Published As

Publication number Publication date
CN101018412A (en) 2007-08-15

Similar Documents

Publication Publication Date Title
CN100518378C (en) A communication method for switching the mobile node from IPv6 network to IPv4 network
EP1627503B1 (en) Arrangement for retrieving routing information for establishing a bidirectional tunnel between a mobile router and a correspondent router
US8170030B2 (en) Locator resolution in communications networks
US7149225B2 (en) Arrangement for traversing an IPv4 network by IPv6 mobile nodes via a mobility anchor point
US6862274B1 (en) Method and system capable of providing mobility support for IPv4/IPv6 inter-networking
AU2004244296B2 (en) Arrangement for traversing an IPv4 network by IPv6 mobile nodes
CN101043411B (en) Method and system for realizing mobile VPN service in hybrid network
CN100534218C (en) A method for realizing the communication between the mobile IPv4 node and IPv6 communication node
Gladisch et al. Survey on mobility and multihoming in future internet
CN100518147C (en) Method for spanning heterogeneous network mobile telecommunication based on two-way tunnel
CN101160842A (en) Method for realizing the communication between mobile IPv6 node and IPv4 communication partner
CN100596106C (en) Telecommunication for switching node from IPv4 network to IPv6 network
Novaczki et al. Micromobility support in HIP: survey and extension of host identity protocol
CN100512228C (en) Method for realizing communication between IPv4 communication node and mobile node of crossing heterogeneous network
CN101237410B (en) A method for realizing communication of mobile node in IPv4/v6 mixed network
Eriksson et al. Dynamic internetworking based on late locator construction
Hou et al. Support mobility for future internet
Wang et al. Mobility support in the internet using identifiers
CN102647708A (en) Distributive mobile IPv6 method based on network mobile management and routing optimization
Kafle et al. Network mobility management in HIMALIS architecture of future networks
Kafle et al. ID/Locator split-based mobility scheme for heterogeneous new generation network
Girao et al. A practical approach to provide communication privacy
Li et al. A Mobility Management Solution Based on ID/Locator Separation
Kafle et al. Considerations for name resolution in heterogeneous mobile networks of the future
NGUYEN State of the art of Mobility Protocols

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090722

Termination date: 20100305