CN102594932B - Use the IPv4/IPv6 step translation method of nonspecific IPv6 address - Google Patents

Use the IPv4/IPv6 step translation method of nonspecific IPv6 address Download PDF

Info

Publication number
CN102594932B
CN102594932B CN201110415815.2A CN201110415815A CN102594932B CN 102594932 B CN102594932 B CN 102594932B CN 201110415815 A CN201110415815 A CN 201110415815A CN 102594932 B CN102594932 B CN 102594932B
Authority
CN
China
Prior art keywords
ipv6
address
ipv4
port
grouping
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
CN201110415815.2A
Other languages
Chinese (zh)
Other versions
CN102594932A (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 CN201110415815.2A priority Critical patent/CN102594932B/en
Publication of CN102594932A publication Critical patent/CN102594932A/en
Application granted granted Critical
Publication of CN102594932B publication Critical patent/CN102594932B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Use the IPv4/IPv6 step translation method of IPv6 address, it is characterized in that, classification is changed IPv4 grouping and IPv6 grouping, and the first order utilizes stateless IPv4/IPv6 address and method for converting protocol to set up transformational relation between IPv4 address and specific IPv6 address; The second level utilizes stateless IPv6/IPv6 address conversion method to make multiple specific IPv6 address share an IPv4 address by port information; The third level makes user port meet the requirement of second level conversion by port translation, and by the specific IPv6 address of IPv6 address transition needed for the conversion of the second level that user is obtained by shaftless driving by IPv6/IPv6 address maps.By above-mentioned three grades of conversions, IPv4/IPv6 is changed there is very strong adaptability, can effectively advance the Internet from IPv4 to the transition of IPv6.

Description

Use the IPv4/IPv6 step translation method of nonspecific IPv6 address
Technical field
The IPv4/IPv6 step translation method of nonspecific IPv6 address is used to belong to computer internet communication technical field.
Background technology
The Internet has become the most important information infrastructure in the whole world, but the addressing range of the address of the widely used 4th edition procotol IPv4 in the Internet only has 232 at present, i.e. 4,300,000,000 addresses, according to the dispensing rate of current IPv4 address, estimate after 2011, IPv4 address is about to be assigned.
The absolute number of current Chinese netizen population becomes the first in the world, but the popularity rate of the Internet only has 22%, far below the level (70%) of World Developed Countries.Meanwhile, average each Chinese netizen only has 0.6 IPv4 address.Therefore, for China, IPv4 address cannot satisfy the demands.This problem, for other Asian countries and African countries such as India, is all very serious.
In order to solve the not enough problem in IPv4 address, Internet engineering group (IETF) devises sixth version procotol IPv6, and its addressing of address scope has 2 128, can satisfy the demands.But for various reasons, IPv6 agreement is incompatible in IPv4 agreement, can not well interconnect.The theory designed at that time solves by the method for " dual stack " problem interconnected, but the experiences and lessons of IPv6 popularization in nearly ten years proves, can not access the numerous network information resource of IPv4, the IPv6 network of telex network that can not be numerous with IPv4 can not grow up.
Address transition and protocol conversion are the methods that solution IPv4 and IPv6 interconnects, stateless address transition and method for converting protocol, there is extensibility, but stateless conversion method needs user to use specific IPv6 address, do not allow the IPv6 address using configuration automatically.Meanwhile, IPv4 address is narrow resources, needs to utilize better.
General principle of the present invention be stateless address conversion and protocol conversion basis on, 1. increase stateless IPv6/IPv6 multiplexed port address conversion gateway, utilize multiplexed port to be converted to a large amount of IVIIPv6 addresses with Equations of The Second Kind coded format IVI address according to demand; 2. IPv6/IPv6 address maps gateway is increased, user can use the IPv6 address of configuration automatically, when needs and IPv4 internet communication, by IPv6/IPv6 address maps gateway, be that stateless conversion method needs user to use specific IPv6 address by User IP v6 address transition.Above-mentioned two-stage gateway and stateless IPv4/IPv6 transfer gateway IVI gateway, can divide 3 grades of deployment, also can combine deployment as required, have very strong extensibility and adaptability.
Essential characteristic of the present invention comprises: the first kind coded format 1) adopting IPv4 address to embed IPv6 address sets up unique mapping relations between the subset IVI6 address of an IPv6 address of IPv4 address and operator; 2) secondary conversion method is adopted, IPv4 address and port range is adopted to embed the Equations of The Second Kind coded format of IPv6 address by IPv6/IPv6 transfer gateway, defining multiplexing ratio according to demand, is a large amount of IPv6 addresses a small amount of IVI6 address transition, for IPv6 user and IPv4 internet communication.3) by IPv6/IPv6 address maps gateway, as required when user needs access IPv4 the Internet, be that stateless conversion method needs user to use specific IPv6 address by User IP v6 address transition.User can use the IPv6 address of configuration automatically.
Summary of the invention
Use the IPv4/IPv6 step translation method of nonspecific IPv6 address, it is characterized in that, successively containing following steps: step (1) initialization
Step (1.1) sets up an IVI transfer gateway between IPv4 and IPv6 network, and define first kind coded format: coded format IPv4 address directly being embedded described IPv6 address, form an IPv6 address, 32+n position in the described IPv6 address format of operator based on 32 cluster prefixes embeds 32 IPv4 addresses, n < 32, between 64+n is to 128, spare bits fills full 0 simultaneously, wherein: when described IPv4 address be described operator prepare to IPv6 main frame use IPv4 address time, form IVI6 address, when described IPv4 address is the global ip v4 address comprising described operator oneself, when not belonging to again the IPv4 address of described IPv6 main frame, form IVIG6 address, described IVI6 and IVIG6 is referred to as IVI address, biaxial stress structure relation is one to one formed thus between described IPv4 address and the subset of IPv6 address, the IPv4 address corresponding with IVI6 and IVIG6 is called IVI4 and IVIG4 address.
Step (1.2) sets up IPv6/IPv6 multiplexed port address conversion gateway between IPv6 backbone network and IPv6 metropolitan area network, and define Equations of The Second Kind coded format: namely IPv4 address is added the coded format that transport layer port coding embeds described IPv6 address, 32 IPv4 addresses are being embedded based on the 32+n position in the described IPv6 geocoding form of operator's 32 cluster prefixes, n < 32, form IVI prefix, full 0 is being filled if any during spare bits between 64+n is to the 96th, embed address multiplex at the 96th to 111 and compare M, port shift value k is embedded at the 112nd to 128, 0≤k≤M-1, described M represents a described IPv4 address by IPv6/IPv6 multiplexed port address conversion gateway simultaneously for the computer number of multiple IPv6 computer,
Step (1.3) can define different IPv4 address multiplex ratios as required for different metropolitan area networks, and the service condition of IPv6 address according to user, according to IVI6 address and specific port range, and set up mapping relations one to one between the IPv6 address that user uses, namely user is when with IPv4 internet communication, can only use specific port range { port p| (pmodM)=k};
Step (1.4) defines following transport layer port mapping algorithm PCA, to make when the grouping of the IPv6 address adopting Equations of The Second Kind coded format is the port range described in the random transport layer source port mapping step (1.3) produced;
First get rid of 1-1024 port and other well-known ports, again for allowed port mapping table listed by the IPv6 main frame of described employing Equations of The Second Kind coded format, according to request order, the random transport layer source port produced is mapped to this mapping table, this port mapping table clause, for the grouping of follow-up same session series, when no longer including follow-up grouping and arriving, deletes described port mapping table clause, release port resource, for future use;
Step (1.5) is using the address pool as IPv6/IPv6 address maps transfer gateway after the IVI6 that step (1.1) is distributed is converted to Equations of The Second Kind coded format;
The mapping table of step (1.6) initialization IPv6/IPv6 address maps transfer gateway; Entry in mapping table is the IVI6 address of Equations of The Second Kind coded format and the mapping pair of User IP v6 address;
Step (1.7): in Campus Networks, IPv6 main frame carries out the automatic configuration (for distinguishing IVI6 address, the IPv6 address that in Campus Networks, IPv6 main frame is obtained by SLAAC is called " User IP v6 address ") of IPv6 address herein by SLAAC.
Step (2) IPv4 computer is to IPv6 computer initiating communication, and wherein source address is the address of IPv4 computer, and destination address is the IPv4 mirror image of the IPv6 address of IPv6 computer, and its port allows by described IPv6 computer the port that uses;
Step (3): described IVI transfer gateway receives grouping, performs step (3.1)-step (3.4) successively;
Step (3.1): described destination address is IVI6 address by the first kind coded format of setting IPv4 address transition by step (1.1),
Step (3.2): the first kind coded format that described source address sets by step (1.1) is IVIG6 address IPv4 address transition,
Step (3.3): perform other handling procedure except address transition by RFC2765, and recalculate transport layer School Affairs, thus form described IPv6 and divide into groups;
Step (3.4): to the IPv6 grouping of the first kind coded format that described IPv6/IPv6 multiplexed port transfer gateway forwarding step (3.3) is formed;
Step (4): after IPv6/IPv6 multiplexed port address conversion gateway receives the described IPv6 grouping that step (3.4) sends, perform following steps (4.1)-step (4.4), the IPv6 forming Equations of The Second Kind coded format divides into groups and sends
Step (4.1): judge whether source address is IVIG6 address, in this way, performs step (4.2), if not, performs step (4.4);
Step (4.2): be the IPv6 address of Equations of The Second Kind coded format the IPv6 address transition of first kind coded format according to destination address and target port;
Step (4.3): recalculate transport layer School Affairs, and form IPv6 grouping;
Step (4.4): divide into groups to IPv6 described in described IPv6/IPv6 address maps transfer gateway forwarding step (4.2);
Step (5): IPv6/IPv6 address maps transfer gateway receives the described IPv6 grouping that step (4.3) sends, and performs following steps (5.1)-step (5.5), forms IPv6 and divide into groups and send,
Step (5.1): judge whether source address is IVIG6 address, in this way, performs step (5.2), if not, performs step (5.5);
Step (5.2): target port is made PCA and mapped;
Step (5.3): search in the mapping table of IPv6/IPv6 address maps transfer gateway whether have the mapping table entry corresponding with destination address, if do not had, then packet discard; If had, then according to mapping table entry, be User IP v6 address by destination address from the IVI6 address transition of Equations of The Second Kind coded format;
Step (5.4): recalculate transport layer School Affairs, and form IPv6 grouping;
Step (5.5): to the IPv6 grouping described in IPv6 computer forwarding step (5.4);
Step (6): described IPv6 computer receives grouping;
Step (7): described IPv6 computer sends IPv6 grouping to IPv4 computer, wherein source address address is the User IP v6 address of computer, source port is the source port that described IPv6 computer random produces, destination address is the IPv6 mirror image of the IPv4 address of IPv4 computer, i.e. IVIG6 address;
Step (8): described IPv6/IPv6 address maps transfer gateway receives IPv6 grouping, performs following steps (8.1)-step (8.6), forms IPv6 and divides into groups and send,
Step (8.1): judge whether destination address is IVIG6 address, in this way, then perform step (8.2), if not, then illustrates that this IPv6 grouping is not mail to IPv4 network, performs step (8.6);
Whether step (8.2): the mapping table searching IPv6/IPv6 address maps transfer gateway, have the mapping table entry corresponding with source address, if any, then perform step (8.3); As not having, then from address pool, take out the IVI6 address of an available Equations of The Second Kind coded format, set up mapping table entry together with source address, for follow-up grouping;
Source address is the IVI6 address of Equations of The Second Kind coded format from User IP v6 address transition by step (8.3): the mapping table entry obtained according to step (8.2);
Step (8.4): source port is made PCA and mapped;
Step (8.5): recalculate transport layer School Affairs and form IPv6 grouping,
Step (8.6): send IPv6 grouping to described IPv6/IPv6 multiplexed port transfer gateway;
Step (9): IPv6/IPv6 multiplexed port transfer gateway receives the described IPv6 grouping of step (8.6), performs step (9.1)-step (9.5), forms IPv6 and divide into groups and send,
Step (9.1): judge whether destination address is IVIG6 address, in this way, then perform step (9.2), if not, then illustrates that this IPv6 grouping is not mail to IPv4 network, performs step (9.5);
Step (9.2): checking source port, as met corresponding port range, performs step (9.3), otherwise, abandon grouping;
Step (9.3): the IPv6 address source address from the IPv6 address transition of Equations of The Second Kind coded format being first kind coded format;
Step (9.4): recalculate transport layer School Affairs;
Step (9.5): according to route, sends IPv6 grouping; If destination address is IVIG6 address, then IPv6 grouping will be sent out toward IVI transfer gateway;
Step (10): the described destination address that IVI transfer gateway receiving step (9.5) sends is the IPv6 grouping of IVIG6, forms IPv4 divide into groups and send by following steps (10.1)-step (10.3),
Step (10.1): the IPv6 geocoding format conversion that described destination address sets by step (1.1) is IPv4 address,
Step (10.2): the IPv6 geocoding format conversion that described source address sets by step (1.1) is IPv4 address,
Step (10.3): perform other handling procedure except address transition by RFC2765, and recalculate transport layer School Affairs, thus form described IPv4 and divide into groups;
Step (10.4): the IPv4 grouping formed to IPv4 computer forwarding step (10.3);
Step (10): the IPv4 grouping that described IPv4 computer receiving step (10.4) sends;
Also can imitate above-mentioned steps by the step of IPv6 computer initiating communication in IPv6 network to describe, perform by step (7);
Above-mentioned IVI transfer gateway, IPv6/IPv6 multiplexed port address conversion gateway, IPv6/IPv6 address maps address conversion gateway, can be divided into 3 grades separately to dispose, also can be realized on same equipment by adjacent two gateways as required;
Accompanying drawing explanation
Fig. 1: the internetwork connection mode using the step translation method based on IPv4 address and multiplexed port of nonspecific IPv6 address;
Fig. 2: the workflow diagram using the step translation method based on IPv4 address and multiplexed port of nonspecific IPv6 address;
Fig. 3: IPv4 address embeds the definition format of IPv6 address.
Fig. 4: use the step translation method communication process based on IPv4 address and multiplexed port of nonspecific IPv6 address to illustrate (M=256);
Embodiment and method case
As shown in Figure 1, wherein IVI transfer gateway is first order conversion to connected mode of the present invention, is divide into groups based on the IPv6 of first kind coded format IPv4 packet switched; IPv6/IPv6 multiplexed port transfer gateway is second level transfer gateway, and according to multiplexed port ratio, stateless ground is the grouping of Equations of The Second Kind coded format the packet switched of first kind coded format; IPv6/IPv6 address maps transfer gateway is third level transfer gateway, be the IPv6 address of Equations of The Second Kind coded format by the User IP v6 address transition that SLAAC configures automatically by user, and by PCA port mapping, port is conformed to the IPv6 address of Equations of The Second Kind coded format.
Workflow of the present invention as shown in Figure 2.
As shown in Figure 3, communication process is exemplified below the mapping ruler of IVI transfer gateway of the present invention:
Prefix as the IPv6 address of operator is 2001:da8: :/32, selected IVI4 address is 202.38.108.0/24, then first kind coded format IVI6 address realm is 2001:da8:ffca:266c:0: :/64, the address pool of IPv6/IPv6 address maps transfer gateway is address realm corresponding after the IVI6 address realm of above-mentioned first kind coded format is converted to Equations of The Second Kind coded format, and in this example, demultiplexing compares M=256.IPv4 address as the IPv4 computer of communication is 18.181.0.31, then the address of first kind coded format IVIG6 is 2001:da8:ff12:b500:1f00: :/72, do not need Equations of The Second Kind coded format for IPv4 computer, we are for IPv6 computer initiating communication, and communication process is:
(1) IPv6 computer obtains IPv6 address 2001:da8:a123:b456:da5d:4cff:fe74:d633 by shaftless driving (SLAAC); 9000 ports of this IPv6 computer need the 8000 port initiating communications with IPv4 computer 18.181.0.31,18.181.0.31 corresponding IVIG6 address is 2001:da8:ff12:b500:1f00::, source address port and the destination address ports of therefore IPv6 grouping are respectively
(2) above-mentioned IP v6 grouping arrives IPv6/IPv6 address maps transfer gateway, because destination address is IVIG6 address, so need IVI6 address source address being converted to Equations of The Second Kind coded format, available address 2001:da8:ffca:266c:200::100:1 is taken out from address pool, set up map entry in the mapping table, and carry out source address conversion, corresponding calculating transport layer School Affairs.Source address port and the destination address ports of IPv6 grouping are respectively
(3) IPv6 grouping uses multiplexing is 56 than M, and port displacement value k is the IVI6 address of the Equations of The Second Kind coded format of 1, checks that port 9000 does not meet port range requirement, available port 4097 is taken out from port mapping table, set up map, translation source port, calculate transport layer inspection and; Source address port and the destination address ports of IPv6 grouping are respectively
(4) IPv6 grouping arrives in IPv6/IPv6 multiplexed port transfer gateway, destination address and target port constant, check that source port 4097 meets the requirements, source address is converted to first kind coded format 2001:da8:ffca:266c:200: by 2001:da8:ffca:266c:200::100:1:.Source address port and the destination address ports of IPv6 grouping are respectively
(5) IPv6 grouping arrives IVI transfer gateway, source port, target port are constant, source address 2001:da8:ffca:266c:200:: be converted to 202.38.108.2, destination address is converted to 18.181.0.31, form IPv4 grouping according to RFC2765, source address port and destination address ports are respectively
(6) IPv4 grouping arrives IPv4 computer;
(7) IPv4 computer 18.181.0.31 replys IPv4 grouping.Send IPv4 grouping, source address port and destination address ports are respectively
(8) in IVI transfer gateway, 18.181.0.31 is converted to 2001:da8:ff12:b500:1f00::, 202.38.108.2 is converted to 2001:da8:ffca:266c:200::, form IPv6 grouping, source address port and destination address ports are respectively
(9) IPv6 grouping arrives IPv6/IPv6 multiplexed port transfer gateway, source address is constant, according to target port 4097, destination address is by 2001:da8:ffca:266c:200:: be converted to 2001:da8:ffca:266c:200::100:1/, i.e. source address port and the destination address ports of IPv6 grouping are respectively
(10) IPv6 grouping arrives IPv6/IPv6 address maps transfer gateway, searches destination address 2001:da8:ffca:266c:200:: port mapping table, according to mapping table, target port is converted to 9000; Source address port and the destination address ports of IPv6 grouping are respectively
(11) address mapping table of IPv6/IPv6 address maps transfer gateway is searched, according to mapping table entry destination address is converted to 2001:da8:a123:b456:da5d:4cff:fe74:d633, and calculates transport layer School Affairs.Source address port and the destination address ports of IPv6 grouping are respectively
(12) IPv6 grouping arrives IPv6 computer;
Utilize the method that the present invention defines, utilize multiplexed port technology that IPv6 computer can be communicated with IPv4 the Internet share I Pv4 address, address configuration can be carried out by shaftless driving simultaneously.

Claims (4)

1. use the IPv4/IPv6 step translation method of nonspecific IPv6 address, it is characterized in that, successively containing following steps:
Step (1) initialization
Step (1.1) sets up an IVI transfer gateway between IPv4 and IPv6 network, and define first kind coded format: coded format IPv4 address directly being embedded described IPv6 address, form an IPv6 address, 32+n position in the described IPv6 address format of operator based on 32 cluster prefixes embeds 32 IPv4 addresses, n < 32, between 64+n is to 128, spare bits fills full 0 simultaneously, wherein: when described IPv4 address be described operator prepare to IPv6 main frame use IPv4 address time, form IVI6 address, when described IPv4 address is the global ip v4 address comprising described operator oneself, when not belonging to again the IPv4 address of described IPv6 main frame, form IVIG6 address, described IVI6 and IVIG6 is referred to as IVI address, biaxial stress structure relation is one to one formed thus between described IPv4 address and the subset of IPv6 address, the IPv4 address corresponding with IVI6 and IVIG6 is called IVI4 and IVIG4 address,
Step (1.2) sets up IPv6/IPv6 multiplexed port address conversion gateway between IPv6 backbone network and IPv6 metropolitan area network, and define Equations of The Second Kind coded format: namely IPv4 address is added the coded format that transport layer port coding embeds described IPv6 address, 32 IPv4 addresses are being embedded based on the 32+n position in the described IPv6 geocoding form of operator's 32 cluster prefixes, n < 32, form IVI prefix, full 0 is being filled if any during spare bits between 64+n is to the 96th, embed address multiplex at the 96th to 111 and compare M, port shift value k is embedded at the 112nd to 128, 0≤k≤M-1, described M represents a described IPv4 address by IPv6/IPv6 multiplexed port address conversion gateway simultaneously for the computer number of multiple IPv6 computer,
Step (1.3) can define different IPv4 address multiplex ratios as required for different metropolitan area networks, and the service condition of IPv6 address according to user, according to IVI6 address and specific port range, and set up mapping relations one to one between the IPv6 address that user uses, namely user is when with IPv4 internet communication, can only use specific port range { port p| (pmodM)=k};
Step (1.4) defines following transport layer port mapping algorithm PCA, to make when the grouping of the IPv6 address adopting Equations of The Second Kind coded format is the port range described in the random transport layer source port mapping step (1.3) produced;
First get rid of 1-1024 port and other well-known ports, again for allowed port mapping table listed by the IPv6 main frame of described employing Equations of The Second Kind coded format, according to request order, the random transport layer source port produced is mapped to this mapping table, this port mapping table clause, for the grouping of follow-up same session series, when no longer including follow-up grouping and arriving, deletes described port mapping table clause, release port resource, for future use;
Step (1.5) is using the address pool as IPv6/IPv6 address maps transfer gateway after the IVI6 that step (1.1) is distributed is converted to Equations of The Second Kind coded format;
The mapping table of step (1.6) initialization IPv6/IPv6 address maps transfer gateway; Entry in mapping table is the IVI6 address of Equations of The Second Kind coded format and the mapping pair of User IP v6 address;
Step (1.7): in Campus Networks, IPv6 main frame is by the automatic configure user IPv6 address of SLAAC;
Step (2) IPv4 computer is to IPv6 computer initiating communication, and wherein source address is the address of IPv4 computer, and destination address is the IPv4 mirror image of the IPv6 address of IPv6 computer, and its port allows by described IPv6 computer the port that uses;
Step (3): described IVI transfer gateway receives grouping, performs step (3.1)-step (3.4) successively;
Step (3.1): described destination address is IVI6 address by the first kind coded format of setting IPv4 address transition by step (1.1),
Step (3.2): the first kind coded format that described source address sets by step (1.1) is IVIG6 address IPv4 address transition,
Step (3.3): perform other handling procedure except address transition by RFC2765, and recalculate transport layer School Affairs, thus form described IPv6 and divide into groups;
Step (3.4): to the IPv6 grouping of the first kind coded format that described IPv6/IPv6 multiplexed port transfer gateway forwarding step (3.3) is formed;
Step (4): after IPv6/IPv6 multiplexed port address conversion gateway receives the described IPv6 grouping that step (3.4) sends, perform following steps (4.1)-step (4.4), the IPv6 forming Equations of The Second Kind coded format divides into groups and sends
Step (4.1): judge whether source address is IVIG6 address, in this way, performs step (4.2), if not, performs step (4.4);
Step (4.2): be the IPv6 address of Equations of The Second Kind coded format the IPv6 address transition of first kind coded format according to destination address and target port;
Step (4.3): recalculate transport layer School Affairs, and form IPv6 grouping;
Step (4.4): divide into groups to IPv6 described in described IPv6/IPv6 address maps transfer gateway forwarding step (4.2);
Step (5): IPv6/IPv6 address maps transfer gateway receives the described IPv6 grouping that step (4.4) sends, and performs following steps (5.1)-step (5.5), forms IPv6 and divide into groups and send,
Step (5.1): judge whether source address is IVIG6 address, in this way, performs step (5.2), if not, performs step (5.5);
Step (5.2): target port is made PCA and mapped;
Step (5.3): search in the mapping table of IPv6/IPv6 address maps transfer gateway whether have the mapping table entry corresponding with destination address, if do not had, then packet discard; If had, then according to mapping table entry, be User IP v6 address by destination address from the IVI6 address transition of Equations of The Second Kind coded format;
Step (5.4): recalculate transport layer School Affairs, and form IPv6 grouping;
Step (5.5): to the IPv6 grouping described in IPv6 computer forwarding step (5.4);
Step (6): described IPv6 computer receives grouping;
Step (7): described IPv6 computer sends IPv6 grouping to IPv4 computer, wherein source address address is the User IP v6 address of computer, source port is the source port that described IPv6 computer random produces, destination address is the IPv6 mirror image of the IPv4 address of IPv4 computer, i.e. IVIG6 address;
Step (8): described IPv6/IPv6 address maps transfer gateway receives IPv6 grouping, performs following steps (8.1)-step (8.6), forms IPv6 and divides into groups and send,
Step (8.1): judge whether destination address is IVIG6 address, in this way, then perform step (8.2), if not, then illustrates that this IPv6 grouping is not mail to IPv4 network, performs step (8.6);
Whether step (8.2): the mapping table searching IPv6/IPv6 address maps transfer gateway, have the mapping table entry corresponding with source address, if any, then perform step (8.3); As not having, then from address pool, take out the IVI6 address of an available Equations of The Second Kind coded format, set up mapping table entry together with source address, for follow-up grouping;
Source address is the IVI6 address of Equations of The Second Kind coded format from User IP v6 address transition by step (8.3): the mapping table entry obtained according to step (8.2);
Step (8.4): source port is made PCA and mapped;
Step (8.5): recalculate transport layer School Affairs and form IPv6 grouping,
Step (8.6): send IPv6 grouping to described IPv6/IPv6 multiplexed port transfer gateway;
Step (9): IPv6/IPv6 multiplexed port transfer gateway receives the described IPv6 grouping of step (8.6), performs step (9.1)-step (9.5), forms IPv6 and divide into groups and send,
Step (9.1): judge whether destination address is IVIG6 address, in this way, then perform step (9.2), if not, then illustrates that this IPv6 grouping is not mail to IPv4 network, performs step (9.5);
Step (9.2): checking source port, as met corresponding port range, performs step (9.3), otherwise, abandon grouping;
Step (9.3): the IPv6 address source address from the IPv6 address transition of Equations of The Second Kind coded format being first kind coded format;
Step (9.4): recalculate transport layer School Affairs;
Step (9.5): according to route, sends IPv6 grouping; If destination address is IVIG6 address, then IPv6 grouping will be sent out toward IVI transfer gateway;
Step (10): the described destination address that IVI transfer gateway receiving step (9.5) sends is the IPv6 grouping of IVIG6, forms IPv4 divide into groups and send by following steps (10.1)-step (10.3),
Step (10.1): the IPv6 geocoding format conversion that described destination address sets by step (1.1) is IPv4 address,
Step (10.2): the IPv6 geocoding format conversion that described source address sets by step (1.1) is IPv4 address,
Step (10.3): perform other handling procedure except address transition by RFC2765, and recalculate transport layer School Affairs, thus form described IPv4 and divide into groups;
Step (10.4): the IPv4 grouping formed to IPv4 computer forwarding step (10.3);
Step (11): the IPv4 grouping that described IPv4 computer receiving step (10.4) sends.
2. according to the step translation method using nonspecific IPv6 address in claim 1, it is characterized in that, imitate above-mentioned steps by the step of IPv6 computer initiating communication in IPv6 network and describe, perform by step (7).
3. according to the IPv4/IPv6 step translation method using nonspecific IPv6 address in claim 1, it is characterized in that, above-mentioned IVI transfer gateway, IPv6/IPv6 multiplexed port address conversion gateway, IPv6/IPv6 address maps address conversion gateway, is divided into 3 grades separately to dispose.
4. according to the IPv4/IPv6 step translation method using nonspecific IPv6 address in claim 1, it is characterized in that, above-mentioned IVI transfer gateway, IPv6/IPv6 multiplexed port address conversion gateway, adjacent two gateways are realized by IPv6/IPv6 address maps address conversion gateway as required on same equipment.
CN201110415815.2A 2010-12-10 2011-12-09 Use the IPv4/IPv6 step translation method of nonspecific IPv6 address Active CN102594932B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110415815.2A CN102594932B (en) 2010-12-10 2011-12-09 Use the IPv4/IPv6 step translation method of nonspecific IPv6 address

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN2010105822216 2010-12-10
CN201010582221.6 2010-12-10
CN201010582221 2010-12-10
CN201110415815.2A CN102594932B (en) 2010-12-10 2011-12-09 Use the IPv4/IPv6 step translation method of nonspecific IPv6 address

Publications (2)

Publication Number Publication Date
CN102594932A CN102594932A (en) 2012-07-18
CN102594932B true CN102594932B (en) 2015-11-25

Family

ID=46483125

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110415815.2A Active CN102594932B (en) 2010-12-10 2011-12-09 Use the IPv4/IPv6 step translation method of nonspecific IPv6 address

Country Status (1)

Country Link
CN (1) CN102594932B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111343088B (en) * 2020-02-21 2021-01-29 清华大学 Message transmission method and device, terminal and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101431478A (en) * 2008-12-17 2009-05-13 清华大学 P2P operator level router and home gateway combined IPv4/IPv6 grouping conversion method
CN101610295A (en) * 2009-07-17 2009-12-23 清华大学 Use the stateless IPv4/IPv6 grouping conversion method of nonspecific IPv6 address
CN101616192A (en) * 2009-07-16 2009-12-30 清华大学 The step translation method of IPv4 address and multiplexed port

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7356045B2 (en) * 2002-10-22 2008-04-08 Cisco Technology, Inc. Shared port address translation on a router behaving as NAT & NAT-PT gateway

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101431478A (en) * 2008-12-17 2009-05-13 清华大学 P2P operator level router and home gateway combined IPv4/IPv6 grouping conversion method
CN101616192A (en) * 2009-07-16 2009-12-30 清华大学 The step translation method of IPv4 address and multiplexed port
CN101610295A (en) * 2009-07-17 2009-12-23 清华大学 Use the stateless IPv4/IPv6 grouping conversion method of nonspecific IPv6 address

Also Published As

Publication number Publication date
CN102594932A (en) 2012-07-18

Similar Documents

Publication Publication Date Title
CN1965515B (en) Arrangement for reaching IPv4 public network nodes by a node in an IPv4 private network via an IPv6 access network
CN103546374B (en) A kind of method and apparatus E-Packeted in edge double layer network
CN101610295B (en) Stateless IPv4/IPv6 grouping transformation method using non-specific IPv6 address
JP5327832B2 (en) Packet communication method using node identifier and position indicator
CN102934410B (en) DS-LITE is strengthened by private IPV4 accessibility
CN102368727B (en) Crossed IP network TRILL network communication method, system thereof and devices
CN102075438B (en) unicast data frame transmission method and device
CN101459698A (en) Intra-domain and inter-domain network interconnecting method and system thereof
CN104869042A (en) Message forwarding method and message forwarding device
CN101394333B (en) The method E-Packeted, device and network system
CN102025608A (en) Communication method, data message forwarding method in communication process as well as communication nodes
CN104601472A (en) Chip VXLAN gateway distributed routing implementation method and message processing system
CN1513253A (en) Tunneling through access network
CN102413061A (en) Message transmission method and equipment
CN100364289C (en) Method for implementing layer-2 equipment interconnection in resilient packet ring (RPR) based network
CN101047636A (en) Method and system for end-to-end pseudo-line simulation virtual leased line access virtual special network
US20150341263A1 (en) Associating internet protocol (ip) addresses with ethernet virtualisation interconnection (evi) links
CA2502751A1 (en) Gmpls+ip/mpls node and ip/mpls node
CN100450065C (en) Method for providing communication between virtual special network stations
CN101616192B (en) Step translation method of IPv4 address and port multiplexing
WO2011131084A1 (en) Data communication system and method
CN102318290B (en) Message forward method and device
CN104348929A (en) Edge router for 6LoWPAN IPv4 Internet access and access method
CN100373892C (en) Virtual exchanging method capable of routing
CN103152265B (en) Message forwarding method and equipment in SPB (Shortest Path Bridge) 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