CN101022426A - Method for realizing static network address translation-protocol conversion and gateway equipment - Google Patents

Method for realizing static network address translation-protocol conversion and gateway equipment Download PDF

Info

Publication number
CN101022426A
CN101022426A CN200710135961.3A CN200710135961A CN101022426A CN 101022426 A CN101022426 A CN 101022426A CN 200710135961 A CN200710135961 A CN 200710135961A CN 101022426 A CN101022426 A CN 101022426A
Authority
CN
China
Prior art keywords
nat
address
interface
ipv6
static
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
CN200710135961.3A
Other languages
Chinese (zh)
Other versions
CN100539551C (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou Huawei 3Com Technology 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 Hangzhou Huawei 3Com Technology Co Ltd filed Critical Hangzhou Huawei 3Com Technology Co Ltd
Priority to CN200710135961.3A priority Critical patent/CN100539551C/en
Publication of CN101022426A publication Critical patent/CN101022426A/en
Application granted granted Critical
Publication of CN100539551C publication Critical patent/CN100539551C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

An address-conversion/protocol-conversion gateway device of static network can realize communication between IP networks operating different protocol by issuing route and executing address-conversion/protocol conversion of network.

Description

The implementation method of static network address conversion-protocol conversion and gateway device
Technical field
The present invention relates to data communication field, be specifically related to implementation method and the NAT-PT gateway device of a kind of static network address conversion-protocol conversion (NAT-PT, Network Address Translation-Protocol Translation).
Background technology
Routing protocol (routing protocol) is used for setting up and maintaining routing list.Its routing table is set up and safeguarded to router by transmit the information of routing protocol between router.At present, IPv6 (the IPv6 of main flow, Internet Protocol version6) the agreement version 3 (OSPFv3 that has that Open Shortest Path First is selected in dynamic routing, Open Shortest Path First version3), intermediate system-intermediate system (IS-IS, intermediate system-to-intermediate system), routing information protocol (the RIPng of a new generation, Routing Information Protocol, next generation) and Border Gateway Protocol edition 4 expansion (BGP4+, Border Gateway Protocol version4 plus) etc.Wherein, by dissimilar LSA (LSA, Link State Advertisement) messages link information and state are described among the OSPFv3.
At present, the deployment of IPv6 network launches in the world, and before carrying out the transition to the IPv6 network fully, IPv4 network and IPv6 are network coexisted will to continue a very long time, and the NAT-PT agreement is used to solve the communication issue between above-mentioned two kinds of networks.NAT-PT is a kind of pure IPv6 node and the internodal intercommunication mode of IPv4, and all comprise that the conversion work of address, agreement all finished by the network equipment.The implementation of NAT-PT has two kinds of static NAT-PT and pooled NAT-PT.Wherein, static NAT-PT is mapping relations static between configuration of IP v6 on the NAT-PT gateway device and IPv4 address, when needing to communicate by letter between IPv4 main frame and the IPv6 main frame, its message carries out protocol conversion and address transition by the NAT-PT gateway device according to the mapping relations of configuration through the NAT-PT gateway device time.
The specific implementation method of static NAT-PT may further comprise the steps as shown in Figure 1 in the prior art:
Step 11, the static mappings between configuration of IP v6 address on the NAT-PT gateway device and IPv4 address.Here, above-mentioned mapping comprises: be the IPv4 address in the IPv4 address pool of NAT-PT gateway device definition with the IPv6 map addresses of the main frame in the IPv6 network, and be the IPv6 address with NAT-PT IPv6 prefix with the IPv4 map addresses of the main frame in the IPv4 network.
Step 12, the static routing of configuration NAT-PT IPv6 prefix on the NAT-PT gateway device, and select agreement that above-mentioned routing iinformation is published in the IPv6 network by dynamic routing, perhaps the static routing of the network segment of NAT-PT IPv6 prefix is pointed in configuration on the routing device of IPv6 network side.
Like this, the routing device of IPv6 network side is selected agreement according to the dynamic routing that is moved in the network after receiving above-mentioned routing iinformation, obtain the pairing route of NAT-PT IPv6 prefix by corresponding algorithm computation.
Step 13, the NAT-PT gateway device carries out being forwarded to the purpose network after NAT-PT handles to the message of communicating by letter between IPv6 and the IPv4 network.
For example, the destination address that sends to the message of IPv4 network from the IPv6 network all has NAT-PT IPv6 prefix, and therefore, these messages will be routed to the NAT-PT gateway device.The NAT-PT gateway device comprises that to above-mentioned message the NAT-PT of protocol conversion and address transition handles, and the message after will handling is forwarded to the IPv4 network side.Wherein, above-mentioned address transition is according to static mappings relation between pre-configured IPv6 address and the IPv4 address, and the purpose IPv6 address and the IPv6 address, source of message all is converted to the IPv4 address.
It is how to realize static NAT-PT's that following mask body illustrates prior art, as shown in Figure 2, in the IPv6 network in left side routing device B, C are arranged among the figure, and IPv6 host PC A, routing device D and IPv4 host PC B are arranged in the IPv4 network on right side, and IPv6 network and IPv4 network intersection are provided with the NAT-PT gateway device A of operation NAT-PT agreement.Wherein, the NAT-PT IPv6 prefix that disposes is 2: on the NAT-PT gateway device A :/96, and IPv4 address 1.1.1.3 is an IPv4 address in the IPv4 address pool of this gateway device A.PC A is the IPv6 main frame, and its IPv6 address is 1::1.PC B is the IPv4 main frame, and its IPv4 address is 1.1.1.2.
The realization of the static NAT-PT of prior art is, mapping relations on this NAT-PT gateway device A between configuration of IP v6 address and the IPv4 address: with the IPv6 map addresses of the host PC A in the IPv6 network is IPv4 address 1.1.1.3 in the IPv4 address pool, be 1::1<-1.1.1.3, and be IPv6 address 2::2 with the IPv4 map addresses of the host PC B in the IPv4 network with NAT-PT IPv6 prefix, promptly 1.1.1.2<-2::2.The static routing of configuration NAT-PT IPv6 prefix on NAT-PT gateway device A then, the perhaps static routing of the network segment of configuration sensing NAT-PT IPv6 prefix on the routing device of IPv6 network side.At last, select agreement that above-mentioned routing iinformation is published in the IPv6 network by dynamic routing.Routing device B in the IPv6 network and C obtain the pairing route of NAT-PTIPv6 prefix according to the above-mentioned routing iinformation that receives.
So, when PC A when PC B sends message, this message source address is 1::1, destination address is 2::2, when this message arrives the default route equipment C of PC A, because the destination address prefix of this message is NAT-PT IPv6 prefix 2::, so routing device C is transmitted to routing device B with this message.In like manner, this message is routed equipment B and is forwarded to NAT-PT gateway device A.NAT-PT gateway device A checks that the destination address prefix of this message is 2::, then according to the static mappings that himself disposes, this message is carried out address transition and protocol conversion, wherein, the result of address transition is: source address 1::1-〉1.1.1.3, destination address 2::2-〉1.1.1.2, and the message after will changing is forwarded to the IPv4 network, thus this message is forwarded to PC B.
The shortcoming of the realization of the static NAT-PT of prior art is: for the IPv6 address of static NAT-PT mapping of the IPv4 address configuration of the main frame in the IPv4 network need have NAT-PT IPv6 prefix, have prefix 2: as the IPv6 address 2::2 in above-mentioned the giving an example:, the IPv6 address of not satisfying this condition can not be used for static NAT-PT mapping; And, this method need be on routing device the configuring static route, so it realizes underaction, bad adaptability when NAT-PT IPv6 prefix changes, then must be revised the corresponding static route.If disposed this static routing on a large amount of routing devices, then corresponding route modification is quite heavy, has greatly increased the burden of equipment disposition and maintenance.
Summary of the invention
Technical problem to be solved by this invention provides implementation method and the NAT-PT gateway device of a kind of static NAT-PT, in order to realize static NAT-PT, to make that the IPv6 address that is used for static NAT-PT mapping is not limited to the address that use has NAT-PT IPv6 prefix.
For solving the problems of the technologies described above, it is as follows to the invention provides scheme:
The implementation method of a kind of static network address conversion-protocol conversion NAT-PT comprises the steps:
Steps A, the static NAT between configuration of IP v6 address on the NAT-PT gateway device and IPv4 address-PT mapping;
Step B will be used for the interface of the IPv6 address configuration of static NAT-PT mapping to this gateway device, and the route of this interface is published in the IPv6 network.
Method of the present invention, wherein, further comprise after step B: step C, NAT-PT gateway device are to be forwarded to the IPv4 network after the described message that is used for the IPv6 address of static NAT-PT mapping is carried out the NAT-PT processing to its purpose IPv6 address that receives.
Method of the present invention, wherein, described steps A comprises:
Mapping between the IPv4 address in the IPv4 address pool of the IPv6 address of the main frame in the configuration of IP v6 network and the definition of NAT-PT gateway device, and the mapping between the IPv6 address of the IPv4 address of the main frame in the configuration of IP v4 network and global unicast.
Method of the present invention, wherein, among the described step B, the described IPv6 address that is used for the mapping of static NAT-PT is the IPv6 address of global unicast that is used to shine upon the IPv4 address of IPv4 network main frame.
Method of the present invention wherein, among the described step B, has an IPv6 address that can be used for static NAT-PT mapping at least on the described interface that is configured to this gateway device.
Method of the present invention, wherein, among the described step B, a described interface that will be used for the IPv6 address configuration of static NAT-PT mapping to this gateway device, the figure place that comprises the subnet mask that disposes this interface is 128.
Method of the present invention, wherein, among the described step B, the loopback mouth that an interface of described this gateway device is this gateway device.
Method of the present invention, wherein, among the described step B, it is that agreement is selected in the dynamic routing that enables this interface that described route with this interface is published in the IPv6 network, select agreement that the routing iinformation of this interface is published in the IPv6 network by dynamic routing, or on each routing device of IPv6 network side, be configured to the static routing of this interface.
Method of the present invention, wherein, described step C comprises:
The NAT-PT gateway device receives destination address when being the message of interface of NAT-PT gateway device, whether the purpose IPv6 address of judging this message has been configured static NAT-PT mapping, if then this message is carried out NAT-PT and handle, and the message after will handling is forwarded to the IPv4 network; Otherwise, this message is transferred to local application handles.
Method of the present invention, wherein, described step C comprises:
Interface for the IPv6 address that has been configured static NAT-PT mapping is provided with the order of binding NAT-PT, and with this command configuration to this interface;
The NAT-PT gateway device receives that destination address is when having bound the message of the IPv6 address on the interface of NAT-PT, then this message is carried out NAT-PT and handle, and the message after will handling is forwarded to the IPv4 network.
Method of the present invention, wherein, among the described step C, described execution NAT-PT processing comprises carries out protocol conversion and address transition to message.
A kind of NAT-PT gateway device comprises: static mappings configuration module and interface configuration module, wherein,
Described static mappings configuration module is used for the static NAT-PT mapping between configuration of IP v6 address and the IPv4 address;
Described interface configuration module is used for the static mappings configuration module is used for the interface of the IPv6 address configuration of static NAT-PT mapping to this gateway device;
Equipment of the present invention, further comprise message receiver module and NAT-PT module, wherein, described message receiver module, be used to receive message, and wherein purpose IPv6 address is that the described message that is used for the IPv6 address of static NAT-PT mapping sends to the NAT-PT module from the IPv6 network side;
Described NAT-PT module is used for that its message that receives is carried out NAT-PT and handles, and the message after will handling is forwarded to corresponding network side.
Equipment of the present invention, wherein, described static mappings configuration module is further used for the mapping between the IPv4 address in the IPv4 address pool of the IPv6 address of the main frame in the configuration of IP v6 network and the definition of NAT-PT gateway device, and the mapping between the IPv6 address of the IPv4 address of the main frame in the configuration of IP v4 network and global unicast.
Equipment of the present invention, wherein, described interface configuration module is further used for the IPv6 mapping address with the global unicast of the IPv4 address of main frame in the IPv4 network, is configured on the interface of described gateway device.
Equipment of the present invention, wherein, described interface configuration module is further used for and will be used for a plurality of IPv6 address configuration of static NAT-PT mapping in the static mappings configuration module to described interface.
Equipment of the present invention, wherein, described interface configuration module is further used for the subnet mask that is for described interface configuration 128.
Equipment of the present invention, wherein, described interface configuration module is further used for and will be used for the loopback mouth of the IPv6 address configuration of static NAT-PT mapping to this gateway device in the static mappings configuration module.
Equipment of the present invention, wherein, described interface configuration module further comprises: the routing iinformation release module, agreement is selected in the dynamic routing that is used to enable described interface, selects agreement that the routing iinformation of described interface is published in the IPv6 network by dynamic routing.
Equipment of the present invention, wherein, described message receiver module is further used for receiving the message from the IPv6 network side, and according to the IPv6 address of the global unicast that is used for the mapping of static NAT-PT that is disposed in the static mappings configuration module, whether the purpose IPv6 address of judging received packet has been configured static NAT-PT mapping, if then this message is sent to the NAT-PT module.
Equipment of the present invention, wherein, described NAT-PT module is further used for its message that receives is carried out protocol conversion and address transition, and the message after will handling is forwarded to corresponding network side.
From the above as can be seen, the implementation method of static NAT-PT provided by the invention and NAT-PT gateway device, IPv6 address configuration by will being used for the mapping of static NAT-PT on the NAT-PT gateway device is to the interface of equipment, and the route of this interface is published to the IPv6 network side, thereby the routing device of IPv6 network side can both get access to the route of this interface IP address, the routing device of IPv6 network side can be forwarded to the message that sends to the IPv4 network NAT-PT gateway device, uses the address with NAT-PT IPv6 prefix thereby make the IPv6 address that is used for static NAT-PT mapping be not limited to.The present invention selects agreement by dynamic routing, has realized being published to automatically the route of the interface that has disposed static NAT-PT mapping.And, there is not direct relation owing to be used for the IPv6 address and the NAT-PT IPv6 prefix of static NAT-PT mapping, therefore the present invention also need not the operation of the static routing of configuration of the prior art or modification NAT-PT IPv6 prefix, thereby simplified the maintenance of equipment, reduced the workload of equipment disposition.In addition, the IPv6 address that the present invention will be used for static NAT-PT mapping preferably is configured to the loopback mouth of equipment, has improved the stability of the realization of static NAT-PT.
Description of drawings
Fig. 1 is the flow chart of the implementation method of static NAT-PT in the prior art;
Fig. 2 is for adopting IPv6 network and the network coexisted network structure of IPv4 of NAT-PT;
Fig. 3 is the flow chart of the implementation method of the described static NAT-PT of the embodiment of the invention;
Fig. 4 is the structural representation of the described NAT-PT gateway device of the embodiment of the invention.
Embodiment
The invention provides implementation method and the NAT-PT gateway device of a kind of static NAT-PT, wherein, the IPv6 address that is used for static NAT-PT mapping is not limited to use the address with NAT-PT IPv6 prefix, and need not the static routing of configuration NAT-PTIPv6 prefix on the routing device of NAT-PT gateway device or IPv6 network side.The present invention is described in detail by specific embodiment below in conjunction with accompanying drawing.
The implementation method of the described static NAT-PT of the embodiment of the invention as shown in Figure 3, may further comprise the steps:
Step 31, the static NAT between configuration of IP v6 address on the NAT-PT gateway device and IPv4 address-PT mapping.
Here, described configuring static NAT-PT mapping comprises that still the IPv6 map addresses with the main frame in the IPv6 network same as the prior art is the IPv4 address in the IPv4 address pool of NAT-PT gateway device definition, different is, when the IPv4 map addresses of the main frame in the IPv4 network is the IPv6 address, here can be the IPv6 address of global unicast with above-mentioned IP v4 map addresses, and be not limited only to be mapped as IPv6 address with NAT-PT IPv6 prefix.
Step 32, interface of configuration on the NAT-PT gateway device, and will be used for shining upon the IPv6 address configuration of described global unicast of IPv4 network main frame in the step 31 to this interface.
Here, because the loopback mouth on the NAT-PT gateway device has better stability than generic interface, therefore, the interface in the step 32 preferably uses the loopback mouth of equipment.As a rule the NAT-PT gateway device is all supported to dispose a plurality of interfaces, and is to dispose a plurality of IPv6 address on interface.When needs dispose a plurality of IPv6 address, can be on an interface with a plurality of IPv6 address configuration.Owing to a plurality of IPv6 address that disposes on the interface can not belong to same subnet, here subnet mask that can this interface is set to 128, be that each IPv6 address belongs to a subnet respectively, thereby guarantee that a plurality of IPv6 address that disposes on this interface does not belong to same subnet.
Step 33, agreement is selected in the dynamic routing that enables above-mentioned interface, and the NAT-PT gateway device generates and issues the routing iinformation of this interface to the IPv6 network, makes all routing devices of IPv6 network side get access to the route of this interface.
Here, the dynamic routing described in the step 33 selects agreement to select agreement for the dynamic routing of IPv6 network side operation, for example, and OSPFv3, RIPng and BGP4+ etc.Select agreement at the dynamic routing that is moved, the NAT-PT gateway device is issued the routing iinformation of corresponding above-mentioned interface, and for example, for RIPng or BGP4+, above-mentioned routing iinformation is route entry (RTE, routing table entry); For OSFPv3, then can be LSA.The routing device of IPv6 network side obtains the route of this interface according to the above-mentioned routing iinformation that receives according to corresponding algorithm computation.
Step 34, the NAT-PT gateway device receives destination address when being the message of certain interface of NAT-PT gateway device, whether the purpose IPv6 address of judging this message has been configured static NAT-PT mapping, if, the NAT-PT module that then this message is sent on the equipment comprises that the NAT-PT of protocol conversion and address transition handles, and the message after will handling is forwarded to the IPv4 network; Otherwise, this message is transferred to local application handles.
Be to come the destination address of its message that receives is judged in the step 34 by the internal processes on the NAT-PT gateway device, here, also can be by the mode of manual binding: the order of a binding NAT-PT is set, and with this command configuration to the interface of the described IPv6 address that has disposed static NAT-PT mapping, thereby bind NAT-PT for this interface.And all IPv6 addresses of having bound on the interface of NAT-PT can not be used as the address of local application.Like this, receiving destination address when the NAT-PT gateway device is that the NAT-PT gateway device is no longer handled this message up sending when having bound the message of IPv6 address on the interface of NAT-PT to local application, carries out NAT-PT and handles and will transfer to the NAT-PT module.
The implementation method of static NAT-PT of the present invention more than has been described, but the present invention is not restricted to listed utilization in the above-mentioned execution mode.For those skilled in the art, can easily realize additional advantage and make amendment; these all should belong to protection scope of the present invention; for example; the route of the described interface of issue in the step 33; also can not use dynamic routing to select agreement; but, also can realize issuing the route of described interface fully by on each routing device of IPv6 network side, being configured to the mode of the static routing of described interface.
Below by for example, above-mentioned static NAT-PT implementation method is more specifically illustrated.Still be example with network among Fig. 1 and main frame.Suppose that it is RIPng that agreement is selected in the dynamic routing of current IP v6 network side operation, the demand of static NAT-PT mapping is that the IPv4 address static mappings with IPv4 host PC B is the IPv6 address 2001::1 of a global unicast at present.Implementation method of the present invention is:
Configuring static NAT-PT mapping on NAT-PT gateway device A comprises that man-to-man static mappings concerns between the IPv4 address of the IPv6 address that dispose 2001::1 and 1.1.1.2.Here, configuring static NAT-PT mapping still comprises and identical with prior art main frame in the IPv6 network is mapped as certain address in the IPv4 address pool; Then, interface of configuration is this interface configuration IPv6 address 2001::1/128 on NAT-PT gateway device A, and the 128 expression subnet masks here are 128; To above-mentioned interface enable RIPng agreement, like this, select agreement by this dynamic routing, NAT-PT gateway device A is published to the IPv6 network side with the routing iinformation of above-mentioned interface, all routing devices of IPv6 network side, as equipment B and C, can learn the dynamic routing of 2001::1/128 by the RIPng agreement; Thereby all go to the message of 2001::1 address the IPv6 network side, all are routed at last on the NAT-PT gateway device A.NAT-PT gateway device A judges whether its purpose IPv6 address that receives this message has been configured static NAT-PT mapping, if, then this message being transferred to the NAT-PT module handles, the NAT-PT module is carried out protocol conversion to this message, and according to the static NAT-PT mapping relations of configuration the address of this message is changed, and the message after will changing is forwarded to the IPv4 network.
Implementation method based on above-mentioned static NAT-PT, the present invention also provides a kind of NAT-PT gateway device to be used to realize static NAT-PT, as shown in Figure 4, this NAT-PT gateway device 400 comprises: static mappings configuration module 40, interface configuration module 41, message receiver module 42, NAT-PT module 43, and local application module 44.Wherein, described interface configuration module 41 also comprises interface route release module 55.
Wherein, described static mappings configuration module 40 is used for the static NAT-PT mapping between configuration of IP v6 address and the IPv4 address.Here, described configuring static NAT-PT mapping comprises that the IPv6 map addresses with the main frame in the IPv6 network is the IPv4 address in the IPv4 address pool of NAT-PT gateway device definition, and is the IPv6 address of global unicast with the IPv4 map addresses of the main frame in the IPv4 network.
Wherein, described interface configuration module 41 is used on NAT-PT gateway device 400 interface of configuration, and will be used for the IPv6 address configuration of global unicast of static NAT-PT mapping in the static mappings configuration module 40 to this interface.Here, the interface of described configuration on NAT-PT gateway device 400 can be the loopback mouth of this equipment 400.And can be on an interface with a plurality of IPv6 address configuration.For a plurality of IPv6 address that guarantees to dispose on the interface can not belong to same subnet, subnet mask that here can this interface is set to 128.
Wherein, described message receiver module 42, be used to receive message from the IPv6 network side, and according to the IPv6 address of the global unicast that is used for the mapping of static NAT-PT that is disposed in the static mappings configuration module 40, whether the purpose IPv6 address of judging received packet is the described IPv6 address that is used for static NAT-PT mapping, if then this message is sent to NAT-PT module 43; Otherwise, this message is sent to local application module 44 handles.
Wherein, described NAT-PT module 43 be used for its message that receives is comprised that the NAT-PT of protocol conversion and address transition handles, and the message after will handling is forwarded to corresponding network side.
Wherein, described local application module 44 is used for handling the message that receives according to local application.The application program here can be the webmaster program, telnet telnet program, ping order etc.
Wherein, described interface route release module 45 is used for selecting agreement by dynamic routing, and the routing iinformation of the interface that interface configuration module 41 is disposed is published to the IPv6 network.Here, the routing iinformation of the corresponding above-mentioned interface of protocol issuance is selected in the dynamic routing that interface route release module 45 is moved at the IPv6 network side, for example, and for RIPng or BGP4+, above-mentioned routing iinformation is route entry (RTE, routingtable entry); For OSFPv3, then can be LSA.
In sum, the implementation method of the described static NAT-PT of the embodiment of the invention and NAT-PT gateway device, IPv6 address configuration by will being used for the mapping of static NAT-PT on the NAT-PT gateway device is to the interface of equipment, the routing configuration of selecting agreement that the routing iinformation of this interface is issued by dynamic routing simultaneously or will arriving this interface makes the routing device of IPv6 network side the message that sends to the IPv4 network can be forwarded to the NAT-PT gateway device to the routing device of IPv6 network side; The NAT-PT gateway device is judged the message that receives, if the purpose IPv6 address of this message is then transferred to this message the NAT-PT resume module, thereby realized static NAT-PT for having disposed the address of static NAT-PT mapping.The invention enables the IPv6 address that is used for static NAT-PT mapping to be not limited to and use address with NAT-PT IPv6 prefix.
The implementation method of static NAT-PT of the present invention and NAT-PT gateway device, be not restricted to listed utilization in specification and the execution mode, it can be applied to various suitable the present invention's field fully, for those skilled in the art, can easily realize additional advantage and make amendment, therefore under the situation of the spirit and scope of the universal that does not deviate from claim and equivalency range and limited, the examples shown that the present invention is not limited to specific details, representational equipment and illustrates here and describe.

Claims (21)

1. the implementation method of a static network address conversion-protocol conversion NAT-PT is characterized in that, comprises the steps:
Steps A, the static NAT between configuration of IP v6 address on the NAT-PT gateway device and IPv4 address-PT mapping;
Step B will be used for the interface of the IPv6 address configuration of static NAT-PT mapping to this gateway device, and the route of this interface is published in the IPv6 network.
2. the method for claim 1 is characterized in that, further comprises after step B:
Step C, NAT-PT gateway device are to be forwarded to the IPv4 network after the described message that is used for the IPv6 address of static NAT-PT mapping is carried out the NAT-PT processing to its purpose IPv6 address that receives.
3. the method for claim 1 is characterized in that, described steps A comprises:
Mapping between the IPv4 address in the IPv4 address pool of the IPv6 address of the main frame in the configuration of IP v6 network and the definition of NAT-PT gateway device, and the mapping between the IPv6 address of the IPv4 address of the main frame in the configuration of IP v4 network and global unicast.
4. method as claimed in claim 3 is characterized in that, among the described step B, the described IPv6 address that is used for the mapping of static NAT-PT is the IPv6 address of global unicast that is used to shine upon the IPv4 address of IPv4 network main frame.
5. the method for claim 1 is characterized in that, among the described step B, has an IPv6 address that can be used for static NAT-PT mapping on the described interface that is configured to this gateway device at least.
6. the method for claim 1 is characterized in that, among the described step B, and a described interface that will be used for the IPv6 address configuration of static NAT-PT mapping to this gateway device, the figure place that comprises the subnet mask that disposes this interface is 128.
7. the method for claim 1 is characterized in that, among the described step B, and the loopback mouth that an interface of described this gateway device is this gateway device.
8. the method for claim 1, it is characterized in that, among the described step B, it is that agreement is selected in the dynamic routing that enables this interface that described route with this interface is published in the IPv6 network, select agreement that the routing iinformation of this interface is published in the IPv6 network by dynamic routing, or on each routing device of IPv6 network side, be configured to the static routing of this interface.
9. method as claimed in claim 2 is characterized in that, described step C comprises:
The NAT-PT gateway device receives destination address when being the message of interface of NAT-PT gateway device, whether the purpose IPv6 address of judging this message has been configured static NAT-PT mapping, if then this message is carried out NAT-PT and handle, and the message after will handling is forwarded to the IPv4 network; Otherwise, this message is transferred to local application handles.
10. method as claimed in claim 2 is characterized in that, described step C comprises:
Interface for the IPv6 address that has been configured static NAT-PT mapping is provided with the order of binding NAT-PT, and with this command configuration to this interface;
The NAT-PT gateway device receives that destination address is when having bound the message of the IPv6 address on the interface of NAT-PT, then this message is carried out NAT-PT and handle, and the message after will handling is forwarded to the IPv4 network.
11. method as claimed in claim 2 is characterized in that, among the described step C, described execution NAT-PT processing comprises carries out protocol conversion and address transition to message.
12, a kind of NAT-PT gateway device is characterized in that comprising: static mappings configuration module and interface configuration module, wherein,
Described static mappings configuration module is used for the static NAT-PT mapping between configuration of IP v6 address and the IPv4 address;
Described interface configuration module is used for the static mappings configuration module is used for the interface of the IPv6 address configuration of static NAT-PT mapping to this gateway device.
13. equipment as claimed in claim 12 is characterized in that further comprising message receiver module and NAT-PT module,
Described message receiver module is used to receive the message from the IPv6 network side, and wherein purpose IPv6 address is that the described message that is used for the IPv6 address of static NAT-PT mapping sends to the NAT-PT module;
Described NAT-PT module is used for that its message that receives is carried out NAT-PT and handles, and the message after will handling is forwarded to corresponding network side.
14. equipment as claimed in claim 12, it is characterized in that, described static mappings configuration module is further used for the mapping between the IPv4 address in the IPv4 address pool of the IPv6 address of the main frame in the configuration of IP v6 network and the definition of NAT-PT gateway device, and the mapping between the IPv6 address of the IPv4 address of the main frame in the configuration of IP v4 network and global unicast.
15. equipment as claimed in claim 14 is characterized in that, described interface configuration module is further used for the IPv6 mapping address with the global unicast of the IPv4 address of main frame in the IPv4 network, is configured on the interface of described gateway device.
16. equipment as claimed in claim 12 is characterized in that, described interface configuration module is further used for and will be used for a plurality of IPv6 address configuration of static NAT-PT mapping in the static mappings configuration module to described interface.
17. equipment as claimed in claim 12 is characterized in that, described interface configuration module is further used for the subnet mask that is for described interface configuration 128.
18. equipment as claimed in claim 12 is characterized in that, described interface configuration module is further used for and will be used for the loopback mouth of the IPv6 address configuration of static NAT-PT mapping to this gateway device in the static mappings configuration module.
19. equipment as claimed in claim 12, it is characterized in that, described interface configuration module further comprises: the routing iinformation release module, agreement is selected in the dynamic routing that is used to enable described interface, selects agreement that the routing iinformation of described interface is published in the IPv6 network by dynamic routing.
20. equipment as claimed in claim 13, it is characterized in that, described message receiver module is further used for receiving the message from the IPv6 network side, and according to the IPv6 address of the global unicast that is used for the mapping of static NAT-PT that is disposed in the static mappings configuration module, whether the purpose IPv6 address of judging received packet has been configured static NAT-PT mapping, if then this message is sent to the NAT-PT module.
21. equipment as claimed in claim 13 is characterized in that, described NAT-PT module is further used for its message that receives is carried out protocol conversion and address transition, and the message after will handling is forwarded to corresponding network side.
CN200710135961.3A 2007-03-14 2007-03-14 The implementation method of static network address conversion-protocol conversion and gateway device Expired - Fee Related CN100539551C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200710135961.3A CN100539551C (en) 2007-03-14 2007-03-14 The implementation method of static network address conversion-protocol conversion and gateway device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200710135961.3A CN100539551C (en) 2007-03-14 2007-03-14 The implementation method of static network address conversion-protocol conversion and gateway device

Publications (2)

Publication Number Publication Date
CN101022426A true CN101022426A (en) 2007-08-22
CN100539551C CN100539551C (en) 2009-09-09

Family

ID=38710081

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200710135961.3A Expired - Fee Related CN100539551C (en) 2007-03-14 2007-03-14 The implementation method of static network address conversion-protocol conversion and gateway device

Country Status (1)

Country Link
CN (1) CN100539551C (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101237401B (en) * 2008-02-26 2010-06-02 中兴通讯股份有限公司 Data connection establishing method and router
CN102255982A (en) * 2011-07-21 2011-11-23 电子科技大学 Internet protocol version 4 (IPv4)/IPv6 translation gateway and translation method
CN102487407A (en) * 2010-12-03 2012-06-06 华为终端有限公司 Network address translating method and equipment and system
CN105208140A (en) * 2014-06-30 2015-12-30 中国电信股份有限公司 Method used for sending data, apparatus and system thereof
CN106713528A (en) * 2017-03-15 2017-05-24 烽火通信科技股份有限公司 Home gateway and method of IPv6 host to access network server

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101237401B (en) * 2008-02-26 2010-06-02 中兴通讯股份有限公司 Data connection establishing method and router
CN102487407A (en) * 2010-12-03 2012-06-06 华为终端有限公司 Network address translating method and equipment and system
CN102487407B (en) * 2010-12-03 2015-03-25 华为终端有限公司 Network address translating method and equipment and system
CN102255982A (en) * 2011-07-21 2011-11-23 电子科技大学 Internet protocol version 4 (IPv4)/IPv6 translation gateway and translation method
CN105208140A (en) * 2014-06-30 2015-12-30 中国电信股份有限公司 Method used for sending data, apparatus and system thereof
CN105208140B (en) * 2014-06-30 2018-12-11 中国电信股份有限公司 For sending the methods, devices and systems of data
CN106713528A (en) * 2017-03-15 2017-05-24 烽火通信科技股份有限公司 Home gateway and method of IPv6 host to access network server
CN106713528B (en) * 2017-03-15 2019-08-13 烽火通信科技股份有限公司 A kind of method of home gateway and IPv6 host access network server

Also Published As

Publication number Publication date
CN100539551C (en) 2009-09-09

Similar Documents

Publication Publication Date Title
JP4236364B2 (en) Communication data relay device
CN101447935B (en) Data packet transmitting method, system and equipment thereof
EP1861967B1 (en) Vpn services using address translation over an ipv6 network
JP5132059B2 (en) Packet relay method and packet relay system
JP4803562B2 (en) Routing device, routing module and routing method for an access network
CN101043430B (en) Method for converting network address between equipments
JP5848478B2 (en) Split network address translation
JP4766976B2 (en) Node connection method and apparatus
CN102546407B (en) File transmitting method and device
CN101227408A (en) Method for IPv4 internal private network to visit IPv6 network and router thereof
CN100539551C (en) The implementation method of static network address conversion-protocol conversion and gateway device
JP2013504956A (en) Method, system and communication terminal for realizing mutual communication between new network and Internet
Rodriguez-Natal et al. Programmable overlays via openoverlayrouter
CN101222495A (en) Method and router for IPv4 network host access to IPv6 network host
CN101018234B (en) Routing information publishing method and network address conversion-protocol conversion gateway device
CN114172865B (en) IPv6 dual stack implementation method under cloud network
WO2021147357A1 (en) Method, device, and system for distributing routing information
EP3395049A1 (en) ROUTER AND METHOD FOR CONNECTING AN IPv4 NETWORK AND AN IPv6 NETWORK
CN112929284A (en) ND message identification method and system under IPv6VXLAN scene
CN101841481B (en) The implementation method of routing transmitting example of virtual private network and device
JP2008172816A (en) Address conversion method
CN101160904B (en) Method and apparatus for implementing signaling proxy
CN104468305B (en) Realize Layer3 Virtual Private Network method and apparatus
JP5054666B2 (en) VPN connection device, packet control method, and program
JP2008219400A (en) Repeater and packet relaying method

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
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090909

Termination date: 20200314

CF01 Termination of patent right due to non-payment of annual fee