CN102938736A - Method and device for realizing IPv6 (Internet Protocol Version 6) network traversing of IPv4 message - Google Patents

Method and device for realizing IPv6 (Internet Protocol Version 6) network traversing of IPv4 message Download PDF

Info

Publication number
CN102938736A
CN102938736A CN2012104770603A CN201210477060A CN102938736A CN 102938736 A CN102938736 A CN 102938736A CN 2012104770603 A CN2012104770603 A CN 2012104770603A CN 201210477060 A CN201210477060 A CN 201210477060A CN 102938736 A CN102938736 A CN 102938736A
Authority
CN
China
Prior art keywords
ipv6
message
ipv4
equipment
session entry
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012104770603A
Other languages
Chinese (zh)
Other versions
CN102938736B (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.)
Hangzhou DPTech Technologies Co Ltd
Original Assignee
Hangzhou DPTech 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 Hangzhou DPTech Technologies Co Ltd filed Critical Hangzhou DPTech Technologies Co Ltd
Priority to CN201210477060.3A priority Critical patent/CN102938736B/en
Publication of CN102938736A publication Critical patent/CN102938736A/en
Application granted granted Critical
Publication of CN102938736B publication Critical patent/CN102938736B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and a device for realizing IPv6 (Internet Protocol Version 6) network traversing of an IPv4 (Internet Protocol Version 4) message. When being applied to B4 equipment, the method comprises the following steps: when receiving an IPv4 message sent by a client, judging whether a corresponding session list item exists in an IPv4 session list so as to obtain a first judgment result; when the first judgment result is yes, after adding an IPv6 header to the IPv4 message according to the session list item, sending to AFTR (Address Family Transition Router) equipment through an IPv4-in-IPv6 tunnel in an IPv6 network; when the first judgment result is no, after adding the IPv6 header to the IPv4 message according to the IPv6 addresses of the B4 equipment and the AFTR equipment, sending to the AFTR equipment through the IPv4-in-IPv6 tunnel in the IPv6 network, adding the session list item corresponding to the IPv4 message to the IPv4 session list, and adding the session list item corresponding to an IPv6 message to an IPv6 session list. According to the invention, the message processing efficiency in DS-Lite (Dual-Stack Lite) can be improved.

Description

A kind of method and apparatus of realizing IPv4 message passing through IPv 6 network
Technical field
The present invention relates to network communications technology field, relate in particular to a kind of method and apparatus of the IPv4 of realization message passing through IPv 6 network.
Background technology
Along with the develop rapidly in the world of mutual net connection technology, networked devices increases fast, global ip v4 address is faced with the severe situation that is about to exhaust, requirement to larger address space becomes more urgent, the IPv6 agreement is arisen at the historic moment in this case, the IPv6 agreement provides 128 IP addresses, can effectively solve IP Address Run Short problem.Along with IPv4 can distribute exhausting of address resource, increasing operator also takes up to dispose the IPv6 network at Access Network and core net.But terminal and business platform can not be upgraded at short notice and be supported IPv6, have so just produced new problem, how to realize under IPv6-only Access Network environment that terminal is to the access of original IPv4 business.Under this background, lightweight dual stack (Dual-Stack Lite, DS-Lite) technology has appearred.The DS-Lite technology is that IPv4 seamlessly transits a kind of of technology to IPv6, and up-to-date transitional technology has 6rd, DS-Lite, A+P, NAT64, PNAT etc. at present, and wherein DS-Lite is seen as the final mask of IPv6 evolution scheme.
The DS-Lite technology is to dispose the IPv4-in-IPv6 tunnel to finish the professional transmission of IPv4 in the network of IPv6, and the IPv6 business is then directly by the IPv6 Internet Transmission.DS-Lite is a kind of IPv4-in-IPv6 tunneling technique, unit, gateway basic bridge joint broadband (Basic Bridging Broadband as shown in Figure 1, B4) and address family transient router unit (Address Family Transition Router, AFTR) all be two stack equipment, the B4 network element is at subscriber's main station or customer terminal equipment (Customer Premise Equipment, CPE) realize on the equipment, create the tunnel of IPv4-in-IPv6 to AFTR.The AFTR network element IPv4-in-IPv6 tunnel that terminated, and realized (Network Address Translation, NAT) function from private ip v4 to the network address translation the publicly-owned IPv4.
Fig. 2 is the message process chart among the DS-Lite, as shown in Figure 2, the scheme that realizes at present DS-Lite mainly adopts tunneling technique to realize, need to create virtual interface at B4 equipment and AFTR equipment, behind the message arrival equipment, need to look into route, be routed to the operation of adding ipv6 header or removing ipv6 header behind the virtual interface, the new message of generation sends after looking into route again.As seen, the DS-Lite that existing scheme realizes needs to carry out looking into routing operations twice to each message on B4 equipment or AFTR equipment, and the treatment effeciency of message is not high.
Summary of the invention
In view of this, the purpose of this invention is to provide a kind of method and apparatus of the IPv4 of realization message passing through IPv 6 network, can improve the message treatment effeciency among the DS-Lite.
For achieving the above object, the invention provides technical scheme as follows:
A kind of method that realizes IPv4 message passing through IPv 6 network is applied on the B4 equipment, and described method comprises:
When receiving the IPv4 message of client transmission, judge whether there be the session entry corresponding with this IPv4 message in the IPv4 conversational list, obtain the first judged result;
When described the first judged result when being, according to described session entry, described IPv4 message is increased ipv6 header obtains the IPv6 message, described IPv6 message is sent to AFTR equipment by the IPv4-in-IPv6 tunnel in the IPv6 network;
When described first when the determination result is NO, IPv6 address according to B4 equipment and AFTR equipment, described IPv4 message is increased ipv6 header obtain the IPv6 message, described IPv6 message is sent to AFTR equipment by described IPv4-in-IPv6 tunnel, and in the IPv4 conversational list, increase the session entry corresponding with described IPv4 message, and, in the IPv6 conversational list, increase the session entry corresponding with described IPv6 message.
A kind of method that realizes IPv4 message passing through IPv 6 network is applied on the AFTR equipment, and described method comprises:
When receiving the IPv6 message that B4 equipment sends by the IPv4-in-IPv6 tunnel in the IPv6 network, judge whether there be the session entry corresponding with this IPv6 message in the IPv6 conversational list, obtain the second judged result;
When described the second judged result when being, according to described session entry, the ipv6 header of removing described IPv6 message obtains the IPv4 message, and described IPv4 message is carried out forwarding after the source address conversion;
When described second when the determination result is NO, the ipv6 header of removing described IPv6 message obtains the IPv4 message, described IPv4 message is carried out forwarding after the source address conversion, and in the IPv6 conversational list, increase the session entry corresponding with described IPv6 message, and, in the IPv4 conversational list, increase the session entry corresponding with IPv4 message after source address is changed.
A kind of B4 equipment comprises:
The first judge module when being used for receiving the IPv4 message of client transmission, judges whether there be the session entry corresponding with this IPv4 message in the IPv4 conversational list, obtain the first judged result;
The first processing module, be used for when described the first judged result when being, according to described session entry, described IPv4 message is increased ipv6 header obtain the IPv6 message, described IPv6 message is sent to AFTR equipment by the IPv4-in-IPv6 tunnel in the IPv6 network;
The second processing module, be used for when described first when the determination result is NO, IPv6 address according to B4 equipment and AFTR equipment, described IPv4 message is increased ipv6 header obtain the IPv6 message, described IPv6 message is sent to AFTR equipment by described IPv4-in-IPv6 tunnel, and in the IPv4 conversational list, increase the session entry corresponding with described IPv4 message, and, the increase session entry corresponding with described IPv6 message in the IPv6 conversational list.
A kind of AFTR equipment comprises:
The second judge module when being used for receiving the IPv6 message that the IPv4-in-IPv6 tunnel of B4 equipment by the IPv6 network send, judges whether there be the session entry corresponding with this IPv6 message in the IPv6 conversational list, obtain the second judged result;
The manages module everywhere, be used for when described the second judged result when being, according to described session entry, the ipv6 header of removing described IPv6 message obtains the IPv4 message, and described IPv4 message is carried out forwarding after source address is changed;
The 5th processing module, be used for when described second when the determination result is NO, the ipv6 header of removing described IPv6 message obtains the IPv4 message, described IPv4 message is carried out forwarding after the source address conversion, and in the IPv6 conversational list, increase the session entry corresponding with described IPv6 message, and, in the IPv4 conversational list, increase the session entry corresponding with IPv4 message after source address is changed.
Compared with prior art, the invention provides the scheme that a kind of tactful mode realizes DS-Lite, message so, has been realized the high efficiency of message is transmitted without virtual interface but be combined with session and fast phase inversion.
Description of drawings
Fig. 1 is the basic networking schematic diagram of DS-Lite;
Fig. 2 is the message process chart among the DS-Lite;
Fig. 3 is the method flow diagram of the realization IPv4 message passing through IPv 6 network of the embodiment of the invention 1;
Fig. 4 is the method flow diagram of the realization IPv4 message passing through IPv 6 network of the embodiment of the invention 2.
Embodiment
Describe the present invention below in conjunction with accompanying drawing.
Need to create virtual interface at B4 equipment and AFTR equipment for what realization DS-Lite in the prior art existed, and each message needs to carry out looking into routing operations twice on equipment, the problem that the message treatment effeciency is not high, the invention provides the scheme that a kind of tactful mode realizes DS-Lite, message is without virtual interface but be combined with session and fast phase inversion, so, realized the high efficiency of message is transmitted.
Embodiment 1
Fig. 3 shows a kind of method of the IPv4 of realization message passing through IPv 6 network, and the method is applicable to network environment shown in Figure 1.In this network environment, B4 equipment and AFTR equipment have all been opened the DS-Lite function, and B4 equipment and AFTR equipment are two stack equipment, and setting up between B4 equipment and the AFTR equipment has DS-Lite tunnel, i.e. IPv4-in-IPv6 tunnel.According to the regulation of DS-Lite relevant criterion or standard, when opening the DS-Lite function, on B4 equipment, need the IPv4 address of configuration interface, B4 equipment and the address of AFTR equipment (also can obtain by the DHCPv6 option IPv6 address of AFTR) etc.; On AFTR equipment, need IPv6 address, private network IPv4 address and the public network IP v4 address etc. of configuration AFTR.Configuration to B4 equipment and AFTR equipment specifically sees also DS-Lite relevant criterion or standard.
Method shown in Figure 3 is applied on the B4 equipment, and with reference to Fig. 3, described method can comprise the steps:
Step 301 receives the IPv4 message that client sends;
Step 302 judges whether there be the session entry corresponding with this IPv4 message in the IPv4 conversational list, if, enter step 304, enter if not step 303;
When receiving the IPv4 message, five-tuple information and IPv4 conversational list according to the IPv4 message mate, the match is successful, then according to the processing policy in the session entry that matches this IPv4 message is processed, it fails to match, after then according to predetermined policy this IPv4 message being processed, in the IPv4 conversational list, increase corresponding list item.
Store IPv4 conversational list and IPv6 conversational list on the B4 equipment, described IPv4 conversational list generates according to the IPv4 message, and the content of list item is the five-tuple information of IPv4 message and to the processing policy of IPv4 message; Described IPv6 conversational list generates according to the IPv6 message, and the content of list item is the five-tuple information of IPv6 message and to the processing policy of IPv6 message.Concrete foundation and the update method of IPv4 conversational list and IPv6 conversational list see also subsequent step.
Step 303, IPv6 address according to B4 equipment and AFTR equipment, described IPv4 message is increased ipv6 header obtain the IPv6 message, described IPv6 message is sent to AFTR equipment by the IPv4-in-IPv6 tunnel in the IPv6 network, and in the IPv4 conversational list, increase the session entry corresponding with described IPv4 message, and, in the IPv6 conversational list, increase the session entry corresponding with described IPv6 message.
When it fails to match, according to predetermined policy this IPv4 message is processed, this predetermined policy can be, this IPv4 message is carried out the IPv6 encapsulation, and send by DS-Lite tunnel (being the IPv4-in-IPv6 tunnel), wherein, the source address of the ipv6 header that described IPv4 message is increased is the IPv6 address of B4 equipment, and destination address is the IPv6 address of AFTR equipment.
Then, need in IPv4 conversational list and IPv6 conversational list, increase session entry.Particularly, for the IPv4 conversational list, increase therein a list item, the content of this list item is the five-tuple information of IPv4 message and to the processing policy of IPv4 message, this processing policy can be, the IPv4 message that receives is carried out IPv6 encapsulation, and the source address of the ipv6 header that described IPv4 message is increased is the IPv6 address of B4 equipment, destination address is the IPv6 address of AFTR equipment.For the IPv6 conversational list, increase therein a list item, the content of this list item is the five-tuple information of IPv6 message and to the processing policy of IPv6 message, this processing policy can be to remove the ipv6 header of the IPv6 message that receives.
Step 304 according to described session entry, increases ipv6 header to described IPv4 message and obtains the IPv6 message, and described IPv6 message is sent to AFTR equipment by the IPv4-in-IPv6 tunnel in the IPv6 network;
When the match is successful, according to the session entry that matches, obtain the processing policy to the IPv4 message, be specially: the IPv4 message that receives is carried out the IPv6 encapsulation, and the source address of the ipv6 header that described IPv4 message is increased is the IPv6 address of B4 equipment, and destination address is the IPv6 address of AFTR equipment.
It more than is the handling process that B4 equipment receives the IPv4 message of client transmission.Handling process when below introducing B4 equipment and receiving the IPv6 message that AFTR equipment sends by the IPv4-in-IPv6 tunnel is specifically as follows:
When receiving the IPv6 message that AFTR equipment sends by the IPv4-in-IPv6 tunnel, from described IPv6 conversational list, obtain the session entry corresponding with described IPv6 message, according to described session entry, the ipv6 header of removing described IPv6 message obtains the IPv4 message, and described IPv4 message repeating is arrived client.
In fact, the IPv6 message that B4 equipment receives from the IPv4-in-IPv6 tunnel is the response message of certain IPv6 message of its transmission, the two belongs to same session, in the IPv6 conversational list, can match corresponding session entry, therefore, can directly process according to the processing policy of this session entry record, as previously mentioned, this processing policy is that the ipv6 header of removing the IPv6 message that receives obtains the IPv4 message.
Corresponding with said method, the embodiment of the invention also provides a kind of B4 equipment, and described B4 equipment can comprise:
The first judge module when being used for receiving the IPv4 message of client transmission, judges whether there be the session entry corresponding with this IPv4 message in the IPv4 conversational list, obtain the first judged result;
The first processing module, be used for when described the first judged result when being, according to described session entry, described IPv4 message is increased ipv6 header obtain the IPv6 message, described IPv6 message is sent to AFTR equipment by the IPv4-in-IPv6 tunnel in the IPv6 network;
The second processing module, be used for when described first when the determination result is NO, IPv6 address according to B4 equipment and AFTR equipment, described IPv4 message is increased ipv6 header obtain the IPv6 message, described IPv6 message is sent to AFTR equipment by described IPv4-in-IPv6 tunnel, and in the IPv4 conversational list, increase the session entry corresponding with described IPv4 message, and, the increase session entry corresponding with described IPv6 message in the IPv6 conversational list.
Further, described B4 equipment can also comprise:
The 3rd processing module, when being used for receiving the IPv6 message that AFTR equipment sends by the IPv4-in-IPv6 tunnel, from described IPv6 conversational list, obtain the session entry corresponding with described IPv6 message, according to described session entry, the ipv6 header of removing described IPv6 message obtains the IPv4 message, and described IPv4 message repeating is arrived client.
Embodiment 2
Fig. 4 shows a kind of method of the IPv4 of realization message passing through IPv 6 network, and the method is applicable to network environment shown in Figure 1.In this network environment, B4 equipment and AFTR equipment have all been opened the DS-Lite function, and B4 equipment and AFTR equipment are two stack equipment, and setting up between B4 equipment and the AFTR equipment has DS-Lite tunnel, i.e. IPv4-in-IPv6 tunnel.According to the regulation of DS-Lite relevant criterion or standard, when opening the DS-Lite function, on B4 equipment, need the IPv4 address of configuration interface, B4 equipment and the address of AFTR equipment (also can obtain by the DHCPv6 option IPv6 address of AFTR) etc.; On AFTR equipment, need IPv6 address, private network IPv4 address and the public network IP v4 address etc. of configuration AFTR.Configuration to B4 equipment and AFTR equipment specifically sees also DS-Lite relevant criterion or standard.
Method shown in Figure 4 is applied on the AFTR equipment, and with reference to Fig. 4, described method can comprise the steps:
Step 401 receives the IPv6 message that B4 equipment sends by the IPv4-in-IPv6 tunnel in the IPv6 network;
Step 402 judges whether there be the session entry corresponding with this IPv6 message in the IPv6 conversational list, if, enter step 404, otherwise, step 403 entered;
(IPv4-in-IPv6 tunnel) is when receiving the IPv6 message from the DS-Lite tunnel, five-tuple information and IPv6 conversational list according to the IPv6 message mate, the match is successful, then according to the processing policy in the session entry that matches this IPv6 message is processed, it fails to match, after then according to predetermined policy this IPv6 message being processed, in the IPv6 conversational list, increase corresponding list item.
Store IPv4 conversational list and IPv6 conversational list on the AFTR equipment, described IPv4 conversational list generates according to the IPv4 message, and the content of list item is the five-tuple information of IPv4 message and to the processing policy of IPv4 message; Described IPv6 conversational list generates according to the IPv6 message, and the content of list item is the five-tuple information of IPv6 message and to the processing policy of IPv6 message.Concrete foundation and the update method of IPv4 conversational list and IPv6 conversational list see also subsequent step.
Step 403, the ipv6 header of removing described IPv6 message obtains the IPv4 message, described IPv4 message is carried out forwarding after the source address conversion, and in the IPv6 conversational list, increase the session entry corresponding with described IPv6 message, and, in the IPv4 conversational list, increase the session entry corresponding with IPv4 message after source address is changed;
When it fails to match, according to predetermined policy this IPv6 message is processed, this predetermined policy can be, be the IPv6 address of this AFTR equipment if find the destination address of this IPv6 message, and this IPv6 message is the IPv4-in-IPv6 message, determine that then need to carry out decapsulation to this IPv6 message obtains the IPv4 message,, needs to remove the ipv6 header of the IPv6 message that receives that is; And, before the IPv4 message that decapsulation is obtained is transmitted, also carry out source NAT, being about to privately owned source IPv4 address transition is publicly-owned IPv4 address.
Then, need in IPv4 conversational list and IPv6 conversational list, increase session entry.Particularly, for the IPv6 conversational list, increase therein a list item, the content of this list item is the five-tuple information of IPv6 message and to the processing policy of IPv6 message, and this processing policy can be to remove the ipv6 header of the IPv6 message that receives.For the IPv4 conversational list, increase therein a list item, the content of this list item is the five-tuple information of the IPv4 message after the source address conversion and to the processing policy of IPv4 message, this processing policy can be, the IPv4 message that receives is carried out the IPv6 encapsulation, and the source address of the ipv6 header that described IPv4 message is increased is the IPv6 address of AFTR equipment, and destination address is the IPv6 address of B4 equipment.
Step 404, according to described session entry, the ipv6 header of removing described IPv6 message obtains the IPv4 message, and described IPv4 message is carried out forwarding after the source address conversion.
When the match is successful, according to the session entry that matches, obtain the processing policy to the IPv6 message, be specially: the IPv6 message that receives is carried out decapsulation, namely remove the ipv6 header of described IPv6 message, obtain the IPv4 message, and the source address of IPv4 message is changed.
More than be the handling process of AFTR equipment when receiving the IPv6 message that B4 equipment sends by the IPv4-in-IPv6 tunnel.Handling process when below introducing AFTR equipment and receiving the IPv4 message from the IPv4 network is specifically as follows:
When receiving the IPv4 message, from described IPv4 conversational list, obtain the session entry corresponding with described IPv4 message, according to described session entry, described IPv4 message is carried out the destination address conversion and increase ipv6 header obtaining the IPv6 message, described IPv6 message is sent to B4 equipment by the IPv4-in-IPv6 tunnel.
In fact, the IPv4 message that AFTR equipment receives from the IPv4 network is the response message of certain IPv4 message of its transmission, the two belongs to same session, in the IPv4 conversational list, can match corresponding session entry, therefore, can directly process according to the processing policy of this session entry record, as previously mentioned, this processing policy is, after the IPv4 message that receives carried out destination address conversion, carry out IPv6 encapsulation, and the source address of the ipv6 header that described IPv4 message is increased is the IPv6 address of AFTR equipment, destination address is the IPv6 address of B4 equipment.
Corresponding with said method, the embodiment of the invention also provides a kind of AFTR equipment, and described AFTR equipment can comprise:
The second judge module when being used for receiving the IPv6 message that the IPv4-in-IPv6 tunnel of B4 equipment by the IPv6 network send, judges whether there be the session entry corresponding with this IPv6 message in the IPv6 conversational list, obtain the second judged result;
The manages module everywhere, be used for when described the second judged result when being, according to described session entry, the ipv6 header of removing described IPv6 message obtains the IPv4 message, and described IPv4 message is carried out forwarding after source address is changed;
The 5th processing module, be used for when described second when the determination result is NO, the ipv6 header of removing described IPv6 message obtains the IPv4 message, described IPv4 message is carried out forwarding after the source address conversion, and in the IPv6 conversational list, increase the session entry corresponding with described IPv6 message, and, in the IPv4 conversational list, increase the session entry corresponding with IPv4 message after source address is changed.
Further, described AFTR equipment can also comprise:
The 6th processing module, when being used for receiving the IPv4 message, from described IPv4 conversational list, obtain the session entry corresponding with described IPv4 message, according to described session entry, described IPv4 message is carried out the destination address conversion and increase ipv6 header obtaining the IPv6 message, described IPv6 message is sent to B4 equipment by the IPv4-in-IPv6 tunnel.
In sum, the present invention depends on session and comes matching strategy, provides list item for turning soon simultaneously.After the success of message matching strategy, message afterwards will be walked soon to turn according to session entry, and performance is higher, and speed is faster.
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of making, is equal to replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (8)

1. a method that realizes IPv4 message passing through IPv 6 network is applied to it is characterized in that on the B4 equipment, and described method comprises:
When receiving the IPv4 message of client transmission, judge whether there be the session entry corresponding with this IPv4 message in the IPv4 conversational list, obtain the first judged result;
When described the first judged result when being, according to described session entry, described IPv4 message is increased ipv6 header obtains the IPv6 message, described IPv6 message is sent to AFTR equipment by the IPv4-in-IPv6 tunnel in the IPv6 network;
When described first when the determination result is NO, IPv6 address according to B4 equipment and AFTR equipment, described IPv4 message is increased ipv6 header obtain the IPv6 message, described IPv6 message is sent to AFTR equipment by described IPv4-in-IPv6 tunnel, and in the IPv4 conversational list, increase the session entry corresponding with described IPv4 message, and, in the IPv6 conversational list, increase the session entry corresponding with described IPv6 message.
2. the method for claim 1 is characterized in that, also comprises:
When receiving the IPv6 message that AFTR equipment sends by the IPv4-in-IPv6 tunnel, from described IPv6 conversational list, obtain the session entry corresponding with described IPv6 message, according to described session entry, the ipv6 header of removing described IPv6 message obtains the IPv4 message, and described IPv4 message repeating is arrived client.
3. a method that realizes IPv4 message passing through IPv 6 network is applied to it is characterized in that on the AFTR equipment, and described method comprises:
When receiving the IPv6 message that B4 equipment sends by the IPv4-in-IPv6 tunnel in the IPv6 network, judge whether there be the session entry corresponding with this IPv6 message in the IPv6 conversational list, obtain the second judged result;
When described the second judged result when being, according to described session entry, the ipv6 header of removing described IPv6 message obtains the IPv4 message, and described IPv4 message is carried out forwarding after the source address conversion;
When described second when the determination result is NO, the ipv6 header of removing described IPv6 message obtains the IPv4 message, described IPv4 message is carried out forwarding after the source address conversion, and in the IPv6 conversational list, increase the session entry corresponding with described IPv6 message, and, in the IPv4 conversational list, increase the session entry corresponding with IPv4 message after source address is changed.
4. method as claimed in claim 3 is characterized in that, also comprises:
When receiving the IPv4 message, from described IPv4 conversational list, obtain the session entry corresponding with described IPv4 message, according to described session entry, described IPv4 message is carried out the destination address conversion and increase ipv6 header obtaining the IPv6 message, described IPv6 message is sent to B4 equipment by the IPv4-in-IPv6 tunnel.
5. a B4 equipment is characterized in that, comprising:
The first judge module when being used for receiving the IPv4 message of client transmission, judges whether there be the session entry corresponding with this IPv4 message in the IPv4 conversational list, obtain the first judged result;
The first processing module, be used for when described the first judged result when being, according to described session entry, described IPv4 message is increased ipv6 header obtain the IPv6 message, described IPv6 message is sent to AFTR equipment by the IPv4-in-IPv6 tunnel in the IPv6 network;
The second processing module, be used for when described first when the determination result is NO, IPv6 address according to B4 equipment and AFTR equipment, described IPv4 message is increased ipv6 header obtain the IPv6 message, described IPv6 message is sent to AFTR equipment by described IPv4-in-IPv6 tunnel, and in the IPv4 conversational list, increase the session entry corresponding with described IPv4 message, and, the increase session entry corresponding with described IPv6 message in the IPv6 conversational list.
6. B4 equipment as claimed in claim 5 is characterized in that, also comprises:
The 3rd processing module, when being used for receiving the IPv6 message that AFTR equipment sends by the IPv4-in-IPv6 tunnel, from described IPv6 conversational list, obtain the session entry corresponding with described IPv6 message, according to described session entry, the ipv6 header of removing described IPv6 message obtains the IPv4 message, and described IPv4 message repeating is arrived client.
7. an AFTR equipment is characterized in that, comprising:
The second judge module when being used for receiving the IPv6 message that the IPv4-in-IPv6 tunnel of B4 equipment by the IPv6 network send, judges whether there be the session entry corresponding with this IPv6 message in the IPv6 conversational list, obtain the second judged result;
The manages module everywhere, be used for when described the second judged result when being, according to described session entry, the ipv6 header of removing described IPv6 message obtains the IPv4 message, and described IPv4 message is carried out forwarding after source address is changed;
The 5th processing module, be used for when described second when the determination result is NO, the ipv6 header of removing described IPv6 message obtains the IPv4 message, described IPv4 message is carried out forwarding after the source address conversion, and in the IPv6 conversational list, increase the session entry corresponding with described IPv6 message, and, in the IPv4 conversational list, increase the session entry corresponding with IPv4 message after source address is changed.
8. AFTR equipment as claimed in claim 7 is characterized in that, also comprises:
The 6th processing module, when being used for receiving the IPv4 message, from described IPv4 conversational list, obtain the session entry corresponding with described IPv4 message, according to described session entry, described IPv4 message is carried out the destination address conversion and increase ipv6 header obtaining the IPv6 message, described IPv6 message is sent to B4 equipment by the IPv4-in-IPv6 tunnel.
CN201210477060.3A 2012-11-20 2012-11-20 A kind of method and apparatus realizing IPv4 message passing through IPv 6 network Active CN102938736B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210477060.3A CN102938736B (en) 2012-11-20 2012-11-20 A kind of method and apparatus realizing IPv4 message passing through IPv 6 network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210477060.3A CN102938736B (en) 2012-11-20 2012-11-20 A kind of method and apparatus realizing IPv4 message passing through IPv 6 network

Publications (2)

Publication Number Publication Date
CN102938736A true CN102938736A (en) 2013-02-20
CN102938736B CN102938736B (en) 2016-06-08

Family

ID=47697606

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210477060.3A Active CN102938736B (en) 2012-11-20 2012-11-20 A kind of method and apparatus realizing IPv4 message passing through IPv 6 network

Country Status (1)

Country Link
CN (1) CN102938736B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103236964A (en) * 2013-05-07 2013-08-07 烽火通信科技股份有限公司 Linux-based dual-stack lite (DS-lite) implementation method and customer premise equipment (CPE) access equipment thereof
CN104333561A (en) * 2014-11-21 2015-02-04 迈普通信技术股份有限公司 Tunnel certification method and device
CN104486227A (en) * 2014-12-11 2015-04-01 武汉绿色网络信息服务有限责任公司 System and method for achieving IPv6 flexible arrangement through VxLAN technique
CN104579970A (en) * 2013-10-29 2015-04-29 国家计算机网络与信息安全管理中心 Strategy matching method and device of IPv6 message
CN104717141A (en) * 2013-12-13 2015-06-17 中国电信股份有限公司 Method and system for achieving ICP differentiated service assurance
CN105282102A (en) * 2014-06-30 2016-01-27 中国电信股份有限公司 Data stream processing method and system, and IPv6 data processing equipment
CN105939316A (en) * 2015-10-26 2016-09-14 杭州迪普科技有限公司 Message forwarding method and device
CN106657120A (en) * 2016-12-31 2017-05-10 王旸 WIFI security system architecture
WO2020135479A1 (en) * 2018-12-25 2020-07-02 深圳市中兴微电子技术有限公司 Ipv4-in-ipv6 ds lite data stream forwarding method, system, terminal and medium
WO2020132982A1 (en) * 2018-12-26 2020-07-02 华为技术有限公司 Data transmission method and routing device
WO2022051160A1 (en) * 2020-09-02 2022-03-10 Arris Enterprises Llc Method, device, gateway, and computer-readable medium for routing packets

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1949776A (en) * 2006-11-10 2007-04-18 清华大学 4 over 6 tunnel packing and depacking method for extending boundary gateway protocol
CN101247308A (en) * 2007-02-13 2008-08-20 上海亿人通信终端有限公司 Tunnel packet processing method for implementing IPv6 traversing IPv4 based on network processor
WO2009018658A1 (en) * 2007-08-03 2009-02-12 Hexago Device, system and method for automatic ipv4 provisioning in a local area network connected to an ipv6 network
CN102170395A (en) * 2011-04-21 2011-08-31 中兴通讯股份有限公司 Data transmission method and network equipment
CN102546362A (en) * 2010-12-20 2012-07-04 中兴通讯股份有限公司 Message processing method, message processing system and customer premises equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1949776A (en) * 2006-11-10 2007-04-18 清华大学 4 over 6 tunnel packing and depacking method for extending boundary gateway protocol
CN101247308A (en) * 2007-02-13 2008-08-20 上海亿人通信终端有限公司 Tunnel packet processing method for implementing IPv6 traversing IPv4 based on network processor
WO2009018658A1 (en) * 2007-08-03 2009-02-12 Hexago Device, system and method for automatic ipv4 provisioning in a local area network connected to an ipv6 network
CN102546362A (en) * 2010-12-20 2012-07-04 中兴通讯股份有限公司 Message processing method, message processing system and customer premises equipment
CN102170395A (en) * 2011-04-21 2011-08-31 中兴通讯股份有限公司 Data transmission method and network equipment

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
A. DURAND 等: ""Dual-Stack Lite Broadband Deployments Following IPv4 Exhaustion"", 《RFC 6333》, 31 August 2011 (2011-08-31), pages 1 - 32 *
彭磊等: ""基于路由器的IPv4 over IPv6隧道设计"", 《2010APCID》, 1 December 2010 (2010-12-01), pages 121 - 124 *
李淼等: ""IPv6过渡技术分析于评述"", 《广西大学学报 自然科学版》, vol. 36, no. 1, 31 October 2011 (2011-10-31), pages 210 - 217 *

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103236964B (en) * 2013-05-07 2015-09-16 烽火通信科技股份有限公司 Based on DS-Lite implementation method and the CPE access device thereof of Linux
CN103236964A (en) * 2013-05-07 2013-08-07 烽火通信科技股份有限公司 Linux-based dual-stack lite (DS-lite) implementation method and customer premise equipment (CPE) access equipment thereof
CN104579970A (en) * 2013-10-29 2015-04-29 国家计算机网络与信息安全管理中心 Strategy matching method and device of IPv6 message
CN104717141B (en) * 2013-12-13 2018-02-13 中国电信股份有限公司 Realize the method and system of ICP differentiated service guarantees
CN104717141A (en) * 2013-12-13 2015-06-17 中国电信股份有限公司 Method and system for achieving ICP differentiated service assurance
CN105282102A (en) * 2014-06-30 2016-01-27 中国电信股份有限公司 Data stream processing method and system, and IPv6 data processing equipment
CN105282102B (en) * 2014-06-30 2019-03-15 中国电信股份有限公司 Data flow processing method and system and IPv6 data processing equipment
CN104333561A (en) * 2014-11-21 2015-02-04 迈普通信技术股份有限公司 Tunnel certification method and device
CN104486227A (en) * 2014-12-11 2015-04-01 武汉绿色网络信息服务有限责任公司 System and method for achieving IPv6 flexible arrangement through VxLAN technique
CN104486227B (en) * 2014-12-11 2017-10-13 武汉绿色网络信息服务有限责任公司 The system and method for IPv6 flexible deployments is realized by VxLAN technologies
CN105939316A (en) * 2015-10-26 2016-09-14 杭州迪普科技有限公司 Message forwarding method and device
CN106657120A (en) * 2016-12-31 2017-05-10 王旸 WIFI security system architecture
WO2020135479A1 (en) * 2018-12-25 2020-07-02 深圳市中兴微电子技术有限公司 Ipv4-in-ipv6 ds lite data stream forwarding method, system, terminal and medium
WO2020132982A1 (en) * 2018-12-26 2020-07-02 华为技术有限公司 Data transmission method and routing device
WO2022051160A1 (en) * 2020-09-02 2022-03-10 Arris Enterprises Llc Method, device, gateway, and computer-readable medium for routing packets

Also Published As

Publication number Publication date
CN102938736B (en) 2016-06-08

Similar Documents

Publication Publication Date Title
CN102938736B (en) A kind of method and apparatus realizing IPv4 message passing through IPv 6 network
JP3494610B2 (en) IP router device with TCP termination function and medium
CN102347993B (en) Network communication method and equipment
US9397940B2 (en) System and method for providing a translation mechanism in a network environment
EP2288083B1 (en) Communication device having VPN accomodation function
CN102970386B (en) A kind of IPv6 of realization message passes through the method and apparatus of IPv4 network
CN104869065B (en) Data message processing method and device
CN102739810B (en) The method and apparatus of IPv4CP/SP and IPv6 network interworking
CN104734963A (en) IPv4 and IPv6 network interconnection method based on SDN
CN102710485B (en) Transparent proxy method and proxy server
CN102546407B (en) File transmitting method and device
CN102546362A (en) Message processing method, message processing system and customer premises equipment
CN103236964A (en) Linux-based dual-stack lite (DS-lite) implementation method and customer premise equipment (CPE) access equipment thereof
CN101304387B (en) Method for implementing tunnel conversion of bi-layer tunnel protocol
JP6386166B2 (en) Translation method and apparatus between IPv4 and IPv6
Punithavathani et al. IPv4/IPv6 transition mechanisms
Jain et al. Performance Comparison Between Different Tunneling Techniques Using Different Routing Protocols
CN110752989A (en) Method and device for forwarding east-west traffic
Cui et al. State management in IPv4 to IPv6 transition
CN104363176A (en) Message control method and equipment
WO2015014167A1 (en) Method for processing raw ip packet, and corresponding apparatus
WO2016078235A1 (en) Network translation realization method and apparatus for transiting to ipv6 on the basis of pant
Isa et al. Design and Comparison Migration Between IPv4 and IPv6 Transition Techniques
EL KHADIRI et al. PERFORMANCE AND SCALABILITY OF IPV4/IPV6 TRANSITION MECHANISMS FOR REAL-TIME APPLICATIONS
CN117097587A (en) Method and equipment for two-layer interconnection of remote Ethernet

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Binjiang District and Hangzhou city in Zhejiang Province Road 310051 No. 68 in the 6 storey building

Patentee after: Hangzhou Dipu Polytron Technologies Inc

Address before: Binjiang District and Hangzhou city in Zhejiang Province Road 310051 No. 68 in the 6 storey building

Patentee before: Hangzhou Dipu Technology Co., Ltd.