CN102970386B - A kind of IPv6 of realization message passes through the method and apparatus of IPv4 network - Google Patents
A kind of IPv6 of realization message passes through the method and apparatus of IPv4 network Download PDFInfo
- Publication number
- CN102970386B CN102970386B CN201210461711.XA CN201210461711A CN102970386B CN 102970386 B CN102970386 B CN 102970386B CN 201210461711 A CN201210461711 A CN 201210461711A CN 102970386 B CN102970386 B CN 102970386B
- Authority
- CN
- China
- Prior art keywords
- ipv4
- message
- ipv6
- 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.)
- Active
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides the method and apparatus that a kind of IPv6 of realization message passes through IPv4 network, described method comprises: when receiving the IPv6 message of client transmission, judge whether there is the session entry corresponding with this IPv6 message in IPv6 conversational list, obtain the first judged result; When described first judged result is for being, according to described session entry, IPV4 header being increased to described IPv6 message and obtains IPv4 message, described IPv4 message is sent to BR equipment by the IPv6-in-IPv4 tunnel in IPv4 network; When described first judged result is no, according to the IPv4 address of CE equipment and BR equipment, IPV4 header is increased to described IPv6 message and obtains IPv4 message, described IPv4 message is sent to BR equipment by described IPv6-in-IPv4 tunnel, and the session entry corresponding with described IPv6 message is increased in IPv6 conversational list, and, in IPv4 conversational list, increase the session entry corresponding with described IPv4 message.According to the present invention, the Message processing efficiency in 6rd can be improved.
Description
Technical field
The present invention relates to network communication technology field, particularly relate to the method and apparatus that a kind of IPv6 of realization message passes through IPv4 network.
Background technology
Along with Internet technology develop rapidly in the world, the demand of IP address is become very urgent.Because IPv6 and IPv4 is incompatible, therefore under IPv4 accounts for leading network environment, IPv4 seamlessly transits to IPv6 the key becoming IPv6 success.Transitional technology up-to-date at present has 6rd, DS-lite, A+P, NAT64 and PNAT etc.
6rd(IPv6rapiddeploymentonIPv4infrastructures, IPv6 rapid deployment) be a kind of can fast for terminal use provides the method for IPv6 business, provide thinking for operator introduces IPv6 service at the IPv6 transition initial stage.Fig. 1 is the basic networking schematic diagram of 6rd, with reference to Fig. 1, a complete 6rd territory is by a series of customer edge devices (CustomerEdge, and edge router (BorderRouter CE), BR) form, 6RDCE connects isolated IPv6 site and IPv4 network, and 6RDBR is positioned in the middle of IPv4 network and IPv6 network, is responsible for relay forwarding message between 6RD territory and other IPv6 territories.Pass through 6RD tunneling communication information between CE in IPv4 network and between CE and BR, wherein, described 6RD tunnel is IPv6-in-IPv4 tunnel.
Fig. 2 is the Message processing flow chart in 6rd, as shown in Figure 2, the scheme realizing 6rd at present mainly adopts tunneling technique to realize, need to create virtual interface on CE equipment and BR equipment, after message arrival equipment, need to look into route, carry out the operation added IPV4 header or remove ipv6 header after being routed to virtual interface, the new message of generation sends after looking into route again.Visible, the 6rd that existing scheme realizes, CE equipment or BR equipment need to carry out looking into routing operations twice to each message, and the treatment effeciency of message is not high.
Summary of the invention
In view of this, the object of this invention is to provide the method and apparatus that a kind of IPv6 of realization message passes through IPv4 network, the Message processing efficiency in 6rd can be improved.
For achieving the above object, the invention provides technical scheme as follows:
Realize the method that IPv6 message passes through IPv4 network, be applied on CE equipment, described method comprises:
When receiving the IPv6 message of client transmission, judge whether there is the session entry corresponding with this IPv6 message in IPv6 conversational list, obtain the first judged result;
When described first judged result is for being, according to described session entry, IPV4 header being increased to described IPv6 message and obtains IPv4 message, described IPv4 message is sent to BR equipment by the IPv6-in-IPv4 tunnel in IPv4 network;
When described first judged result is no, according to the IPv4 address of CE equipment and BR equipment, IPV4 header is increased to described IPv6 message and obtains IPv4 message, described IPv4 message is sent to BR equipment by described IPv6-in-IPv4 tunnel, and the session entry corresponding with described IPv6 message is increased in IPv6 conversational list, and, in IPv4 conversational list, increase the session entry corresponding with described IPv4 message.
Realize the method that IPv6 message passes through IPv4 network, be applied on BR equipment, comprise:
When receiving the IPv4 message that CE equipment sent by IPv6-in-IPv4 tunnel in IPv4 network, judge whether there is the session entry corresponding with this IPv4 message in IPv4 conversational list, obtain the second judged result;
When described second judged result is for being, according to described session entry, the IPV4 header removing described IPv4 message obtains IPv6 message, is gone out by described IPv6 message repeating;
When described second judged result is no, the IPV4 header removing described IPv4 message obtains IPv6 message, described IPv6 message repeating is gone out, and the session entry corresponding with described IPv4 message is increased in IPv4 conversational list, and, in IPv6 conversational list, increase the session entry corresponding with described IPv6 message.
A kind of CE equipment, comprising:
First judge module, for receive client send IPv6 message time, judge whether there is the session entry corresponding with this IPv6 message in IPv6 conversational list, obtain the first judged result;
First processing module, for when described first judged result is for being, according to described session entry, increasing IPV4 header to described IPv6 message and obtaining IPv4 message, described IPv4 message is sent to BR equipment by the IPv6-in-IPv4 tunnel in IPv4 network;
Second processing module, for when described first judged result is no, according to the IPv4 address of CE equipment and BR equipment, IPV4 header is increased to described IPv6 message and obtains IPv4 message, described IPv4 message is sent to BR equipment by described IPv6-in-IPv4 tunnel, and the session entry corresponding with described IPv6 message is increased in IPv6 conversational list, and, in IPv4 conversational list, increase the session entry corresponding with described IPv4 message.
A kind of BR equipment, comprising:
Second judge module, during for receiving IPv4 message that CE equipment sent by IPv6-in-IPv4 tunnel in IPv4 network, judging whether there is the session entry corresponding with this IPv4 message in IPv4 conversational list, obtaining the second judged result;
4th processing module, for when described second judged result is for being, according to described session entry, the IPV4 header removing described IPv4 message obtains IPv6 message, is gone out by described IPv6 message repeating;
5th processing module, for when described second judged result is no, the IPV4 header removing described IPv4 message obtains IPv6 message, described IPv6 message repeating is gone out, and the session entry corresponding with described IPv4 message is increased in IPv4 conversational list, and, in IPv6 conversational list, increase the session entry corresponding with described IPv6 message.
Compared with prior art, the invention provides the scheme that a kind of tactful mode realizes 6rd, message is without virtual interface but be combined with session and fast phase inversion, so, achieves and forwards the high efficiency of message.
Accompanying drawing explanation
Fig. 1 is the basic networking schematic diagram of 6rd;
Fig. 2 is the Message processing flow chart in 6rd;
Fig. 3 be the embodiment of the present invention 1 realize the method flow diagram that IPv6 message passes through IPv4 network;
Fig. 4 be the embodiment of the present invention 2 realize the method flow diagram that IPv6 message passes through IPv4 network.
Embodiment
Describe the present invention below in conjunction with accompanying drawing.
On CE equipment and BR equipment, virtual interface is created for the needs realizing 6rd existence in prior art, and each message needs to carry out looking into routing operations twice on equipment, the problem that Message processing efficiency is not high, the invention provides the scheme that a kind of tactful mode realizes 6rd, message is without virtual interface but be combined with session and fast phase inversion, so, achieve the high efficiency of message is forwarded.
Embodiment 1
Fig. 3 shows a kind of method that the IPv6 of realization message passes through IPv4 network, and the method is applicable to the network environment shown in Fig. 1.In this network environment, CE equipment and BR equipment all open 6rd function, and CE equipment and BR equipment are set up before being two stack equipment CE equipment and BR equipment has 6rd tunnel, i.e. IPv6-in-IPv4 tunnel.According to the regulation of 6rd relevant criterion or specification, when opening 6rd function, network provider (InternetServiceProvider, ISP) following parameter is distributed to CE equipment: the IPv4 address of CE and 6rd parameter, wherein, 6rd parameter comprises: the general prefix length of 6rd territory IPv4,6rd territory IPv4 common suffixes length, 6rd prefix, 6rd prefix length, 6rdBRIPv4 address.Wherein, CE equipment can represent prefix (being embedded with the IPv4 address of CE equipment in this prefix) according to the IPv4 address computation synthesis 6rd of 6rd prefix and CE equipment, when for client distributing IP v6 address, uses this 6rd to represent prefix.6rd relevant criterion or specification are specifically referred to the configuration of BR equipment.
Method shown in Fig. 3 is applied on CE equipment, and with reference to Fig. 3, described method can comprise the steps:
Step 301, receives the IPv6 message that client sends;
Step 302, judges whether there is the session entry corresponding with this IPv6 message in IPv6 conversational list, if so, enters step 304, enter step 303 if not;
When receiving IPv6 message, five-tuple information according to IPv6 message is mated with IPv6 conversational list, the match is successful, then according to the processing policy in the session entry matched, this IPv6 message is processed, it fails to match, after then this IPv6 message being processed according to predetermined policy, in IPv6 conversational list, increase corresponding list item.
CE equipment stores IPv4 conversational list and IPv6 conversational list, described IPv6 conversational list generates according to IPv6 message, and the content of list item is the five-tuple information of IPv6 message and the processing policy to IPv6 message; Described IPv4 conversational list generates according to IPv4 message, and the content of list item is the five-tuple information of IPv4 message and the processing policy to IPv4 message.Concrete foundation and the update method of IPv4 conversational list and IPv6 conversational list refer to subsequent step.
Step 303, according to the IPv4 address of CE equipment and BR equipment, IPV4 header is increased to described IPv6 message and obtains IPv4 message, described IPv4 message is sent to BR equipment by described IPv6-in-IPv4 tunnel, and the session entry corresponding with described IPv6 message is increased in IPv6 conversational list, and, in IPv4 conversational list, increase the session entry corresponding with described IPv4 message.
When it fails to match, according to predetermined policy, this IPv6 message is processed, this predetermined policy can be, if find to be embedded with IPv4 address in this IPv6 message, and this IPv4 address is the IPv4 address of this CE equipment, then determine to need to carry out IPv4 encapsulation to this IPv6 message, and sent by 6rd tunnel (i.e. IPv6-in-IPv4 tunnel), wherein, be the IPv4 address of CE equipment to the source address of the IPV4 header that described IPv6 message increases, destination address is the IPv4 address of BR equipment.
Then, need to increase session entry in IPv4 conversational list and IPv6 conversational list.Particularly, for IPv6 conversational list, increase a list item wherein, the content of this list item is the five-tuple information of IPv6 message and the processing policy to IPv6 message, this processing policy can be, carry out IPv4 encapsulation to the IPv6 message received, and be the IPv4 address of CE equipment to the source address of the IPV4 header that described IPv6 message increases, destination address is the IPv4 address of BR equipment.For IPv4 conversational list, increase a list item wherein, the content of this list item is the five-tuple information of IPv4 message and the processing policy to IPv4 message, and this processing policy can be, removes the IPV4 header of the IPv4 message received.
Step 304, according to described session entry, increases IPV4 header to described IPv6 message and obtains IPv4 message, described IPv4 message is sent to BR equipment by the IPv6-in-IPv4 tunnel in IPv4 network;
When the match is successful, according to the session entry matched, obtain the processing policy to IPv6 message, be specially: IPv4 encapsulation is carried out to the IPv6 message received, and be the IPv4 address of CE equipment to the source address of the IPV4 header that described IPv6 message increases, destination address is the IPv4 address of BR equipment.
It is more than the handling process that CE equipment receives the IPv6 message that client sends.Below introduce handling process when CE equipment receives the IPv4 message that BR equipment sent by IPv6-in-IPv4 tunnel, be specifically as follows:
When receiving the IPv4 message that BR equipment sent by IPv6-in-IPv4 tunnel, the session entry corresponding with described IPv4 message is obtained from described IPv4 conversational list, according to described session entry, the IPV4 header removing described IPv4 message obtains IPv6 message, and by described IPv6 message repeating to client.
In fact, the IPv4 message that CE equipment receives from IPv6-in-IPv4 tunnel is the response message of certain IPv4 message that it sends, the two belongs to same session, corresponding session entry can be matched in IPv4 conversational list, therefore, can directly process according to the processing policy of this session entry record, as previously mentioned, this processing policy is, the IPV4 header removing the IPv4 message received obtains IPv6 message.
Corresponding with said method, the embodiment of the present invention also provides a kind of CE equipment, and described CE equipment can comprise:
First judge module, for receive client send IPv6 message time, judge whether there is the session entry corresponding with this IPv6 message in IPv6 conversational list, obtain the first judged result;
First processing module, for when described first judged result is for being, according to described session entry, increasing IPV4 header to described IPv6 message and obtaining IPv4 message, described IPv4 message is sent to BR equipment by the IPv6-in-IPv4 tunnel in IPv4 network;
Second processing module, for when described first judged result is no, according to the IPv4 address of CE equipment and BR equipment, IPV4 header is increased to described IPv6 message and obtains IPv4 message, described IPv4 message is sent to BR equipment by described IPv6-in-IPv4 tunnel, and the session entry corresponding with described IPv6 message is increased in IPv6 conversational list, and, in IPv4 conversational list, increase the session entry corresponding with described IPv4 message.
Further, described CE equipment can also comprise:
3rd processing module, during for receiving IPv4 message that BR equipment sent by IPv6-in-IPv4 tunnel, the session entry corresponding with described IPv4 message is obtained from described IPv4 conversational list, according to described session entry, the IPV4 header removing described IPv4 message obtains IPv6 message, and by described IPv6 message repeating to client.
Embodiment 2
Fig. 4 shows a kind of method that the IPv6 of realization message passes through IPv4 network, and the method is applicable to the network environment shown in Fig. 1.In this network environment, CE equipment and BR equipment all open 6rd function, and CE equipment and BR equipment are two stack equipment, and setting up before CE equipment and BR equipment has 6rd tunnel, i.e. IPv6-in-IPv4 tunnel.6rd relevant criterion or specification are specifically referred to the configuration of BR equipment.
Method shown in Fig. 4 is applied on BR equipment, and with reference to Fig. 4, described method can comprise the steps:
Step 401, receives the IPv4 message that CE equipment is sent by the IPv6-in-IPv4 tunnel in IPv4 network;
Step 402, judges whether there is the session entry corresponding with this IPv4 message in IPv4 conversational list, if so, enters step 404, otherwise, enter step 403;
When receiving IPv4 message from 6rd tunnel (IPv6-in-IPv4 tunnel), five-tuple information according to IPv4 message is mated with IPv4 conversational list, the match is successful, then according to the processing policy in the session entry matched, this IPv4 message is processed, it fails to match, after then this IPv4 message being processed according to predetermined policy, in IPv4 conversational list, increase corresponding list item.
BR equipment stores IPv4 conversational list and IPv6 conversational list, described IPv4 conversational list generates according to IPv4 message, and the content of list item is the five-tuple information of IPv4 message and the processing policy to IPv4 message; Described IPv6 conversational list generates according to IPv6 message, and the content of list item is the five-tuple information of IPv6 message and the processing policy to IPv6 message.Concrete foundation and the update method of IPv4 conversational list and IPv6 conversational list refer to subsequent step.
Step 403, the IPV4 header removing described IPv4 message obtains IPv6 message, is gone out by described IPv6 message repeating, and increases the session entry corresponding with described IPv4 message in IPv4 conversational list, and, in 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, if find that the destination address of this IPv4 message is the IPv4 address of this BR equipment, and this IPv4 message is IPv6-in-IPv4 message, then determine that needing to carry out decapsulation to this IPv4 message obtains IPv6 message, that is, need the IPV4 header removing the IPv4 message received.
Then, need to increase session entry in IPv4 conversational list and IPv6 conversational list.Particularly, for IPv4 conversational list, increase a list item wherein, the content of this list item is the five-tuple information of IPv4 message and the processing policy to IPv4 message, and this processing policy can be, removes the IPV4 header of the IPv4 message received.For IPv6 conversational list, increase a list item wherein, the content of this list item is the five-tuple information of IPv6 message and the processing policy to IPv6 message, this processing policy can be, IPv4 encapsulation is carried out to the IPv6 message received, and be the IPv4 address of BR equipment to the source address of the IPV4 header that described IPv6 message increases, destination address is the IPv4 address of CE equipment.
Step 404, according to described session entry, the IPV4 header removing described IPv4 message obtains IPv6 message, is gone out by described IPv6 message repeating.
When the match is successful, according to the session entry matched, obtain the processing policy to IPv4 message, be specially: decapsulation is carried out to the IPv4 message received, namely remove the IPV4 header of described IPv4 message, obtain IPv6 message.
More than the handling process of BR equipment when receiving the IPv4 message that CE equipment sent by IPv6-in-IPv4 tunnel.Handling process when below introducing BR equipment from IPv6 network reception to IPv6 message, is specifically as follows:
When receiving IPv6 message, the session entry corresponding with described IPv6 message is obtained from described IPv6 conversational list, according to described session entry, IPV4 header is increased to described IPv6 message and obtains IPv4 message, described IPv4 message is sent to CE equipment by IPv6-in-IPv4 tunnel.
In fact, BR equipment from IPv6 network reception to IPv6 message be the response message of certain IPv6 message that it sends, the two belongs to same session, corresponding session entry can be matched in IPv6 conversational list, therefore, can directly process according to the processing policy of this session entry record, as previously mentioned, this processing policy is, IPv4 encapsulation is carried out to the IPv6 message received, and be the IPv4 address of BR equipment to the source address of the IPV4 header that described IPv6 message increases, destination address is the IPv4 address of CE equipment.
Corresponding with said method, the embodiment of the present invention also provides a kind of BR equipment, and described BR equipment can comprise:
Second judge module, during for receiving IPv4 message that CE equipment sent by IPv6-in-IPv4 tunnel in IPv4 network, judging whether there is the session entry corresponding with this IPv4 message in IPv4 conversational list, obtaining the second judged result;
4th processing module, for when described second judged result is for being, according to described session entry, the IPV4 header removing described IPv4 message obtains IPv6 message, is gone out by described IPv6 message repeating;
5th processing module, for when described second judged result is no, the IPV4 header removing described IPv4 message obtains IPv6 message, described IPv6 message repeating is gone out, and the session entry corresponding with described IPv4 message is increased in IPv4 conversational list, and, in IPv6 conversational list, increase the session entry corresponding with described IPv6 message.
Further, described BR equipment can also comprise:
6th processing module, during for receiving IPv6 message, the session entry corresponding with described IPv6 message is obtained from described IPv6 conversational list, according to described session entry, IPV4 header is increased to described IPv6 message and obtains IPv4 message, described IPv4 message is sent to CE equipment by IPv6-in-IPv4 tunnel.
In sum, the present invention depends on session and carrys out matching strategy, provides list item for turning soon simultaneously.After the success of message matching strategy, message afterwards will walk fast turning according to session entry, performance is higher, and speed is faster.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within the scope of protection of the invention.
Claims (8)
1. realize the method that IPv6 message passes through IPv4 network, be applied on CE equipment, it is characterized in that, described method comprises:
When receiving the IPv6 message of client transmission, judge whether there is the session entry corresponding with this IPv6 message in IPv6 conversational list, obtain the first judged result;
When described first judged result is for being, according to described session entry, IPV4 header being increased to described IPv6 message and obtains IPv4 message, described IPv4 message is sent to BR equipment by the IPv6-in-IPv4 tunnel in IPv4 network;
When described first judged result is no, and when determining to carry out IPv4 encapsulation to described IPv6 message according to predetermined policy, according to the IPv4 address of CE equipment and BR equipment, IPV4 header is increased to described IPv6 message and obtains IPv4 message, described IPv4 message is sent to BR equipment by described IPv6-in-IPv4 tunnel, and the session entry corresponding with described IPv6 message is increased in IPv6 conversational list, and, the session entry corresponding with described IPv4 message is increased in IPv4 conversational list, wherein, the session entry content that described IPv6 message is corresponding is IPv6 five-tuple information and the processing policy to IPv6 message, the session entry content that described IPv4 message is corresponding is IPv4 five-tuple information and the processing policy to IPv4 message, described predetermined policy is, if find to be embedded with IPv4 address in this IPv6 message, and this IPv4 address is when being the IPv4 address of this CE equipment, IPv4 encapsulation is carried out to this IPv6 message.
2. the method for claim 1, is characterized in that, also comprises:
When receiving the IPv4 message that BR equipment sent by IPv6-in-IPv4 tunnel, the session entry corresponding with described IPv4 message is obtained from described IPv4 conversational list, according to described session entry, the IPV4 header removing described IPv4 message obtains IPv6 message, and by described IPv6 message repeating to client.
3. realize the method that IPv6 message passes through IPv4 network, be applied on BR equipment, it is characterized in that, comprising:
When receiving the IPv4 message that CE equipment sent by IPv6-in-IPv4 tunnel in IPv4 network, judge whether there is the session entry corresponding with this IPv4 message in IPv4 conversational list, obtain the second judged result;
When described second judged result is for being, according to described session entry, the IPV4 header removing described IPv4 message obtains IPv6 message, is gone out by described IPv6 message repeating;
When described second judged result is no, and when determining to carry out decapsulation to described IPv4 message according to predetermined policy, the IPV4 header removing described IPv4 message obtains IPv6 message, described IPv6 message repeating is gone out, and the session entry corresponding with described IPv4 message is increased in IPv4 conversational list, and, the session entry corresponding with described IPv6 message is increased in IPv6 conversational list, wherein, the session entry content that described IPv6 message is corresponding is IPv6 five-tuple information and the processing policy to IPv6 message, the session entry content that described IPv4 message is corresponding is IPv4 five-tuple information and the processing policy to IPv4 message, described predetermined policy is, if find that the destination address of this IPv4 message is the IPv4 address of this BR equipment, and this IPv4 message is when being IPv6-in-IPv4 message, decapsulation is carried out to this IPv4 message and obtains IPv6 message.
4. method as claimed in claim 3, is characterized in that, also comprise:
When receiving IPv6 message, the session entry corresponding with described IPv6 message is obtained from described IPv6 conversational list, according to described session entry, IPV4 header is increased to described IPv6 message and obtains IPv4 message, described IPv4 message is sent to CE equipment by IPv6-in-IPv4 tunnel.
5. a CE equipment, is characterized in that, comprising:
First judge module, for receive client send IPv6 message time, judge whether there is the session entry corresponding with this IPv6 message in IPv6 conversational list, obtain the first judged result;
First processing module, for when described first judged result is for being, according to described session entry, increasing IPV4 header to described IPv6 message and obtaining IPv4 message, described IPv4 message is sent to BR equipment by the IPv6-in-IPv4 tunnel in IPv4 network;
Second processing module, for when described first judged result be no, and when determining to carry out IPv4 encapsulation to described IPv6 message according to predetermined policy, according to the IPv4 address of CE equipment and BR equipment, IPV4 header is increased to described IPv6 message and obtains IPv4 message, described IPv4 message is sent to BR equipment by described IPv6-in-IPv4 tunnel, and the session entry corresponding with described IPv6 message is increased in IPv6 conversational list, and, the session entry corresponding with described IPv4 message is increased in IPv4 conversational list, wherein, the session entry content that described IPv6 message is corresponding is IPv6 five-tuple information and the processing policy to IPv6 message, the session entry content that described IPv4 message is corresponding is IPv4 five-tuple information and the processing policy to IPv4 message, described predetermined policy is, if find to be embedded with IPv4 address in this IPv6 message, and this IPv4 address is when being the IPv4 address of this CE equipment, IPv4 encapsulation is carried out to this IPv6 message.
6. CE equipment as claimed in claim 5, is characterized in that, also comprise:
3rd processing module, during for receiving IPv4 message that BR equipment sent by IPv6-in-IPv4 tunnel, the session entry corresponding with described IPv4 message is obtained from described IPv4 conversational list, according to described session entry, the IPV4 header removing described IPv4 message obtains IPv6 message, and by described IPv6 message repeating to client.
7. a BR equipment, is characterized in that, comprising:
Second judge module, during for receiving IPv4 message that CE equipment sent by IPv6-in-IPv4 tunnel in IPv4 network, judging whether there is the session entry corresponding with this IPv4 message in IPv4 conversational list, obtaining the second judged result;
4th processing module, for when described second judged result is for being, according to described session entry, the IPV4 header removing described IPv4 message obtains IPv6 message, is gone out by described IPv6 message repeating;
5th processing module, for when described second judged result be no, and when determining to carry out decapsulation to described IPv4 message according to predetermined policy, the IPV4 header removing described IPv4 message obtains IPv6 message, described IPv6 message repeating is gone out, and the session entry corresponding with described IPv4 message is increased in IPv4 conversational list, and, the session entry corresponding with described IPv6 message is increased in IPv6 conversational list, wherein, the session entry content that described IPv6 message is corresponding is IPv6 five-tuple information and the processing policy to IPv6 message, the session entry content that described IPv4 message is corresponding is IPv4 five-tuple information and the processing policy to IPv4 message, described predetermined policy is, if find that the destination address of this IPv4 message is the IPv4 address of this BR equipment, and this IPv4 message is when being IPv6-in-IPv4 message, decapsulation is carried out to this IPv4 message and obtains IPv6 message.
8. BR equipment as claimed in claim 7, is characterized in that, also comprise:
6th processing module, during for receiving IPv6 message, the session entry corresponding with described IPv6 message is obtained from described IPv6 conversational list, according to described session entry, IPV4 header is increased to described IPv6 message and obtains IPv4 message, described IPv4 message is sent to CE equipment by IPv6-in-IPv4 tunnel.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210461711.XA CN102970386B (en) | 2012-11-15 | 2012-11-15 | A kind of IPv6 of realization message passes through the method and apparatus of IPv4 network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210461711.XA CN102970386B (en) | 2012-11-15 | 2012-11-15 | A kind of IPv6 of realization message passes through the method and apparatus of IPv4 network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102970386A CN102970386A (en) | 2013-03-13 |
CN102970386B true CN102970386B (en) | 2016-01-13 |
Family
ID=47800265
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210461711.XA Active CN102970386B (en) | 2012-11-15 | 2012-11-15 | A kind of IPv6 of realization message passes through the method and apparatus of IPv4 network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102970386B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103248574B (en) * | 2013-05-07 | 2016-08-31 | 汉柏科技有限公司 | A kind of IPv4 network and the mixing network method of IPv6 network and system |
CN103516825A (en) * | 2013-09-27 | 2014-01-15 | 福建星网锐捷网络有限公司 | Method, device and system for deploying 6RD network cell devices |
CN103634216A (en) * | 2013-11-04 | 2014-03-12 | 汉柏科技有限公司 | Method and equipment for forwarding datagram based on NAT 64 (Network Address Translation 64) |
CN104869065B (en) * | 2014-02-26 | 2020-04-21 | 中兴通讯股份有限公司 | Data message processing method and device |
CN106656720A (en) * | 2016-10-31 | 2017-05-10 | 上海斐讯数据通信技术有限公司 | SDN-based IPv4 to IPv6 transition method and system |
US10498694B2 (en) | 2017-06-30 | 2019-12-03 | Microsoft Technology Licensing, Llc | Mapping IPv4 knowledge to IPv6 |
CN112787923A (en) * | 2019-11-07 | 2021-05-11 | 华为技术有限公司 | Message processing method, device and system |
CN114697408B (en) * | 2020-12-28 | 2023-09-26 | 国家计算机网络与信息安全管理中心 | Tunnel message processing method and device |
CN115150266B (en) * | 2022-06-29 | 2024-03-15 | 北京天融信网络安全技术有限公司 | Local area network interconnection configuration and data transmission method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1380773A (en) * | 2002-04-25 | 2002-11-20 | 复旦大学 | Enhanced NAT-PT protocol scheme |
KR20060081016A (en) * | 2005-01-06 | 2006-07-12 | 삼성전자주식회사 | Header translation system and method using network processor |
CN101136851A (en) * | 2007-09-29 | 2008-03-05 | 华为技术有限公司 | Stream forwarding method and equipment |
CN101247308A (en) * | 2007-02-13 | 2008-08-20 | 上海亿人通信终端有限公司 | Tunnel packet processing method for implementing IPv6 traversing IPv4 based on network processor |
-
2012
- 2012-11-15 CN CN201210461711.XA patent/CN102970386B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1380773A (en) * | 2002-04-25 | 2002-11-20 | 复旦大学 | Enhanced NAT-PT protocol scheme |
KR20060081016A (en) * | 2005-01-06 | 2006-07-12 | 삼성전자주식회사 | Header translation system and method using network processor |
CN101247308A (en) * | 2007-02-13 | 2008-08-20 | 上海亿人通信终端有限公司 | Tunnel packet processing method for implementing IPv6 traversing IPv4 based on network processor |
CN101136851A (en) * | 2007-09-29 | 2008-03-05 | 华为技术有限公司 | Stream forwarding method and equipment |
Also Published As
Publication number | Publication date |
---|---|
CN102970386A (en) | 2013-03-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102970386B (en) | A kind of IPv6 of realization message passes through the method and apparatus of IPv4 network | |
US11706138B2 (en) | Distributing service function chain data and service function instance data in a network | |
CN102938736B (en) | A kind of method and apparatus realizing IPv4 message passing through IPv 6 network | |
CN102413061B (en) | Message transmission method and equipment | |
EP3113426B1 (en) | Data packet processing method and device | |
US9832130B2 (en) | Data packet routing method and device | |
CN103795631B (en) | Deploy the flow forwarding method and equipment in the network of Ethernet virtual link | |
CN106209553A (en) | Message processing method, equipment and system | |
CN102577330A (en) | Apparatus, logic and method for providing a translation mechanism in a network environment | |
CN101834794B (en) | Method and device for forwarding message through backbone network | |
CN103957161B (en) | A kind of message forwarding method and its device | |
CN102694738A (en) | Virtual private network (VPN) gateway and method for forwarding messages at VPN gateway | |
CN102571375B (en) | Multicast forwarding method and device as well as network device | |
CN103795630A (en) | Message transmitting method and device of label switching network | |
EP2439888A1 (en) | Method, apparatus and system for establishing pseudo wire | |
CN102647328B (en) | A kind of label distribution method, equipment and system | |
CN1564542A (en) | Tunnel set-up method for carrying out internet of IPV4 network on IPV6 network | |
CN107294849B (en) | Method, device and system for establishing service path | |
US10715431B2 (en) | Methods and apparatuses for routing data packets in a network topology | |
CN102710519A (en) | Method, system and device for establishing and removing cross-domain LSP (Label Switching Path) | |
CN102420745A (en) | 3G (the third Generation) communication method and system | |
CN106034075A (en) | Method and device for distributing label for VPN routing | |
CN105376161A (en) | Multicast distribution tree switching method and device | |
CN102891758A (en) | Multicast data transmission method and equipment | |
CN101640636A (en) | Method for avoiding message recombination in 4over6 tunnel and system therefor |
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 | ||
C56 | Change in the name or address of the patentee | ||
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. |