CN104270475A - System and method for achieving intercommunication between IPv4 network and IPv6 network based on NAT64 - Google Patents

System and method for achieving intercommunication between IPv4 network and IPv6 network based on NAT64 Download PDF

Info

Publication number
CN104270475A
CN104270475A CN201410444590.7A CN201410444590A CN104270475A CN 104270475 A CN104270475 A CN 104270475A CN 201410444590 A CN201410444590 A CN 201410444590A CN 104270475 A CN104270475 A CN 104270475A
Authority
CN
China
Prior art keywords
ipv6
ipv4
nat64
address
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410444590.7A
Other languages
Chinese (zh)
Other versions
CN104270475B (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.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Wuhan FiberHome Networks 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 Wuhan FiberHome Networks Co Ltd filed Critical Wuhan FiberHome Networks Co Ltd
Priority to CN201410444590.7A priority Critical patent/CN104270475B/en
Publication of CN104270475A publication Critical patent/CN104270475A/en
Application granted granted Critical
Publication of CN104270475B publication Critical patent/CN104270475B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/251Translation of Internet protocol [IP] addresses between different IP versions

Abstract

The present invention discloses a system and method for achieving intercommunication between an IPv4 network and an IPv6 network based on an NAT64, and relates to the field of an IPv6 transitory technology. The method includes the following steps: ensuring that an NAT64 module is connected to the IPv4 network and the IPv6 network to achieve global enabling and interface enabling of functions of the NAT64; receiving, by the NAT64 module, a data message sent from a network side, updating a dynamic table, establishing address mapping information which maintains a sub-module, and obtaining an address 5-tuple flow after translation according to the protocol version of the data message; performing, by the NAT64 module, protocol translation on an IPv4 message head and an IPv6 message head; and forwarding, by an IPv4/IPv6 message forwarding sub-module, a new data message completing the translation of address and the translation of a protocol to a target address. Relevant functions of the NAT64 can be fully achieved on a conventional digital communication product, the performance consumption of equipment and the usage of system resources are effectively reduced, and the working efficiency is increased.

Description

The system and method for IPv4 network and IPv6 network interworking is realized based on NAT64
Technical field
The present invention relates to IPv6 transitional technology field, specifically relate to a kind of system and method realizing IPv4 network and IPv6 network interworking based on NAT64.
Background technology
IPv6 (Internet Protocol Version 6, IPv 6) be solve IPv4 (Internet Protocol Version 4, internet protocol version four) the basic solution of address exhaustion problem, but because existing IPv4 user's storage is very large, and most existing network does not support that IPv6 applies, therefore make existing network larger to the difficulty of IPv6 evolution from IPv4.
In order to ensure the smooth transition of user and business, estimate that whole evolution cycle will be a long-term process, that is IPv6 will with IPv4 long-term co-existence.Therefore, IPv6 transition scheme seems particularly important.We are generally divided into three major types at usually said IPv6 transitional technology: two stack, tunnel, NAT-PT (Network Address Translation-Protocol Translation, the network address translation of subsidiary protocol conversion) technology.But often kind of mechanism is not blanket, is all only applicable to a certain or several specific network condition, and usually need to combinationally use with other technologies.
IETF (Internet Engineering Task Force in 2011, Internet engineering duty group) issue RFC (Request For Comments, request for comments) 6146 and RFC6147, redesign a new solution NAT64 (Network Address and Protocol Translation from IPv6Clients to IPv4Servers, by the network address translation of IPv6 client to the subsidiary protocol conversion of IPv4 server) and DNS64 (DNS Extensions for Network Address Translation from IPv6Clients to IPv4Servers, be suitable for the expansion domain name system of NAT64) technology.
Current, IPv6 and IPv4 technology co-existence is in the Internet, and the most contents in the Internet only can be used IPv4, but IPv6 user needs access IPv4 content equally, and this is realized by NAT64 and correlation technique.
NAT64 is a kind of network address and protocol conversion technology of having state, and general only support IPv6 network side user initiates connected reference IPv4 side Internet resources.But NAT64 also supports manual configuration static mappings relation, realize IPv4 network and initiatively initiate connected reference IPv6 network.NAT64 technology achieve IPv6 bag and IPv4 wrap between mutual conversion.NAT64 can realize TCP (Transmission Control Protocol, transmission control protocol), UDP (User Data Protocol, User Datagram Protoco (UDP)), IPv6 and the IPv4 network address under ICMP (Internet Control Message Protocol, Internet Control Message Protocol) agreement and protocol conversion.General and the DNS64 collaborative work of NAT64, does not need to make any amendment in IPv6 client or IPv4 server end.
The shortcoming of tunneling technique needs extra tunnel configuration, inefficiency; The resource consumption of NAT-PT is comparatively large, has a strong impact on the runnability of equipment.
Summary of the invention
The object of the invention is the deficiency in order to overcome above-mentioned background technology, a kind of system and method realizing IPv4 network and IPv6 network interworking based on NAT64 is provided, can lead on product at existing number and intactly realize NAT64 correlation function, effectively reduce the loss of equipment performance and the use of system resource simultaneously, increase work efficiency, harmful effect is not caused to equipment runnability or network environment.
The invention provides a kind of system realizing IPv4 network and IPv6 network interworking based on NAT64, comprise NAT64 module, network management interface, bottom data transceiver interface and configuration data sync cap, described NAT64 module respectively with network management interface, bottom data transceiver interface is connected with configuration data sync cap, described NAT64 module comprises NAT64 and configures submodule, dynamic table is set up and is safeguarded submodule and IPv4/IPv6 message repeating submodule, NAT64 configuration submodule is set up with dynamic table and is safeguarded that submodule is connected, dynamic table is set up and is safeguarded that submodule is connected with IPv4/IPv6 message repeating submodule, NAT64 configures submodule, dynamic table is set up and safeguarded that submodule is all connected with network management interface, dynamic table is set up and is safeguarded that submodule is also connected with configuration data sync cap, and IPv4/IPv6 message repeating submodule, configuration data sync cap are all connected with bottom data transceiver interface,
Described NAT64 configures submodule and is used for: global configuration and the interface configuration of carrying out NAT64 function;
Described dynamic table is set up and is safeguarded that submodule is used for: set up and safeguard dynamic address mapping table, creating and mapping, safeguarding mapping in a session, deleting mapping after the session is completed when producing new session;
Described IPv4/IPv6 message repeating submodule is used for: the address translation and the protocol translation that the message received are carried out to NAT64, then is forwarded from correct interface by the message after the address translation and protocol translation of NAT64.
On the basis of technique scheme, described NAT64 configures submodule and carries out the global configuration of NAT64 function and interface configuration comprises: NAT64 function is enable, IPv6 changes prefix, static address mapping table, IPv4 address pool and enable, max-session number thereof.
On the basis of technique scheme, described NAT64 module possesses an IPv6 address pool and an IPv4 address pool, and IPv6 address pool is used for representing IPv4 address in IPv6 network, and IPv4 address pool is used for representing IPv6 address in IPv4 network; In IPv6 network, represent that the IPv6 address of IPv4 address is made up of three parts: IPv6 prefix, the IPv4 address be embedded into and variable-length suffix.
On the basis of technique scheme, described IPv6 address pool comprises one or more IPv6 prefix.
On the basis of technique scheme, described IPv6 prefix mainly comprises three characteristics:
(1) prefix index value: data type is 16bit unsigned int, carries out choice for use when address translation by prefix index value;
(2) prefix: with array form storing IP v6 prefix;
(3) prefix length: variable prefix length.
On the basis of technique scheme, described prefix length is 32,40,48,56,64 or 96.
On the basis of technique scheme, described IPv4 address pool is made up of the continuous IP v4 address under same subnet section, except the situation of static manual configuration, address maps is all dynamic, and takes IPv6 transport address to the mapping of IPv4 transport address in actual applications; Described IPv4 address pool mainly comprises: (1) address pool index value; (2) IP v4 address, termination IPv4 address and subnet mask; (3) single IPv4 address is common to the quantity of session simultaneously; (4) port numbers of TCP, UDP session and the identifier of ICMP.
On the basis of technique scheme, the structure of the various heads of described IPv4/IPv6 message repeating submodule in dual stack stack needed for definition translation, mainly comprises following several:
Struct ip6_hdr: represent IPv6 head;
Struct ip6_frag: represent IPv6 burst head;
Struct icmp6_hdr: represent ICMPv6 head;
Struct ip: represent IPv4 head;
Struct ippseudo: represent the pseudo-head of the IPv4 being used for Transmission Control Protocol;
Struct icmp2_hdr: represent ICMPv4 head.
The present invention also provides a kind of method realizing IPv4 network and IPv6 network interworking based on NAT64 being applicable to said system, comprises the following steps:
A, guarantee NAT64 model calling IPv4 network and IPv6 network, realize the enable and interface enable of the overall situation of NAT64 function;
B, NAT64 module receives the data message that network side is sent, according to the protocol version of data message, the address mapping information safeguarding submodule set up by Regeneration dynamics table, obtain the address five-tuple after translation: IPv4/IPv6 message repeating submodule judges whether the data message received is new session, if data message is the new session of IPv4 protocol version and maps existence without static address, IPv4/IPv6 message repeating submodule directly abandons this data message; If data message is the new session of IPv6 protocol version, dynamic table is set up and is safeguarded that submodule creates a new address maps; When data message is non-new session, the transport address, source and object transport address that receive data message, according to already present address mapping table, are converted to the form of another protocol version corresponding in mapping table by IPv4/IPv6 message repeating submodule;
C, NAT64 module carries out protocol translation to IPv4 header and IPv6 header:
When IPv4/IPv6 message repeating submodule receives a packet by IPv4 network destined IPv6 network, IPv4 head can be translated as IPv6 head by IPv4/IPv6 message repeating submodule, and initial IP v4 head is removed and replaces to an IPv6 head; Supporting if the transport layer protocol of message is this IPv4/IPv6 message repeating submodule, the School Affairs of transport layer carries out re-computation, and the data field of bag need not be revised;
When IPv4/IPv6 message repeating submodule receive be a destination be the IPv6 packet of IPv4 network time, IPv4/IPv6 message repeating submodule needs IPv6 head to be translated as IPv4 head, and initial IP v6 head will be removed and replaces to a new IPv4 head; ICMPv6, TCP, UDP and datagram congestion control protocol DCCP head all include School Affairs, if mapping address algorithm is not School Affairs neutrality, then before translation, calculate the value of School Affairs, and upgrade ICMP and transport layer header;
For TCP and UDP message, only translation IP head; To icmp packet, translation IP head and ICMP head; If the non-School Affairs of address translation algorithm is neutral, be not then that the transport layer header of the UDP message of 0 carries out re-computation and renewal to the TCP containing pseudo-head, icmp packet and School Affairs; If message is fragment message, then carry out the respective handling of fragment message;
The new data message completing address translation and protocol translation forwards according to destination address by D, IPv4/IPv6 message repeating submodule.
On the basis of technique scheme, steps A comprises the following steps: NAT64 configures global configuration and the interface configuration that submodule carries out NAT64 function: NAT64 function is enable, IPv6 changes prefix, static address mapping table, IPv4 address pool and enable, max-session number thereof.
Compared with prior art, advantage of the present invention is as follows:
The present invention leads to hardware platform resource situation and the software platform characteristic of product in conjunction with existing number, can lead on product at existing number and intactly realize NAT64 correlation function, effectively reduce the loss of equipment performance and the use of system resource simultaneously, increase work efficiency, harmful effect is not caused to equipment runnability or network environment.
Accompanying drawing explanation
Fig. 1 is the structured flowchart of the system realizing IPv4 network and IPv6 network interworking in the embodiment of the present invention based on NAT64.
Embodiment
Below in conjunction with drawings and the specific embodiments, the present invention is described in further detail.
Shown in Figure 1, the embodiment of the present invention provides a kind of system realizing IPv4 network and IPv6 network interworking based on NAT64, comprise NAT64 module, network management interface, bottom data transceiver interface and configuration data sync cap, NAT64 module is connected with configuration data sync cap with network management interface, bottom data transceiver interface respectively, NAT64 module and network management interface, bottom data transceiver interface and the collaborative work of configuration data sync cap, could realize complete NAT64 function on datacom device.
NAT64 module comprises NAT64 configuration submodule, dynamic table is set up and safeguarded submodule and IPv4/IPv6 message repeating submodule, NAT64 configuration submodule is set up with dynamic table and is safeguarded that submodule is connected, and dynamic table is set up and safeguarded that submodule is connected with IPv4/IPv6 message repeating submodule.NAT64 configures submodule, dynamic table is set up and safeguarded that submodule is all connected with network management interface, dynamic table is set up and is safeguarded that submodule is also connected with configuration data sync cap, and IPv4/IPv6 message repeating submodule, configuration data sync cap are all connected with bottom data transceiver interface.
NAT64 configures submodule and is used for: global configuration and the interface configuration of carrying out NAT64 function: NAT64 function is enable, IPv6 changes prefix, static address mapping table, IPv4 address pool and enable, max-session number thereof etc., and NAT64 function all needs enable under the overall situation and under interface.
Dynamic table is set up and is safeguarded that submodule is used for: set up and safeguard dynamic address mapping table, creating and mapping, safeguarding mapping in a session, deleting mapping after the session is completed when producing new session.
IPv4/IPv6 message repeating submodule is used for: the address translation and the protocol translation that the message received are carried out to NAT64, then is forwarded from correct interface by the message after the address translation and protocol translation of NAT64.IPv4/IPv6 message repeating submodule is the key components realizing IPv4 network and IPv6 network service.
In order to create address maps, NAT64 module must possess an IPv6 address pool (for representing IPv4 address in IPv6 network) and an IPv4 address pool (for representing IPv6 address in IPv4 network).
In IPv6 network, represent that the IPv6 address of IPv4 address is made up of three parts: IPv6 prefix, the IPv4 address be embedded into and variable-length suffix (suffix is generally set to 0).
IPv6 address pool comprises one or more IPv6 prefix.
IPv6 prefix mainly comprises three characteristics:
(1) prefix index value: data type is 16bit unsigned int, and prefix index value may have multiple, carries out choice for use when address translation by prefix index value;
(2) prefix: with array form storing IP v6 prefix, prefix is the longest is 96;
(3) prefix length: variable prefix length, prefix length can be 32,40,48,56,64 or 96.
IPv4 address pool is made up of the continuous IP v4 address under same subnet section usually.Because IPv4 address space falls sharply, IPv4 address pool is very little, cannot set up the mapping one to one with IPv6 address.Therefore, except the situation of static manual configuration, address maps is all dynamic, and takes IPv6 transport address to the mapping of IPv4 transport address in actual applications, and that is, IP address and port numbers all will participate in translation.
IPv4 address pool mainly comprises: (1) address pool index value; (2) IP v4 address, termination IPv4 address and subnet mask; (3) single IPv4 address is common to the quantity of session simultaneously; (4) port numbers of TCP, UDP session and the identifier of ICMP.
The structure of the various heads of IPv4/IPv6 message repeating submodule in dual stack stack needed for definition translation, mainly comprises following several:
Struct ip6_hdr: represent IPv6 head;
Struct ip6_frag: represent IPv6 burst head;
Struct icmp6_hdr: represent ICMPv6 head;
Struct ip: represent IPv4 head;
Struct ippseudo: represent the pseudo-head of the IPv4 being used for Transmission Control Protocol;
Struct icmp2_hdr: represent ICMPv4 head.
The embodiment of the present invention provides a kind of method realizing IPv4 network and IPv6 network interworking based on NAT64 being applicable to said system, comprises the following steps:
A, guarantee NAT64 model calling IPv4 network and IPv6 network, realize the enable and interface enable of the overall situation of NAT64 function.NAT64 model calling IPv4 or IPv6 network, not only need in the enable NAT64 function of the overall situation, also needs in the interface enable NAT64 function running NAT64 function.NAT64 configures submodule and carries out global configuration and the interface configuration of NAT64 function: NAT64 function is enable, IPv6 changes prefix, static address mapping table, IPv4 address pool and enable, max-session number thereof etc.
B, NAT64 module receives the data message that network side is sent, and according to the protocol version of data message, the address mapping information safeguarding submodule set up by Regeneration dynamics table, obtains the address five-tuple after translation.
IPv4/IPv6 message repeating submodule judges whether the data message received is new session, if data message is the new session of IPv4 protocol version and maps existence without static address, IPv4/IPv6 message repeating submodule directly abandons this data message; If data message is the new session of IPv6 protocol version, dynamic table is set up and is safeguarded that submodule creates a new address maps; When data message is non-new session, the transport address, source (source IP address and source port number) and object transport address (object IP address and destination slogan) that receive data message, according to already present address mapping table, are converted to the form of another protocol version corresponding in mapping table by IPv4/IPv6 message repeating submodule.
C, NAT64 module carries out protocol translation to IPv4 header and IPv6 header.
At present, NAT64 module supports that clean culture UDP, TCP communicate with icmp packet.
When IPv4/IPv6 message repeating submodule receives a packet by IPv4 network destined IPv6 network, IPv4 head can be translated as IPv6 head by IPv4/IPv6 message repeating submodule.Initial IP v4 head is removed and replaces to an IPv6 head.Supporting if the transport layer protocol of message is this IPv4/IPv6 message repeating submodule, so the School Affairs of transport layer may need re-computation.The data field of bag need not be revised.
When IPv4/IPv6 message repeating submodule receive be a destination be the IPv6 packet of IPv4 network time, IPv4/IPv6 message repeating submodule needs IPv6 head to be translated as IPv4 head.Initial IP v6 head will be removed and replaces to a new IPv4 head.Due to ICMPv6 (Internet Control Message Protocol Version 6, sixth version ICMP), TCP, UDP and DCCP (Datagram Congestion Control Protocol, datagram congestion control protocol) head all includes School Affairs, therefore, if mapping address algorithm is not School Affairs neutrality, then must calculate the value of School Affairs before translation, and ICMP and transport layer header are upgraded.
Ordinary circumstance, only need translate IP head for TCP and UDP message, to icmp packet, not only needs translation IP head, also should translate ICMP head simultaneously.
In addition, if the non-School Affairs of address translation algorithm is neutral, be not then that the transport layer header of the UDP message of 0 carries out re-computation and renewal to the TCP containing pseudo-head, icmp packet and School Affairs.
If message is fragment message, then carry out the respective handling of fragment message.
The new data message completing address translation and protocol translation forwards according to destination address by D, IPv4/IPv6 message repeating submodule.
Those skilled in the art can carry out various modifications and variations to the embodiment of the present invention, if these amendments and modification are within the scope of the claims in the present invention and equivalent technologies thereof, then these revise and modification also within protection scope of the present invention.
The prior art that the content do not described in detail in specification is known to the skilled person.

Claims (10)

1. one kind realizes the system of IPv4 network and IPv6 network interworking based on NAT64, comprise NAT64 module, network management interface, bottom data transceiver interface and configuration data sync cap, described NAT64 module respectively with network management interface, bottom data transceiver interface is connected with configuration data sync cap, it is characterized in that: described NAT64 module comprises NAT64 and configures submodule, dynamic table is set up and is safeguarded submodule and IPv4/IPv6 message repeating submodule, NAT64 configuration submodule is set up with dynamic table and is safeguarded that submodule is connected, dynamic table is set up and is safeguarded that submodule is connected with IPv4/IPv6 message repeating submodule, NAT64 configures submodule, dynamic table is set up and safeguarded that submodule is all connected with network management interface, dynamic table is set up and is safeguarded that submodule is also connected with configuration data sync cap, and IPv4/IPv6 message repeating submodule, configuration data sync cap are all connected with bottom data transceiver interface,
Described NAT64 configures submodule and is used for: global configuration and the interface configuration of carrying out NAT64 function;
Described dynamic table is set up and is safeguarded that submodule is used for: set up and safeguard dynamic address mapping table, creating and mapping, safeguarding mapping in a session, deleting mapping after the session is completed when producing new session;
Described IPv4/IPv6 message repeating submodule is used for: the address translation and the protocol translation that the message received are carried out to NAT64, then is forwarded from correct interface by the message after the address translation and protocol translation of NAT64.
2. the as claimed in claim 1 system realizing IPv4 network and IPv6 network interworking based on NAT64, is characterized in that: described NAT64 configuration submodule carries out the global configuration of NAT64 function and interface configuration comprises: NAT64 function is enable, IPv6 changes prefix, static address mapping table, IPv4 address pool and enable, max-session number thereof.
3. the system realizing IPv4 network and IPv6 network interworking based on NAT64 as claimed in claim 1, it is characterized in that: described NAT64 module possesses an IPv6 address pool and an IPv4 address pool, IPv6 address pool is used for representing IPv4 address in IPv6 network, and IPv4 address pool is used for representing IPv6 address in IPv4 network; In IPv6 network, represent that the IPv6 address of IPv4 address is made up of three parts: IPv6 prefix, the IPv4 address be embedded into and variable-length suffix.
4. the system realizing IPv4 network and IPv6 network interworking based on NAT64 as claimed in claim 3, is characterized in that: described IPv6 address pool comprises one or more IPv6 prefix.
5. the system realizing IPv4 network and IPv6 network interworking based on NAT64 as claimed in claim 3, is characterized in that: described IPv6 prefix mainly comprises three characteristics:
(1) prefix index value: data type is 16bit unsigned int, carries out choice for use when address translation by prefix index value;
(2) prefix: with array form storing IP v6 prefix;
(3) prefix length: variable prefix length.
6. the system realizing IPv4 network and IPv6 network interworking based on NAT64 as claimed in claim 5, is characterized in that: described prefix length is 32,40,48,56,64 or 96.
7. the system realizing IPv4 network and IPv6 network interworking based on NAT64 as claimed in claim 3, it is characterized in that: described IPv4 address pool is made up of the continuous IP v4 address under same subnet section, except the situation of static manual configuration, address maps is all dynamic, and takes IPv6 transport address to the mapping of IPv4 transport address in actual applications; Described IPv4 address pool mainly comprises: (1) address pool index value; (2) IP v4 address, termination IPv4 address and subnet mask; (3) single IPv4 address is common to the quantity of session simultaneously; (4) port numbers of TCP, UDP session and the identifier of ICMP.
8. the system realizing IPv4 network and IPv6 network interworking based on NAT64 according to any one of claim 1 to 7, it is characterized in that: the structure of the various heads of described IPv4/IPv6 message repeating submodule in dual stack stack needed for definition translation, mainly comprises following several:
Struct ip6_hdr: represent IPv6 head;
Struct ip6_frag: represent IPv6 burst head;
Struct icmp6_hdr: represent ICMPv6 head;
Struct ip: represent IPv4 head;
Struct ippseudo: represent the pseudo-head of the IPv4 being used for Transmission Control Protocol;
Struct icmp2_hdr: represent ICMPv4 head.
9. be applicable to the method realizing IPv4 network and IPv6 network interworking based on NAT64 of system according to any one of claim 1 to 8, it is characterized in that, comprise the following steps:
A, guarantee NAT64 model calling IPv4 network and IPv6 network, realize the enable and interface enable of the overall situation of NAT64 function;
B, NAT64 module receives the data message that network side is sent, according to the protocol version of data message, the address mapping information safeguarding submodule set up by Regeneration dynamics table, obtain the address five-tuple after translation: IPv4/IPv6 message repeating submodule judges whether the data message received is new session, if data message is the new session of IPv4 protocol version and maps existence without static address, IPv4/IPv6 message repeating submodule directly abandons this data message; If data message is the new session of IPv6 protocol version, dynamic table is set up and is safeguarded that submodule creates a new address maps; When data message is non-new session, the transport address, source and object transport address that receive data message, according to already present address mapping table, are converted to the form of another protocol version corresponding in mapping table by IPv4/IPv6 message repeating submodule;
C, NAT64 module carries out protocol translation to IPv4 header and IPv6 header:
When IPv4/IPv6 message repeating submodule receives a packet by IPv4 network destined IPv6 network, IPv4 head can be translated as IPv6 head by IPv4/IPv6 message repeating submodule, and initial IP v4 head is removed and replaces to an IPv6 head; Supporting if the transport layer protocol of message is this IPv4/IPv6 message repeating submodule, the School Affairs of transport layer carries out re-computation, and the data field of bag need not be revised;
When IPv4/IPv6 message repeating submodule receive be a destination be the IPv6 packet of IPv4 network time, IPv4/IPv6 message repeating submodule needs IPv6 head to be translated as IPv4 head, and initial IP v6 head will be removed and replaces to a new IPv4 head; ICMPv6, TCP, UDP and datagram congestion control protocol DCCP head all include School Affairs, if mapping address algorithm is not School Affairs neutrality, then before translation, calculate the value of School Affairs, and upgrade ICMP and transport layer header;
For TCP and UDP message, only translation IP head; To icmp packet, translation IP head and ICMP head; If the non-School Affairs of address translation algorithm is neutral, be not then that the transport layer header of the UDP message of 0 carries out re-computation and renewal to the TCP containing pseudo-head, icmp packet and School Affairs; If message is fragment message, then carry out the respective handling of fragment message;
The new data message completing address translation and protocol translation forwards according to destination address by D, IPv4/IPv6 message repeating submodule.
10. the method realizing IPv4 network and IPv6 network interworking based on NAT64 as claimed in claim 9, is characterized in that: steps A comprises the following steps: NAT64 configures global configuration and the interface configuration that submodule carries out NAT64 function: NAT64 function is enable, IPv6 changes prefix, static address mapping table, IPv4 address pool and enable, max-session number thereof.
CN201410444590.7A 2014-09-03 2014-09-03 The system and method for IPv4 networks and IPv6 network interworkings is realized based on NAT64 Active CN104270475B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410444590.7A CN104270475B (en) 2014-09-03 2014-09-03 The system and method for IPv4 networks and IPv6 network interworkings is realized based on NAT64

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410444590.7A CN104270475B (en) 2014-09-03 2014-09-03 The system and method for IPv4 networks and IPv6 network interworkings is realized based on NAT64

Publications (2)

Publication Number Publication Date
CN104270475A true CN104270475A (en) 2015-01-07
CN104270475B CN104270475B (en) 2017-10-10

Family

ID=52161964

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410444590.7A Active CN104270475B (en) 2014-09-03 2014-09-03 The system and method for IPv4 networks and IPv6 network interworkings is realized based on NAT64

Country Status (1)

Country Link
CN (1) CN104270475B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453664A (en) * 2016-12-16 2017-02-22 广东睿哲科技股份有限公司 IPv4 terminal based on virtual IPv4 address pool, and IPv6 service interworking service load balancing system
CN107682472A (en) * 2017-10-24 2018-02-09 睿哲科技股份有限公司 IPv4 and IPv6 interoperability methods, apparatus and system based on RTSP reverse proxys
CN107835198A (en) * 2017-12-13 2018-03-23 睿哲科技股份有限公司 Method, apparatus and the electronic equipment that PPTP is passed through are carried out in IPv4 IPv6 intercommunication scenes
CN109218219A (en) * 2018-10-15 2019-01-15 迈普通信技术股份有限公司 A kind of load-balancing method, device, the network equipment and storage medium
CN109688240A (en) * 2018-12-24 2019-04-26 睿哲科技股份有限公司 IPv4 multicast and the mutual phase changing device of IPv6 multicast and equipment
CN112261054A (en) * 2020-10-23 2021-01-22 重庆邮电大学 Ethernet/IP and IPv6 protocol conversion system and method based on application service quality
CN112532641A (en) * 2020-12-07 2021-03-19 四川光慧新能源科技有限公司 Communication protocol and message format for connecting internal modules of charging pile
CN113630378A (en) * 2021-06-29 2021-11-09 清华大学 IPv6 network access source address verification deployment measurement method and device based on ICMP speed limit
CN113746954A (en) * 2021-09-22 2021-12-03 烽火通信科技股份有限公司 Method and device for rapidly recovering NAT address block secondary allocation
CN113783974A (en) * 2021-09-09 2021-12-10 烽火通信科技股份有限公司 Method and device for dynamically issuing MAP domain rule
CN113923188A (en) * 2021-12-08 2022-01-11 北京英迪瑞讯网络科技有限公司 Stateless flexible mapping algorithm for IPv6/IPv4 access
CN114745456A (en) * 2022-05-13 2022-07-12 咪咕音乐有限公司 Message processing method and device and network address translation equipment
CN116566943A (en) * 2023-07-12 2023-08-08 明阳时创(北京)科技有限公司 Lightweight direct-conversion relay method and system for audio and video streams

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040076180A1 (en) * 2002-10-22 2004-04-22 Cisco Technology, Inc. Shared port address translation on a router behaving as NAT & NAT-PT gateway
CN101431477A (en) * 2008-12-17 2009-05-13 清华大学 P2P operator and campus network router combined IPv4/IPv6 grouping conversion method
CN102148773A (en) * 2010-02-08 2011-08-10 中国联合网络通信集团有限公司 Method and system for converting IPv6 (Internet Protocol Version 6) protocol and IPv4 (Internet Protocol Version 4) protocol
CN102907072A (en) * 2010-02-26 2013-01-30 瑞典爱立信有限公司 Enabling ipv6 mobility with nat64
CN103428303A (en) * 2012-05-22 2013-12-04 中兴通讯股份有限公司 Method and system for IPv6 host to have access to IPv4 server
CN103634216A (en) * 2013-11-04 2014-03-12 汉柏科技有限公司 Method and equipment for forwarding datagram based on NAT 64 (Network Address Translation 64)

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040076180A1 (en) * 2002-10-22 2004-04-22 Cisco Technology, Inc. Shared port address translation on a router behaving as NAT & NAT-PT gateway
CN101431477A (en) * 2008-12-17 2009-05-13 清华大学 P2P operator and campus network router combined IPv4/IPv6 grouping conversion method
CN102148773A (en) * 2010-02-08 2011-08-10 中国联合网络通信集团有限公司 Method and system for converting IPv6 (Internet Protocol Version 6) protocol and IPv4 (Internet Protocol Version 4) protocol
CN102907072A (en) * 2010-02-26 2013-01-30 瑞典爱立信有限公司 Enabling ipv6 mobility with nat64
CN103428303A (en) * 2012-05-22 2013-12-04 中兴通讯股份有限公司 Method and system for IPv6 host to have access to IPv4 server
CN103634216A (en) * 2013-11-04 2014-03-12 汉柏科技有限公司 Method and equipment for forwarding datagram based on NAT 64 (Network Address Translation 64)

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
C. BAO等: "IPv6 Addressing of IPv4/IPv6 Translators", 《IETF RFC6052》 *
M. BAGNULO等: "DNS64: DNS Extensions for Network Address Translation from IPv6 Clients to IPv4 Servers", 《IETF RFC6147》 *
M. BAGNULO等: "Stateful NAT64: Network Address and Protocol Translation from IPv6 Clients to IPv4 Servers", 《IETF RFC6146》 *
X. LI等: "IP/ICMP Translation Algorithm", 《IETF RFC6145》 *
王中震: "IPv4至IPv6过渡技术方案的设计与实施", 《中国优秀硕士学位论文全文数据库》 *

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453664A (en) * 2016-12-16 2017-02-22 广东睿哲科技股份有限公司 IPv4 terminal based on virtual IPv4 address pool, and IPv6 service interworking service load balancing system
CN107682472A (en) * 2017-10-24 2018-02-09 睿哲科技股份有限公司 IPv4 and IPv6 interoperability methods, apparatus and system based on RTSP reverse proxys
CN107835198A (en) * 2017-12-13 2018-03-23 睿哲科技股份有限公司 Method, apparatus and the electronic equipment that PPTP is passed through are carried out in IPv4 IPv6 intercommunication scenes
CN107835198B (en) * 2017-12-13 2020-11-24 睿哲科技股份有限公司 Method and device for PPTP traversal in IPv4-IPv6 intercommunication scene and electronic equipment
CN109218219A (en) * 2018-10-15 2019-01-15 迈普通信技术股份有限公司 A kind of load-balancing method, device, the network equipment and storage medium
CN109688240A (en) * 2018-12-24 2019-04-26 睿哲科技股份有限公司 IPv4 multicast and the mutual phase changing device of IPv6 multicast and equipment
CN112261054B (en) * 2020-10-23 2022-07-15 重庆邮电大学 Ethernet/IP and IPv6 protocol conversion system and method based on application service quality of service
CN112261054A (en) * 2020-10-23 2021-01-22 重庆邮电大学 Ethernet/IP and IPv6 protocol conversion system and method based on application service quality
CN112532641A (en) * 2020-12-07 2021-03-19 四川光慧新能源科技有限公司 Communication protocol and message format for connecting internal modules of charging pile
CN112532641B (en) * 2020-12-07 2023-04-28 四川光慧新能源科技有限公司 Communication method for connecting internal modules of charging pile
CN113630378A (en) * 2021-06-29 2021-11-09 清华大学 IPv6 network access source address verification deployment measurement method and device based on ICMP speed limit
CN113783974A (en) * 2021-09-09 2021-12-10 烽火通信科技股份有限公司 Method and device for dynamically issuing MAP domain rule
CN113783974B (en) * 2021-09-09 2023-06-13 烽火通信科技股份有限公司 Method and device for dynamically issuing MAP domain rule
CN113746954A (en) * 2021-09-22 2021-12-03 烽火通信科技股份有限公司 Method and device for rapidly recovering NAT address block secondary allocation
CN113746954B (en) * 2021-09-22 2023-06-13 烽火通信科技股份有限公司 Method and device for quickly recovering NAT address block through secondary allocation
CN113923188A (en) * 2021-12-08 2022-01-11 北京英迪瑞讯网络科技有限公司 Stateless flexible mapping algorithm for IPv6/IPv4 access
CN114745456A (en) * 2022-05-13 2022-07-12 咪咕音乐有限公司 Message processing method and device and network address translation equipment
CN116566943A (en) * 2023-07-12 2023-08-08 明阳时创(北京)科技有限公司 Lightweight direct-conversion relay method and system for audio and video streams

Also Published As

Publication number Publication date
CN104270475B (en) 2017-10-10

Similar Documents

Publication Publication Date Title
CN104270475A (en) System and method for achieving intercommunication between IPv4 network and IPv6 network based on NAT64
Wu et al. Transition from IPv4 to IPv6: A state-of-the-art survey
US8351430B2 (en) Routing using global address pairs
CN101087296B (en) Method for utilizing network processor to translate the IPv4/IPv6 network protocol
CN102938795B (en) The method of IPv6 address access IPv4 resource is realized by tunnel and address transition
CN101227373B (en) Method for intercommunication based on IPv4 and IPv6 networks without state mapping
JP5239618B2 (en) Address translation apparatus, method and program, and node
CN101316272A (en) Multi-protocol layer interpretation method for constructing hybrid network of internet protocol version four and version six
KR20140034951A (en) Method for managing context table for compress the ipv6 header based on context in wireless mesh networks
Klauck et al. Enhanced DNS message compression-Optimizing mDNS/DNS-SD for the use in 6LoWPANs
WO2011157126A2 (en) Packet forwarding method and inter-network routing apparatus
Chauhan et al. A survey on next generation Internet Protocol: IPv6
US20160359801A1 (en) Method of and a Processing Device Handling a Protocol Address in a Network
CN103634216A (en) Method and equipment for forwarding datagram based on NAT 64 (Network Address Translation 64)
US20150032898A1 (en) Method for establishing a virtual community network connection and a system for implementing said method
WO2014156143A1 (en) Home gateway device and packet forwarding method
US9667592B2 (en) Efficient utilization of internet protocol addresses
CN106331211A (en) Method and system for accessing IPv4 resource through IPv6 address
CN104363176A (en) Message control method and equipment
Cui et al. State management in IPv4 to IPv6 transition
CN102075921B (en) Inter-network communication method and device
CN104468305B (en) Realize Layer3 Virtual Private Network method and apparatus
CN108337331B (en) Network penetration method, device and system and network connectivity checking method
JP5036752B2 (en) INTERNETWORK APPARATUS AND METHOD FOR CONVERTING LOCAL ADDRESS COMMUNICATION PORT NUMBER USED WITH LOCAL ADDRESS AND EACH LOCAL ADDRESS AND GLOBAL ADDRESS AND COMMUNICATION PORT NUMBER IN A GLOBAL ADDRESS USED WITH GLOBAL ADDRESS
CN103441933A (en) Method for achieving communication between IPV4 device and IPV6 device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20190114

Address after: 430074 No. 6, High-tech Fourth Road, Donghu High-tech Development Zone, Wuhan City, Hubei Province

Patentee after: Fenghuo Communication Science &. Technology Co., Ltd.

Address before: 430074 Guandong Optical Communication Industry Building, No. 5 Donghu High-tech Dongxin Road, Wuhan City, Hubei Province

Patentee before: Wuhan Fenghuo Network Co., Ltd.