CN101848247A - Method for implementing access of IPv6 host to IPv4 host, method for acquiring IPv6 address prefix and conversion device - Google Patents

Method for implementing access of IPv6 host to IPv4 host, method for acquiring IPv6 address prefix and conversion device Download PDF

Info

Publication number
CN101848247A
CN101848247A CN200910204110A CN200910204110A CN101848247A CN 101848247 A CN101848247 A CN 101848247A CN 200910204110 A CN200910204110 A CN 200910204110A CN 200910204110 A CN200910204110 A CN 200910204110A CN 101848247 A CN101848247 A CN 101848247A
Authority
CN
China
Prior art keywords
address
ipv6
ipv4
prefix
transition
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.)
Pending
Application number
CN200910204110A
Other languages
Chinese (zh)
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 Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN200910204110A priority Critical patent/CN101848247A/en
Priority to EP10755431A priority patent/EP2413544A4/en
Priority to PCT/CN2010/071246 priority patent/WO2010108431A1/en
Publication of CN101848247A publication Critical patent/CN101848247A/en
Priority to US13/240,612 priority patent/US20120011234A1/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

The invention relates to the communication field, in particular to a method for implementing the access of an IPv6 host to an IPv4 host, a method for acquiring an IPv6 address prefix and a conversion device. The method comprises the following steps: the source host acquires the address prefix for transforming an IPv4 address into an IPv6 address; and the source host locally converts from the IPv4 address to the IPv6 address. The conversion device comprises a prefix acquisition unit and an address conversion unit, wherein, the prefix acquisition unit acquires the address prefix converting the IPv4 address into the IPv6 address; and the address conversion unit carries out interconversion on the IPv4 address and the IPv6 address according to the address prefix obtained by the prefix acquisition unit.

Description

Realize method, the method for obtaining the IPv6 address prefix and the conversion equipment of IPv6 host access IPv4 main frame
Technical field
The present invention relates to the communications field, relate in particular to a kind of method, the method for obtaining the IPv6 address prefix and conversion equipment of the IPv6 of realization host access IPv4 main frame.
Background technology
NAT-PT (Network Address Translation-Protocol Translation, network address translation-protocol conversion) [RFC2766] is being IPv4 (Internet Protocol Version 4, IP agreement the 4th edition)/IPv6 (Internet Protocol Version 6, IP agreement sixth version) during address transition (NAT), between IPv4 grouping and IPv6 grouping, carry out header and semantic translation (PT), be applicable to the communication between pure IPv4 website and the pure IPv6 website.For the upper-layer protocol of some embedded address informations (as FTP, i.e. File Transfer Protocol, file transfer protocol (FTP)), NAT-PT equipment needs and application layer gateway cooperated finished translation.On the basis of NAT-PT equipment, utilize port information, just can realize the NAPT-PT function.
In NAT-PT equipment, realize IPv6 (Internet Protocol, the procotol sixth version) scheme of host access IPv4 (procotol the 4th edition) main frame is: the IPv6 main frame sends DNS Query (DNS inquiry, DNS is the abbreviation of Domain Name System) request destination host FQDN (Fully Qualified Domain Name, fully qualified domain name/full name domain name) Dui Ying IPv4 or IPv6 address, this DNS Query is through sending to the DNS Sever in the IPv4domain after the NAT-PT equipment, DNS server carries the IPv4 address (record of the A among the DNS just) of destination host correspondence in the DNS response that responds, during DNS response message process NAT-PT equipment, DNS-ALG on the NAT-PT equipment (DNS Application Level Gateway, the DNS ALG) owing to do not write down DNS query state, cause the IPv4 address (A record) in the DNS response message unconditionally to be translated into IPv6 address (A6/AAAA record) by DNS-ALG.
But under some application scenarios, the IPv6 main frame that is positioned at IPv6 domain may wish to obtain the IPv4 address of destination host or the IPv4 address that it has obtained destination host.Such as this IPv6 main frame is two stack (Dual-stack) main frames (supporting IPv4 and IPv6 simultaneously), it wishes to know the true address (no matter IPv4 or IPv6 address) of destination host, if destination host is the IPv4 address, then set up session by IPv4, if session is then set up by IPv6 in the IPv6 address, but adopted after the DNS-ALG, even destination host is the main frame of IPv4, but the IPv4 address in the DNS response message (A record) converted to IPv6 address (A6/AAAA record) because DNS-ALG is default, that is to say destination host by the DNS-ALG IPv6 main frame that disguises oneself as, source host can only be communicated by letter with destination host by IPv6.In this case, packet arrives NAT-PT equipment to carry out in the protocol package transfer process, because IPv4 and IPv6 heading form are incompatible, and can lost part information.
Another kind of situation is exactly the interior IPv6 main frame of IPv6 domain may obtain destination host by other means IPv4 address, and this means are not passed through DNS-ALG, and main frame can't obtain the IPv6 address of destination host in this case.P2P (peer-to-peer for example, point-to-point) address information of system's seed that the IPv6 main frame provides in IPv6domain itself transmitted by this P2P agreement, if the seed information that the P2P system provides to the IPv6 main frame is the IPv4 address, DNS-ALG can't catch this information also just can't carry out address transition.Obtained the IPv4 address of destination host such as the IPv6 main frame in the IPv6domain from the DNSServer of this locality again, DNS message is not passed through DNS-ALG.
Summary of the invention
The embodiment of the invention provides a kind of method, the method for obtaining the IPv6 address prefix and conversion equipment of the IPv6 of realization host access IPv4 main frame, just is not difficult to realize the problem of the IPv4 of IPv6 host access completely main frame by DNS-ALG at present to solve.
The execution mode that the embodiment of the invention solves the problems of the technologies described above is: a kind of method of the IPv6 of realization host access IPv4 main frame is provided, comprises: source host obtains that to be used for the IPv4 address transition be the address prefix of IPv6 address; Source host carries out the conversion of IPv4 address to the IPv6 address in this locality to the IPv4 address of purpose IPv4 main frame; Describedly obtain that to be used for the IPv4 address transition be that the mode of the address prefix of IPv6 address comprises: to be used for the IPv4 address transition be the address prefix of IPv6 address to static configuration on source host; Or receive and to carry that to be used for the IPv4 address transition be the mode of message of the address prefix of IPv6 address.
Another execution mode that the embodiment of the invention solves the problems of the technologies described above is: a kind of conversion equipment is provided, comprises:
The prefix acquiring unit, being used to obtain with the IPv4 address transition is the address prefix of IPv6 address;
Address conversioning unit is used for the address prefix that obtains according to the prefix acquiring unit, carries out the mutual conversion of IPv4 address and IPv6 address;
Describedly obtain that to be used for the IPv4 address transition be that the mode of the address prefix of IPv6 address comprises: to be used for the IPv4 address transition be the address prefix of IPv6 address to static configuration on source host; Or
Reception carries that to be used for the IPv4 address transition be the mode of message of the address prefix of IPv6 address.
Another execution mode that the embodiment of the invention solves the problems of the technologies described above is: provide a kind of and obtain that to be used for the IPv4 address transition be the method for the address prefix of IPv6 address, comprise: the option field of expansion carried router notification message, be used for to be the expansion option field that the address prefix of IPv6 address is kept at this carried router notification message, to issue source host the IPv4 address transition with described by router.
Adopt the method and apparatus of embodiment of the present invention, not needing by DNS-ALG is the IPv6 address with the IPv4 address transition, and this conversion work is finished by the IPv6 main frame.When the IPv6 main frame in the IPv6 domain was two stack main frame, this IPv6 main frame can access the IPv4 address of destination host, directly uses the IPv4 address to communicate by letter with destination host.For the main frame (being pure IPv6 main frame) of IPv6-ony, can realize of the conversion of IPv4 address in this locality by said method to the IPv6 address, avoid a series of problems of bringing because of by the DNS-ALG reference address.
Description of drawings
Fig. 1 is a kind of method flow schematic diagram of realizing IPv6 host access IPv4 main frame of the embodiment of the invention;
Fig. 2 is the form of a kind of option field of the embodiment of the invention;
Fig. 3 is the form schematic diagram of TLV_AFT_PREFIX_OSPFv2 in one embodiment of the invention;
Fig. 4 is the form schematic diagram of TLV_AFT_PREFIX_OSPFv3 in one embodiment of the invention;
Fig. 5 is the form schematic diagram of TLV_AFT_PREFIX_ISIS in one embodiment of the invention;
Fig. 6 is in one embodiment of the invention, the option form schematic diagram when address prefix is random length;
Fig. 7 is a kind of method flow schematic diagram of realizing IPv6 host access IPv4 main frame of the embodiment of the invention;
Fig. 8 is the structural representation of the conversion equipment 300 of the embodiment of the invention;
The structural representation of the conversion equipment of Fig. 9 another embodiment of the present invention.
Embodiment
Below in conjunction with embodiment implementation procedure of the present invention is described.
The inventor finds in research process, at above problem, needs a kind of mechanism can make the IPv6 main frame realize IPv4 address with destination host in this locality to the IPv6 address transition, rather than finished by the DNS-ALG on the NAT-PT equipment.Such as, source host is if pure IPv6 main frame, and destination host is pure IPv4 main frame, source host can be in this locality is the IPv6 address with the IPv4 address transition of the pure IPv4 main frame of purpose, but source host need be known the realization IPv6 address that NAT-PT equipment is disposed and arrive the prefix of the translation of IPv4 address, such as, NAT-PT equipment receives that purpose IPv6 address is prefix:: the packet of/96+IPv4 address, can be with 32 purpose IPv4 addresses behind this IPv6 address as IPv4 packet after the protocol conversion, with being used for of obtaining with the IPv4 address transition be the IPv6 address/front that 96 address prefixs are added on the IPv4 address of destination host forms an IPv6 address.Certainly, also can be other IPv6 address prefix, such as/32 address prefixs or/64 address prefixs, or other length are less than any prefix of 96, or the prefix of other random lengths.
The IPv4 address transition that the scheme of the embodiment of the invention makes the interior IPv6 main frame of IPv6 domain can obtain the pure IPv4 main frame of purpose is the employed address prefix in IPv6 address, thereby on main frame, realize the conversion of the IPv4 address of the pure IPv4 main frame of purpose, avoid adopting DNS-ALG and a series of problems of bringing to the IPv6 address.
As shown in Figure 1, be example with/96 address prefixs, the method for the realization IPv6 host access IPv4 main frame of the embodiment of the invention comprises:
S100, source host obtain be used for the IPv4 address transition be the IPv6 address/96 address prefixs
Concrete obtain manner, mode that can be by static configuration or reception carry be used for the IPv4 address transition be the IPv6 address/mode of the message of 96 address prefixs realizes.The static configuration mode be included in manual configuration on the source host be used for the IPv4 address transition be the IPv6 address/96 address prefixs.
S102, source host carry out the conversion of IPv4 address to the IPv6 address in this locality
Source host according to being used for of obtaining with the IPv4 address transition be the IPv6 address/96 address prefixs, just NAT-PT equipment receives that purpose IPv6 address is prefix:: the packet of/96+IPv4 address, can be with 32 purpose IPv4 addresses behind this IPv6 address as IPv4 packet after the protocol conversion, with being used for of obtaining with the IPv4 address transition be the IPv6 address/front that 96 address prefixs are added on the IPv4 address of destination host forms an IPv6 address.
Among the S100, source host also can by reception carry be used for the IPv4 address transition be the IPv6 address/mode of the message of 96 address prefixs obtain be used for the IPv4 address transition be the IPv6 address/96 address prefixs, mainly comprise following mode:
1) in an embodiment of the invention, source host obtain be used for the IPv4 address transition be the IPv6 address/mode of 96 address prefixs is by receiving the mode of the RA message (Router Advertisement, router advertisement) after the expansion.This RA message carry be used for the IPv4 address transition be the IPv6 address/96 address prefixs.Newly-increased option in the RA message, in this option, carry/96 address prefixs, the option of this redetermination, can called after Address Translation Prefix (ATP) Option, be used for realizing that realization IPv6 address that NAT-PT equipment is disposed passes to source host to the prefix of IPv4 address translation.This option that increases newly (ATP option) leaves in the variable field of RA message (icmp packet, Internet Control Message Protocol, Internet Control Message Protocol).
Fig. 2 is the form of this option field, and wherein the part field is defined as:
Type:8-bit unsigned integer, expression ATP option type
The length of this option of Length:8-bit unsigned integer. (comprising Type and Length field) is variable. because this option can transmit one or more ATP information, each ATP information comprises two element<IPv6Address, Lifetime 〉.
It is the IPv6 address prefix of IPv6 address that IPv6 Address:128-bit unsigned integer. represents to be used for the IPv4 address transition, the unique definite IPv6 address prefix of IPv6 Address and netmask, if/96 prefix, this IPv6 address is represented one/96 IPv6 address prefix with/96 address mask (FFFF:FFFF:FFFF:FFFF::FFFF:FFFF::0) with computing.
Lifetime:32-bit unsigned integer. represents the effective time of ATP, and in this effective time, this ATP can be used for the automatic conversion of IPv4 address to the IPv6 address.Before the term of validity of this ATP arrived, main frame can send the validity that Router Solicitation guarantees this ATP information. when the value=0xffffffff of this field, represent that this ATP term of validity is unconfined.Lost efficacy when value=0 represents this ATP, can not be used again.
The mode of another kind of expansion RA message is to use DHCPC (DHCP Container) option, this is that a kind of this DHCPC option of RA option. that transmits DHCP option that is specifically designed to can comprise a plurality of DHCP option, carries the DHCP option of IPv4 address transition as the address prefix of IPv6 address so can use DHCPC option to transmit.
Router obtain be used to realize the IPv4 address to the IPv6 conversion/96 address prefix informations, can be support static configuration on the IPv6 router of this option to be used to realize the IPv4 address to the IPv6 conversion/96 address prefix informations, this/96 prefix informations are exactly the prefix of the realization IPv6 address that disposed of NAT-PT equipment to the IPv4 address translation.Can certainly allow NAT-PT equipment pass through dynamic routing protocol (as OSPF (Open Shortest Path First ospf), IS-IS (Intermediate System to Intermediate System Routing Protocol, the routing protocol of Intermediate System-to-Intermediate System)) expansion announcement should/96 prefixes, employed on the NAT-PT equipment/96 address translation prefixes of receiving that the router that carries this extend information can dynamically obtain.This router periodically sends RA message to main frame, carries above-mentioned/96 address prefix informations in this message, and source host is preserved after receiving.
Expansion for OSPF second edition OSPFv2, can be by (RFC4970) defining a kind of new type (Type/Length/Value for RI LSA (Router InformationLink State Advertisement), TLV), such as TLV_AFT_PREFIX_OSPFv2, transmit this address prefix.
The form of the TLV_AFT_PREFIX_OSPFv2 of redetermination as shown in Figure 3, wherein each field is defined as:
Type:TLV_AFT_PREFIX_OSPFv2
The length of Length:Value field is unit with the byte.
Value: be prefix length field prefix-len and an IPv6 prefix field IPv6prefx of a 8bits, this field length is decided on prefix length.
Expansion to OSPFv3: transmit this address prefix by (RFC4970) defining a kind of new TLV TLV_AFT_PREFIX_OSPFv3 for RI LSA (Router Information Link StateAdvertisement).
The form of the TLV_AFT_PREFIX_OSPFv3 of redetermination as shown in Figure 4, wherein each field is defined as:
Type:TLV_AFT_PREFIX_OSPFv3
The length of Length:Value field is unit with the byte.
Value: be prefix length field prefix-len and an IPv6 prefix field IPv6prefix of a 8bits, this field length is decided on prefix length.
Expansion to ISIS:
ISIS can come to define a kind of new TLVTLV_AFT_PREFIX_ISIS and transmit this address prefix for ISIS adds characteristic by defining new TLV type.The form of the TLV_AFT_PREFIX_ISIS of redetermination as shown in Figure 5, wherein each field is defined as:
Type:TLV_AFT_PREFIX_ISIS
The length of Length:Value field is unit with the byte.
Value: be prefix length field prefix-len and an IPv6 prefix field IPv6prefix of a 8bits, this field length is decided on prefix length.
2) on dynamic host configuration protocol DHCP (Dynamic Host Configuration Protocol) server by static configuration be used to realize the IPv4 address to the IPv6 address transition/96 address prefix informations, this/96 prefix informations are exactly the prefix of the realization IPv6 address that disposed of NAT-PT equipment to the IPv4 address translation.When the IPv6 main frame dynamically obtains IP address and network configuration by Dynamic Host Configuration Protocol server, Dynamic Host Configuration Protocol server by will be somebody's turn to do/96 address prefixs are stored in the option field of DHCP REPLY message and send to this IPv6 main frame, preserving after this IPv6 main frame is received should/96 address prefix.
When this IPv6 main frame need be visited an IPv4 main frame, can obtain the IPv4 address of destination host by other means such as DNS or P2P, before destination host IPv4 address, add then obtain from Dynamic Host Configuration Protocol server/96 address prefixs, thereby the IPv4 address transition of destination host is become the IPv6 address, the purpose IPv6 address of the IPv6 datagram of sending as this IPv6 main frame.The IPv6 packet that this IPv6 main frame sends arrives after the NAT-PT equipment, because the realization IPv6 address that these/96 address prefixs are exactly NAT-PT equipment to be disposed is to the prefix of IPv4 address translation, therefore the back 32bit of this IPv6 address is used as the purpose IPv4 address of the IPv4 datagram after the protocol conversion, with being used for of obtaining with the IPv4 address transition be the IPv6 address/front that 96 address prefixs are added on the IPv4 address of destination host forms an IPv6 address.
In DHCP REPLY message, carry this/96 address prefixs, also can be by ATP option of redetermination in the option field of DHCP REPLY message, the ATP option of this redetermination realizes that realization IPv6 address that NAT-PT equipment is disposed passes to source host to the prefix of IPv4 address translation, ATP option in the option field of this DHCP REPLY message, its form can be identical with the ATP option form in the aforementioned RA message.
In above-mentioned execution mode of the present invention, when this IPv6 main frame need be visited an IPv4 main frame, can pass through DNS (Domain Name System, domain name system) or other means obtain the IPv4 address of destination hosts, if need be converted to the IPv6 address, then before the IPv4 address of destination host, add acquisition/thereby 96 address prefixs convert the IPv6 address to, as the purpose IPv6 address of IPv6 datagram.This packet arrives after the NAT-PT equipment, owing to should/96 address prefixs be exactly the prefix of the realization IPv6 address that disposed of NAT-PT equipment to the IPv4 address translation, so the back 32bit of this IPv6 address be used as the purpose IPv4 address of the IPv4 datagram after the protocol conversion.
The method of embodiment of the present invention, not needing by DNS-ALG is the IPv6 address with the IPv4 address transition, this conversion work is finished by the IPv6 main frame.When the IPv6 main frame in the IPv6 domain was two stack main frame, this IPv6 main frame can access the IPv4 address of destination host, directly uses the IPv4 address to communicate by letter with destination host.For the main frame (being pure IPv6 main frame) of IPv6-ony, can avoid a series of problems of bringing because of by the DNS-ALG reference address by said method in the local conversion that realizes the IPv4 address to the IPv6 address of source host.
The method of the realization IPv6 host access IPv4 main frame of above embodiment is that example is carried out exemplary illustration with/96 address prefixs, this address prefix also can be other random lengths, such as/32 address prefixs or/64 address prefixs etc., be not limited to cited example.Correspondingly, the option form can be as shown in Figure 6, and wherein each field is defined as:
Type:8-bit unsigned integer, expression ATP option type
The length of this option of Length:8-bit unsigned integer. (comprising Type and Length field) is variable. because this option can transmit one or more ATP information, each ATP information comprises two element<IPv6Address, Lifetime 〉.
Prefix-len:8-bit unsigned integer, the length of expression IPv6prefix.
It is the IPv6 address prefix of IPv6 address that IPv6prefix:128-bit unsigned integer. represents to be used for the IPv4 address transition.
When the address prefix can be the prefix of random length, the method that the embodiment of the invention a kind of realizes IPv6 host access IPv4 main frame as shown in Figure 7, this method comprises:
S70, source host obtain that to be used for the IPv4 address transition be the address prefix of IPv6 address
Concrete obtain manner, mode that can be by static configuration or reception carry that to be used for the IPv4 address transition be that the mode of message of the address prefix of IPv6 address realizes.It is the address prefix of IPv6 address that the static configuration mode is included on the source host that manual configuration is used for the IPv4 address transition.
S71, source host carry out the conversion of IPv4 address to the IPv6 address in this locality
Source host according to obtain to be used for the IPv4 address transition be the address prefix of IPv6 address, just NAT-PT equipment receives that purpose IPv6 address is the packet of prefix+IPv4 address, can be with 32 purpose IPv4 addresses behind this IPv6 address as IPv4 packet after the protocol conversion, be that the front that the address prefix of IPv6 address is added on the IPv4 address of destination host forms an IPv6 address with being used for of obtaining with the IPv4 address transition.
Please refer to Fig. 8, be the structural representation of a kind of conversion equipment 800 of the embodiment of the invention.This conversion equipment 800 comprises:
Prefix acquiring unit 802, being used to obtain with the IPv4 address transition is the address prefix of IPv6 address;
Address conversioning unit 804 is used for the address prefix that obtains according to prefix acquiring unit 802, carries out the mutual conversion of IPv4 and IPv6 address.
Preferably, described address conversioning unit 804 is positioned at host computer side.
Preferably, as shown in Figure 9, this conversion equipment 800 can also comprise judging unit 806, and this judging unit 806 is used to determine whether that the address prefix that purpose IPv4 address need be obtained according to the prefix acquiring unit is converted to the IPv6 address.When the IPv6 main frame in the IPv6domain was two stack main frame, this IPv6 main frame can access the IPv4 address of destination host, need not to carry out the conversion of IPv4 address to the IPv6 address, directly uses the IPv4 address to communicate by letter with destination host.For the main frame (being pure IPv6 main frame) of IPv6-ony, can be by said method in the local conversion that realizes the IPv4 address to the IPv6 address of source host.
Preferably, this address converting device can be by the mode of static configuration in obtaining the process of address prefix, perhaps receives by main frame and carries that to be used for the IPv4 address transition be that the mode of message of the address prefix of IPv6 address is obtained address prefix.The static configuration mode comprises that being used for the IPv4 address transition by manual configuration on source host is that the address prefix of IPv6 address obtains address prefix.Reception carries that to be used for the IPv4 address transition be the mode of message of the address prefix of IPv6 address, mainly be by in RA (router advertisement) message of router issue, carrying this address prefix, perhaps by in advance on Dynamic Host Configuration Protocol server configuration to be used for the IPv4 address transition be the address prefix of IPv6 address, when dynamically obtaining network configuration informations such as IP address by DHCP when main frame, the newly-increased option field of DHCP by DHCP REPLY message sends to the main frame of the request of sending with this address prefix, preserves this address prefix after main frame is received.
Before in RA (router advertisement) message of router issue, carrying this address prefix, can also comprise: to be used for the IPv4 address transition be the address prefix of IPv6 address to static configuration on router, also can be by dynamic routing protocol (as OSPF, IS-IS) this address prefix of expansion announcement receives that the router that carries this extend information dynamically obtains employed address prefix on the NAT-PT equipment.This router periodically sends RA message to main frame, carries above-mentioned address prefix in this message, and main frame is preserved after receiving.
Preferably, among said method and the device embodiment, be not limited to the conversion between two kinds of protocol address of IPv6 and IPv4, also can be applied to the mutual conversion of other protocol address.
The method of the realization IPv6 host access IPv4 main frame of above embodiment can be/96 address prefixs, also can be other random lengths, such as/32 address prefixs or/64 address prefixs or other length is less than any prefix of 96, or the address prefix of other random lengths, be applicable to that specifically preceding method embodiment is similar, repeat no more.
Through the above description of the embodiments, the those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode under a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a computer equipment (can be a personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above; only be the preferable embodiment of the present invention; but protection scope of the present invention is not limited thereto; the technical scope that any those skilled in the art of being familiar with disclose in the present invention and not breaking away from the technological thought scope of the present invention; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (16)

1. a method that realizes IPv6 host access IPv4 main frame is characterized in that, comprising:
Source host obtains that to be used for the IPv4 address transition be the address prefix of IPv6 address;
Source host carries out the conversion of IPv4 address to the IPv6 address in this locality to the IPv4 address of purpose IPv4 main frame;
Describedly obtain that to be used for the IPv4 address transition be that the mode of the address prefix of IPv6 address comprises: to be used for the IPv4 address transition be the address prefix of IPv6 address to static configuration on source host; Or
Reception carries that to be used for the IPv4 address transition be the mode of message of the address prefix of IPv6 address.
2. the method for claim 1 is characterized in that, described being used for the IPv4 address transition is that the address prefix of IPv6 address is :/96 address prefixs or/32 address prefixs or/64 address prefixs.
3. method as claimed in claim 1 or 2 is characterized in that, receives to carry that to be used for the IPv4 address transition be that the mode of message of the address prefix of IPv6 address comprises:
Source host obtains by the carried router notification message of receiving router issue that to be used for the IPv4 address transition be the address prefix of IPv6 address, and carrying described being used for the IPv4 address transition in the described carried router notification message is the address prefix of IPv6 address.
4. method as claimed in claim 3 is characterized in that, carrying described being used for the IPv4 address transition in the described carried router notification message is that the mode of the address prefix of IPv6 address is specially:
The option field of expansion carried router notification message is used for to be the expansion option field that the address prefix of IPv6 address is kept at this carried router notification message, to issue source host by router the IPv4 address transition with described.
5. method as claimed in claim 4 is characterized in that, before the option field of expansion carried router notification message, also comprises:
It is the address prefix of IPv6 address that extended dynamic routing protocol packet, the dynamic routing protocol message after this expansion carry that this is used for the IPv4 address transition, and the dynamic routing protocol message after will expanding sends to router;
Perhaps
To be used for the IPv4 address transition be the address prefix of IPv6 address to static configuration on router.
6. method as claimed in claim 3 is characterized in that, described source host receives that described router periodically sends, and to carry described being used for the IPv4 address transition be the carried router notification message of the address prefix of IPv6 address.
7. method as claimed in claim 4 is characterized in that, described source host receives that described router periodically sends, and to carry described being used for the IPv4 address transition be the carried router notification message of the address prefix of IPv6 address.
8. a conversion equipment is characterized in that, comprising:
The prefix acquiring unit, being used to obtain with the IPv4 address transition is the address prefix of IPv6 address;
Address conversioning unit is used for the address prefix that obtains according to the prefix acquiring unit, carries out the mutual conversion of IPv4 address and IPv6 address;
Describedly obtain that to be used for the IPv4 address transition be that the mode of the address prefix of IPv6 address comprises: to be used for the IPv4 address transition be the address prefix of IPv6 address to static configuration on source host; Or
Reception carries that to be used for the IPv4 address transition be the mode of message of the address prefix of IPv6 address.
9. device as claimed in claim 8 is characterized in that, described to be used to obtain with the IPv4 address transition be that the address prefix of IPv6 address is :/96 address prefixs or/32 address prefixs or/64 address prefixs.
10. device as claimed in claim 8 is characterized in that described address conversioning unit is positioned at the source host side.
11. device is characterized in that as claimed in claim 8 or 9, receives to carry that to be used for the IPv4 address transition be that the mode of message of the address prefix of IPv6 address comprises:
Source host obtains by the carried router notification message of receiving router issue that to be used for the IPv4 address transition be the address prefix of IPv6 address, and carrying described being used for the IPv4 address transition in the described carried router notification message is the address prefix of IPv6 address.
12. device as claimed in claim 11 is characterized in that, carrying described being used for the IPv4 address transition in the described carried router notification message is that the mode of the address prefix of IPv6 address is specially:
The option field of expansion carried router notification message is used for to be the expansion option field that the address prefix of IPv6 address is kept at this carried router notification message, to issue source host by router the IPv4 address transition with described.
13., it is characterized in that as arbitrary described device in the claim 8 to 10, also comprise judging unit, this judging unit is used to determine whether that the address prefix that purpose IPv4 address need be obtained according to the prefix acquiring unit is converted to the IPv6 address;
When the IPv6 main frame in the IPv6domain was two stack main frame, this IPv6 main frame obtained the IPv4 address of destination host, directly uses the IPv4 address to communicate by letter with destination host; For the main frame of IPv6-ony, in the local conversion that realizes the IPv4 address to the IPv6 address of source host.
14. one kind is obtained, and to be used for the IPv4 address transition be the method for the address prefix of IPv6 address, it is characterized in that, comprising:
The option field of expansion carried router notification message is used for to be the expansion option field that the address prefix of IPv6 address is kept at this carried router notification message, to issue source host by router the IPv4 address transition with described.
15. method as claimed in claim 14 is characterized in that, before the option field of expansion carried router notification message, also comprises:
It is the address prefix of IPv6 address that extended dynamic routing protocol packet, the dynamic routing protocol message after this expansion carry that this is used for the IPv4 address transition, and the dynamic routing protocol message after will expanding sends to router;
Perhaps
To be used for the IPv4 address transition be the address prefix of IPv6 address to static configuration on router.
16. method as claimed in claim 14 is characterized in that, described being used for the IPv4 address transition is that the address prefix of IPv6 address is :/96 address prefixs or/32 address prefixs or/64 address prefixs.
CN200910204110A 2009-03-26 2009-09-29 Method for implementing access of IPv6 host to IPv4 host, method for acquiring IPv6 address prefix and conversion device Pending CN101848247A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN200910204110A CN101848247A (en) 2009-03-26 2009-09-29 Method for implementing access of IPv6 host to IPv4 host, method for acquiring IPv6 address prefix and conversion device
EP10755431A EP2413544A4 (en) 2009-03-26 2010-03-24 Method for realizing ipv6 host visting ipv4 host, method for obtaining ipv6 address prefix and translation device
PCT/CN2010/071246 WO2010108431A1 (en) 2009-03-26 2010-03-24 Method for realizing ipv6 host visting ipv4 host, method for obtaining ipv6 address prefix and translation device
US13/240,612 US20120011234A1 (en) 2009-03-26 2011-09-22 Method for enabling ipv 6 host to access ipv4 host, method for obtaining ipv6 address prefix, and translation apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910106354.3 2009-03-26
CN200910204110A CN101848247A (en) 2009-03-26 2009-09-29 Method for implementing access of IPv6 host to IPv4 host, method for acquiring IPv6 address prefix and conversion device

Publications (1)

Publication Number Publication Date
CN101848247A true CN101848247A (en) 2010-09-29

Family

ID=42772705

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910204110A Pending CN101848247A (en) 2009-03-26 2009-09-29 Method for implementing access of IPv6 host to IPv4 host, method for acquiring IPv6 address prefix and conversion device

Country Status (1)

Country Link
CN (1) CN101848247A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102487407A (en) * 2010-12-03 2012-06-06 华为终端有限公司 Network address translating method and equipment and system
CN102938735A (en) * 2012-11-15 2013-02-20 北京邮电大学 Method utilizing router advertisement carrying options to issue network address translator (NAT) 64 address prefix
CN103051744A (en) * 2013-01-08 2013-04-17 中兴通讯股份有限公司 Method and device for converting multicast address
CN103222246A (en) * 2011-11-04 2013-07-24 华为技术有限公司 Internet protocol version 6 multicast address generation method and device
CN103636182A (en) * 2011-04-11 2014-03-12 斯凯普公司 System and method for translating network addresses
CN103685591A (en) * 2012-09-18 2014-03-26 鸿富锦精密工业(深圳)有限公司 Network address translation system and method
CN104468864A (en) * 2014-12-24 2015-03-25 国家电网公司 IPv6-in-IPv4 tunnel packet network address translation method
CN104883407A (en) * 2014-02-28 2015-09-02 中兴通讯股份有限公司 IPv6 address handling method and apparatus and DHCPv6 relay
WO2016078235A1 (en) * 2014-11-18 2016-05-26 中兴通讯股份有限公司 Network translation realization method and apparatus for transiting to ipv6 on the basis of pant
CN110198365A (en) * 2019-05-27 2019-09-03 杭州迪普科技股份有限公司 A kind of address conversion detection method and system
CN113660357A (en) * 2021-08-17 2021-11-16 烽火通信科技股份有限公司 Method and device for automatically acquiring IP address by IPv6 dual-stack system
CN113746944A (en) * 2020-05-29 2021-12-03 台众计算机股份有限公司 IPv6 network point management method and equipment
CN114268604A (en) * 2021-12-21 2022-04-01 中国电信股份有限公司 Method and system for providing access service

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102487407B (en) * 2010-12-03 2015-03-25 华为终端有限公司 Network address translating method and equipment and system
CN102487407A (en) * 2010-12-03 2012-06-06 华为终端有限公司 Network address translating method and equipment and system
CN103636182A (en) * 2011-04-11 2014-03-12 斯凯普公司 System and method for translating network addresses
CN103222246B (en) * 2011-11-04 2016-03-30 华为技术有限公司 The method and apparatus that internet protocol version IPv6 multicast address generates
CN103222246A (en) * 2011-11-04 2013-07-24 华为技术有限公司 Internet protocol version 6 multicast address generation method and device
CN103685591B (en) * 2012-09-18 2017-04-05 鸿富锦精密工业(深圳)有限公司 Network address transfer system and method
CN103685591A (en) * 2012-09-18 2014-03-26 鸿富锦精密工业(深圳)有限公司 Network address translation system and method
CN102938735B (en) * 2012-11-15 2016-02-10 北京邮电大学 Advertising of route is used to carry the method that option issues NAT64 address prefix
CN102938735A (en) * 2012-11-15 2013-02-20 北京邮电大学 Method utilizing router advertisement carrying options to issue network address translator (NAT) 64 address prefix
CN103051744B (en) * 2013-01-08 2016-03-30 中兴通讯股份有限公司 The conversion method of multicast address and device
CN103051744A (en) * 2013-01-08 2013-04-17 中兴通讯股份有限公司 Method and device for converting multicast address
CN104883407A (en) * 2014-02-28 2015-09-02 中兴通讯股份有限公司 IPv6 address handling method and apparatus and DHCPv6 relay
WO2015127750A1 (en) * 2014-02-28 2015-09-03 中兴通讯股份有限公司 Ipv6 address processing method and device, and dhcpv6 relay apparatus
WO2016078235A1 (en) * 2014-11-18 2016-05-26 中兴通讯股份有限公司 Network translation realization method and apparatus for transiting to ipv6 on the basis of pant
CN104468864A (en) * 2014-12-24 2015-03-25 国家电网公司 IPv6-in-IPv4 tunnel packet network address translation method
CN104468864B (en) * 2014-12-24 2018-05-01 国家电网公司 A kind of method for network address translation of IPv6-in-IPv4 tunnel packets
CN110198365A (en) * 2019-05-27 2019-09-03 杭州迪普科技股份有限公司 A kind of address conversion detection method and system
CN113746944A (en) * 2020-05-29 2021-12-03 台众计算机股份有限公司 IPv6 network point management method and equipment
CN113746944B (en) * 2020-05-29 2024-05-14 台众计算机股份有限公司 IPv6 network point management method and equipment
CN113660357A (en) * 2021-08-17 2021-11-16 烽火通信科技股份有限公司 Method and device for automatically acquiring IP address by IPv6 dual-stack system
CN113660357B (en) * 2021-08-17 2023-10-27 烽火通信科技股份有限公司 Method and device for automatically acquiring IP address by IPv6 dual stack system
CN114268604A (en) * 2021-12-21 2022-04-01 中国电信股份有限公司 Method and system for providing access service
CN114268604B (en) * 2021-12-21 2024-03-22 中国电信股份有限公司 Method and system for providing access service

Similar Documents

Publication Publication Date Title
CN101848247A (en) Method for implementing access of IPv6 host to IPv4 host, method for acquiring IPv6 address prefix and conversion device
EP2413544A1 (en) Method for realizing ipv6 host visting ipv4 host, method for obtaining ipv6 address prefix and translation device
Mawatari et al. 464XLAT: Combination of stateful and stateless translation
US8223780B2 (en) Method for forwarding data packet, system, and device
US7231452B2 (en) Method and apparatus for communicating on a communication network
US7450499B2 (en) Method and apparatus for interconnecting IPv4 and IPv6 networks
Atkinson et al. ILNP: mobility, multi-homing, localised addressing and security through naming
WO2006121677A3 (en) Private network gateways interconnecting private networks via an access network
US7764691B2 (en) Allowing IPv4 clients to communicate using teredo addresses when both clients are behind a NAT
US20110314181A1 (en) Method, apparatus and system for advertising network address translation device information
US8194683B2 (en) Teredo connectivity between clients behind symmetric NATs
US7715386B2 (en) Reducing network traffic to teredo server
EP3395049B1 (en) Router and method for connecting an ipv4 network and an ipv6 network
US7356031B1 (en) Inter-v4 realm routing
JP4572938B2 (en) Address translation method
US7693091B2 (en) Teredo connectivity between clients behind symmetric NATs
US20080225867A1 (en) Faster NAT detection for Teredo client
Korhonen et al. Analysis of solution proposals for hosts to learn NAT64 prefix
WO2015139397A1 (en) Nat64 resource acquisition method and acquisition/distribution apparatus
CN105592057B (en) Lightweight dual stack group safe Enhancement Method off the net and device
Sun et al. DHCPv4-over-DHCPv6 (DHCP 4o6) transport
Santos Private realm gateway
Mawatari et al. RFC 6877: 464XLAT: Combination of Stateful and Stateless Translation
Byrne Internet Engineering Task Force M. Mawatari Internet-Draft Japan Internet Exchange Co., Ltd. Intended status: BCP M. Kawashima Expires: July 26, 2013 NEC AccessTechnica, Ltd.
Byrne Internet Engineering Task Force M. Mawatari Internet-Draft Japan Internet Exchange Co., Ltd. Intended status: BCP M. Kawashima Expires: March 22, 2013 NEC AccessTechnica, Ltd.

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20100929