CN102143251B - Internet protocol version 4 (IPv4)/internet protocol version 6 (IPv6) translation method facing to asymmetrical digital subscriber loop (ADSL) of network operator - Google Patents

Internet protocol version 4 (IPv4)/internet protocol version 6 (IPv6) translation method facing to asymmetrical digital subscriber loop (ADSL) of network operator Download PDF

Info

Publication number
CN102143251B
CN102143251B CN2011100773966A CN201110077396A CN102143251B CN 102143251 B CN102143251 B CN 102143251B CN 2011100773966 A CN2011100773966 A CN 2011100773966A CN 201110077396 A CN201110077396 A CN 201110077396A CN 102143251 B CN102143251 B CN 102143251B
Authority
CN
China
Prior art keywords
ipv6
address
ipv4
grouping
user
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
CN2011100773966A
Other languages
Chinese (zh)
Other versions
CN102143251A (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.)
Tsinghua University
Original Assignee
Tsinghua University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tsinghua University filed Critical Tsinghua University
Priority to CN2011100773966A priority Critical patent/CN102143251B/en
Publication of CN102143251A publication Critical patent/CN102143251A/en
Application granted granted Critical
Publication of CN102143251B publication Critical patent/CN102143251B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses an internet protocol version 4 (IPv4)/internet protocol version 6 (IPv6) translation method facing to the asymmetrical digital subscriber loop (ADSL) of a network operator, relating to the technical field of computer networks. In the method, a broadband remote access server (BRAS) side is subjected to 1:N stateless IPv4/IPv6 translation, and the home gateway connected with users are respectively allocated with a single IPv6/64 prefix, wherein the prefix contains a common IPv6 address and a special IPv6 address of an embedded shared public IPv4 address as well; the user home gateways carry out the IPv4/IPv6 translation including port conflict detection on the special IPv6 address; the home gateways allocate the shared public IPv4 address and the common IPv6 address to computers of users, so that the users can share scarce public IPv4 address, launch end-to-end communication with global IPv4 internet in two directions without application layer gateways, and can carry out full function communication with the global IPv6 internet.

Description

The IPv4/IPv6 interpretation method of operatable object merchant ADSL (Asymmetric Digital Subscriber Line)
Technical field
The present invention relates to technical field of the computer network, particularly a kind of IPv4/IPv6 interpretation method of operatable object merchant ADSL (Asymmetric Digital Subscriber Line).
Background technology
The Internet has become the most important information infrastructure in the whole world, but the addressing range of the address of widely used the 4th edition procotol IPv4 in the Internet has only 2 at present 32, i.e. 4,300,000,000 addresses, the IPv4 address is about to assign at present.
The absolute number of present Chinese netizen population has become the first in the world, but the popularity rate of the Internet has only 23%, far below world's level of developed countries (70%).Simultaneously, on average each Chinese netizen only has 0.6 IPv4 address.Therefore, for China, the IPv4 address can't satisfy the demands.This problem all is very serious for other Asian countries and African countries such as India.
In order to solve the not enough problem in IPv4 address, Internet engineering group (IETF) has designed sixth version procotol IPv6, and its addressing of address scope has 2 128, can satisfy the demands.But for various reasons, the IPv6 agreement is incompatible in the IPv4 agreement, can not well interconnect.She Ji theory was the problem that interconnects with the method solution of " dual stack " at that time, but the experiences and lessons of IPv6 popularization in nearly ten years proves, can not visit the numerous network information resources of IPv4, can not can not grow up with the IPv6 network of the numerous telex network of IPv4.
Address translation and protocol translation are the methods that solution IPv4 and IPv6 interconnect, as the NAT-PT (RFC2766) that defines in the ietf standard, but NAT-PT is based on the interpretation method of state, poor expandability, be classified as historical standard by IETF, give way for expecting better IPv4/IPv6 transition and coexistence standard.
In the recent period, there are the NAT64 that initiates visit IPv4/IPv6 transitional technology from IPv6 to IPv4 and stateless (or minimum state) the address prefix IPv4/IPv6 transitional technology IVI that two-way initiation is visited from IPv6 to IPv4 and from IPv4 to IPv6 in each research organization to the IPv4/IPv6 transition of IETF submission and the draft standard of coexistence.Stateless address transition and method for converting protocol have extensibility, but are used for must satisfying corresponding standard when operator's ADSL (Asymmetric Digital Subscriber Line) (ADSL).Operator is that ADSL (Asymmetric Digital Subscriber Line) (ADSL) provides the standard of IPv6 service to be at present: must use the IPv6CP in the PPPoE agreement to carry out authentication and the control of user account number, broadband server (BRAS) uses the DHCPv6 agreement subscriber household gateway to be distributed the IPv6 prefix of single/64, the IPv4 address of two stack subscriber computers of main flow obtains by the DHCP agreement, and corresponding IPv6 address obtains by the SLAAC method, by the exchanging visit between double-stack technology realization subscriber computer and the IPv4/IPv6 the Internet.
When so two stack users need exchange visits with the IPv4 resource by IPv6 network (rather than dual-stack network), just need to use stateless translation technology IVI.The present IVI technology IPv6 address that must use state DHCPv6 configure user computer, this address generally be not/64, and therefore be used for the ADSL (Asymmetric Digital Subscriber Line) user and have certain limitation.
Summary of the invention
(1) technical problem that will solve
The technical problem to be solved in the present invention is to realize stateless translation technology IVI in operator's ADSL (Asymmetric Digital Subscriber Line) on the basis of continuing to use present IPv6PPPoE agreement and relevant IPv6 address assignment thereof.
(2) technical scheme
For solving the problems of the technologies described above, the invention provides a kind of IPv4/IPv6 interpretation method of operatable object merchant ADSL (Asymmetric Digital Subscriber Line), before translation, operator reserves one section publicly-owned IPv4 address and determines that it is shared multiplexing than R for each BAS Broadband Access Server, reserve a segment prefix length for each BAS Broadband Access Server and be/48 the publicly-owned address field of IPv6; The prefix length of distributing to this user for the different user structure of sharing this section IPv4 address is/64 different IPv6 address field, comprising being used for this user and one of the intercommunication of IPv4 the Internet special IPv6 address and for the common IPv6 address of this user and IPv6 internet communication; For the home gateway that connects on each user disposes the employed shared publicly-owned IPv4 address of this user and multiplexing shared sequence number k than R and this user thereof; User's computer obtains to belong to described prefix length by home gateway from BAS Broadband Access Server and is/64 different IPv6 address field, obtain the address of name server simultaneously, home gateway according to IPv6/64 prefixes are subscriber computer configuration of IP v6 address by stateless IPv6 address configuration agreement SLAAC, be subscriber computer distributing IP v4 address by the DHCP agreement, and the address of domain name server
Said method comprising the steps of:
S1: subscriber computer is by conventional name server nslookup, if name server only returns the A record, then execution in step S2 returns the AAAA record as if name server, then execution in step S3;
S2: subscriber computer sends the IPv4 grouping, and this user's home gateway receives described IPv4 grouping, carries out 1:1IPv4/IPv6 grouping translation, and transmits the IPv6 grouping that obtains after the translation, execution in step S4 to BAS Broadband Access Server;
S3: subscriber computer sends the IPv6 grouping, and this user's home gateway receives described IPv6 grouping, directly carries out the IPv6 grouping and transmits;
S4: BAS Broadband Access Server divides into groups to transmit to IPv6 according to destination address in the grouping, if destination address is special IPv6 address prefix, sends to 1:N stateless IPv4/IPv6 translater, otherwise, directly send to the IPv6 the Internet;
S5:1:N stateless IPv4/IPv6 translater receives the IPv6 grouping, is translated into IPv4 grouping and forwarding;
S6: the Target IP v4 computer on the Global Internet receives the IPv4 grouping;
S7: described Target IP v4 computer sends the IPv4 grouping to described subscriber computer;
S8:1:N stateless IPv4/IPv6 translater receives the IPv4 grouping, is translated into IPv6 grouping and forwarding;
S9: home gateway receives the IPv6 grouping, carries out 1:1IPv4/IPv6 grouping translation, is translated as the IPv4 grouping, and transmits;
S10: described subscriber computer receives the IPv4 grouping;
S11: return step S2.
Wherein, describedly multiplexingly be 2 integral multiple and be less than or equal to 256 that the span of described shared sequence number k is 0 to R-1 than R, the port numbers that computer can use is with the method definition of delivery: k=P%R, and wherein % is the modulo operation symbol, and P is port numbers.
Wherein, the described prefix length of distributing to this user for the different user structure of sharing this section IPv4 address is as follows for the mode of/64 different IPv6 address field:
S1-1: in the publicly-owned address of the IPv6 of described reservation/48, be the special IPv6 address of described each share I Pv4 address user structure with the IPv4 internet communication, the addressing form comprises prefix structure and suffix structure;
S1-2: in the IPv4 address field of reserving, take out a publicly-owned IPv4 address a.b.c.d, the composition rule of special IPv6 address prefix of sharing each user of this address is: bit 0-47 be described reservation/48 the publicly-owned address prefix of IPv6, bit 48-55 is the 4th section 8 of described IPv4 address a.b.c.d, be d, bit 56-63 represents for the bit of k user's sharing described IPv4 address digital K, so the prefix length of the IPv6 that obtains of each user is 64; Bit 64-95 is described publicly-owned IPv4 address; The composition rule of suffix is: bit 96-99 is that the bit of multiplexing ratio is represented, bit 104-111 represents that for the bit of k user's of shared described IPv4 address digital K bit 100-103 and bit 112-127 are complete 0;
S1-3: copy the method definition expression entire I Pv4 Internet user's of S1-1, S1-2 special IPv6 address prefix, still, and in the prefix structure, d=255 and k=255; This prefix length is 64; Bit 64-95 is Internet user's IPv4 address, and suffix is complete 0.
Wherein, described step S2 specifically comprises:
S2-1: judge the grouping version, if IPv4, execution in step S2-2 to S2-4, if IPv6, execution in step S2-5;
S2-2: destination address is translated as the special IPv6 address according to the S1-3 structure, and target port is constant;
S2-3: source address be translated as embed to share publicly-owned IPv4 address, according to the special IPv6 address of S1-2 structure, source port is made port mapping;
S2-4: carry out IPv4/IPv6 grouping translation;
S2-5: directly send the IPv6 grouping.
Wherein, described step S5 specifically comprises:
S5-1: destination address obtains the IPv4 address from expression entire I Pv4 Internet user's special IPv6 address prefix, target port is constant,
S5-2: source address obtains this user's IPv4 address from the special IPv6 address of the shared publicly-owned IPv4 address of described embedding, if source port does not meet the scope of port numbers P, abandon grouping, if source port meets the scope of port numbers P, source port is constant;
S5-3: carry out IPv4/IPv6 grouping translation;
S5-4: send the IPv4 grouping.
Wherein, described step S8 specifically comprises:
S8-1: destination address is translated as and embeds the special IPv6 of this user address of sharing publicly-owned IPv4 address, and target port is constant;
S8-2: source address is translated as expression entire I Pv4 Internet user's special IPv6 address, and source port is constant;
S8-3: carry out IPv4/IPv6 grouping translation;
S8-4: send the IPv6 grouping.
Wherein, described step S9 specifically comprises:
S9-1: judge whether destination address is the special IPv6 address that embeds shared publicly-owned IPv4 address, if, execution in step S9-2 to S9-5, if not, execution in step S9-6;
S9-2: destination address obtains described user's IPv4 address from embed the special IPv6 address of sharing publicly-owned IPv4 address, target port is made port mapping;
S9-3: source address obtains the IPv4 address from expression entire I Pv4 Internet user's special IPv6 address, source port is constant;
S9-4: carry out IPv4/IPv6 grouping translation;
S9-5: send the IPv4 grouping, finish to return;
S9-6: directly send the IPv6 grouping.
Wherein, described home gateway is special equipment or is realized by software on subscriber computer.
(3) beneficial effect
Realized on the basis of continuing to use present IPv6PPPoE agreement and relevant IPv6 address assignment thereof by method of the present invention, maintenance core net address stateless is translated and is carried out at home gateway under the situation of port mapping, and adopting the secondary interpretation method is that the ADSL (Asymmetric Digital Subscriber Line) user of operator realizes the communication of IPv4/IPv6 exchanging visit end to end.
Description of drawings
Fig. 1 is the system configuration schematic diagram of realizing the inventive method;
Fig. 2 is the coded format of special IPv6 address in the inventive method;
Fig. 3 is a kind of operatable object merchant ADSL (Asymmetric Digital Subscriber Line) of the embodiment of the invention
The flow chart of IPv4/IPv6 interpretation method.
Embodiment
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is described in further detail.Following examples are used for explanation the present invention, but are not used for limiting the scope of the invention.
The key technology of the method for the invention comprises: be used for the addressing form of ADSL (Asymmetric Digital Subscriber Line) user's single IP v6 prefix, share the port mapping of publicly-owned IPv4 address and the IPv4/IPv6 grouping interpretation method of employing secondary translater.
As shown in Figure 1, the present invention is on the basis of stateless address translation and protocol translation, carry out the stateless IPv4/IPv6 translation of 1:N in BAS Broadband Access Server (BRAS) side, and each user distributed single IPv6 prefix, both comprised in this prefix for the common IPv6 address of IPv6 internet communication, also comprise a special IPv6 address with the IPv4 internet communication of being used for of embed sharing publicly-owned IPv4 address, on user's home gateway, comprise the IPv4/IPv6 translation of port mapping for this special IPv6 address, and distribution is shared to user's computer publicly-owned IPv4 address and common IPv6 address, make the user can share rare publicly-owned IPv4 address, carry out two-way initiation with global ip v4 the Internet, do not need the end-to-end communication of ALG, can communicate with the global IPv 6 the Internet simultaneously.
(1) coded format of the single IP v6 prefix of ADSL (Asymmetric Digital Subscriber Line)
There is certain standard in operator to the IPv6 service is provided on the ADSL (Asymmetric Digital Subscriber Line) (ADSL) at present, as using the IPv6CP in the PPPoE agreement to carry out authentication and the control of user account number, broadband server uses the DHCPv6 agreement subscriber household gateway to be distributed the IPv6 prefix of single/64, the IPv4 address of the subscriber computer of main flow obtains by the DHCP agreement, and the IPv6 address obtains by the SLAAC method.
The present invention is not changing under the above-mentioned condition, and the single/64IPv6 prefix that realized that each user obtains namely can realize the communicating by letter of the two-way initiation of IPv4 the Internet and IPv6 the Internet, and can share rare publicly-owned IPv4 address resource effectively.
Special IPv6 address format of the present invention has taken full advantage of the address space of IPv6 as shown in Figure 2, and relevant information is all encoded in the address.
A) operator is that each BAS Broadband Access Server reserves one/48 the publicly-owned address of IPv6, as 2001:db8:a4a6: :/48.
B) by BAS Broadband Access Server for each user distribute/composition rule of 64 prefixes is the 4th section 8 of IPv4 address a.b.c.d for bit 48-55, be d, bit 56-63 is k user of multiplexing IPv4 address, be 192.168.1.0/30 as the IPv4 address field, multiplexing ratio is 16, then having 16 users and share this address of 192.168.1.1, these 16 users are resulting/and 64 prefix is shown in table 3 the 2nd row.
C) this prefix comprise one embed share I Pv4 address can with the IPv4 intercommunication special IPv6 address, the composition rule of this address is: bit 64-95 is the IPv4 address, bit 96-99 is that the bit of multiplexing ratio is represented, bit 104-111 is for being k user of multiplexing this IPv4 address, bit 100-103 and bit 112-127 are complete 0, and these 16 the resulting special IPv6 of user addresses are shown in table 3 the 5th row.
It is worthy of note: back 16 of special IPv6 address are 0, and therefore the common IPv6 address with the SLAAC mode producing can not clash.
(2) port mapping of shared publicly-owned IPv4 address
According to formula, as R=128, then k platform computer the port range that can use be, i.e. k, 128+k, 256+k, 384+k, 512+k, 640+k, 768+k, 896+k, 1024+k ..., wherein the span of n is 0-511, the span of k is 0-127.The scope of noting this port all is suitable for for target port and former port.For the situation of target port, other IPv4 computers are connected to same IPv4 destination address, and the request of different target port will be sent to the different computer according to above-mentioned formula definition.For the situation of source port, use the different computer of same IPv4 address must strictly observe the port that above-mentioned formula defines, otherwise network will abandon against regulation grouping.Home gateway is responsible for carrying out port mapping to meet the definition of above-mentioned formula.
(3) the IPv4/IPv6 grouping interpretation method of employing secondary translater
The present invention adopts the method for secondary translater, the first order is that 1:N stateless IPv4/IPv6 translater is arranged on the IPv4/IPv6 grouping translation that BAS Broadband Access Server (BRAS) side is carried out the shared publicly-owned IPv4 address of stateless, the second level is the subscriber household gateway, carries out the IPv4/IPv6 grouping translation of stateless address translation and the port mapping of 1:1.The characteristics of home gateway are for adopting present most popular use DHCP distributing IP v4 address, and the method that adopts SLAAC distributing IP v6 address to give subscriber computer has best applicability.
The publicly-owned address of IPv4 that table 3 is multiplexing and special IPv6 address mapping table are for example
Figure DEST_PATH_GDA00002847570700061
Workflow is:
S1: subscriber computer is by conventional name server nslookup, if name server only returns the A record, then execution in step S2 returns the AAAA record as if name server, then execution in step S3;
S2: subscriber computer sends the IPv4 grouping, and this user's home gateway receives described IPv4 grouping, carries out 1:1IPv4/IPv6 grouping translation, and transmits the IPv6 grouping that obtains after the translation, execution in step S4 to BAS Broadband Access Server;
Described step S2 specifically comprises:
S2-1: judge the grouping version, if IPv4, execution in step S2-2 to S2-4, if IPv6, execution in step S2-5;
S2-2: destination address is translated as the special IPv6 address according to the S1-3 structure, and target port is constant;
S2-3: source address be translated as embed to share publicly-owned IPv4 address, according to the special IPv6 address of S1-2 structure, source port is made port mapping;
S2-4: carry out IPv4/IPv6 grouping translation;
S2-5: directly send the IPv6 grouping;
S3: subscriber computer sends the IPv6 grouping, and this user's home gateway receives described IPv6 grouping, directly carries out the IPv6 grouping and transmits;
S4: BAS Broadband Access Server divides into groups to transmit to IPv6 according to destination address in the grouping, if destination address is special IPv6 address prefix, sends to 1:N stateless IPv4/IPv6 translater, otherwise, directly send to the IPv6 the Internet;
S5:1:N stateless IPv4/IPv6 translater receives the IPv6 grouping, is translated into IPv4 grouping and forwarding;
Described step S5 specifically comprises:
S5-1: destination address obtains the IPv4 address from expression entire I Pv4 Internet user's special IPv6 address prefix, target port is constant,
S5-2: source address obtains this user's IPv4 address from the special IPv6 address of the shared publicly-owned IPv4 address of described embedding, if source port does not meet the scope of the port numbers P of above-mentioned definition, abandon grouping, if source port meets the scope of the port numbers P of above-mentioned definition, source port is constant
S5-3: carry out IPv4/IPv6 grouping translation;
S5-4: send the IPv4 grouping;
S6: the Target IP v4 computer on the Global Internet receives the IPv4 grouping;
S7: described Target IP v4 computer sends the IPv4 grouping to described subscriber computer;
S8:1: N stateless IPv4/IPv6 translater receives the IPv4 grouping, is translated into IPv6 grouping and forwarding;
Described step S8 specifically comprises:
S8-1: destination address is translated as and embeds the special IPv6 of this user address of sharing publicly-owned IPv4 address, and target port is constant;
S8-2: source address is translated as expression entire I Pv4 Internet user's special IPv6 address, and source port is constant,
S8-3: carry out IPv4/IPv6 grouping translation;
S8-4: send the IPv6 grouping;
S9: home gateway receives the IPv6 grouping, carries out 1: 1IPv4/IPv6 grouping translation and forwarding;
Described step S9 specifically comprises:
S9-1: judge whether destination address is the special IPv6 address that embeds shared publicly-owned IPv4 address, if, execution in step S9-2 to S9-5, if not, execution in step S9-6;
S9-2: destination address obtains described user's IPv4 address from embed the special IPv6 address of sharing publicly-owned IPv4 address, target port is made port mapping;
S9-3: source address obtains the IPv4 address from expression entire I Pv4 Internet user's special IPv6 address, source port is constant;
S9-4: carry out IPv4/IPv6 grouping translation;
S9-5: send the IPv4 grouping, finish to return;
S9-6: directly send the IPv6 grouping;
S10: described subscriber computer receives the IPv4 grouping;
S11: return step S2.
Above execution mode only is used for explanation the present invention; and be not limitation of the present invention; the those of ordinary skill in relevant technologies field; under the situation that does not break away from the spirit and scope of the present invention; can also make a variety of changes and modification; therefore all technical schemes that are equal to also belong to category of the present invention, and scope of patent protection of the present invention should be defined by the claims.

Claims (6)

1. the IPv4/IPv6 interpretation method of an operatable object merchant ADSL (Asymmetric Digital Subscriber Line), it is characterized in that, before translation, operator reserves one section publicly-owned IPv4 address and determines that it is shared multiplexing than R for each BAS Broadband Access Server, reserve a segment prefix length for each BAS Broadband Access Server and be/48 the publicly-owned address field of IPv6; The prefix length of distributing to this user for the different user structure of sharing this section IPv4 address is/64 different IPv6 address field, comprising being used for this user and one of the intercommunication of IPv4 the Internet special IPv6 address and for the common IPv6 address of this user and IPv6 internet communication; For the home gateway that connects on each user disposes the employed shared publicly-owned IPv4 address of this user and multiplexing shared sequence number k than R and this user thereof; User's computer obtains to belong to described prefix length by home gateway from BAS Broadband Access Server and is/64 different IPv6 address field, obtain the address of name server simultaneously, home gateway according to IPv6/64 prefixes are subscriber computer configuration of IP v6 address by stateless IPv6 address configuration agreement SLAAC, be subscriber computer distributing IP v4 address by the DHCP agreement, and the address of domain name server
Said method comprising the steps of:
S1: subscriber computer is by conventional name server nslookup, if name server only returns the A record, then execution in step S2 returns the AAAA record as if name server, then execution in step S3;
S2: subscriber computer sends the IPv4 grouping, and this user's home gateway receives described IPv4 grouping, carries out 1:1IPv4/IPv6 grouping translation, and transmits the IPv6 grouping that obtains after the translation, execution in step S4 to BAS Broadband Access Server;
S3: subscriber computer sends the IPv6 grouping, and this user's home gateway receives described IPv6 grouping, directly carries out the IPv6 grouping and transmits;
S4: BAS Broadband Access Server divides into groups to transmit to IPv6 according to destination address in the grouping, if destination address is special IPv6 address prefix, sends to 1:N stateless IPv4/IPv6 translater, otherwise, directly send to the IPv6 the Internet;
S5:1:N stateless IPv4/IPv6 translater receives the IPv6 grouping, is translated into IPv4 grouping and forwarding;
S6: the Target IP v4 computer on the Global Internet receives the IPv4 grouping;
S7: described Target IP v4 computer sends the IPv4 grouping to described subscriber computer;
S8:1:N stateless IPv4/IPv6 translater receives the IPv4 grouping, is translated into IPv6 grouping and forwarding;
S9: home gateway receives the IPv6 grouping, carries out 1:1IPv4/IPv6 grouping translation, is translated as the IPv4 grouping, and transmits;
S10: described subscriber computer receives the IPv4 grouping;
S11: return step S2;
Describedly multiplexingly be 2 integral multiple and be less than or equal to 256 that the span of described shared sequence number k is 0 to R-1 than R, the port numbers that computer can use is with the method definition of delivery: k=P%R, and wherein % is the modulo operation symbol, and P is port numbers;
The described prefix length of distributing to this user for the different user structure of sharing this section IPv4 address is as follows for the mode of/64 different IPv6 address field:
S1-1: in the publicly-owned address of the IPv6 of described reservation/48, be the special IPv6 address of described each share I Pv4 address user structure with the IPv4 internet communication, the addressing form comprises prefix structure and suffix structure;
S1-2: in the IPv4 address field of reserving, take out a publicly-owned IPv4 address a.b.c.d, the composition rule of special IPv6 address prefix of sharing each user of this address is: bit 0-47 be described reservation/48 the publicly-owned address prefix of IPv6, bit 48-55 is the 4th section 8 of described IPv4 address a.b.c.d, be d, bit 56-63 represents for the bit of k user's sharing described IPv4 address digital K, so the prefix length of the IPv6 that obtains of each user is 64; Bit 64-95 is described publicly-owned IPv4 address; The composition rule of suffix is: bit 96-99 is that the bit of multiplexing ratio is represented, bit 104-111 represents that for the bit of k user's of shared described IPv4 address digital K bit 100-103 and bit 112-127 are complete 0;
S1-3: copy the method definition expression entire I Pv4 Internet user's of S1-1, S1-2 special IPv6 address prefix, still, and in the prefix structure, d=255 and k=255; This prefix length is 64; Bit 64-95 is Internet user's IPv4 address, and suffix is complete 0.
2. the IPv4/IPv6 interpretation method of operatable object merchant ADSL (Asymmetric Digital Subscriber Line) as claimed in claim 1 is characterized in that, described step S2 specifically comprises:
S2-1: judge the grouping version, if IPv4, execution in step S2-2 to S2-4, if IPv6, execution in step S2-5;
S2-2: destination address is translated as the special IPv6 address according to the S1-3 structure, and target port is constant;
S2-3: source address be translated as embed to share publicly-owned IPv4 address, according to the special IPv6 address of S1-2 structure, source port is made port mapping;
S2-4: carry out IPv4/IPv6 grouping translation;
S2-5: directly send the IPv6 grouping.
3. the IPv4/IPv6 interpretation method of operatable object merchant ADSL (Asymmetric Digital Subscriber Line) as claimed in claim 1 is characterized in that, described step S5 specifically comprises:
S5-1: destination address obtains the IPv4 address from expression entire I Pv4 Internet user's special IPv6 address prefix, target port is constant,
S5-2: source address obtains this user's IPv4 address from the special IPv6 address of the shared publicly-owned IPv4 address of described embedding, if source port does not meet the scope of port numbers P, abandon grouping, if source port meets the scope of port numbers P, source port is constant;
S5-3: carry out IPv4/IPv6 grouping translation;
S5-4: send the IPv4 grouping.
4. the IPv4/IPv6 interpretation method of operatable object merchant ADSL (Asymmetric Digital Subscriber Line) as claimed in claim 1 is characterized in that, described step S8 specifically comprises:
S8-1: destination address is translated as and embeds the special IPv6 of this user address of sharing publicly-owned IPv4 address, and target port is constant;
S8-2: source address is translated as expression entire I Pv4 Internet user's special IPv6 address, and source port is constant;
S8-3: carry out IPv4/IPv6 grouping translation;
S8-4: send the IPv6 grouping.
5. the IPv4/IPv6 interpretation method of operatable object merchant ADSL (Asymmetric Digital Subscriber Line) as claimed in claim 1 is characterized in that, described step S9 specifically comprises:
S9-1: judge whether destination address is the special IPv6 address that embeds shared publicly-owned IPv4 address, if, execution in step S9-2 to S9-5, if not, execution in step S9-6;
S9-2: destination address obtains described user's IPv4 address from embed the special IPv6 address of sharing publicly-owned IPv4 address, target port is made port mapping;
S9-3: source address obtains the IPv4 address from expression entire I Pv4 Internet user's special IPv6 address, source port is constant;
S9-4: carry out IPv4/IPv6 grouping translation;
S9-5: send the IPv4 grouping, finish to return;
S9-6: directly send the IPv6 grouping.
6. as the IPv4/IPv6 interpretation method of each described operatable object merchant ADSL (Asymmetric Digital Subscriber Line) in the claim 1~5, it is characterized in that described home gateway is special equipment or is realized by software on subscriber computer.
CN2011100773966A 2011-03-29 2011-03-29 Internet protocol version 4 (IPv4)/internet protocol version 6 (IPv6) translation method facing to asymmetrical digital subscriber loop (ADSL) of network operator Active CN102143251B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011100773966A CN102143251B (en) 2011-03-29 2011-03-29 Internet protocol version 4 (IPv4)/internet protocol version 6 (IPv6) translation method facing to asymmetrical digital subscriber loop (ADSL) of network operator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011100773966A CN102143251B (en) 2011-03-29 2011-03-29 Internet protocol version 4 (IPv4)/internet protocol version 6 (IPv6) translation method facing to asymmetrical digital subscriber loop (ADSL) of network operator

Publications (2)

Publication Number Publication Date
CN102143251A CN102143251A (en) 2011-08-03
CN102143251B true CN102143251B (en) 2013-10-02

Family

ID=44410463

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011100773966A Active CN102143251B (en) 2011-03-29 2011-03-29 Internet protocol version 4 (IPv4)/internet protocol version 6 (IPv6) translation method facing to asymmetrical digital subscriber loop (ADSL) of network operator

Country Status (1)

Country Link
CN (1) CN102143251B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110493367B (en) * 2019-08-20 2020-07-28 清华大学 Address-free IPv6 non-public server, client and communication method
CN116132397B (en) * 2022-11-28 2024-05-14 赛尔新技术(北京)有限公司 IPv 6-to-IPv 4 conversion method and conversion device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101431478B (en) * 2008-12-17 2011-05-11 清华大学 P2P operator level router and home gateway combined IPv4/IPv6 grouping conversion method
CN101610295B (en) * 2009-07-17 2011-11-09 清华大学 Stateless IPv4/IPv6 grouping transformation method using non-specific IPv6 address
CN101783818A (en) * 2009-09-29 2010-07-21 清华大学 Construction method of IPv4 address and IPv6 address with multiplexed port

Also Published As

Publication number Publication date
CN102143251A (en) 2011-08-03

Similar Documents

Publication Publication Date Title
US9237091B2 (en) System and method of load balancing for ethernet link aggregation
CN102143250B (en) Communication method for internet protocol version (IPv)4/IPv6 translation and tunnel combination of unsymmetrical digital subscriber loop
CN100471162C (en) Method for releasing and processing virtual circuit information and supplier edge device
US8458303B2 (en) Utilizing a gateway for the assignment of internet protocol addresses to client devices in a shared subset
CN101001264B (en) Method, device, network edge equipment and addressing server for L1VPN address distribution
CN1835513A (en) Method for exchanging packets of user data
CN102098355B (en) Cloud service-based IPv6 (internet protocol version 6)/IPv4 (internet protocol version 4) translation method with communication initiated by IPv6 party
CN102238075A (en) IPv6 (Internet Protocol version 6) routing establishing method based on Ethernet Point-to-Point Protocol and access server
CN102594942A (en) Method and system for achieving network address translation
CN1277373C (en) Method for transmitting user position information in network communication system
CN102098356A (en) Method for translating Internet protocol version 4 (IPv4)/Internet protocol version 6 (IPv6) initiating communication by using IPv4 based on cloud service
CN101610295A (en) Use the stateless IPv4/IPv6 grouping conversion method of nonspecific IPv6 address
CN100531215C (en) Method for realizing multiple network device link aggregation
CN101431477A (en) P2P operator and campus network router combined IPv4/IPv6 grouping conversion method
CN101431478B (en) P2P operator level router and home gateway combined IPv4/IPv6 grouping conversion method
CN115955456A (en) IPv 6-based enterprise campus network and networking method
CN102025604B (en) Carrying network and data transmission method
CN102143251B (en) Internet protocol version 4 (IPv4)/internet protocol version 6 (IPv6) translation method facing to asymmetrical digital subscriber loop (ADSL) of network operator
CN105635335A (en) Social resource access method, apparatus, and system
CN101616192B (en) Step translation method of IPv4 address and port multiplexing
CN103856582A (en) Method for controlling IPv6 internet of things through IPv4 internet of things
CN105357332B (en) A kind of method for network address translation and device
CN103414800A (en) Allocation and selection method and system of distributed relay servers in NAT traversal
CN103141072A (en) Ip address obtaining method and network access device
CN104506668A (en) Route configuration method and device of dedicated cloud host

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