CN102487407A - Network address translating method and equipment and system - Google Patents

Network address translating method and equipment and system Download PDF

Info

Publication number
CN102487407A
CN102487407A CN2010105907356A CN201010590735A CN102487407A CN 102487407 A CN102487407 A CN 102487407A CN 2010105907356 A CN2010105907356 A CN 2010105907356A CN 201010590735 A CN201010590735 A CN 201010590735A CN 102487407 A CN102487407 A CN 102487407A
Authority
CN
China
Prior art keywords
ipv4
address
ipv4 address
main process
process equipment
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
CN2010105907356A
Other languages
Chinese (zh)
Other versions
CN102487407B (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.)
Huawei Device Co Ltd
Original Assignee
Huawei Device 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 Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN201010590735.6A priority Critical patent/CN102487407B/en
Publication of CN102487407A publication Critical patent/CN102487407A/en
Application granted granted Critical
Publication of CN102487407B publication Critical patent/CN102487407B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention relates to a network address translating method and equipment and a system. The method comprises the following steps of: receiving an Internet Protocol Version 4 (IPv4) address distribution request sent by host computer equipment using IPv6, wherein the IPv4 address distribution request is used for showing that a requested IPv4 address is used for prefix network address translation (PNAT); according to the IPv4 address distribution request, acquiring an undistributed IPv4 address from an IPv4 address pool, and distributing the undistributed IPv4 address to the host computer equipment; and returning the distributed IPv4 address to the host computer equipment, so that the host computer equipment accesses to opposite-end equipment using the IPv4 according to the distributed IPv4 address. The requirement of PNAT cross-over on an internet protocol (IP) address is met through the embodiment of the invention, and after the opposite-end equipment receives a data packet which is converted through a PNAT 64 Gateway (PNAT64GW) by the host computer equipment, the IP address in the data packet can be used for communication with the host computer equipment through the PNAT64GW.

Description

Method for network address translation, equipment and system
Technical field
The present invention relates to communication technical field, especially a kind of method for network address translation, equipment and system.
Background technology
The 6th edition (Internet Protocol Version 6 of Internet protocol; Be called for short: IPv6) design and be used to substitute existing the 4th edition (Internet ProtocolVersion 4 of Internet protocol by IETF; Be called for short: a kind of new Internet Protocol (Internet Protocol IPv4); Be called for short: IP), propose for solving the existing problem and shortage of IPv4.
Because the long-term co-existence of IPv4 and IPv6 makes the demand of the two intercommunication to evade.For example: based on two stacks terminal of IPv4, IPv6 network through IPv6; The application server of visit IPv4; In the prior art; When the source address of main process equipment was made up of the complete publicly-owned address of " 1 "+IPv4 of IPv6 prefix+32 bits (bit), (Prefix Network Address Translation was called for short: PNAT) 64 gateways (Ga teway the prefix network address translation; Be called for short: GW) will remove prefix, and use the publicly-owned address of I Pv4 to communicate with the opposite equip. that uses IPv4 as the main frame source address.Because the publicly-owned address of IPv4 is distributed through couple in router; And couple in router is controlled by operator; Can be in minute timing at home subscriber server (Home Subscriber Servers; Be called for short: HSS) or checking authorize and charge (Authentication Authorization Accounting, be called for short: AAA) server with the IP address with user's identity binding as: (International MobileSubscriber Identification is called for short: IMSI) number or mobile subscriber's international number (MobileSubscriber International ISDN with international mobile subscriber identification; Be called for short: MSISDN) number corresponding; At opposite equip. such as IPv4 business platform, just can obtain subscriber identity information, and can carry out identification authentication, access control in view of the above like this according to this IPv4 source address.Than distribute (source address corresponding to main process equipment is made up of the complete privately owned address of " 0 "+IPv4 of IPv6 prefix+32bit) to want reliable by PNAT64GW temporarily, have more fail safe.
According to prior art; Though the IPv4 address of main process equipment is the publicly-owned address of IPv4 that network side distributes; But the address is distributed by couple in router when inserting; Couple in router with the scheme that should distribute the address between the PNAT64GW alternately, can't not guarantee to distribute the pairing IPv4 address network segment of corresponding PNAT64GW when giving main process equipment distributing IP address.When the opposite equip. that uses IPv4 uses this IPv4 address to communicate as destination address, just can't guarantee that also packet can be delivered to PNAT64GW, also just can't return main process equipment through PNAT64GW.Therefore, according to the scheme of prior art, the IPv4 packet that opposite equip. mails to main process equipment can't normally arrive main process equipment.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of method for network address translation, equipment and system; Guarantee to use the opposite equip. of IPv4 receiving that the main process equipment that uses IPv6 is behind gateway translation data bag; Can use IP address wherein, communicate by letter with main process equipment through gateway.
The embodiment of the invention provides a kind of method for network address translation, comprising:
Receive the IPv4 address assignment request of the main process equipment transmission of using IPv6, said IPv4 address assignment request is used to indicate the IPv4 address of being asked to be used for prefix network address translation PNAT;
According to said IPv4 address assignment request, from the IPv4 address pool, obtain a unappropriated IPv4 address assignment and give said main process equipment;
The IPv4 address of distributing is returned to said main process equipment, so that said main process equipment uses the opposite equip. of IPv4 according to the IPv4 accessed of said distribution.
The embodiment of the invention provides a kind of method for network address translation, comprising:
Send the IPv4 address assignment request; So that PNAT64GW obtains a unappropriated IPv4 address according to said IPv4 address assignment request and distributes from the IPv4 address pool, said IPv4 address assignment request is used to indicate the IPv4 address of being asked to be used for prefix network address translation PNAT;
Receive the IPv4 address that said PNAT64G distributes;
Use the opposite equip. of IPv4 according to the IPv4 accessed of said distribution.
The embodiment of the invention provides a kind of network address conversion gateway, comprising:
First receiver module is used to receive the IPv4 address assignment request that the main process equipment that uses IPv6 sends, and said IPv4 address assignment request is used to indicate the IPv4 address of being asked to be used for prefix network address translation PNAT;
Distribution module is used for according to said IPv4 address assignment request, from the IPv4 address pool, obtains a unappropriated IPv4 address assignment and gives said main process equipment;
First sending module is used for the IPv4 address of distributing is returned to said main process equipment, so that said main process equipment uses the opposite equip. of IPv4 according to the IPv4 accessed of said distribution.
The embodiment of the invention also provides a kind of main process equipment, comprising:
Second sending module; Be used to send the IPv4 address assignment request; So that PNAT64GW obtains a unappropriated IPv4 address according to said IPv4 address assignment request and distributes from the IPv4 address pool, said IPv4 address assignment request is used to indicate the IPv4 address of being asked to be used for prefix network address translation PNAT;
Second receiver module is used to receive the IPv4 address that said PNAT64G distributes;
Access modules is used for the opposite equip. according to the IPv4 accessed use IPv4 of said distribution.
The embodiment of the invention also provides a kind of network address distribution system, comprising: main process equipment, couple in router, prefix network address translation 64 gateway PNAT64GW and opposite equip.s;
The arbitrary described network address conversion gateway that said PNAT64GW adopts the embodiment of the invention to provide;
The arbitrary described main process equipment that said main process equipment adopts the embodiment of the invention to provide;
Said couple in router is used to receive the IPv4 address assignment request that the main process equipment that uses IPv6 sends.
The method for network address translation that the invention described above embodiment provides, equipment and system; Through main process equipment distributing IP v4 address for use IPv6; Satisfied network address translation and passed through demand the IP address; Use the opposite equip. of IPv4 can be routed to gateway device to the packet of the main process equipment transmission of the corresponding use IPv6 in the IPv4 address of distributing; The opposite equip. that has guaranteed to use IPv4 is communicated by letter with the main process equipment that uses IPv6 through PNAT64GW receiving that the main process equipment that uses IPv6 behind PNAT64GW translation data bag, can use IP address wherein.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work property, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of an embodiment of method for network address translation of the present invention;
Fig. 2 is the schematic flow sheet of another embodiment of method for network address translation of the present invention;
Fig. 3 is the schematic flow sheet of another embodiment of method for network address translation of the present invention;
Fig. 4 a is the sketch map of the application scenarios of method for network address translation embodiment of the present invention;
The signaling process figure that Fig. 4 b is suitable for for method for network address translation embodiment of the present invention;
Fig. 5 a is the sketch map of another application scenarios of method for network address translation embodiment of the present invention;
Another signaling process figure that Fig. 5 b is suitable for for method for network address translation embodiment of the present invention;
Another signaling process figure that Fig. 6 is suitable for for method for network address translation embodiment of the present invention;
Fig. 7 is the structural representation of an embodiment of network address conversion gateway of the present invention;
Fig. 8 is the structural representation of another embodiment of network address conversion gateway of the present invention;
Fig. 9 is the structural representation of an embodiment of main process equipment of the present invention;
Figure 10 is the structural representation of another embodiment of main process equipment of the present invention;
Figure 11 is the structural representation of network address distribution system embodiment of the present invention.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
Fig. 1 is the schematic flow sheet of an embodiment of method for network address translation of the present invention, and as shown in Figure 1, the embodiment of the invention comprises the steps:
The IPv4 address assignment request that step 101, reception use the main process equipment of IPv6 to send, said IPv4 address assignment request is used to indicate the IPv4 address of being asked to be used for prefix network address translation PNAT;
Wherein, the particular content of this IPv4 address can be a definite IP address allocated, also can for the available information of IP address for example: but distributable one or more IP address or zero-address distribution state.Main process equipment in the embodiment of the invention generally comprises IPv4 and uses and the PNAT module.
Wherein, the IPv4 address assignment request mode that is used to indicate the IPv4 address of being asked to be used to carry out the prefix network address translation can comprise:
Carry the PNAT sign in mode one, the IPv4 address assignment request, said PNAT identifies to be used to indicate the IPv4 address of being asked is used to carry out PNAT; Under this mode,, follow-up the IPv4 address that obtains is used to carry out PNAT if carry PNAT sign in the IPv4 address assignment request, otherwise, the IPv4 address that obtains is not used to carry out PNAT.
Mode two, IPv4 address assignment request are defaulted as the IPv4 address of being asked are used to carry out PNAT.Under this mode,, just the IPv4 address is used to carry out PNAT as long as obtain the IPv4 address.
Generally can comprise main process equipment, couple in router, prefix network address translation 64 gateway PNAT64GW and opposite equip.s in the network address translation network of the embodiment of the invention; Optional, also can comprise a data center.Step 101 specifically can comprise:
Couple in router receives the said IPv4 address assignment request of the main process equipment transmission of using IPv6;
PNAT64GW or data center receive the said IPv4 address assignment request that said couple in router is transmitted.If comprise data center in the network, can receive the IPv4 address assignment request that couple in router is transmitted through data center; If there is not data center in the network, PNAT64GW can directly receive couple in router and transmit the IPv4 address assignment request.
Step 102, according to said IPv4 address assignment request, from the IPv4 address pool, obtain a unappropriated IPv4 address assignment and give said main process equipment; Specifically can comprise following arbitrary situation:
Situation one, PNAT64GW obtain a unappropriated IPv4 address assignment and give said main process equipment according to said IPv4 address assignment request from the IPv4 address pool of said PNAT64GW; If there is not data center in the network, PNAT64GW can a unappropriated IPv4 address assignment give said main process equipment from self IPv4 address pool.
If comprise data center in situation two networks, data center obtains a unappropriated IPv4 address assignment and gives said main process equipment according to said IPv4 address assignment request from the IPv4 address pool of said PNAT64GW.
If comprise data center in situation three networks, data center is according to said IPv4 address assignment request, obtains a unappropriated IPv4 address assignment the IPv4 address pool of the said PNAT64GW that preserves from said data center and gives said main process equipment.Need to prove: the informational needs that is comprised of the address pool of the PNAT64GW that data center preserves and the IPv4 address pool of PNAT64GW is consistent.
In addition; If comprise a plurality of PNAT64GW in the network, the information that can also carry opposite equip. in the then said IPv4 address assignment request is before step 102; Can make the information of couple in router, confirm the PNAT64GW that said opposite equip. is corresponding according to said opposite equip.; And then by the PNAT64GW execution in step of confirming 102.
Step 103, the IPv4 address of distributing is returned to said main process equipment, so that said main process equipment uses the opposite equip. of IPv4 according to the IPv4 accessed of said distribution.
In step 103, make said main process equipment specifically can comprise following example according to the process of the opposite equip. in the said IPv4 network of said IPv4 accessed:
Example one, according to the IPv4 address of said distribution; To convert the corresponding packet in IPv4 address of said distribution from the corresponding packet in the IPv6 address of said main process equipment into, and the corresponding packet in the IPv4 address of the said distribution after will changing is sent to said opposite equip.;
For example: PNAT64GW receives the main process equipment that uses IPv6 and sends the IPv6 packet to PNAT64GW; Wherein, The destination address of this IPv6 packet is " the opposite equip. address of WKP/PNAT64 prefix+use IPv4 "; Source address is " main process equipment IPv6 prefix+32bit ' 1 '+network is the IPv4 address that main process equipment distributes "; From the address of IPv6 packet, take out " network is the IPv4 address that main process equipment distributes ", PNAT64GW will be somebody's turn to do " network is the IPv4 address that main process equipment distributes " source address as the IPv4 packet after the conversion, the IPv4 packet after the conversion will be sent to the opposite equip. that uses IPv4.
Example two, according to the IPv4 address of said distribution; To convert the corresponding packet in IPv6 address into from the corresponding packet in the IPv4 address of the distribution of said opposite equip., and the packet of the correspondence of the said IPv6 address after will change is sent to said main process equipment.
For example: PNAT64GW receives the IPv4 packet of the opposite equip. transmission of using IPv4, and the destination address of this IPv4 packet is the IPv4 address of network allocation, and source address is for using the opposite equip. address of IPv4.PNAT64GW is according to the corresponding relation of the IPv4 address and the IPv6 address of self record; Can convert the IPv4 packet to the IPv6 packet; The destination address of this IPv6 packet is " main process equipment IPv6 prefix+32bit ' 1 '+network is the IPv4 address of host assignment "; Source address is " the opposite equip. address of WKP/PNAT64 prefix+use IPv4 ", and the IPv6 packet after will changing then sends to the main process equipment that uses IPv6.
In the embodiment of the invention; After PNAT64GW receives the IPv4 address assignment request of the main process equipment that uses IPv6; Can obtain the IPv4 address for main process equipment according to this IPv4 address assignment request; And the IPv4 address of distributing returned to this main process equipment, then, main process equipment can use the opposite equip. of IPv4 according to the IPv4 accessed of this distribution.For example: use the opposite equip. of IPv4 receiving the main process equipment that uses IPv6 behind the IPv4 packet of PNAT64GW conversion, the source address in the use IPv4 packet is communicated by letter with main process equipment through PNAT64GW as destination address; Perhaps, use the opposite equip. of IPv6 receiving the main process equipment that uses IPv4 behind the IPv6 packet of PNAT46GW conversion, the source address in the use IPv6 packet is communicated by letter with main process equipment through PNAT46GW as destination address.Wherein, PNAT46GW also is a kind of PNAT64GW, and is relevant with the IPv6 address pool, is used for the IPv4 packet that the main process equipment that uses IPv4 sends is converted into the IPv6 packet.
Further, this network address assignment method also comprises: the step that is come into force in the IPv4 address of said distribution.Wherein, this step that comes into force can be carried out between step 102 and step 103, also can after step 103, carry out.
The method for network address translation that the embodiment of the invention provides; Through main process equipment distributing IP v4 address for use IPv6; Satisfied PNAT and passed through demand the IP address; Use the opposite equip. of IPv4 can be routed to gateway device to the packet of the main process equipment transmission of the corresponding use IPv6 in the IPv4 address of distributing; Thereby the opposite equip. that guarantees to use IPv4 is communicated by letter with the main process equipment that uses IPv6 through PNAT64GW receiving that the main process equipment that uses IPv6 behind PNAT64GW translation data bag, can use IP address wherein.
Fig. 2 is the schematic flow sheet of another embodiment of method for network address translation of the present invention, and as shown in Figure 2, this method for network address translation comprises the steps:
Step 201, PNAT64GW or data center receive the IPv4 address assignment request of the main process equipment that uses IPv6, and said IPv4 address assignment request is used for indication said I Pv4 address is used to carry out PNAT;
Step 202, PNAT64GW or data center obtain a unappropriated IPv4 address assignment and give said main process equipment according to said IPv4 address assignment request from the IPv4 address pool of PNAT64GW;
This IPv4 address that step 203, PNAT64GW or data center will distribute returns to this main process equipment;
Step 204, PNAT64GW receive from the corresponding packet in the IPv6 address of main process equipment;
Step 205, the packet that PNAT64GW is corresponding with the IPv6 address convert the corresponding packet in IPv4 address into, and the corresponding packet in the IPv4 address after will changing is sent to opposite equip.;
Step 206, PNAT64GW receive from the corresponding packet in the IPv4 address of opposite equip.;
Step 207, the packet that PNAT64GW is corresponding with the IPv4 address convert the corresponding packet in IPv6 address into, and the corresponding packet in the IPv6 address after will changing is sent to main process equipment.
Further, embodiment illustrated in fig. 2 in, also comprise: with the step that comes into force in said IPv4 address, this comes into force the IPv4 address can be between step 202 and step 203, to carry out, and can also between step 204 and step 205, carry out.
Present embodiment is through the main process equipment distributing IP v4 address for use IPv6; Satisfied PNAT and passed through demand the IP address; Make the opposite equip. in the IPv4 network can be routed to gateway device to the packet of the main process equipment transmission of the corresponding use IPv6 in the IPv4 address of distributing; Thereby the opposite equip. that guarantees to use IPv4 is communicated by letter with the main process equipment that uses IPv6 through PNAT64GW receiving that the main process equipment that uses IPv6 behind PNAT64GW translation data bag, can use IP address wherein.
Fig. 3 is for the schematic flow sheet of another embodiment of method for network address translation of the present invention, and is as shown in Figure 3, and the main process equipment of use IPv6 obtains the IP address to PNAT64GW and can comprise the steps:
Step 301, transmission IPv4 address assignment request; So that PNAT64GW obtains a unappropriated IPv4 address according to said IPv4 address assignment request and distributes from the IPv4 address pool, said IPv4 address assignment request is used to indicate the IPv4 address of being asked to be used for prefix network address translation PNAT;
The IPv4 address that step 302, the said PNAT64G of reception distribute;
Step 303, use the opposite equip. of IPv4 according to the IPv4 accessed of said distribution.
The main process equipment that uses IPv6 is after PNAT64GW sends the IPv4 address assignment request, if receive the IPv4 address that said PNAT64GW returns according to said IPv4 address assignment request, according to the opposite equip. in the said IPv4 network of said IPv4 accessed.
Further, on above-mentioned basis embodiment illustrated in fig. 3, in the process that main process equipment that uses IPv6 and the opposite equip. that uses IPv4 communicate, step 302 specifically can comprise:
Send the corresponding packet in said IPv6 address to PNAT64GW, make said PNAT64GW convert the corresponding packet in the IPv4 address of said distribution into and be sent to said opposite equip. according to the IPv4 address of said distribution, the packet that said IPv6 address is corresponding; Or
Receive the corresponding packet in IPv6 address after the conversion that PNAT64GW returns, the corresponding packet in said IPv6 address is converted to by the corresponding packet in IPv4 address of the distribution that said PNAT64GW sends according to the IPv4 address of said distribution, to the said opposite equip. that receives.
Present embodiment is for using the main process equipment distributing IP v4 address of IPv6; Satisfied PNAT and passed through demand the IP address; Use the opposite equip. of IPv4 receiving that the main process equipment that uses IPv6 is behind PNAT64GW translation data bag; Can use IP address wherein, communicate by letter with the main process equipment that uses IPv6 through PNAT64GW.
Technical scheme for the clearer description embodiment of the invention; Below in conjunction with Fig. 4~Fig. 6 to Fig. 1~embodiment illustrated in fig. 3 being elaborated; Fig. 4 a is the sketch map of the application scenarios of method for network address translation embodiment of the present invention, and shown in Fig. 4 a, the network address translation network comprises in the present embodiment: couple in router 1, data center 2, PNAT64GW 3, main process equipment 4 and opposite equip. 5; Wherein, Main process equipment 4 data comprise that IPv4 uses and the PNAT module, and main process equipment 4 uses IPv6, and opposite equip. uses IPv4.The signaling process figure that Fig. 4 b is suitable for for method for network address translation embodiment of the present invention in the present embodiment, uses IPv6 with main process equipment, and opposite equip. uses IPv4 to carry out exemplary illustration as example; Wherein, Couple in router will be given the main process equipment that uses IPv6 from the IPv4 address assignment that data center gets access to; Need there be interactive interface in data center with PNAT64GW, to guarantee the using main process equipment of IPv6 can come into force at PNAT64GW from the IPv4 address that couple in router obtains.When the main process equipment that uses IPv6 when the opposite equip. of IPv4 is used in the PNAT64GW visit; Then main process equipment uses this IPv4 address as source address; PNAT64GW can directly use the opposite equip. of this IPv4 address as source address visit use IPv4; The IPv4 packet that the opposite equip. of the feasible IPv4 of use sends to the IPv4 address can both arrive PNAT64GW, and is processed into the main process equipment that the IPv6 packet arrives use IPv6 by PNAT64GW; Shown in Fig. 4 b, in the present embodiment method for network address translation, use the main process equipment of IPv6 to obtain the IPv4 address that is used for PNAT, specifically comprise the steps:
The main process equipment of step 401, use IPv6 sends the IPv4 address assignment request to couple in router, and the IPV4 address that this IPv4 address assignment request indication is asked is used for PNAT.
Step 402, couple in router send the IPv4 address to data center and obtain request, and the request of obtaining of this IPv4 address indicates the IPV4 address of being asked to be used for PNAT;
Step 403, data center obtain unappropriated IPv4 address from the I PV4 address pool of PNAT64GW.As: data center can issue PNAT64GW with the request of obtaining of IPv4 address, returns unappropriated IPv4 address by PNAT64GW, and data center also can obtain unappropriated IPv4 address from the PNAT64GWIPV4 address pool of self preserving.
Step 404a, data center return some unappropriated IPv4 address to couple in router, and data center can also return the WKP/PNAT64 prefix to couple in router simultaneously.
Step 404b, the notice PNAT64GW of data center, this IPv4 address is distributed.Wherein, step 404a and step 404b can not have sequential relationship, can first execution in step 404a, also can first execution in step 404b, and perhaps the two is carried out simultaneously.
Step 405a, couple in router return this IPv4 address to the main process equipment that uses IPv6; Couple in router can also return the WKP/PNAT64 prefix to the main process equipment that uses IPv6 simultaneously, supplies to use the main process equipment of IPv6 when follow-up opposite equip. with use IPv4 communicates process, to use.
Step 405b, PNAT64GW come into force the IPv4 address of being distributed.
Wherein, step 405a and step 405b can not have sequential relationship, can first execution in step 405a, also can first execution in step 405b, and perhaps the two is carried out simultaneously.
Through above-mentioned steps, after the main process equipment of use IPv6 obtains the IPv4 address that is used for PNAT, can communicate with the opposite equip. that uses IPv4 through PNAT64GW, concrete communication process is following:
The main process equipment of step 406, use IPv6 uses the opposite equip. of IPv4 through the PNAT64GW visit; Use the main process equipment of IPv6 to send the IPv6 packet to PNAT64GW; Wherein, The destination address of this IPv6 packet is " the opposite equip. address of WKP/PNAT64 prefix+use IPv4 ", and source address is " using the IPv4 address of main process equipment IPv6 prefix+32bit ' 1 '+network of IPv6 for the main process equipment distribution of use IPv6 ".
Step 407, find corresponding PNAT64GW according to the WKP/PNAT64 prefix in the destination address; When this PNAT64GW carries out PNAT; Can directly use this IPv4 address as source address to the opposite equip. that uses IPv4 for example: the IPv4 service server conducts interviews; At this moment; PNAT64GW converts received IPv6 packet into the IPv4 packet, and the destination address of this IPv4 packet is the address of the opposite equip. of use IPv4, and source address is that network is the IPv4 address of using the main process equipment distribution of IPv6;
IPv4 packet after step 408, PNAT64GW will transform is sent to the opposite equip. that uses IPv4.
In addition, if use the IPv4 packet that the opposite equip. of IPv4 mails to the main process equipment that uses IPv6 to be routed to PNAT64GW, wherein, the destination address of this IPv4 packet is the IPv4 address of network allocation, and source address is for using the opposite equip. address of IPv4.PNAT64GW is according to the corresponding relation of the IPv4 address and the IPv6 address of self record; Can convert the IPv4 packet to the IPv6 packet; Wherein, The destination address of this IPv6 packet is " using the IPv4 address of main process equipment IPv6 prefix+32bit ' 1 '+network of IPv6 for the main process equipment distribution of use IPv6 ", and source address is " the opposite equip. address of WKP/PNAT64 prefix+use IPv4 ".IPv6 packet after will changing then sends to the main process equipment of the use IPv6 that uses IPv6.
The embodiment of the invention; Through obtaining the IPv4 address for the main process equipment that uses IPv6; Satisfied PNAT and passed through demand the IP address; The opposite equip. that uses IPv4 receive that the main process equipment that uses IPv6 sends behind the IPv4 packet of PNAT64GW conversion, can use source address in the I Pv4 packet as destination address, communicate by letter with the main process equipment of use IPv6 through PNAT64GW.
In above-mentioned Fig. 4 a and the 4b illustrated embodiment; If there are a plurality of PNAT64GW; And the main process equipment that uses I Pv6 is known the situation which PNAT64GW visit to use the opposite equip. of IPv4 through, and can go on foot that the main process equipment that in rapid 401~step 403, uses IPv6 indicates when couple in router sends the IPv4 address assignment request is the pairing IPv4 of which PNAT64GW of acquisition request address.For example: in rapid 401, use the main process equipment of IPv6 in the IPv4 address assignment request that couple in router sends, to portably use the opposite equip. information (for example, using service identification and/or the address etc. of using the opposite equip. of IPv4 of the opposite equip. of IPv4) of IPv4; Obtain the opposite equip. information that also portably uses IPv4 in the request at step 402 couple in router to the IPv4 address that data center sends; In step 403; Data center is according to the opposite equip. information searching target P NAT64GW that uses IPv4; Perhaps further combine the situation of current all PNAT64GW to confirm target P NAT64GW; Then data center from target P NAT64GW corresponding address pond obtain unappropriated IPv4 address, return the main process equipment that uses IPv6 through couple in router; If there are a plurality of PNAT64GW; And unclear which PNAT64GW that should use of the main process equipment that uses IPv6 visits the opposite equip. that uses IPv4; Then the target P NAT64GW that selection is suitable need judge in data center, and returns the IPv4 address corresponding with this suitable target P NAT64GW to couple in router.
Alternatively, the sequential that among the step 405b come into force in the IPv4 address also can be between step 406 and step 407.In this case, obtain the IPv4 address process that is used for PNAT, not execution in step 405a at the main process equipment that uses IPv6; At the main process equipment that uses IPv6 in the process that PNAT64GW and the opposite equip. that uses IPv4 communicate; Between step 406 and step 407, comprise that following checking procedure: PNAT64GW and data center are mutual, whether comprise the IPv4 address in the verification source address; Specifically can be that PNAT64GW informs that this IPv4 address of data center is used; The legitimacy of all right this IPv4 address of verification of PNAT64GW, if the legitimacy verification is passed through, PNAT64GW comes into force the IPv4 address of being distributed.In addition; In this case; If there are a plurality of PNAT64GW; Know at the main process equipment that uses IPv6 under the situation of the opposite equip. that which PNAT64GW visit to use IPv4 that can go on foot that the main process equipment that in rapid 401~step 403, uses IPv6 indicates when couple in router sends the IPv4 address assignment request is the pairing IPv4 of which PNAT64GW of acquisition request address through; Which do not know under the situation that use PNAT64GW to visit the opposite equip. that uses IPv4 at the main process equipment that uses IPv6; Then the target P NAT64GW that selection is suitable need judge in data center, and returns the IPv4 address corresponding with this suitable target P NAT64GW to couple in router.
Fig. 5 a is the sketch map of another application scenarios of method for network address translation embodiment of the present invention; Shown in Fig. 5 a; Compare with a last embodiment, data center's function in logic can merge with couple in router, the PNAT64GW in the present embodiment, comprises in the network address translation network in the present embodiment: couple in router 1, PNAT64GW 3, main process equipment 4 and opposite equip. 5; Wherein, Main process equipment 4 data comprise that IPv4 uses and the PNAT module, and main process equipment 4 uses IPv6, and opposite equip. is for using IPv4.Another signaling process figure that Fig. 5 b is suitable for for method for network address translation embodiment of the present invention as other a kind of possible system, uses IPv6 with main process equipment, and opposite equip. uses IPv4 to carry out exemplary illustration as example; Couple in router obtains unappropriated IPv4 address for using the main process equipment distributing IP v4 address of IPv6 from PNAT64GW, to guarantee that main process equipment from the IPv4 address that couple in router obtains, can come into force at PNAT64GW.When the main process equipment that uses IPv6 when the opposite equip. of IPv4 is used in the PNAT64GW visit, use this IPv4 address to form source address, PNAT64GW can directly use this IPv4 address as source address visit use the opposite equip. of IPv4.Use the IPv4 packet of the opposite equip. of IPv4, can both arrive PNAT64GW, and be processed into IPv6 packet arrival main frame by PNAT64GW to the transmission of said IPv4 address; Shown in Fig. 5 b, in the present embodiment method for network address translation, at first, use the main process equipment of IPv6 to obtain the IPv4 address that is used for PNAT, specifically comprise the steps:
The main process equipment of step 501, use IPv6 sends the IPv4 address assignment request to couple in router, and the IPV4 address that this IPv4 address assignment request indication is asked is used for PNAT;
Step 502, couple in router send the IPv4 address to PNAT64GW and obtain request, and the request of obtaining of this IPv4 address indicates the IPV4 address of being asked to be used for PNAT;
Step 503a, PNAT64GW obtain unappropriated IPv4 address from its IPV4 address pool, and some unappropriated IPv4 address is sent to couple in router;
Step 503b, PNAT64GW carry out the IPv4 address and come into force;
Step 504, PNAT64GW return above-mentioned IPv4 address to couple in router;
Step 505, couple in router are returned the IPv4 address to the main process equipment that uses IPv6, and this step can be returned the WKP/PNAT64 prefix simultaneously, use when supplying the main process equipment of the follow-up IPv6 of use to communicate process.
Through above-mentioned steps, after the main process equipment of use IPv6 obtains the IPv4 address that is used for PNAT, can communicate with the opposite equip. that uses IPv4 through PNAT64GW, concrete communication process is following:
The main process equipment of step 506, use IPv6 uses the opposite equip. of IPv4 through the PNAT64GW visit; Use the main process equipment of IPv6 to send the IPv6 packet to PNAT64GW; For example: the destination address of this IPv6 packet is " the opposite equip. address of WKP/PNAT64 prefix+use IPv4 ", and source address is " using the IPv4 address of main process equipment IPv6 prefix+32bit ' 1 '+network of IPv6 for the main process equipment distribution of use IPv6 ".
Step 507, when PNAT64GW carries out PNAT, can directly use this IPv4 address to conduct interviews to the opposite equip. such as the IPv4 service server that use IPv4 as source address.That is, convert received IPv6 packet into the IPv4 packet, the destination address of this IPv4 packet is the address of the opposite equip. of use IPv4, and source address is that network is the IPv4 address of using the main process equipment distribution of IPv6.
IPv4 packet after step 508, PNAT64GW will transform is sent to the opposite equip. that uses IPv4.
In addition, the IPv4 packet that the opposite equip. of use IPv4 mails to the main process equipment that uses IPv6 is routed to PNAT64GW, and the destination address of this IPv4 packet is the IPv4 address of network allocation, and source address is for using the opposite equip. address of IPv4.PNAT64GW is according to the corresponding relation of the IPv4 address and the IPv6 address of self record; Send to the main process equipment that uses IPv6 after can converting the IPv4 packet to the IPv6 packet; The destination address of this IPv6 packet is " using the IPv4 address of main process equipment IPv6 prefix+32bit ' 1 '+network of IPv6 for the main process equipment distribution of use IPv6 ", and source address is " the opposite equip. address of WKP/PNAT64 prefix+use IPv4 ".
Above-mentioned embodiment illustrated in fig. 5 in; If when having a plurality of PNAT64GW; And the main process equipment that uses IPv6 is known the situation which PNAT64GW visit to use the opposite equip. of IPv4 through, and can go on foot that the main process equipment that in rapid 501~step 503, uses IPv6 indicates when couple in router sends the IPv4 address assignment request is the pairing IPv4 of which PNAT64GW of acquisition request address.In rapid 501, use the main process equipment of IPv6 in the IPv4 address assignment request that couple in router sends, to portably use the opposite equip. information (like the service identification of the opposite equip. that uses IPv4, the address etc. of using the opposite equip. of IPv4) of IPv4; Obtain the opposite equip. information that also portably uses IPv4 in the request at step 502 couple in router to the IPv4 address that PNAT64GW sends; In step 503; Data center is according to the opposite equip. information searching target P NAT64GW that uses IPv4; Perhaps further combine the situation of current all PNAT64GW to confirm target P NAT64GW; Data center from target P NAT64GW corresponding address pond obtain unappropriated IPv4 address, return the main process equipment that uses IPv6 through couple in router; If there are a plurality of PNAT64GW; And the main process equipment that uses IPv6 is unclear should to use which to visit the opposite equip. that uses IPv4 as target P NAT64GW; Then the target P NAT64GW that selection is suitable need judge in data center, and returns the IPv4 address corresponding with this suitable target P NAT64GW to couple in router.
Alternatively, the sequential that among the step 503b come into force in the IPv4 address also can be between step 507 and step 508.In this case; Between step 406 and step 407, can also comprise that following checking procedure: PNAT64GW and data center are mutual, whether comprise the IPv4 address in the verification source address; Specifically can be that PNAT64GW informs that this IPv4 address of data center is used; The legitimacy of all right this IPv4 address of verification of PNAT64GW, if the legitimacy verification is passed through, PNAT64GW comes into force the IPv4 address of being distributed.In addition; In this case; If there are a plurality of PNAT64GW; Know at the main process equipment that uses IPv6 under the situation of the opposite equip. that which PNAT64GW visit to use IPv4 that can go on foot that the main process equipment that in rapid 501~step 503, uses IPv6 indicates when couple in router sends the IPv4 address assignment request is the pairing IPv4 of which PNAT64GW of acquisition request address through; Which do not know under the situation that use PNAT64GW to visit the opposite equip. that uses IPv4 at the main process equipment that uses IPv6; Then the target P NAT64GW that selection is suitable need judge in data center, and returns the IPv4 address corresponding with this suitable target P NAT64GW to couple in router.
The embodiment of the invention; Through obtaining the IPv4 address for the main process equipment among the use IPv6; Satisfied PNAT and passed through demand the IP address; The IPv4 opposite equip. can be routed to gateway device to the packet of the main process equipment transmission of the corresponding use IPv6 in the IPv4 address of distributing; Thereby the opposite equip. that guarantee to use IPv4 receive that the main process equipment that uses IPv6 sends behind the IPv4 packet of PNAT64GW conversion, can use source address in the IPv4 packet as destination address, communicate by letter with the main process equipment of use IPv6 through PNAT64GW.
Another signaling process figure that Fig. 6 is suitable for for method for network address translation embodiment of the present invention; As another possible system; Do not comprise independently data center in the present embodiment, couple in router is not understood the loading condition of PNAT64GW in advance, earlier to all corresponding PNAT64GW request IPv4 addresses; PNAT64GW does not return concrete IP address, but determine whether according to current IP v4 address assignment situation can distributing IP v4 address and return IP address available information to couple in router.Couple in router confirm to select one of them can addresses distributed, and the result is confirmed; As shown in Figure 6, in the present embodiment method for network address translation, at first, use the main process equipment of IPv6 to obtain the IPv4 address that is used for PNAT, specifically comprise the steps:
The main process equipment of step 601, use IPv6 sends the IPv4 address assignment request to couple in router; The IPV4 address that this IPv4 address assignment request indication is asked is used for PNAT; This IPv4 address assignment request portably uses the identification information of the opposite equip. of IPv4, this use IPv4 opposite equip. identification information for example specifically can for: use the service identification of the opposite equip. of IPv4, the address of using the opposite equip. of IPv4.
Step 602, couple in router are selected each target P NAT64GW that can reach according to the identification information of the opposite equip. that uses IPv4.
Step 603, couple in router send the IPv4 address to each target P NAT64GW that chooses and obtain request.
Step 604, each target P NAT64GW confirm unappropriated IPv4 address situation in its address pool.
Step 605, each target P NAT64GW return IPv4 address available information to couple in router, but this IPv4 address available information specifically can be distributable one or more IPv4 address or zero-address distribution state.
Step 606, couple in router are selected an IPv4 address from the available IPv4 address that each target P NAT64GW returns; Return the IPv4 address and the corresponding WKP/PNAT64 prefix of selection to the main process equipment that uses IPv6, use when supplying the main process equipment of the follow-up IPv6 of use to communicate process; Couple in router is to each target P NAT64GW notice IPv4 address utilization, and promptly couple in router is finally confirmed the IPv4 address of use, informs perhaps whether each target P NAT64GW uses its IPv4 address.
Step 607, corresponding target P NAT64GW mark IPv4 address assignment state and this IPv4 address of coming into force, employed IPv4 address.Then, target P NAT64GW can return the IPv4 address of this selection to couple in router; Couple in router can return to the main process equipment that uses IPv6 with the IPv4 address and the corresponding WKP/PNAT64 prefix thereof of this selection.
Through above-mentioned steps, after the main process equipment of use IPv6 obtains the IPv4 address that is used for PNAT, can communicate with the opposite equip. that uses IPv4 through target P NAT64GW, concrete communication process is following:
The main process equipment of step 608, use IPv6 uses the opposite equip. of IPv4 through target P NAT64GW visit; Use the main process equipment of IPv6 to send the IPv6 packet to target P NAT64GW; Wherein, The destination address of this IPv6 packet is " the opposite equip. address of WKP/PNAT64 prefix+use IPv4 ", and source address is " using the IPv4 address of main process equipment IPv6 prefix+32bit ' 1 '+network of IPv6 for the main process equipment distribution of use IPv6 ".
Step 609, when target P NAT64GW carries out PNAT; Can directly use this IPv4 address to conduct interviews to the opposite equip. such as the IPv4 service server that use IPv4 as source address; Be that target P NAT64GW converts received IPv6 packet into the IPv4 packet; The destination address of this IPv4 packet is the address of the opposite equip. of use IPv4, and source address is that network is the IPv4 address of using the main process equipment distribution of IPv6; IPv4 packet after target P NAT64GW will change is sent to the opposite equip. that uses IPv4.
The IPv4 packet that the opposite equip. of step 610, use IPv4 mails to the main process equipment that uses IPv6 is routed to target P NAT64GW, and the destination address of this IPv4 packet is the IPv4 address of network allocation, and source address is for using the opposite equip. address of IPv4.
Step 611, target P NAT64GW are according to the corresponding relation of the IPv4 address and the I Pv6 address of self record; Can the IPv4 packet be converted to the IPv6 packet and send to the main process equipment that uses IPv6; The destination address of this IPv6 packet is " host ip v6 prefix+32bit ' 1 '+network is the IPv4 address of host assignment ", and source address is " the opposite equip. address of WKP/PNAT64 prefix+use IPv4 ".Wherein, step 610,611 and step 608,609 sequential can part successively.
Alternatively, coming into force the sequential of this IPv4 address in the step 607 also can be between step 608 and step 609.Promptly; When step 607; Behind the corresponding target P NAT64GW mark IPv4 address assignment state in employed IPv4 address, if use the main process equipment of IPv6 to communicate with the opposite equip. that uses IPv4 through target P NAT64GW, the main process equipment that then uses IPv6 in execution in step 608 is after target P NAT64GW sends the IPv6 packet; The IPv4 address of above-mentioned selection and then execution in step 609 come into force.
The embodiment of the invention; Through obtaining the IPv4 address for the main process equipment that uses IPv6; Satisfied PNAT and passed through demand the IP address; The packet that the opposite equip. of use IPv4 can send to the main process equipment of the corresponding use IPv6 in the IPv4 address of distributing can be routed to gateway device; Thereby the opposite equip. that guarantee to use IPv4 receive that the main process equipment that uses IPv6 sends behind the IPv4 packet of PNAT64GW conversion, can use source address in the IPv4 packet as destination address, communicate by letter with the main process equipment of use IPv6 through PNAT64GW.
The foregoing description also can be applied to main process equipment and use IPv4, and opposite equip. uses the IPv6 situation.In this case, main process equipment uses IPv4 (main process equipment distributing IP v4 address under the normal condition), is the demand of address transition, uses the main process equipment of IPv4 can ask an IPv6 address or IPv6 prefix addresses.Because the IPv6 address has 128, and the IPv4 address has 32, so this IPv6 address or IPv6 address prefix can not directly carry through the IPv4 address, can in the IPv4 packet, carry IPv6 address prefix or IPv6 address, uses for conversion.
Fig. 7 is the structural representation of an embodiment of network address conversion gateway of the present invention, and as shown in Figure 7, present embodiment comprises: first receiver module 71, distribution module 72 and first sending module 73;
First receiver module 71 is used to receive the IPv4 address assignment request that the main process equipment that uses IPv6 sends, and said IPv4 address assignment request is used to indicate the IPv4 address of being asked to be used for prefix network address translation PNAT;
Distribution module 72 is used for according to said IPv4 address assignment request, from the IPv4 address pool, obtains a unappropriated IPv4 address assignment and gives said main process equipment;
First sending module 73 is used for the IPv4 address of distributing is returned to said main process equipment, so that said main process equipment uses the opposite equip. of IPv4 according to the IPv4 accessed of said distribution.
First receiver module of present embodiment, distribution module and first sending module carry out the concrete grammar of PNAT, can be with reference to the associated description among the above-mentioned method for network address translation embodiment.
First receiver module of present embodiment network address conversion gateway can obtain the IPv4 address for the main process equipment that uses IPv6; Satisfied PNAT and passed through demand the IP address; Use the opposite equip. of IPv4 can be routed to gateway device to the packet of the main process equipment transmission of the corresponding use IPv6 in the IPv4 address of distributing; Guaranteed to use the opposite equip. of IPv4 receiving that the main process equipment that uses IPv6 is behind network address conversion gateway translation data bag; Can use IP address wherein, communicate by letter with the main process equipment that uses IPv6 through network address conversion gateway.
Fig. 8 is the structural representation of another embodiment of network address conversion gateway of the present invention; As shown in Figure 8; On the basis of a last embodiment; Distribution module 73 specifically is used for, and according to said IPv4 address assignment request, from the IPv4 address pool of network address conversion gateway self, obtains a unappropriated IPv4 address assignment and gives said main process equipment.
Further, first sending module 73 comprises: first transmitting element 731 and/or second transmitting element 733.
First transmitting element 731; Be used for IPv4 address according to said distribution; To convert the corresponding packet in IPv4 address of said distribution from the corresponding packet in the IPv6 address of said main process equipment into, and the corresponding packet in the IPv4 address of the said distribution after will changing is sent to said opposite equip.;
Second transmitting element 733; Be used for IPv4 address according to said distribution; To convert the corresponding packet in IPv6 address into from the corresponding packet in the IPv4 address of the distribution of said opposite equip., and the packet of the correspondence of the said IPv6 address after will change is sent to said main process equipment.
Further, this network address conversion gateway can also comprise:
The module 75 that comes into force is used for being come into force in the IPv4 address of said distribution, and concrete grammar can be with reference to the associated description among the above-mentioned method for network address translation embodiment.
First receiver module of present embodiment network address conversion gateway can obtain the IPv4 address for the main process equipment that uses IPv6; Satisfied PNAT and passed through demand the IP address; The packet that the main process equipment of the use IPv6 that the IPv4 address that the opposite equip. of use IPv4 can distribute is corresponding sends can be routed to gateway device; Guaranteed to use the opposite equip. of IPv4 receiving that the main process equipment that uses IPv6 is behind network address conversion gateway translation data bag; Can use IP address wherein, communicate by letter with the main process equipment that uses IPv6 through network address conversion gateway.
Fig. 9 is the structural representation of an embodiment of main process equipment of the present invention, and as shown in Figure 9, present embodiment comprises: second sending module 90, second receiver module 91 and access modules 93;
Wherein, Second sending module 90; Be used to send the IPv4 address assignment request; So that PNAT64GW obtains a unappropriated IPv4 address according to said IPv4 address assignment request and distributes from the IPv4 address pool, said IPv4 address assignment request is used to indicate the IPv4 address of being asked to be used for prefix network address translation PNAT;
Second receiver module 91 is used to receive the IPv4 address that said PNAT64G distributes;
Access modules 93 is used for the opposite equip. according to the IPv4 accessed use IPv4 of said distribution.
Second receiver module of present embodiment and access modules are carried out the concrete grammar of PNAT, can be with reference to the associated description among the above-mentioned method for network address translation embodiment.
Present embodiment use IPv6 main process equipment can obtain the IPv4 address of distribution through second sending module and second receiver module; Satisfied PNAT and passed through demand the IP address; Use the opposite equip. of IPv4 can be routed to gateway device to the packet of the main process equipment transmission of the corresponding use IPv6 in the IPv4 address of distributing; Guaranteed to use the opposite equip. of IPv4 receiving that the main process equipment that uses IPv6 is behind PNAT64GW translation data bag; Can use IP address wherein, communicate by letter with the main process equipment that uses IPv6 through PNAT64GW.
Figure 10 is the structural representation of another embodiment of main process equipment of the present invention, and shown in figure 10, on the basis of a last embodiment, the access modules 93 of this main process equipment can comprise: first addressed location 931 and/or second addressed location 933.
Wherein, First addressed location 931; Be used for sending the corresponding packet in said IPv6 address, make PNAT64GW convert the corresponding packet in the IPv4 address of said distribution into and be sent to said opposite equip. according to the IPv4 address of said distribution, the packet that said IPv6 address is corresponding to PNAT64GW;
Second addressed location 933; Receive the corresponding packet in IPv6 address after the conversion that PNAT64GW returns, the corresponding packet in said IPv6 address is converted to by the corresponding packet in IPv4 address of the distribution that said PNAT64GW sends according to the IPv4 address of distributing, to the said opposite equip. that receives.
Present embodiment uses the main process equipment of IPv6 can obtain the IPv4 address of distribution; Satisfied PNAT and passed through demand the IP address; Use the opposite equip. of IPv4 can be routed to gateway device to the packet of the main process equipment transmission of the corresponding use IPv6 in the IPv4 address of distributing; Thereby the assurance opposite equip. is communicated by letter with the main process equipment that uses IPv6 through PNAT64GW receiving that the main process equipment that uses IPv6 behind PNAT64GW translation data bag, can use IP address wherein.
Figure 11 is the structural representation of network address distribution system embodiment of the present invention, and shown in figure 11, this network address distribution system can comprise: main process equipment 11, couple in router 12, prefix network address translation 64 gateway PNAT64GW 13 and opposite equip. 14;
Wherein, PNAT64GW 13 can adopt arbitrary prefix network address translation 64 gateways that the embodiment of the invention provides;
Arbitrary main process equipment that main process equipment 11 adopts the embodiment of the invention to provide;
Couple in router 12 is used to receive the IPv4 address assignment request that the said main process equipment 11 that uses IPv6 sends.
Further, network address distribution system can also comprise:
Data center 15 is used to receive the IPv4 address assignment request that said couple in router 12 sends, and from the IPv4 address pool of said PNAT64GW 13, obtains a unappropriated IPv4 address assignment and gives said main process equipment.
Again further, couple in router 12 can comprise: the 3rd sending module and/or the 4th sending module.
Wherein, the 3rd sending module is used for said IPv4 address assignment request is sent to PNAT64GW;
The 4th sending module is used for said IPv4 address assignment request is sent to data center.
The main process equipment of present embodiment, couple in router, PNAT64GW, opposite equip., data center carry out the concrete grammar of PNAT, can be with reference to the associated description among the above-mentioned method for network address translation embodiment.
Present embodiment is for using the main process equipment distributing IP v4 address of IPv6; Satisfied PNAT and passed through demand the IP address; Use the opposite equip. of IPv4 can be routed to gateway device to the packet of the main process equipment transmission of the corresponding use IPv6 in the IPv4 address of using IPv6; Guaranteed to use the opposite equip. of IPv4 receiving that main process equipment behind PNAT64GW translation data bag, can use IP address wherein, communicated by letter with the main process equipment that uses IPv6 through PNAT64GW.
Need to prove that the related main process equipment of the embodiment of the invention includes but not limited to that portable terminal or fixed terminal or other can insert the communication equipment of IP network; Opposite equip. includes but not limited to mobile phone, server or business platform.
The those skilled in the art can be well understood to, for the convenience described with succinct, the concrete course of work of the equipment of foregoing description and system can repeat no more at this with reference to the corresponding process among the preceding method embodiment.
One of ordinary skill in the art will appreciate that: all or part of step that realizes the foregoing description can be accomplished through the relevant hardware of program command; Aforesaid program can be stored in the computer read/write memory medium; This program the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
What should explain at last is: above embodiment is only in order to explaining technical scheme of the present invention, but not to its restriction; Although with reference to previous embodiment the present invention has been carried out detailed explanation, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these are revised or replacement, do not make the spirit and the scope of the essence disengaging various embodiments of the present invention technical scheme of relevant art scheme.

Claims (10)

1. a network address assignment method is characterized in that, comprising:
Receive the IPv4 address assignment request of the main process equipment transmission of using IPv6, said IPv4 address assignment request is used to indicate the IPv4 address of being asked to be used for prefix network address translation PNAT;
According to said IPv4 address assignment request, from the IPv4 address pool, obtain a unappropriated IPv4 address assignment and give said main process equipment;
The IPv4 address of distributing is returned to said main process equipment, so that said main process equipment uses the opposite equip. of IPv4 according to the IPv4 accessed of said distribution.
2. network address assignment method according to claim 1 is characterized in that, the IPv4 address assignment request that said reception uses the main process equipment of IPv6 to send comprises:
Prefix network address translation 64 gateway PNAT64GW or data center receive the IPv4 address assignment request by the main process equipment transmission of using IPv6 that couple in router is transmitted.
3. network address assignment method according to claim 2 is characterized in that, and is said according to said IPv4 address assignment request, from the IPv4 address pool, obtains a unappropriated IPv4 address assignment and gives said main process equipment, comprising:
PNAT64GW obtains a unappropriated IPv4 address assignment and gives said main process equipment according to said IPv4 address assignment request from the IPv4 address pool of said PNAT64GW; Or
Data center obtains a unappropriated I Pv4 address assignment and gives said main process equipment according to said IPv4 address assignment request from the IPv4 address pool of said PNAT64GW;
Data center is according to said IPv4 address assignment request, obtains a unappropriated IPv4 address assignment the IPv4 address pool of the said PNAT64GW that preserves from said data center and gives said main process equipment.
4. according to each described network address assignment method of claim 1-3; It is characterized in that; The information of carrying said opposite equip. in the request for allocation of said IPv4 address is so that couple in router, is confirmed the PNAT64GW that said opposite equip. is corresponding according to the information of said opposite equip..
5. according to each described network address assignment method of claim 1-3, it is characterized in that, also comprise:
Come into force in the IPv4 address of said distribution.
6. a network address assignment method is characterized in that, comprising:
Send the IPv4 address assignment request; So that PNAT64GW obtains a unappropriated IPv4 address according to said IPv4 address assignment request and distributes from the IPv4 address pool, said IPv4 address assignment request is used to indicate the IPv4 address of being asked to be used for prefix network address translation PNAT;
Receive the IPv4 address that said PNAT64G distributes;
Use the opposite equip. of IPv4 according to the IPv4 accessed of said distribution.
7. a network address conversion gateway is characterized in that, comprising:
First receiver module is used to receive the IPv4 address assignment request that the main process equipment that uses IPv6 sends, and said IPv4 address assignment request is used to indicate the IPv4 address of being asked to be used for prefix network address translation PNAT;
Distribution module is used for according to said IPv4 address assignment request, from the IPv4 address pool, obtains a unappropriated IPv4 address assignment and gives said main process equipment;
First sending module is used for the IPv4 address of distributing is returned to said main process equipment, so that said main process equipment uses the opposite equip. of IPv4 according to the IPv4 accessed of said distribution.
8. network address conversion gateway according to claim 7 is characterized in that, also comprises:
The module that comes into force is used for being come into force in the IPv4 address of said distribution.
9. a main process equipment is characterized in that, comprising:
Second sending module; Be used to send the IPv4 address assignment request; So that PNAT64GW obtains a unappropriated IPv4 address according to said IPv4 address assignment request and distributes from the IPv4 address pool, said IPv4 address assignment request is used to indicate the IPv4 address of being asked to be used for prefix network address translation PNAT;
Second receiver module is used to receive the IPv4 address that said PNAT64GW distributes;
Access modules is used for the opposite equip. according to the IPv4 accessed use IPv4 of said distribution.
10. a network address distribution system is characterized in that, comprising: main process equipment, couple in router, prefix network address translation 64 gateway PNAT64GW and opposite equip.s;
Said PNAT64GW adopts like claim 7 or 8 described network address conversion gateways;
Said main process equipment adopts main process equipment as claimed in claim 9;
Said couple in router is used to receive the IPv4 address assignment request that the main process equipment that uses IPv6 sends.
CN201010590735.6A 2010-12-03 2010-12-03 Network address translating method and equipment and system Active CN102487407B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010590735.6A CN102487407B (en) 2010-12-03 2010-12-03 Network address translating method and equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010590735.6A CN102487407B (en) 2010-12-03 2010-12-03 Network address translating method and equipment and system

Publications (2)

Publication Number Publication Date
CN102487407A true CN102487407A (en) 2012-06-06
CN102487407B CN102487407B (en) 2015-03-25

Family

ID=46152860

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010590735.6A Active CN102487407B (en) 2010-12-03 2010-12-03 Network address translating method and equipment and system

Country Status (1)

Country Link
CN (1) CN102487407B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104584517A (en) * 2012-06-29 2015-04-29 瑞典爱立信有限公司 Method and a network node, for use in a data center, for routing an IPv4 packet over an IPv6 network
CN105681481A (en) * 2014-11-18 2016-06-15 中兴通讯股份有限公司 Method and device for realizing network translation to IPv6 (Internet Protocol Version 6) based on PNAT (Prefix Network Address Translation) and terminal device
CN108183977A (en) * 2018-03-09 2018-06-19 清华大学 A kind of method and device that the publicly-owned addresses of IPv4 are dynamically distributed by IPv6 internets
US10622742B2 (en) 2017-11-09 2020-04-14 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Earphone socket, mounting structure and mobile terminal
CN112913211A (en) * 2018-10-25 2021-06-04 瑞典爱立信有限公司 Method and node for discovering services provided by a network function NF in a telecommunication network based on a service based architecture SBA in a telecommunication network
CN113242331A (en) * 2021-05-11 2021-08-10 鸬鹚科技(深圳)有限公司 Different types of address translation methods, different types of address translation devices, different types of computer equipment and different types of storage media

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1578296A (en) * 2003-07-29 2005-02-09 华为技术有限公司 Method for realizing double-stack transition
US20060251088A1 (en) * 2005-05-06 2006-11-09 Pascal Thubert Private network gateways interconnecting private networks via an access network
CN101022426A (en) * 2007-03-14 2007-08-22 杭州华为三康技术有限公司 Method for realizing static network address translation-protocol conversion and gateway equipment
US7333510B1 (en) * 2002-07-12 2008-02-19 Cisco Technology, Inc. Method and apparatus for providing IPv6 networks to communicate with overlapping IPv4 networks using NAT-PT
CN101848247A (en) * 2009-03-26 2010-09-29 华为技术有限公司 Method for implementing access of IPv6 host to IPv4 host, method for acquiring IPv6 address prefix and conversion device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7333510B1 (en) * 2002-07-12 2008-02-19 Cisco Technology, Inc. Method and apparatus for providing IPv6 networks to communicate with overlapping IPv4 networks using NAT-PT
CN1578296A (en) * 2003-07-29 2005-02-09 华为技术有限公司 Method for realizing double-stack transition
US20060251088A1 (en) * 2005-05-06 2006-11-09 Pascal Thubert Private network gateways interconnecting private networks via an access network
CN101022426A (en) * 2007-03-14 2007-08-22 杭州华为三康技术有限公司 Method for realizing static network address translation-protocol conversion and gateway equipment
CN101848247A (en) * 2009-03-26 2010-09-29 华为技术有限公司 Method for implementing access of IPv6 host to IPv4 host, method for acquiring IPv6 address prefix and conversion device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
B.HUANG: "Prefix NAT: Host based IPv6 translation draft-huang-behave-pnat-00", 《NETWORK WORKING GROUP INTERNET-DRAFT》, 18 October 2009 (2009-10-18) *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104584517A (en) * 2012-06-29 2015-04-29 瑞典爱立信有限公司 Method and a network node, for use in a data center, for routing an IPv4 packet over an IPv6 network
CN105681481A (en) * 2014-11-18 2016-06-15 中兴通讯股份有限公司 Method and device for realizing network translation to IPv6 (Internet Protocol Version 6) based on PNAT (Prefix Network Address Translation) and terminal device
US10622742B2 (en) 2017-11-09 2020-04-14 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Earphone socket, mounting structure and mobile terminal
CN108183977A (en) * 2018-03-09 2018-06-19 清华大学 A kind of method and device that the publicly-owned addresses of IPv4 are dynamically distributed by IPv6 internets
CN112913211A (en) * 2018-10-25 2021-06-04 瑞典爱立信有限公司 Method and node for discovering services provided by a network function NF in a telecommunication network based on a service based architecture SBA in a telecommunication network
US11864091B2 (en) 2018-10-25 2024-01-02 Telefonaktiebolaget Lm Ericsson (Publ) Method, and nodes, for discovering services in a telecommunication network provided by a network function, NF, in a service based architecture, SBA, based telecommunication network
CN112913211B (en) * 2018-10-25 2024-04-02 瑞典爱立信有限公司 Method and node for discovering services provided by network functions in a telecommunication network
CN113242331A (en) * 2021-05-11 2021-08-10 鸬鹚科技(深圳)有限公司 Different types of address translation methods, different types of address translation devices, different types of computer equipment and different types of storage media

Also Published As

Publication number Publication date
CN102487407B (en) 2015-03-25

Similar Documents

Publication Publication Date Title
CN102447748B (en) Method, equipment and system for allocating outer Internet protocol IP addresses during network address translation (NAT)
CN102487407A (en) Network address translating method and equipment and system
CN102148878B (en) IP (internet protocol) address allocation method, system and device
CN101656737B (en) Realizing multi-protocol access method and interface platform
CN101662511B (en) Network address distributing method, DHCP server, access system and method thereof
CN101577738B (en) Address distribution method and equipment thereof
CN101321111A (en) Communication method and device, server, and computer readable recording medium
CN102055816A (en) Communication method, business server, intermediate equipment, terminal and communication system
CN102739541A (en) Method, device and system for starting routing function and transmitting data
CN103200281A (en) Method, device and system for accessing intranet server
CN102404418A (en) Method, device and system for distributing IP (internet protocol) address for user terminal
CN103109517A (en) Double-stack terminal accessing service method, terminal and system
CN102447617A (en) Method, terminals and gateway for transmitting IPv6 (Internet Protocol version 6) message in IPv4 network
CN102316416A (en) Access method for terminal and wireless communication network
CN105323229A (en) CPE-based data transmission method, network element, platform and system
CN104333610A (en) IPv6 address allocation method and device
CN104144096A (en) Virtual network layer construction method, device and system
CN102572008A (en) Communication service processing method and system and gateway equipment
CN103618801A (en) Method, device and system for sharing P2P (Peer-to-Peer) resources
CN101686150B (en) Installation method of network element, network element, DHCP server and network system
CN103414798A (en) Communication method, device and system based on network address translation
CN102868781B (en) A kind of wireless bridge and realize the method for DHCP safety
CN102984261A (en) Network service login method, equipment and system based on mobile telephone terminal
CN102984696B (en) Based on the IP communication means of mobile terminal, equipment and system
CN102511152A (en) Method for realizing multicast in shared network, system and device thereof

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20171031

Address after: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop

Patentee after: HUAWEI terminal (Dongguan) Co., Ltd.

Address before: 518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No.

Patentee before: Huawei Device Co., Ltd.

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee after: Huawei Device Co., Ltd.

Address before: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee before: HUAWEI terminal (Dongguan) Co., Ltd.