CN103441933A - Method for achieving communication between IPV4 device and IPV6 device - Google Patents

Method for achieving communication between IPV4 device and IPV6 device Download PDF

Info

Publication number
CN103441933A
CN103441933A CN201310309072XA CN201310309072A CN103441933A CN 103441933 A CN103441933 A CN 103441933A CN 201310309072X A CN201310309072X A CN 201310309072XA CN 201310309072 A CN201310309072 A CN 201310309072A CN 103441933 A CN103441933 A CN 103441933A
Authority
CN
China
Prior art keywords
equipment
address
message
virtual
ipv4
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
CN201310309072XA
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.)
Opzoon Technology Co Ltd
Original Assignee
Opzoon Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Opzoon Technology Co Ltd filed Critical Opzoon Technology Co Ltd
Priority to CN201310309072XA priority Critical patent/CN103441933A/en
Publication of CN103441933A publication Critical patent/CN103441933A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a method for achieving communication between an IPV4 device and an IPV6 device. The method comprises the steps that (1), internet protocol version numbers and IP addresses of domains where a first device and a second device are located are recorded on a firewall device, and a first device virtual IP address and a second device virtual IP address are allotted for the first device and the second device respectively; (2), the first device sends a message to the second device, the format of the message is | the second device virtual IP address and the first device IP address | data |; (3), the firewall device receives the message, converters the format of the message into | the second device IP address and the first device virtual IP address | data |, and sends the message to the second device; (4), the second device receives the message, analyzes the message and sends a return message, wherein the format of the return message is | the first device virtual IP address and the second device IP address | data |; (5), the firewall device receives the return message, converts the format of the message into | the first device IP address and the second device virtual IP address | data |, and sends the message to the first device. The method for achieving the communication between the IPV4 device and the IPV6 device is easy to implement, and networking is convenient.

Description

A kind of method that realizes IPV4 equipment and IPV6 devices communicating
Technical field
The present invention relates to network communications technology field, particularly a kind of method that realizes IPV4 equipment and IPV6 devices communicating.
Background technology
The network address translater of the subsidiary protocol converter of NAT-PT of the prior art (Network Address Translation-Protocol) is a kind of pure IPv6 node and the internodal intercommunication mode of IPv4, allly comprises that the conversion work of address, agreement is all completed by the network equipment.Support the gateway router of NAT-PT should have the IPv4 address pool, use when giving out a contract for a project from IPv6 to the transfer of IPv4 territory, the address in address pool is for changing source address in the IPv6 message.In addition, gateway router needs the support of DNS-ALG and these two kinds of ALGs commonly used of FTP-ALG, when the IPv6 node access IPv 4 node, plays a role.If there is no the support of DNS-ALG, can only realize being initiated by the IPv6 node with the IPv4 node between communicate by letter, otherwise not all right.If there is no the support of FTP-ALG, the main frame in the IPv4 network can not be used server downloading files or the upload file of ftp software from the IPv6 network, and vice versa.
The advantage that adopts the NAT-PT mode to carry out transition is not need to carry out IPv4, the upgrading of IPv6 node, shortcoming is the implementation method more complicated of IPv4 node visit IPv6 node, the processing expenditure that the network equipment carries out protocol conversion, address transition is larger, and general in the situation that other intercommunication modes can't be used.
Summary of the invention
(1) technical problem that will solve
The technical problem to be solved in the present invention is to lack the mutual method of communicating by letter between IPV4 equipment and IPV6 equipment simply and easily that realizes in prior art.
(2) technical scheme
For solving the problems of the technologies described above, the invention provides a kind of method of the IPV4 of realization equipment and IPV6 devices communicating, it is characterized in that, comprise the following steps:
S1: record respectively internet protocol version number, the IP address in the first equipment, the second territory, equipment place on firewall box, and distribute the first equipment virtual ip address, the second equipment virtual ip address for it;
S2: described the first equipment sends message to described the second equipment, and its form is:
| second equipment virtual ip address the first IP address of equipment | data |
S3: described firewall box receives described message, and is converted to:
| second IP address of equipment the first equipment virtual ip address | data |
Be sent to described the second equipment;
S4: described the second equipment receives described message, and the form of described message being resolved and sent to returned packet is as follows:
| first equipment virtual ip address the second IP address of equipment | data |
S5: described firewall box receives described returned packet, and is converted to following form:
| first IP address of equipment the second equipment virtual ip address | data |
Be sent to described the first equipment.
The internet protocol version in described the first territory, equipment place number is IPV4, and the internet protocol version in described the second territory, equipment place number is IPV6.
The internet protocol version in described the first territory, equipment place number is IPV6, and the internet protocol version in described the second territory, equipment place number is IPV4.
(3) beneficial effect
The method of IPV4 equipment provided by the invention and IPV6 communication between devices realizes simple, is convenient to networking.
Embodiment
Below the specific embodiment of the present invention is described in further detail.Following examples are used for the present invention is described, but are not used for limiting the scope of the invention.
The method of present embodiment comprises the following steps:
S1: internet protocol version number, the IP address in record the first territory, equipment place on firewall box; and distribute the first equipment virtual ip address for it; record internet protocol version number, the IP address at the second equipment place; and distribute the second equipment virtual ip address for it; if the internet protocol version at the first territory, equipment place number is IPV4; the internet protocol version in the second territory, equipment place number is IPV6; if the internet protocol version at the second territory, equipment place number is IPV6, the internet protocol version in the second territory, equipment place number is IPV4;
S2: the first equipment sends message to the second equipment, and its form is:
| second equipment virtual ip address the first IP address of equipment | data |
S3: firewall box receives described message, and is converted to:
| second IP address of equipment the first equipment virtual ip address | data | be sent to the second equipment;
S4: the second equipment receives described message, and the form of message being resolved and sent to returned packet is as follows:
| first equipment virtual ip address the second IP address of equipment | data |
S5: firewall box receives returned packet, and is converted to following form:
| first IP address of equipment the second equipment virtual ip address | data | be sent to the first equipment.
For more clearly explaining said method, now be exemplified below:
S1: the network that firewall box records PC1 is the IPV4 network, and the IP address is 1.1.1.1, and corresponding virtual IP address V6 address is 2001::1, and the network of PC2 is the IPV6 network, and the IP address is 2001::2, and corresponding virtual IP address V4 address is 1.1.1.2;
S2:PC1 sends message to PC2, and message format is:
| the former IP of 1.1.1.2 address, purpose ip address 1.1.1.1| data |
S3: firewall box receives described message and is converted to:
| the former IP of 2001::2 address, purpose IP address 2001::1| data | be sent to PC2;
S4:PC2 receives described message, and returned packet is resolved and sent to described message:
| the former IP of 2001::1 address, purpose IP address 2001::2| data |
S5: firewall box receives described returned packet, and according to corresponding relation, returned packet is converted to:
| the former IP of 1.1.1.1 address, purpose IP address 1.1.1.2| data | and be sent to PC1.
The inventive method by recording in advance IP address and the virtual ip address of every personal device in fire compartment wall, message source, fire compartment wall and message sink changed message format according to IP address and corresponding virtual ip address, thereby realized communicating by letter between IPV4 equipment and IPV6 equipment.Method of the present invention is easy to realization, and cost economizes on resources.
Above execution mode is only for illustrating the present invention; and be not limitation of the present invention; the those of ordinary skill in relevant technologies field; without departing from the spirit and scope of the present invention; can also make a variety of changes and modification; therefore all technical schemes that are equal to also belong to category of the present invention, and scope of patent protection of the present invention should be defined by the claims.

Claims (3)

1. a method that realizes IPV4 equipment and IPV6 devices communicating, is characterized in that, comprises the following steps:
S1: record respectively internet protocol version number, the IP address in the first equipment, the second territory, equipment place on firewall box, and distribute the first equipment virtual ip address, the second equipment virtual ip address for it;
S2: described the first equipment sends message to described the second equipment, and its form is:
| second equipment virtual ip address the first IP address of equipment | data |
S3: described firewall box receives described message, and is converted to:
| second IP address of equipment the first equipment virtual ip address | data |
Be sent to described the second equipment;
S4: described the second equipment receives described message, and the form of described message being resolved and sent to returned packet is as follows:
| first equipment virtual ip address the second IP address of equipment | data |
S5: described firewall box receives described returned packet, and is converted to following form:
| first IP address of equipment the second equipment virtual ip address | data |
Be sent to described the first equipment.
2. realize as claimed in claim 1 the method for IPV4 equipment and IPV6 devices communicating, it is characterized in that, the internet protocol version in described the first territory, equipment place number is IPV4, and the internet protocol version in described the second territory, equipment place number is IPV6.
3. realize as claimed in claim 1 the method for IPV4 equipment and IPV6 devices communicating, it is characterized in that, the internet protocol version in described the first territory, equipment place number is IPV6, and the internet protocol version in described the second territory, equipment place number is IPV4.
CN201310309072XA 2013-07-22 2013-07-22 Method for achieving communication between IPV4 device and IPV6 device Pending CN103441933A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310309072XA CN103441933A (en) 2013-07-22 2013-07-22 Method for achieving communication between IPV4 device and IPV6 device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310309072XA CN103441933A (en) 2013-07-22 2013-07-22 Method for achieving communication between IPV4 device and IPV6 device

Publications (1)

Publication Number Publication Date
CN103441933A true CN103441933A (en) 2013-12-11

Family

ID=49695599

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310309072XA Pending CN103441933A (en) 2013-07-22 2013-07-22 Method for achieving communication between IPV4 device and IPV6 device

Country Status (1)

Country Link
CN (1) CN103441933A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104052830A (en) * 2014-05-29 2014-09-17 汉柏科技有限公司 Network forwarding method and device
CN105450515A (en) * 2015-11-12 2016-03-30 清华大学 General IPv4/IPv6 data translation gateway for application layer protocols and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6038233A (en) * 1996-07-04 2000-03-14 Hitachi, Ltd. Translator for IP networks, network system using the translator, and IP network coupling method therefor
CN1574835A (en) * 2003-06-06 2005-02-02 日立通讯技术株式会社 Ip address translator and packet transfer apparatus
CN1674565A (en) * 2005-05-10 2005-09-28 中国科学院计算技术研究所 Method for applying layer gateway used for network address conversion and in protocol translation
CN101232454A (en) * 2008-02-02 2008-07-30 中国科学院计算技术研究所 Integration isomerization wireless network and communication method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6038233A (en) * 1996-07-04 2000-03-14 Hitachi, Ltd. Translator for IP networks, network system using the translator, and IP network coupling method therefor
CN1574835A (en) * 2003-06-06 2005-02-02 日立通讯技术株式会社 Ip address translator and packet transfer apparatus
CN1674565A (en) * 2005-05-10 2005-09-28 中国科学院计算技术研究所 Method for applying layer gateway used for network address conversion and in protocol translation
CN101232454A (en) * 2008-02-02 2008-07-30 中国科学院计算技术研究所 Integration isomerization wireless network and communication method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104052830A (en) * 2014-05-29 2014-09-17 汉柏科技有限公司 Network forwarding method and device
CN105450515A (en) * 2015-11-12 2016-03-30 清华大学 General IPv4/IPv6 data translation gateway for application layer protocols and method
CN105450515B (en) * 2015-11-12 2018-06-12 清华大学 A kind of IPv4/IPv6 data translations gateway and method for application layer protocol

Similar Documents

Publication Publication Date Title
CN101488904B (en) Method for GRE tunnel crossing network address translation apparatus and network address translation apparatus
CN101087296B (en) Method for utilizing network processor to translate the IPv4/IPv6 network protocol
US9876756B2 (en) Network access method and device for equipment
CN104270475A (en) System and method for achieving intercommunication between IPv4 network and IPv6 network based on NAT64
CN102739810B (en) The method and apparatus of IPv4CP/SP and IPv6 network interworking
CN104836863B (en) The system and method for realizing the mapping of TCP reverse ports
CN101227373B (en) Method for intercommunication based on IPv4 and IPv6 networks without state mapping
CN101325580B (en) Method for implementing FTP application-layer gateway based on NAT-PT
CN103036788A (en) Implementation method of multi-interface gateway equipment data transmitting
Chauhan et al. A survey on next generation Internet Protocol: IPv6
CN102984300A (en) Distributed gateway system in 4-6-4 hybrid protocol network and access method
Samad et al. The future of internet: IPv6 fulfilling the routing needs in internet of things
US20150032898A1 (en) Method for establishing a virtual community network connection and a system for implementing said method
CN101175096B (en) Implementation of expandable IP network based on source routing
CN103441933A (en) Method for achieving communication between IPV4 device and IPV6 device
CN100539551C (en) The implementation method of static network address conversion-protocol conversion and gateway device
JP2022052742A (en) Method and system for enhancing communication between ipv6 dedicated sip client and ipv4 dedicated server or client
CN103051544B (en) Realize method and the access device of IPv4 private network access IPv6 network
US9667592B2 (en) Efficient utilization of internet protocol addresses
CN114531417B (en) Communication method and device
KR102103704B1 (en) Systems and Methods for Providing a ReNAT Communications Environment
JP5990125B2 (en) Packet transfer device, distribution system, packet transfer method, program, and recording medium
JP5054666B2 (en) VPN connection device, packet control method, and program
CN105681481A (en) Method and device for realizing network translation to IPv6 (Internet Protocol Version 6) based on PNAT (Prefix Network Address Translation) and terminal device
Khan et al. Necessity to migrate to IPv6

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20131211

RJ01 Rejection of invention patent application after publication