CN103107933B - A kind of DS-Lite communication means and for DS-Lite communication CPE and system - Google Patents

A kind of DS-Lite communication means and for DS-Lite communication CPE and system Download PDF

Info

Publication number
CN103107933B
CN103107933B CN201110356743.9A CN201110356743A CN103107933B CN 103107933 B CN103107933 B CN 103107933B CN 201110356743 A CN201110356743 A CN 201110356743A CN 103107933 B CN103107933 B CN 103107933B
Authority
CN
China
Prior art keywords
cpe
ipv4
lite
packet
territory
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
Application number
CN201110356743.9A
Other languages
Chinese (zh)
Other versions
CN103107933A (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.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group 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 China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201110356743.9A priority Critical patent/CN103107933B/en
Publication of CN103107933A publication Critical patent/CN103107933A/en
Application granted granted Critical
Publication of CN103107933B publication Critical patent/CN103107933B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

This application discloses a kind of DS-Lite communication means, comprising: a CPE receives the IPv4 packet that the first user in a described CPE subnet sends; Judge whether the destination address of described IPv4 packet belongs to same DS-Lite territory with a described CPE; If judged result is yes, then described IPv4 data envelope is dressed up IPv6 packet and send to the 2nd CPE belonging to the destination address of described IPv4 packet; IPv6 packet received by described 2nd CPE decapsulation is to obtain described IPv4 packet; And give the second user according to the destination address of described IPv4 packet by described IPv4 Packet Generation.Disclosed herein as well is corresponding CPE and system.By the technical scheme of the application, the communication between the different CPE in identical DS-Lite territory and can not need to carry out network address translation without CGN.

Description

A kind of DS-Lite communication means and for DS-Lite communication CPE and system
Technical field
The present invention relates to the communications field, particularly relate to a kind of DS-Lite communication means and for DS-Lite communication CPE and system.
Background technology
DS-Lite (dualstacklite, light weight two stack) is a kind of tunnel encapsulation technology, can solve IPv4 network data and wrap in encapsulation in IPv6 network, decapsulation and forwarding.The main thought of DS-lite tunnel encapsulation technology is that IPv4 data envelope installs in IPv6 packet by the B4 interface of the starting point CPE in tunnel, at the terminal CGN (CarriergradeNAT (networkaddresstranslation in tunnel, Working level Network address translators) IPv6 packet is descapsulated into IPv4 packet by place, then by NAT, (network address translation is carried out in the source address (the IPv4 address of privately owned subnet) of packet and a publicly-owned address of IPv4 by (networkaddresstranslation, network address translation).
The DS-Lite communication means of prior art is as follows.Suppose a CPE (customerpremiseequipment, customer premises equipment, CPE) and the 2nd CPE between IPv4 and IPv6 network, the network segment of the IPv4 address of the subnet of the one CPE and the 2nd CPE is 10.0.1.0/24, and the IPv4 address of a CPE and the 2nd CPE and the network segment of the subnet of respective host be connected below thereof are respectively 10.0.1.0/24 and 10.0.1.0/24.The starting point IPv6 address, tunnel configuring a CPE is v61:2001:da8::0017:313f:4831, the IPv6 address configuring the tunnel starting point of the 2nd CPE is prefix v62:2001:da8::0018:415e:5622, the IPv6 address of configured tunneling technique terminal (CGNCarriergrade, Working level Network address translators) is v63:2001:da9::0015:424e:3523.CGN is between IPv4 and IPv6 network and the publicly-owned IPv4 address pool that ISP issues to CGN is 68.0.0.0/8.
1) the user A1 under a CPE take source address as 10.0.1.2, and destination address is that 68.1.2.3 sends IPv4 packet to the user A2 under the 2nd CPE;
2) CPE receives IPv4 packet, and be IPv6 packet by this IPv4 packet encapsulation, this IPv6 source data packet address is the IPv6 address v61:2001:da8::0017:313f:4831 of a CPE, and destination address is tunnel address: v63:2001:da9::0015:424e:3523;
3) according to routing table, the IPv6 packet after encapsulation has been forwarded on CGN, CGN carries out decapsulation to IPv6 packet, obtain IPv4 packet, source address is the IPv4 address 10.0.1.2 of user A1, and destination address is the IPv4 address 68.1.2.3 of the public network that user A2 maps.CGN carries out network address translation to the source address of IPv4 and destination address again, and source address is mapped as 68.1.2.2 by 10.0.1.2, and destination address 68.1.2.3 is mapped as 10.0.1.3;
4) CGN searches routing table according to IPv4 packet, learn that this IPv4 packet will be sent to the 2nd CPE, thus this IPv4 data envelope is dressed up IPv6 packet, source address is v63:2001:da9::0015:424e:3523, and destination address is v62:2001:da8::0018:415e:5622;
5) according to routing table, the IPv6 packet after encapsulation is forwarded on the 2nd CPE, interface B4 on 2nd CPE carries out decapsulation to IPv6 packet, obtain IPv4 packet, its source address is the IPv4 address 68.1.2.2 of user A1, and destination address is the IPv4 address 10.0.1.3 of user A2;
6) according to routing table by the IPv4 Packet Generation after decapsulation on the user A2 under the 2nd CPE.User A2 replys packet, and the source address of response IPv4 packet is the IPv4 address 10.0.1.3 of A2, and destination address is the IPv4 address 68.1.2.2 mapped;
7) IPv4 packet is forwarded on the 2nd CPE, the B4 interface of the 2nd CPE encapsulates received IPv4 packet, obtain IPv6 packet, its source address is the IPv6 address v62:2001:da8::0018:415e:5622 of the 2nd CPE, and destination address is v63:2001:da9::0015:424e:3523;
8) according to routing table, the IPv6 packet after encapsulation is forwarded on CGN, CGN carries out decapsulation to IPv6 packet, obtain IPv4 packet, its source address is the IPv4 address 10.0.1.3 of user A2, and destination address is the IPv4 address 68.1.2.2 that user A1 maps;
9) CGN searches NAT mapping table, the IPv4 address that the IPv4 address finding 68.1.2.2 corresponding is corresponding with 10.0.1.3, obtain final IPv4 packet, its source address is the subnet IPv4 address 10.0.1.2 of the mapping IPv4 address 68.1.2.3 of user A2, destination address user A1.Obtained IPv4 packet encapsulation is IPv6 packet by CGN, and its source address is v63:2001:da9::0015:424e:3523, and destination address is v61:2001:da8::0017:313f:4831;
10) CPE receives IPv6 packet, carries out decapsulation to IPv6 packet, obtains IPv4 packet, and its source address is 68.1.2.3, and destination address is 10.0.1.2;
11) according to routing table by the IPv4 Packet Generation after decapsulation on the user A1 under a CPE, user A1 have received the response IPv4 packet that user A2 sends, the source address of response IPv4 packet is the IPv4 address 68.1.2.3 of user A2, and destination address is the subnet IPv4 address 10.0.1.2 of A1.
As can be seen from above, in the prior art, even if same DS-Lite territory (namely, all CPE under same AFTR (AddressFamilyTranslationRouter, address race translation router) and main frame form a DS-lite territory jointly) in CPE between also need to communicate through CGN.
Summary of the invention
An execution mode of the application discloses a kind of DS-Lite communication means, comprising:
One CPE and the 2nd CPE sends configuration information respectively to server and obtains message, wherein, described configuration information comprises the IPv4 subnet number in the DS-Lite territory belonging to described CPE, the IPv4 subnet number of described CPE, the IPv6 address prefix in the DS-Lite territory belonging to described CPE and the IPv6 address of CGN;
Receive the described configuration information that described server returns;
One CPE receives the IPv4 packet that the first user in a described CPE subnet sends;
Judge whether the destination address of described IPv4 packet belongs to same DS-Lite territory with a described CPE, and wherein, the IPv4 subnet number of each CPE in described same DS-Lite territory does not overlap each other;
If judged result is yes, then described IPv4 data envelope is dressed up IPv6 packet and send to the 2nd CPE belonging to the destination address of described IPv4 packet;
IPv6 packet received by described 2nd CPE decapsulation is to obtain described IPv4 packet; And
Described IPv4 Packet Generation is given the second user by the destination address according to described IPv4 packet.
Another execution mode of the application discloses a kind of CPE for DS-Lite communication, comprising:
Configuration module, configures the IPv4 subnet number in the DS-Lite territory belonging to described CPE, the IPv4 subnet number of described CPE, the IPv6 address prefix in the DS-Lite territory belonging to described CPE and the IPv6 address of CGN and sews;
Transceiver module, receives the IPv4 packet that the first user in described CPE subnet sends, and sends configuration information and obtains message to obtain configuration information;
Judge module, judges whether the destination address of described IPv4 packet belongs to same DS-Lite territory with described CPE, and wherein, the IPv4 subnet number of each CPE in described same DS-Lite territory does not overlap each other; And
Processing data packets module, dresses up IPv6 packet by described IPv4 data envelope;
If judged result is yes, then packaged IPv6 Packet Generation is given another CPE belonging to described IPv4 packet rs destination address by described transceiver module.
Another execution mode of the application discloses a kind of DS-Lite communication system, comprising:
One CPE, receive the IPv4 packet that the first user in a described CPE subnet sends, judge whether the destination address of described IPv4 packet belongs to same DS-Lite territory with a described CPE, wherein, the IPv4 subnet number of each CPE in described same DS-Lite territory does not overlap each other, if judged result is yes, then described IPv4 data envelope is dressed up IPv6 packet and send to the 2nd CPE belonging to the destination address of described IPv4 packet; And
Described 2nd CPE, described IPv4 Packet Generation to obtain described IPv4 packet, and is given the second user according to the destination address of described IPv4 packet by the IPv6 packet received by decapsulation;
Server, receive the configuration information that a described CPE and the 2nd CPE sends respectively and obtain message, and return described configuration information, wherein, described configuration information comprises the IPv4 subnet number in the DS-Lite territory belonging to described CPE, the IPv4 subnet number of described CPE, the IPv6 address prefix in the DS-Lite territory belonging to described CPE and the IPv6 address of CGN.
By the technical scheme of the application, the communication between the different CPE in identical DS-Lite territory and can not need to carry out NAT without CGN.
Accompanying drawing explanation
Fig. 1 is the flow chart of the DS-Lite communication means 1000 according to the application's execution mode;
Fig. 2 is the flow chart of the DS-Lite communication means 2000 according to another execution mode of the application;
Fig. 3 is the flow chart of step S260 in Fig. 2;
Fig. 4 is the schematic diagram of the CPE40 according to the application's execution mode;
Fig. 5 is the schematic diagram of the CPE50 according to another execution mode of the application.
Embodiment
Below in conjunction with accompanying drawing, exemplifying embodiment is described.
In following example, same DS-Lite territory is jointly made up of all CPE under same AFTR (AddressFamilyTranslationRouter, address race translation router) and main frame (computer of such as user).Select as one, the prefix of the IPv6 address of CGN can also be identical with the prefix of the IPv6 address of CPE.If a CPE and the 2nd CPE is in same DS-Lite territory, then a CPE and the 2nd CPE is connected to same AFTR, and sets the network segment of the IPv4 subnet in the DS-Lite territory at a CPE and the 2nd CPE place as 10.0.0.0/8; The network segment of the subnet of the one CPE is 10.0.1.0/24; The network segment of the subnet of the 2nd CPE is 10.0.2.0/24; The prefix of the IPv6 address in the same DS-Lite territory belonging to the one CPE and the 2nd CPE is Prefix1; The prefix of the IPv6 address of CGN is Prefix2.
Fig. 1 is the flow chart of the DS-Lite communication means 1000 according to the application's execution mode.As shown in Figure 1, the method for this execution mode comprises in step s 110, and a CPE receives the packet that the first user in a CPE subnet sends.Such as, the IPv4 packet that first user sends to the second user in the 2nd CPE subnet, wherein the source address of this IPv4 packet is the address in a CPE subnet of first user, such as 10.0.1.2, destination address is the address in the 2nd CPE subnet of the second user, such as 10.0.2.2.
Then in the step s 120, according to the destination address of IPv4 packet, one CPE judges whether this destination address and a CPE belong to same DS-Lite territory, namely whether destination address 10.0.2.2 is in the IPv4 subnet network segment 10.0.0.0/8 in DS-Lite territory belonging to a CPE.
If judged result is yes, then in step s 130, which, the IPv4 data envelope received is dressed up IPv6 packet and is sent to the 2nd CPE by a CPE.Such as the IPv4 data envelope received is dressed up IPv6 packet by a CPE, then according to the destination address of IPv4 packet by IPv6 Packet Generation to the 2nd CPE belonging to the destination address of IPv4 packet.The source address of packaged IPv6 packet is the subnet address of the IPv6 address of a CPE in this DS-Lite territory, the IPv6 address prefix+first user in such as DS-Lite territory, i.e. Prefix1+10.0.1.0; Destination address is the IPv6 address of the 2nd CPE in this DS-Lite territory, the subnet address of IPv6 address prefix+the second user in such as DS-Lite territory, i.e. Prefix1+10.0.2.0.
Then, in step S140, obtained IPv4 Packet Generation to obtain IPv4 packet, then is given the second user by the IPv6 packet that the 2nd CPE decapsulation receives.
Select as one, can in step S150, the second user returns response IPv4 packet according to received IPv4 packet to first user.
Select as one, if judged result is no, then carrying out can down to step S160, and IPv4 packet encapsulation is IPv6 packet and sends to CGN by a CPE, wherein the source address of IPv6 packet is the IPv6 address of a CPE, and destination address is the IPv6 address of CGN.The processing procedure of CGN is same as the prior art afterwards, repeats no more.
By the method for present embodiment, the communication between the different CPE in same DS-Lite territory without CGN, also can not need NAT.
Fig. 2 is the flow chart of the DS-Lite communication means 2000 according to another execution mode of the application.Wherein step S210-S260 is similar to above-mentioned steps S110-S160, does not repeat them here.
As shown in Figure 2, in step s 200, CPE obtains configuration information, and all CPE namely in same DS-Lite territory all obtain required configuration information.For a CPE, select as one, can be arranged on by configuration information in a CPE in advance, configuration information can comprise the IPv6 address of the IPv4 subnet number information in the DS-Lite territory belonging to a CPE, the subnet number information of a CPE, the IPv6 address prefix (Prefix1) in this DS-Lite territory and CGN.Select as one, a CPE can send configuration information to server and obtain message, then receives the configuration information from server.Such as, a CPE sends configuration information by DHCPv6 agreement to server and obtains message, and receives the configuration information from server.Like this, when a CPE receives the IPv4 packet of first user transmission, can judge whether this destination address and a CPE belong to same DS-Lite territory according to the destination address of IPv4 packet.
Select as one, the subnet size of each CPE in identical DS-Lite territory is identical.
Select as one, in the subnet of each CPE in identical DS-Lite territory, there is not overlapping IPv4 subnet number.
Select as one, the IPv6 address of the CPE in same DS-Lite territory can be the subnet number of the IPv4 subnet of IPv6 address prefix+this CPE of this DS-Lite.For a CPE, a CPE is at the subnet number of the IPv4 subnet of IPv6 address prefix+the one CPE in the DS-Lite territory of IPv6 address belonging to a CPE in DS-Lite territory, and wherein, IPv6 address prefix is predetermined.Such as, the IPv6 address of a CPE can be Prefix1+10.0.1.0.
Select as one, in the step S130 or S230 of said method, a CPE can obtain the subnet number of the IPv4 subnet of the 2nd CPE according to the destination address of the size of its IPv4 subnet and received IPv4 packet; The IPv6 address prefix in DS-Lite territory and the subnet number of first user are bonded the source address of IPv6 packet by the one CPE, such as Prefix1+10.0.1.0; The IPv6 address prefix in DS-Lite territory and the subnet number of the 2nd CPE obtained are bonded the destination address of IPv6 packet by the one CPE, such as Prefix1+10.0.2.0.
Fig. 3 is the flow chart of step S260 in Fig. 2.As shown in Figure 3, in step S2601, the 2nd CPE receives the response IPv4 packet that the second user in its subnet sends to the first user in a CPE subnet, wherein the source address of this response IPv4 packet is the address 10.0.2.2 of the second user in the 2nd CPE subnet, and destination address is the address 10.0.1.2 of first user in a CPE subnet.
Then, in step S2602, according to the destination address of response IPv4 packet, the 2nd CPE judges whether itself and destination address (first user) belong to same DS-Lite territory.
If judged result is yes, then in step S2603, the response IPv4 data envelope received is dressed up IPv6 packet and is sent to a CPE by the 2nd CPE, wherein the source address of IPv6 packet is the subnet address of IPv6 address prefix+the second user in DS-lite territory, i.e. Prefix1+10.0.2.2, destination address is the subnet address of the IPv6 address prefix+first user in DS-lite territory, i.e. Prefix1+10.0.1.2.
Then in step S2604, the IPv6 packet that a CPE decapsulation receives with the IPv4 packet that meets with a response, then by met with a response IPv4 Packet Generation to first user.
If judged result is no, then proceed to step S2606, response IPv4 packet encapsulation is IPv6 packet and sends to CGN by the 2nd CPE, and wherein the source address of IPv6 packet is the IPv6 address of the 2nd CPE, and destination address is the IPv6 address of CGN.The processing procedure of CGN is same as the prior art afterwards, repeats no more.
Fig. 4 is the schematic diagram of the CPE40 according to the application's execution mode.As shown in Figure 4, CPE40 comprises transceiver module 41, judge module 42 and processing data packets module 43.Transceiver module receives the IPv4 packet that the first user in CPE subnet sends.According to the destination address of IPv4 packet, judge module 42 judges whether object IPv4 address belongs to same DS-Lite territory with this CPE.IPv4 data envelope is dressed up IPv6 packet by processing data packets module 43.
Such as, the transceiver module 41 of the one CPE receives the IPv4 packet of the first user transmission in a CPE subnet, the IPv4 packet that such as first user sends to the second user in the 2nd CPE subnet, wherein the source address of this IPv4 packet is the address of first user in a CPE subnet, i.e. 10.0.1.1, destination address is the address of the second user in the 2nd CPE subnet, i.e. 10.0.2.1.According to the destination address of IPv4 packet, judge module 42 judges whether itself and a CPE belong to same DS-Lite territory, namely whether destination address 10.0.2.1 is in the IPv4 subnet network segment 10.0.0.0/8 in the DS-Lite territory belonging to a CPE.
If judged result is yes, then the IPv4 data envelope received is dressed up IPv6 packet by processing data packets module 43, and by transceiver module by IPv6 Packet Generation to the 2nd CPE belonging to IPv4 packet rs destination address, wherein the source address of IPv6 packet is the IPv6 address of a CPE in DS-Lite territory, the subnet address of the IPv6 address prefix+first user in such as DS-lite territory, i.e. Prefix1+10.0.1.0, destination address is the described IPv6 address of 2nd CPE in DS-Lite territory, the subnet address of IPv6 address prefix+the second user in such as DS-lite territory, i.e. Prefix1+10.0.2.0.
If judged result is no, then IPv4 packet encapsulation is IPv6 packet by processing data packets module 43, and by transceiver module 41 by this IPv6 Packet Generation to CGN, wherein the source address of IPv6 packet is the IPv6 address of a CPE in DS-Lite territory, and destination address is the IPv6 address of CGN.
Select as one, processing data packets module 43 also can the IPv6 packet that receives of decapsulation to obtain IPv4 packet.Decapsulation is also obtained IPv4 Packet Generation to object user by transceiver module 41.
By the CPE of present embodiment, the communication between the different CPE in same DS-Lite territory without CGN, also can not need NAT.
Fig. 5 is the schematic diagram of the CPE50 according to another execution mode of the application.As shown in Figure 5, CPE50 comprises transceiver module 51, judge module 52, processing data packets module 53 and configuration module 54.Transceiver module 51, judge module 52, processing data packets module 53 repeat no more with the identity function of above-mentioned transceiver module 41, judge module 42, processing data packets module 43.
Transceiver module 51 also can be used for sending obtaining information to obtain configuration information, and configuration information can comprise the IPv6 address of the CGN that the IPv4 subnet number in the DS-Lite territory belonging to this CPE, the IPv4 subnet number of this CPE, the IPv6 address prefix in the DS-Lite territory belonging to this CPE and this CPE connect.Such as, transceiver module 51 can utilize DHCPv6 agreement to send obtaining information to server, and the configuration information that reception server returns.Configuration module 54 is for configuring obtained configuration information.
Select as one, can in advance configuration information be arranged in configuration module 54.
When judge module 52 judges that the destination address of a CPE and received IPv4 is in same DS-Lite territory, the destination address of the IPv4 packet that processing data packets module 53 obtains according to the size of the IPv4 subnet of a CPE and transceiver module 51 obtains the subnet number of the 2nd CPE; The IPv4 subnet number (subnet address of such as first user) of the IPv6 address prefix in DS-Lite territory and a CPE is also bonded the source address of IPv6 packet by processing data packets module 53, such as Prefix1+10.0.1.0; The IPv6 address prefix in DS-Lite territory and the IPv4 subnet number (such as the subnet address of the second user) of the 2nd CPE obtained are bonded the destination address of IPv6 packet, such as Prefix1+10.0.2.0.
The application also relates to a kind of DS-Lite communication system, and this system comprises a CPE, the 2nd CPE.One CPE subnet comprises first user, and the 2nd CPE subnet comprises the second user.
Within the system, a CPE receives the packet that the first user in a CPE subnet sends.Such as, the IPv4 packet that first user sends to the second user in the 2nd CPE subnet, wherein the source address of this IPv4 packet is the address in a CPE subnet of first user, such as 10.0.1.2, destination address is the address in the 2nd CPE subnet of the second user, such as 10.0.2.2.Then according to the destination address of IPv4 packet, a CPE judges whether this destination address and a CPE belong to same DS-Lite territory, and namely whether destination address 10.0.2.2 is in the IPv4 subnet network segment 10.0.0.0/8 in DS-Lite territory belonging to a CPE.
If judged result is yes, then the IPv4 data envelope received is dressed up IPv6 packet and is sent to the 2nd CPE by a CPE.Such as the IPv4 data envelope received is dressed up IPv6 packet by a CPE, then according to the destination address of IPv4 packet by IPv6 Packet Generation to the 2nd CPE belonging to the destination address of IPv4 packet.The source address of packaged IPv6 packet is the subnet address of the IPv6 address of a CPE in this DS-Lite territory, the IPv6 address prefix+first user in such as DS-Lite territory, i.e. Prefix1+10.0.1.0; Destination address is the IPv6 address of the 2nd CPE in this DS-Lite territory, the subnet address of IPv6 address prefix+the second user in such as DS-Lite territory, i.e. Prefix1+10.0.2.0.Then the IPv6 packet that receives of the 2nd CPE decapsulation is to obtain IPv4 packet, then gives the second user by obtained IPv4 Packet Generation.
Select as one, the second user returns response IPv4 packet according to received IPv4 packet to first user.Select as one, if judged result is no, then IPv4 packet encapsulation is IPv6 packet and sends to CGN by a CPE, and wherein the source address of IPv6 packet is the IPv6 address of a CPE, and destination address is the IPv6 address of CGN.The processing procedure of CGN is same as the prior art afterwards, repeats no more.
By the DS-Lite communication system of this execution mode, the communication between the different CPE in same DS-Lite territory without CGN, also can not need NAT.
Above-mentioned DS-Lite communication system can also comprise and server.The configuration information that server can receive from CPE obtains message (such as CPE utilizes DHCPv6 agreement to send obtaining information to server), and send to CPE (such as configuration information, this configuration information stores on the server), wherein configuration information can comprise the IPv6 address of the CGN that the IPv4 subnet number in the DS-Lite territory belonging to this CPE, the IPv4 subnet number of this CPE, the IPv6 address prefix in the DS-Lite territory belonging to this CPE and this CPE connect.Select as one, above-mentioned server can as independent network element.Alternatively, above-mentioned server can be arranged on CGN.
Such as, a CPE and the 2nd CPE first can obtain configuration information from server, and all CPE namely in same DS-Lite territory all obtain required configuration information.For a CPE, select as one, can be arranged on by configuration information in a CPE in advance, configuration information can comprise the IPv6 address of the IPv4 subnet number information in the DS-Lite territory belonging to a CPE, the subnet number information of a CPE, the IPv6 address prefix (Prefix1) in this DS-Lite territory and CGN.Select as one, a CPE can send configuration information to server and obtain message, then receives the configuration information from server.Such as, a CPE sends configuration information by DHCPv6 agreement to server and obtains message, and receives the configuration information from server.Like this, when a CPE receives the IPv4 packet of first user transmission, can judge whether this destination address and a CPE belong to same DS-Lite territory according to the destination address of IPv4 packet.
Select as one, the subnet size of each CPE in identical DS-Lite territory is identical.
Select as one, in the subnet of each CPE in identical DS-Lite territory, there is not overlapping IPv4 subnet number.
Select as one, the IPv6 address of the CPE in same DS-Lite territory can be the subnet number of the IPv4 subnet of IPv6 address prefix+this CPE of this DS-Lite.For a CPE, a CPE is at the subnet number of the IPv4 subnet of IPv6 address prefix+the one CPE in the DS-Lite territory of IPv6 address belonging to a CPE in DS-Lite territory, and wherein, IPv6 address prefix is predetermined.Such as, the IPv6 address of a CPE can be Prefix1+10.0.1.0.
Select as one, a CPE can obtain the subnet number of the IPv4 subnet of the 2nd CPE according to the destination address of the size of its IPv4 subnet and received IPv4 packet; The IPv6 address prefix in DS-Lite territory and the subnet number of first user are bonded the source address of IPv6 packet by the one CPE, such as Prefix1+10.0.1.0; The IPv6 address prefix in DS-Lite territory and the subnet number of the 2nd CPE obtained are bonded the destination address of IPv6 packet by the one CPE, such as Prefix1+10.0.2.0.
Select as one, when second user returns response IPv4 packet according to received IPv4 packet to first user, 2nd CPE receives the response IPv4 packet that the second user in its subnet sends to the first user in a CPE subnet, wherein the source address of this response IPv4 packet is the address 10.0.2.2 of the second user in the 2nd CPE subnet, and destination address is the address 10.0.1.2 of first user in a CPE subnet.Then according to the destination address of response IPv4 packet, the 2nd CPE judges whether itself and destination address (first user) belong to same DS-Lite territory.
If judged result is yes, then the response IPv4 data envelope received dressed up IPv6 packet and send to a CPE, wherein the source address of IPv6 packet is the subnet address of IPv6 address prefix+the second user in DS-lite territory, i.e. Prefix1+10.0.2.2, destination address is the subnet address of the IPv6 address prefix+first user in DS-lite territory, i.e. Prefix1+10.0.1.2.Then the IPv6 packet that receives of a CPE decapsulation is with the IPv4 packet that meets with a response, then by met with a response IPv4 Packet Generation to first user.
If judged result is no, then response IPv4 packet encapsulation is IPv6 packet and sends to CGN by the 2nd CPE, and wherein the source address of IPv6 packet is the IPv6 address of the 2nd CPE, and destination address is the IPv6 address of CGN.The processing procedure of CGN is same as the prior art afterwards, repeats no more.
The foregoing is only the preferred embodiment of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical field, be all in like manner included in scope of patent protection of the present invention.

Claims (11)

1. a DS-Lite communication means, comprising:
One CPE and the 2nd CPE sends configuration information respectively to server and obtains message, wherein, described configuration information comprises the IPv4 subnet number in the DS-Lite territory belonging to described CPE, the IPv4 subnet number of described CPE, the IPv6 address prefix in the DS-Lite territory belonging to described CPE and the IPv6 address of CGN;
Receive the described configuration information that described server returns;
A described CPE receives the IPv4 packet that the first user in a described CPE subnet sends;
Judge whether the destination address of described IPv4 packet belongs to same DS-Lite territory with a described CPE, and wherein, the IPv4 subnet number of each CPE in described same DS-Lite territory does not overlap each other;
If judged result is yes, then described IPv4 data envelope is dressed up IPv6 packet and send to the 2nd CPE belonging to the destination address of described IPv4 packet;
IPv6 packet received by described 2nd CPE decapsulation is to obtain described IPv4 packet; And
Described IPv4 Packet Generation is given the second user by the destination address according to described IPv4 packet.
2. the method for claim 1, wherein, when the destination address of described IPv4 packet and a described CPE belong to same DS-Lite territory, the 2nd CPE belonging to destination address of a described CPE and described IPv4 packet is connected to same address race translation router.
3. method as claimed in claim 2, wherein, the size of the IPv4 subnet of each CPE in described same DS-Lite territory is all identical.
4. method as claimed in claim 2, wherein, the IPv6 address of the CPE in described same DS-Lite territory is made up of the subnet number of the described IPv6 address prefix in same DS-Lite territory and the IPv4 subnet of described CPE.
5. the method for claim 1, wherein described IPv4 data envelope dressed up IPv6 packet and send to the step of the 2nd CPE belonging to the destination address of described IPv4 packet to comprise:
A described CPE obtains the subnet number of described 2nd CPE according to the destination address of the size of its subnet and described IPv4 packet;
The subnet number of the IPv6 address prefix in described same DS-Lite territory and a described CPE is bonded the source address of described IPv6 packet;
The IPv6 address prefix in described same DS-Lite territory and the subnet number of the 2nd CPE obtained are bonded the destination address of described IPv6 packet.
6., for a CPE for DS-Lite communication, comprising:
Configuration module, configures the IPv4 subnet number in the DS-Lite territory belonging to described CPE, the IPv4 subnet number of described CPE, the IPv6 address prefix in the DS-Lite territory belonging to described CPE and the IPv6 address of CGN and sews;
Transceiver module, receives the IPv4 packet that the first user in described CPE subnet sends, and sends configuration information and obtains message to obtain configuration information;
Judge module, judges whether the destination address of described IPv4 packet belongs to same DS-Lite territory with described CPE, and wherein, the IPv4 subnet number of each CPE in described same DS-Lite territory does not overlap each other; And
Processing data packets module, dresses up IPv6 packet by described IPv4 data envelope; If judged result is yes, then packaged IPv6 Packet Generation is given another CPE belonging to described IPv4 packet rs destination address by described transceiver module.
7. CPE as claimed in claim 6, wherein, when judged result is for being, described processing data packets module is also for obtaining the subnet number of another CPE described according to the size of described CPE subnet and the destination address of described IPv4 packet, and the IPv6 address prefix in described same DS-Lite territory and the subnet number of a CPE are bonded the source address of described IPv6 packet, the IPv6 address prefix in described same DS-Lite territory and the subnet number of the 2nd CPE obtained are bonded the destination address of described IPv6 packet.
8. a DS-Lite communication system, comprising:
One CPE, receive the IPv4 packet that the first user in a described CPE subnet sends, judge whether the destination address of described IPv4 packet belongs to same DS-Lite territory with a described CPE, wherein, the IPv4 subnet number of each CPE in described same DS-Lite territory does not overlap each other, if judged result is yes, then described IPv4 data envelope is dressed up IPv6 packet and send to the 2nd CPE belonging to the destination address of described IPv4 packet; And
Described 2nd CPE, described IPv4 Packet Generation to obtain described IPv4 packet, and is given the second user according to the destination address of described IPv4 packet by the IPv6 packet received by decapsulation;
Server, receive the configuration information that a described CPE and the 2nd CPE sends respectively and obtain message, and return described configuration information, wherein, described configuration information comprises the IPv4 subnet number in the DS-Lite territory belonging to described CPE, the IPv4 subnet number of described CPE, the IPv6 address prefix in the DS-Lite territory belonging to described CPE and the IPv6 address of CGN.
9. system as claimed in claim 8, wherein, when the destination address of described IPv4 packet and a described CPE belong to same DS-Lite territory, the 2nd CPE belonging to destination address of a described CPE and described IPv4 packet is connected to same address race translation router.
10. system as claimed in claim 9, wherein, the size of the IPv4 subnet of each CPE in described same DS-Lite territory is all identical, and the IPv6 address of CPE in described same DS-Lite territory is made up of the subnet number of the described IPv6 address prefix in same DS-Lite territory and the IPv4 subnet of described CPE.
11. systems as claimed in claim 8, a described CPE also obtains the subnet number of described 2nd CPE according to the size of its subnet and the destination address of described IPv4 packet, the subnet number of the IPv6 address prefix in described same DS-Lite territory and a described CPE is bonded the source address of described IPv6 packet, the IPv6 address prefix in described same DS-Lite territory and the subnet number of the 2nd CPE obtained is bonded the destination address of described IPv6 packet.
CN201110356743.9A 2011-11-11 2011-11-11 A kind of DS-Lite communication means and for DS-Lite communication CPE and system Active CN103107933B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110356743.9A CN103107933B (en) 2011-11-11 2011-11-11 A kind of DS-Lite communication means and for DS-Lite communication CPE and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110356743.9A CN103107933B (en) 2011-11-11 2011-11-11 A kind of DS-Lite communication means and for DS-Lite communication CPE and system

Publications (2)

Publication Number Publication Date
CN103107933A CN103107933A (en) 2013-05-15
CN103107933B true CN103107933B (en) 2016-03-30

Family

ID=48315512

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110356743.9A Active CN103107933B (en) 2011-11-11 2011-11-11 A kind of DS-Lite communication means and for DS-Lite communication CPE and system

Country Status (1)

Country Link
CN (1) CN103107933B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105939316A (en) * 2015-10-26 2016-09-14 杭州迪普科技有限公司 Message forwarding method and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102170395A (en) * 2011-04-21 2011-08-31 中兴通讯股份有限公司 Data transmission method and network equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8699515B2 (en) * 2009-07-21 2014-04-15 Cisco Technology, Inc. Limiting of network device resources responsive to IPv6 originating entity identification

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102170395A (en) * 2011-04-21 2011-08-31 中兴通讯股份有限公司 Data transmission method and network equipment

Also Published As

Publication number Publication date
CN103107933A (en) 2013-05-15

Similar Documents

Publication Publication Date Title
CN106559292B (en) Broadband access method and device
EP3313025B1 (en) Data packet forwarding
US9258699B2 (en) Method for route transmission based on single IPv6 address prefix, and wireless device
US8539055B2 (en) Device abstraction in autonomous wireless local area networks
KR101455219B1 (en) Method, apparatus and system for forwarding packet
CN102413061A (en) Message transmission method and equipment
CN103650460B (en) Method and device for wireless communication
CN102055637B (en) Wide band network system and realizing method thereof
CN102170395A (en) Data transmission method and network equipment
CN105100299A (en) Message sending method, NAT (Network Address Translation) table entry establishment method and NAT device
US8472420B2 (en) Gateway device
CN107645431B (en) Message forwarding method and device
CN104821905A (en) Network relay device, and method for relaying data packet
US20140032782A1 (en) Method and apparatus for route selection of host in multihoming site
EP2721779B1 (en) Communication mechanism for multiple interface network nodes
CN102238075A (en) IPv6 (Internet Protocol version 6) routing establishing method based on Ethernet Point-to-Point Protocol and access server
CN103763750B (en) Method for fast achieving packet forwarding in wireless ad hoc network of TDMA protocol
EP2536099A2 (en) Method and access node for preventing address conflict
CN101242370B (en) Method for realizing Ethernet and frame-relay Internet and protocol conversion device
CN103026692A (en) PV6 address generation to trigger a virtual leased line service
CN102970387A (en) Domain name resolution method, device and system
CN102196417B (en) Method for user-side equipment and user-side equipment, control equipment
US20170222970A1 (en) Ipv6 address assignment method and apparatus
CN103107933B (en) A kind of DS-Lite communication means and for DS-Lite communication CPE and system
CN101938531A (en) Method, system and device for communicating IPv4 network and IPv6 network

Legal Events

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