CN1333568C - Method for intercommunication between IP V6 network and IPV4 network based on transit mechanism - Google Patents

Method for intercommunication between IP V6 network and IPV4 network based on transit mechanism Download PDF

Info

Publication number
CN1333568C
CN1333568C CNB2005100118023A CN200510011802A CN1333568C CN 1333568 C CN1333568 C CN 1333568C CN B2005100118023 A CNB2005100118023 A CN B2005100118023A CN 200510011802 A CN200510011802 A CN 200510011802A CN 1333568 C CN1333568 C CN 1333568C
Authority
CN
China
Prior art keywords
ipv6
ipv4
4over6
packets headers
address
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.)
Expired - Fee Related
Application number
CNB2005100118023A
Other languages
Chinese (zh)
Other versions
CN1716954A (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.)
Tsinghua University
Original Assignee
Tsinghua University
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 Tsinghua University filed Critical Tsinghua University
Priority to CNB2005100118023A priority Critical patent/CN1333568C/en
Publication of CN1716954A publication Critical patent/CN1716954A/en
Application granted granted Critical
Publication of CN1333568C publication Critical patent/CN1333568C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention relates to a method for intercommunication between an IP V6 network and an IPV4 network on the basis of a transition mechanism, which belongs to an internet technical field. The present invention is characterized in that the method is realized on the basis of a 4 over 6 transition mechanism, a 4 over 6 router is allocated between the IPV4 network and the IPV6 network, 4 over 6 grouping translation modules are allocated in the router, and a DNS application gateway is allocated in the router. Meanwhile, relevant IPv6 information which is contained in an IPv4 grouping preserved on an IPv4 node so as to make the IPv6 network maintain reachability information of the IPv4 network, and meanwhile, end to end communication between different networks is ensured. Besides, any state information needs not to be preserved in a middle router. Therefore, the problem of a single point failure is avoided, and the problem of expansion is solved.

Description

Based on the IPv6 net of transit mechanism and the method for IPv4 interworking between network
Technical field
Belong to Internet technical field based on the IPv6 net of transit mechanism and the method for IPv4 interworking between network.
Background technology
At present there are the application programming interfaces translations (BIA) that define among the TCP/UDP relaying that defines among the ALG (SOCKS64) that defines among translation (BIS), the RFC3089 in the protocol stack that defines among NAT-PT, the RFC2767 that defines among the RFC2766, the RFC3142, the RFC3338 etc. several in the method that realizes intercommunication between IPv6 and the IPv4 network.A common shortcoming of these methods is to safeguard the state information that connects both sides in the route system that carries out protocol translation, and be that each asks Resources allocation to be handled, therefore all have Single Point of Faliure and scalability problem, be not suitable for using in the large-scale network.And along with the IPv6 network constantly develops, large-scale IPv6 network has occurred, and need communicate with existing large-scale IPv4 network, and existing mechanism is not used owing to there is scalability problem.
The 4over6 transit mechanism is the method that realizes the IPv4 network interconnection on the IPv6 network that reaches interconnection and interflow between a kind of IPv4 of being applicable to network by the IPv6 network, and as shown in Figure 1, wherein R2 is the IPv6 router of standard.The dual-stacker router of operation 4over6 transit mechanism is called the 4over6 router, as the R1 among Fig. 1, R3.The 4over6 router increases specific IPv6 address prefix PRFX with the destination network addresses in the IPv4 route, construct a special IPv6 destination network addresses, and other information in the IPv4 route are done the process that is transformed into pseudo-IPv6 route after the suitable processing be called the 4over6 address transition; The R1 router is propagated these pseudo-IPv6 routes by the IPv6 Routing Protocol in the IPv6 network.After other 4over6 routers R2 in the IPv6 network receives pseudo-IPv6 route, to use these pseudo-IPv6 routes of specific I Pv6 routing address prefix PRFX coupling identification, and it is reduced to the IPv4 route, this process is called the reduction of 4over6 route.IPv4 route after R2 will reduce by mutual on the IPv4 Routing Protocol, makes finally that the IPv4 route can the passing through IPv 6 network at the IPv4 network, is comprising on the whole network of IPv6 network effectively simultaneously.Based on above-mentioned routing mechanism, on the path of IPv4 grouping from the source node to the destination node, if passing through IPv 6 network, then router R1 will be to IPv4 grouping carrying out IPv6 encapsulation, decapsulation and reduction when the IPv6 transmitted in packets after the encapsulation arrives dual-stacker router R2, IPv4 grouping after the reduction sends to purpose IPv4 network, thereby realizes the interconnect function of IPv4 overIPv6.
The present invention propose a kind of based on the 4over6 transit mechanism the IPv6 network and the IPv4 network between the method for intercommunication, solve the states such as mapping relations that grouping translation router or computer need be safeguarded IPv4/v6 address and port by in the IPv4 packet, comprising relevant IPv6 grouping information, can be implemented in the stateless translation grouping of network intermediate node, thereby solve the scalability problem of interoperability methods between the Traditional IP v4/v6 network.The method that the present invention proposes needs the support of 4over6 transit mechanism.
Summary of the invention
The objective of the invention is to overcome the problem of existing IPv4 network and IPv6 network intercommunication method poor expandability, the technical method of communicating by letter between a kind of new IPv4 network IPv6 network is provided.
The technical solution adopted for the present invention to solve the technical problems is: by the 4over6 transit mechanism, in the IPv6 network, safeguard the reachability information of IPv4 network, on this basis, realizing of the present inventionly in the IPv4 grouping, comprising the IPv6 address on the 4over6 router, stream label, next first-class information, on the IPv4 main frame, preserve the mapping relations of address, thereby make the packet oriented protocol interpretation method need on intermediate router, not preserve any state information; For guaranteeing end-to-end communication between these two heterogeneous networks nodes, on the IPv4 node, need to preserve the IPv6 that comprises in the grouping for information about, as host ip v6 address, stream label etc., IPv4 must comprise these information when sending grouping in both sides' conversation procedure.
Method proposed by the invention is characterised in that: it is characterized in that based on the IPv6 net of transit mechanism and the method for IPv4 interworking between network, described method is based on the realization of 4over6 transit mechanism, promptly between described IPv6, IPv4 network, dispose a 4over6 router, to constitute dual-stacker router, configuration 4over6 grouping translation module is communicated by letter with IPv4 is internodal to realize the IPv6 node on described 4over6 router, configuration DNS is the domain name system ALG, comes the map addresses problem between process IP v4/IPv6 net;
When the IPv6 node is initiatively initiated with the communicating by letter of IPv4 node, realize according to step once successively:
The 4over6 router of step 1:IPv6 network, be called for short the 4over6 router one, answer the request of IPv6 node, domain name according to described IPv4 node inquires the IPv4 address of node from the DNS ALG, and by described DNS ALG after adding 4over6 address prefix PRFX on this IPv4 address, constitute the PRFX:IPv4 node address:: the IPv6 address of form, promptly pseudo-IPv6 address sends to described IPv6 node in response;
Step 2: described IPv6 node is with this PRFX:IPv4 address:: be the destination address of grouping, be sent as IPv6 grouping PKT6, this is grouped in the IPv6 net and arrives described 4over6 router one as input under the effect of the pseudo-IPv6 route of 4over6;
Step 3: after the 4over6 router one in the above-mentioned steps 2 receives described PKT6 grouping,, judge that PKT6 is the pseudo-IPv6 grouping that needs are translated according to its source and target address;
Step 4: IPv4 grouping PKT4 is translated in the pseudo-IPv6 grouping in the step 3, realize in the following manner successively:
Step 4.1 is constructed the IPv4 packets headers in such a way:
Business type field in the IPv6 packets headers directly copies to the type of service field in the IPv4 packets headers;
Payload length field increase IPv4 packets headers length in the IPv6 packets headers and 4over6 packets headers length sum are filled into the block length field in the IPv4 packets headers;
Jumping limit field in the IPv6 packets headers directly copies to field life cycle in the IPv4 packets headers;
DAF destination address field in the IPv6 packets headers is a 4over6 address, can directly extract the IPv4 address from this address, copies to the DAF destination address field in the IPv4 packets headers;
Step 4.2 is constructed a 4over6 packets headers in such a way:
Described packets headers is successively by next stature field of one 8 bit, the reserved field of one 4 bit, and the IPv6 address field of the flow label field of 20 bits and 128 bits is formed;
Next stature field in the pseudo-IPv6 packets headers is directly copied to next stature field of 4over6 packets headers;
Flow label field in the pseudo-IPv6 packets headers is directly copied to flow label field in the 4over6 packets headers;
Source address field in the pseudo-IPv6 packets headers is directly copied to IPv6 address field in the 4over6 packets headers;
Step 4.3 adds the 4over6 packets headers described in the step 4.2 to the described IPv4 packets headers of step 4.1, and the load of pseudo-IPv6 grouping, constitute an IPv4 grouping PKT4, the source address of this grouping PKT4 is the address of 4over6 router one, destination address is described IPv4 address of node, and the packet oriented protocol type is set to the 4over6 grouping; IPv4 source of packets address field is set to the routable IPv4 address in the 4over6 router one;
Step 5: the PKT4 described in the step 4.3 is transferred in the IPv4 net, arrives described IPv4 node according to IPv4 network route;
Step 6: described IPv4 node is after receiving described IPv4 grouping PKT4, bring in the described 4over6 packets headers of preservation with a 4over6 client, when needs return grouped data, source address is described IPv4 node address, destination address is the address of 4over6 router one, information in the described 4over6 packets headers is carried simultaneously, forms IPv4 grouping P4;
After step 7:4over6 router one receives the P4 grouping, judge IPv4 packet oriented protocol type, when being the 4over6 protocol type, use step 8 that IPv6 grouping P6 is translated in this grouping;
Step 8: the packets headers according to IPv4 in the P4 grouping is constructed an IPv6 packets headers:
The destination address of IPv6 packets headers is taken from the IPv6 address field in the 4over6 packets headers, source address is directly changed acquisition from the IPv4 source address, agreement is designated as next the stature field in the 4over6 packets headers, the flow label field of flow label field information from the 4over6 packets headers obtains, and other information are then carried out according to the mode that defines among the RFC2765; IPv4 grouping payload segment is constant;
When the IPv4 node needs same IPv6 node communication, realize according to the following steps:
Step 1 ': the 4over6 router of IPv4 network, be called for short the 4over6 router two, answer the request of IPv4 node, domain name according to described IPv6 node inquires the IPv6 address of node from the DNS ALG, and by described DNS ALG described IPv6 address according to step 2 ' be encapsulated in the 4over6 packets headers, send to described IPv4 node with the IPv4 address of 4over6 router two as the response of DNS ALG, carry the 4over6 packets headers simultaneously;
Step 2 ': described packets headers is successively by next stature field of one 8 bit, the reserved field of one 4 bit, the IPv6 address field of flow label field lotus 128 bits of 20 bits is formed;
Next stature field of 4over6 packets headers is set to the DNS respond style;
The flow label field of 4over6 packets headers is set to 0;
The IPv6 address field of 4over6 packets headers is set to the IPv6 address of described IPv6 node;
After the described IPv4 node of step 3 ': step 1 ' is received the DNS response, bring in preservation step 2 with a 4over6 client ' described 4over6 packets headers, when sending grouped data, source address is described IPv4 node address, destination address is the address of 4over6 router two, information in the described 4over6 packets headers is carried simultaneously, forms IPv4 grouping PKT4; This is grouped in the IPv4 net and arrives described 4over6 router two as input under the effect of IPv4 route;
Step 4 ': the 4over6 router two in the above-mentioned steps 3 ' is judged IPv4 packet oriented protocol type after receiving described PKT4 grouping, when the 4over6 protocol type, uses step 5 ' IPv6 grouping P6 is translated in this PKT4 grouping;
Step 5 ': according to packets headers and the 4over6 packets headers of IPv4 in the PKT4 grouping, construct an IPv6 packets headers successively in accordance with the following methods:
Type of service field in the IPv4 packets headers directly copies to the business type field in the IPv6 packets headers;
Block length field minimizing IPv4 packets headers length in the IPv4 packets headers and 4over6 packets headers length sum are filled into the payload length field in the IPv6 packets headers;
Field life cycle in the IPv4 packets headers directly copies to the jumping limit field in the IPv6 packets headers;
Source address field in the IPv4 packets headers constitutes the PRFX:IPv4 address through increasing a special prefix PRFX:: the pseudo-IPv6 address of type directly is filled into the source address field in the IPv6 packets headers;
Next stature field in the 4over6 packets headers copies to next the stature field in the IPv6 packets headers;
Flow label field in the 4over6 packets headers directly copies to the flow label field in the IPv6 packets headers;
IPv6 address field in the 4over6 packets headers directly copies to the DAF destination address field in the IPv6 packets headers;
With the IPv6 packets headers, add the load (not comprising the 4over6 packets headers) of original IPv4 grouping, constitute a new pseudo-IPv6 grouping P6;
Pseudo-IPv6 grouping P6 described in the step 6 ': step 5 ' is transferred in the IPv6 net, arrives described IPv6 node according to pseudo-IPv6 network route;
Described based on the IPv6 net of transit mechanism and the method for IPv4 interworking between network, it is characterized in that: then ignore described option information when comprising option information in the IPv4 grouping that receives, IPv6 comprises hop-by-hop options header, targets option head in dividing into groups, route is first-class is left in the basket.
IPv6 network and IPv4 network intercommunication method based on the 4over6 transit mechanism proposed by the invention, solved that the existing protocol translating mechanism need be preserved the state information of communicating pair and the Single Point of Faliure that causes and the problem of poor expandability, the technical method of communicating by letter between a kind of new IPv4 network IPv6 network is provided, can be implemented in network intermediate node stateless translation grouping, thereby solve the scalability problem of interoperability methods between the Traditional IP v4/v6 network.Tsing-Hua University is used in this invention achievement in the IPv6/IPv4 dual-stacker router of being developed at present, is the important component part in the 4over6 transit mechanism framework.
Description of drawings
Fig. 1 .4over6 transit mechanism schematic diagram;
Fig. 2. based on the IPv6 network and the IPv4 network intercommunication method flow chart of 4over6 transit mechanism
Fig. 3. IPv6 network and IPv4 network intercommunication method based on the 4over6 transit mechanism are used exemplary plot;
Fig. 4 .4over6 protocol translation packet configuration schematic diagram.
Embodiment
The present invention realizes according to the following steps:
Step 1.IPv6 host A 6 can obtain the IPv6 form of the address of IPv4 host A 4, i.e. PRFX:A4: by the mode of DNS or configuration:;
Step 2.IPv6 main frame is with PRFX:A4::PRFX:A4:: the address is the destination address of grouping, sends grouping PKT6.The PKT6 grouping arrives the 4over6 router as input under the effect of the pseudo-IPv6 route of 4over6;
After step 3.4over6 router receives the PKT6 grouping, according to its source and target address feature, be that destination address is a pseudo-IPv6 address, judge that PKT6 is the pseudo-IPv6 grouping that needs are translated, and uses step 4 that IPv4 grouping PKT4 is translated in this grouping;
Step 4. is according to IPv6 packet header in the PKT6 grouping, construct a new IPv4 packet header and a 4over6 packets headers, the source address of IPv4 packet header is taken from the IPv4 address of 4over6 router, destination address is directly changed acquisition from pseudo-IPv6 destination address, agreement is designated as the 4over6 grouping, and other information are then carried out according to the mode that defines among the RFC2765; The 4over6 packets headers comprises next stature field at least, flow label field and an IPv6 address field; Wherein flow label field information is preserved the stream label information in the IPv6 packet header, the IPv6 address field is preserved the source IPv6 address information of IPv6 packet header, next stature field is preserved next the stature field information in the IPv6 packet header, and IPv6 grouping payload segment is constant;
Step 5. is transferred to PKT4 in the IPv4 network, according to IPv4 network route, arrives IPv4 host A 4;
Need to dispose a 4over6 client on step 6. host A 4 and bring in preservation 4over6 header information, when returning grouped data, source address is A4, and destination address is the 4over6 router address, information in the 4over6 packet header is carried simultaneously, forms IPv4 grouping P4;
After step 7.4over6 router receives the P4 grouping, judge IPv4 packet oriented protocol type, if the 4over6 protocol type uses step 8 that IPv6 grouping P6 is translated in this grouping;
Step 8. is according to IPv4 packet header in the P4 grouping, construct a new IPv6 packet header, the destination address of IPv6 packet header is taken from the IPv6 address field in the 4over6 packets headers, source address is directly changed acquisition from the IPv4 source address, agreement is designated as next the stature field in the 4over6 packets headers, the flow label field of flow label field information from the 4over6 packets headers obtains, and other information are then carried out according to the mode that defines among the RFC2765; IPv4 grouping payload segment is constant.
Fig. 3 is the specific implementation method example of communication means between IPv6 node and the IPv4 node, supposes and has disposed 4over6 mechanism in the illustrated network.Come communication means between IPv6 node and the IPv4 node at 4over6 router deploy 4over6 grouping translation module; In order to support the IPv4 node initiatively to initiate to connect, need on the 4ove6 router to dispose 4over6 DNS ALG simultaneously, come the dns resolution between the process IP v4/v6 network; In the IPv4 node, dispose a 4over6 host module, preserve the IPv6 address information that comprises among the state information of relevant IPv6 node in the grouping and the processing DNS.
Under above-mentioned hypothesis and deployment scenario, when IPv6 host A 6 is initiatively initiated with the communicating by letter of IPv4 host A 4, at first use the DNS inquiry to obtain the IPv4 address of A4, the mode of 4over6 map addresses is used in this IPv4 address in the DNS of 4over6 router ALG, promptly on the IPv4 address, add special 4over6 prefix PRFX, constitute PRFX:A4:: the IPv6 address of form.This address promptly becomes a pseudo-IPv6 address then, as the response of DNS, sends to the A6 main frame.As destination address, structure grouping PKT6 also sends in the IPv6 network IPv6 host A 6 with this address.Because had the routing iinformation of IPv4 network in the IPv6 network, therefore, this grouping is routed to the 4over6 router.4over6 in 4over6 router grouping translation module finds that its source address is general IPv6 address, and destination address is a 4over6 address, uses this moment the mode in the step 4 of feature description of the present invention that grouping is translated:
◆ IPv4 packet header of neotectonics;
◆ the business type field in the pseudo-IPv6 packet header directly copies to the type of service field of IPv4 packet header;
◆ the payload length field increase by 40 in the pseudo-IPv6 packet header is filled into the block length field of IPv4 packet header;
◆ the jumping limit field in the pseudo-IPv6 packet header directly copies to field life cycle of IPv4 packet header;
◆ the DAF destination address field in the pseudo-IPv6 packet header is a 4over6 address, can directly extract the IPv4 address from this address, copies to the DAF destination address field of IPv4 packet header;
◆ construct a 4over6 packets headers, this packets headers is successively by next stature field of one 8 bit, the reserved field of one 4 bit, and the IPv6 address field of the flow label field of 20 bits and 128 bits is formed;
◆ next the stature field in the pseudo-IPv6 packet header directly copies to next stature field of 4over6 packets headers;
◆ the flow label field in the pseudo-IPv6 packet header directly copies to the flow label field of 4over6 packet header;
◆ the source address field in the pseudo-IPv6 packet header directly copies to the IPv6 address field of 4over6 packet header;
◆ the IPv4 protocol type is set to the 4over6 grouping;
◆ but the IPv4 source address field is set to the routing IP v4 address of 4over6 router;
◆ with the IPv4 packets headers, add the load of 4over6 packet header and original pseudo-IPv6 grouping, constitute a new IPv4 grouping PKT4.
◆ the source address of PKT4 grouping is the 4over6 router, and destination address is A4;
◆ if it is first-class to have comprised hop-by-hop options header, targets option head, route in the IPv6 grouping, and this translation translating mechanism will be ignored these options, not do translation, and corresponding block length needs adjustment.
◆ if the IPv6 grouping comprises slice header, then divides into groups to translate according to following method:
● all fields are translated according to above-mentioned steps except that following exception;
● the payload length field increase by 32 in the IPv6 packet header is filled into the block length field of IPv4 packet header;
● the identification field field in the IPv6 burst head is hanged down 16 identification fields that copy the IPv4 packet header to;
● the more burst fields in the IPv6 burst head copy more burst fields of IPv4 packet header to; And DF is set is 0, allows the further burst of IPv4;
● the offset field field in the IPv6 burst head copies the offset field of IPv4 packet header to;
● next the stature field in the IPv6 burst head directly copies to next stature field of 4over6 packets headers;
After finishing, the grouping P4 that translation is finished sends in the IPv4 network, and according to IPv4 network routing rule, final P4 is sent to IPv4 host A 4 and handles.
Owing to find on the IPv4 host A 4 that the agreement of this grouping is the 4over6 packet header, then giving the communications status maintenance module of having disposed handles, the IPv4 host module is responsible for communications status and is safeguarded, safeguards every stream mode, and submits packetized digital information to upper layer application.In same stream or conversation procedure, need be when grouping be returned in 6 transmissions of IPv6 host A, this module then is carried at 4over6 Packet State information in the IPv4 grouping, with the pseudo-destination address of 4over6 router, this is returned grouping send to the 4over6 router.
The 4over6 router receives grouping and is checked through in the IPv4 grouping and comprised the 4over6 packet header, then give 4over6 grouping translation module and be further processed, the mode in the step 8 of the 4over6 grouping translation module use feature description of the present invention in the 4over6 router is translated grouping at this moment:
◆ IPv6 packet header of neotectonics;
◆ the type of service field of IPv4 packet header directly copies to the business type field in the IPv6 packet header;
◆ the block length field of IPv4 packet header reduces by 40 payload length field that are filled in the IPv6 packet header;
◆ field life cycle of IPv4 packet header directly copies to the jumping limit field in the IPv6 packet header;
◆ source address field in the IPv4 packet header constitutes PRFX:A4: through increasing a special prefix PRFX: the IPv6 address of type directly is filled into the source address field of IPv6 packet header;
◆ next the stature field in the 4over6 packets headers copies to next the stature field in the IPv6 packet header;
◆ the flow label field of 4over6 packet header directly copies to the flow label field in the IPv6 packet header;
◆ the IPv6 address field of 4over6 packet header directly copies to the DAF destination address field in the IPv6 packet header;
◆ with the IPv6 packets headers, add the load (not comprising the 4over6 packets headers) of original IPv4 grouping, constitute a new IPv6 grouping P6.
◆ the source address of P6 grouping is the 4over6 address of host A 4, and destination address is A6;
◆ if the IPv4 grouping comprises option information, and option information is left in the basket, and does not change, and corresponding block length also needs to adjust.If comprised source routing option, then return the inaccessible ICMP message of destination address.
◆ if pseudo-IPv6 grouping comprises slice header, then divides into groups to translate according to following method;
● all fields are translated according to above-mentioned steps except that following exception;
● the block length field of IPv4 packet header adds 8 and deducts IPv4 head lotus option header length, is filled into the payload length field in the IPv6 packet header;
● next the stature field in the IPv6 packet header is designated as the IPv8 slice header, and next the stature field in the 4over6 packets headers then is copied to next stature field of slice header;
● the identification field field that the identification field of IPv4 packet header copies in the IPv6 burst head is hanged down 16, high 16 zero clearings;
● the offset field of IPv4 packet header copies the offset field field in the IPv6 burst head to;
● more burst fields of IPv4 packet header copy the more burst fields in the IPv6 burst head to;
After finishing, the grouping P6 that the 4over6 router is finished translation sends in the IPv6 network, and according to IPv6 network routing rule, final P6 is sent to IPv6 host A 6 and handles.In the IPv6 main frame, the 4over6 address is taken as the IPv6 address of standard, therefore requires no special processing.
Foregoing description IPv6 node communication process initiatively, when the IPv4 node needs same IPv6 node communication, at first use the DNS inquiry to obtain the IPv6 address of A6.Because the IPv4 main frame can't process IP v6 address, therefore need the DNS ALG of 4over6 router that the IPv6 address is encapsulated according to the 4over6 packet mode, the IPv6 address is encapsulated in the 4over6 packets headers, sends to IPv4 host A 4 as the response of DNS with the IPv4 address of 4over6 router.Owing to find on the IPv4 host A 4 that the agreement of this grouping is the 4over6 packet header, then giving the communications status maintenance module of having disposed handles, the IPv4 host module is responsible for communications status and is safeguarded, safeguards every stream mode, and submits packetized digital information to upper layer application.In same stream or conversation procedure, need be when grouping be returned in 6 transmissions of IPv6 host A, this module then is carried at 4over6 Packet State information in the IPv4 grouping, with the pseudo-destination address of 4over6 router, this is returned grouping send to the 4over6 router.The mode that follow-up process and IPv6 node at first connect is identical.
Set forth as seen by above-mentioned process, the present invention can reach intended purposes based on intercommunication between the realization IPv6 network of 4over6 transit mechanism and the IPv4 network.

Claims (2)

1. it is characterized in that based on the IPv6 net of transit mechanism and the method for IPv4 interworking between network, described method is based on the realization of 4over6 transit mechanism, promptly between described IPv6, IPv4 network, dispose a 4over6 router, to constitute dual-stacker router, configuration 4over6 grouping translation module is communicated by letter with IPv4 is internodal to realize the IPv6 node on described 4over6 router, configuration DNS is the domain name system ALG, comes the map addresses problem between process IP v4/IPv6 net;
When the IPv6 node is initiatively initiated with the communicating by letter of IPv4 node, realize according to following steps successively:
The 4over6 router of step 1:IPv6 network, be called for short the 4over6 router one, answer the request of IPv6 node, domain name according to described IPv4 node inquires the IPv4 address of node from the DNS ALG, and by described DNS ALG after adding 4over6 address prefix PRFX on this IPv4 address, constitute the PRFX:IPv4 node address:: the IPv6 address of form, promptly pseudo-IPv6 address sends to described IPv6 node in response;
Step 2: described IPv6 node is with this PRFX:IPv4 address:: be the destination address of grouping, be sent as IPv6 grouping PKT6, this is grouped in the IPv6 net and arrives described 4over6 router one as input under the effect of the pseudo-IPv6 route of 4over6;
Step 3: after the 4over6 router one in the above-mentioned steps 2 receives described PKT6 grouping,, judge that PKT6 is the pseudo-IPv6 grouping that needs are translated according to its source and target address;
Step 4: IPv4 grouping PKT4 is translated in the pseudo-IPv6 grouping in the step 3, realize in the following manner successively:
Step 4.1 is constructed the IPv4 packets headers in such a way:
Business type field in the IPv6 packets headers directly copies to the type of service field in the IPv4 packets headers;
Payload length field increase IPv4 packets headers length in the IPv6 packets headers and 4over6 packets headers length sum are filled into the block length field in the IPv4 packets headers;
Jumping limit field in the IPv6 packets headers directly copies to field life cycle in the IPv4 packets headers;
DAF destination address field in the IPv6 packets headers is a 4over6 address, can directly extract the IPv4 address from this address, copies to the DAF destination address field in the IPv4 packets headers;
Step 4.2 is constructed a 4over6 packets headers in such a way:
Described packets headers is successively by next stature field of one 8 bit, the reserved field of one 4 bit, and the IPv6 address field of the flow label field of 20 bits and 128 bits is formed;
Next stature field in the pseudo-IPv6 packets headers is directly copied to next stature field of 4over6 packets headers;
Flow label field in the pseudo-IPv6 packets headers is directly copied to flow label field in the 4over6 packets headers;
Source address field in the pseudo-IPv6 packets headers is directly copied to IPv6 address field in the 4over6 packets headers;
Step 4.3 adds the 4over6 packets headers described in the step 4.2 to the described IPv4 packets headers of step 4.1, and the load of pseudo-IPv6 grouping, constitute an IPv4 grouping PKT4, the source address of this grouping PKT4 is the address of 4over6 router one, destination address is described IPv4 address of node, and the packet oriented protocol type is set to the 4over6 grouping; IPv4 source of packets address field is set to the routable IPv4 address in the 4over6 router one;
Step 5: the PKT4 described in the step 4.3 is transferred in the IPv4 net, arrives described IPv4 node according to IPv4 network route;
Step 6: described IPv4 node is after receiving described IPv4 grouping PKT4, bring in the described 4over6 packets headers of preservation with a 4over6 client, when needs return grouped data, source address is described IPv4 node address, destination address is the address of 4over6 router one, information in the described 4over6 packets headers is carried simultaneously, forms IPv4 grouping P4;
After step 7:4over6 router one receives the P4 grouping, judge IPv4 packet oriented protocol type, when being the 4over6 protocol type, use step 8 that IPv6 grouping P6 is translated in this grouping;
Step 8: the packets headers according to IPv4 in the P4 grouping is constructed an IPv6 packets headers:
The destination address of IPv6 packets headers is taken from the IPv6 address field in the 4over6 packets headers, source address is directly changed acquisition from the IPv4 source address, agreement is designated as next the stature field in the 4over6 packets headers, the flow label field of flow label field information from the 4over6 packets headers obtains, and other information are then carried out according to the mode that defines among the RFC2765; IPv4 grouping payload segment is constant;
When the IPv4 node needs same IPv6 node communication, realize according to the following steps:
Step 1 ': the 4over6 router of IPv4 network, be called for short the 4over6 router two, answer the request of IPv4 node, domain name according to described IPv6 node inquires the IPv6 address of node from the DNS ALG, and by described DNS ALG described IPv6 address according to step 2 ' be encapsulated in the 4over6 packets headers, send to described IPv4 node with the IPv4 address of 4over6 router two as the response of DNS ALG, carry the 4over6 packets headers simultaneously;
Step 2 ': described packets headers is successively by next stature field of one 8 bit, the reserved field of one 4 bit, the IPv6 address field of flow label field lotus 128 bits of 20 bits is formed;
Next stature field of 4over6 packets headers is set to the DNS respond style;
The flow label field of 4over6 packets headers is set to 0;
The IPv6 address field of 4over6 packets headers is set to the IPv6 address of described IPv6 node;
After the described IPv4 node of step 3 ': step 1 ' is received the DNS response, bring in preservation step 2 with a 4over6 client ' described 4over6 packets headers, when sending grouped data, source address is described IPv4 node address, destination address is the address of 4over6 router two, information in the described 4over6 packets headers is carried simultaneously, forms IPv4 grouping PKT4; This is grouped in the IPv4 net and arrives described 4over6 router two as input under the effect of IPv4 route;
Step 4 ': the 4over6 router two in the above-mentioned steps 3 ' is judged IPv4 packet oriented protocol type after receiving described PKT4 grouping, when the 4over6 protocol type, uses step 5 ' IPv6 grouping P6 is translated in this PKT4 grouping;
Step 5 ': according to packets headers and the 4over6 packets headers of IPv4 in the PKT4 grouping, construct an IPv6 packets headers successively in accordance with the following methods:
Type of service field in the IPv4 packets headers directly copies to the business type field in the IPv6 packets headers;
Block length field minimizing IPv4 packets headers length in the IPv4 packets headers and 4over6 packets headers length sum are filled into the payload length field in the IPv6 packets headers;
Field life cycle in the IPv4 packets headers directly copies to the jumping limit field in the IPv6 packets headers;
Source address field in the IPv4 packets headers constitutes the PRFX:IPv4 address through increasing a special prefix PRFX:: the pseudo-IPv6 address of type directly is filled into the source address field in the IPv6 packets headers;
Next stature field in the 4over6 packets headers copies to next the stature field in the IPv6 packets headers;
Flow label field in the 4over6 packets headers directly copies to the flow label field in the IPv6 packets headers;
IPv6 address field in the 4over6 packets headers directly copies to the DAF destination address field in the IPv6 packets headers;
With the IPv6 packets headers, add the load of original IPv4 grouping, constitute a new pseudo-IPv6 grouping P6;
Pseudo-IPv6 grouping P6 described in the step 6 ': step 5 ' is transferred in the IPv6 net, arrives described IPv6 node according to pseudo-IPv6 network route.
2. according to claim 1 based on the IPv6 net of transit mechanism and the method for IPv4 interworking between network, it is characterized in that: when comprising option information in the IPv4 grouping that receives, then ignore described option information, comprise hop-by-hop options header, targets option head and route head in the IPv6 grouping and be left in the basket.
CNB2005100118023A 2005-05-27 2005-05-27 Method for intercommunication between IP V6 network and IPV4 network based on transit mechanism Expired - Fee Related CN1333568C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100118023A CN1333568C (en) 2005-05-27 2005-05-27 Method for intercommunication between IP V6 network and IPV4 network based on transit mechanism

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100118023A CN1333568C (en) 2005-05-27 2005-05-27 Method for intercommunication between IP V6 network and IPV4 network based on transit mechanism

Publications (2)

Publication Number Publication Date
CN1716954A CN1716954A (en) 2006-01-04
CN1333568C true CN1333568C (en) 2007-08-22

Family

ID=35822372

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100118023A Expired - Fee Related CN1333568C (en) 2005-05-27 2005-05-27 Method for intercommunication between IP V6 network and IPV4 network based on transit mechanism

Country Status (1)

Country Link
CN (1) CN1333568C (en)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100525311C (en) * 2006-03-10 2009-08-05 中国科学院计算技术研究所 Method for preventing NAT-PT equipment from being attacked
CN100466560C (en) * 2006-03-15 2009-03-04 华为技术有限公司 Method, system, device for detecting service quality, and charging and fault detecting system
CN1968273B (en) * 2006-10-26 2010-08-18 杭州华三通信技术有限公司 IPv6 service supporting method and its switching device
CN101431478B (en) * 2008-12-17 2011-05-11 清华大学 P2P operator level router and home gateway combined IPv4/IPv6 grouping conversion method
CN102282821B (en) * 2009-03-03 2014-02-19 华为技术有限公司 Method, network device and system of IPv4-v6 coexistence
CN101909042B (en) * 2009-06-03 2012-12-26 中国移动通信集团公司 Method and system for host computer with IPv4 application to communicate through IPv6 network
US8909812B2 (en) 2009-06-03 2014-12-09 China Mobile Group Beijing Co., Ltd. Method and device for communication for host device with IPv4 application
CN101931658B (en) * 2009-06-26 2013-07-03 中国移动通信集团公司 Method and device for IPv6 host computer with IPv4 application to perform communication
CN102244688B (en) * 2010-05-11 2014-07-16 华为技术有限公司 Message forwarding method, apparatus thereof and system threof
CN102255976B (en) * 2010-05-21 2013-11-06 华为终端有限公司 Method for selecting IPv4-IPv6 protocol translation module, apparatus and terminal thereof
CN102281336A (en) * 2010-06-13 2011-12-14 中兴通讯股份有限公司 Method and system for host to initiate address conversion
CN102710802B (en) * 2012-05-07 2017-10-17 中兴通讯股份有限公司 IPv6 configuration informations provide device and acquisition methods
CN103227787B (en) * 2013-04-09 2017-02-08 清华大学 Automatic 4over6 tunnel establishment method based on ARP proxy
CN104717639A (en) * 2013-12-17 2015-06-17 北京邮电大学 Access method for mobile client to internet and access gateway server
CN104092561B (en) * 2014-06-12 2017-02-15 清华大学 4over6 dynamic address distribution server failure backup method
CN105763659B (en) * 2014-12-16 2019-02-05 中国电信股份有限公司 A kind of IPv6 tunnel packet packaging method and system
CN106789710B (en) * 2016-12-28 2019-11-22 清华大学 A kind of stream interaction optimizing method based on software definition IPv6 transition
CN107547376B (en) * 2017-07-21 2020-07-07 新华三技术有限公司 Route detection method and device
CN111950640B (en) * 2020-08-14 2022-08-02 山西太钢不锈钢股份有限公司 Switch fault processing method and device
US11611506B2 (en) * 2020-10-09 2023-03-21 Juniper Networks, Inc. Processing a flow at the egress node in segment routing

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040056378A (en) * 2002-12-23 2004-07-01 한국전자통신연구원 Dual stack transition mechanism router and method for cache table
CN1585376A (en) * 2003-08-20 2005-02-23 华为技术有限公司 Addressing converting method and mixed addressing converting router for realizing it

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040056378A (en) * 2002-12-23 2004-07-01 한국전자통신연구원 Dual stack transition mechanism router and method for cache table
CN1585376A (en) * 2003-08-20 2005-02-23 华为技术有限公司 Addressing converting method and mixed addressing converting router for realizing it

Also Published As

Publication number Publication date
CN1716954A (en) 2006-01-04

Similar Documents

Publication Publication Date Title
CN1333568C (en) Method for intercommunication between IP V6 network and IPV4 network based on transit mechanism
Wu et al. Transition from IPv4 to IPv6: A state-of-the-art survey
KR101785760B1 (en) Method and network element for enhancing ds-lite with private ipv4 reachability
CN104734963B (en) A kind of IPv4 and IPv6 network interconnecting methods based on SDN
US7920589B2 (en) System for converting data based upon IPv4 into data based upon IPv6 to be transmitted over an IP switched network
Vogt Six/one router: a scalable and backwards compatible solution for provider-independent addressing
US6580717B1 (en) Packet communication method and apparatus and a recording medium storing a packet communication program
US7701952B2 (en) Packet communication method and apparatus and a recording medium storing a packet communication program
US6618398B1 (en) Address resolution for internet protocol sub-networks in asymmetric wireless networks
CN102255982A (en) Internet protocol version 4 (IPv4)/IPv6 translation gateway and translation method
Cui et al. 4over6: network layer virtualization for IPv4-IPv6 coexistence
JP2013504956A (en) Method, system and communication terminal for realizing mutual communication between new network and Internet
CN1741502B (en) IPv6 and IPv4 internetwork mutual communicating method based on 4over6
JP6386166B2 (en) Translation method and apparatus between IPv4 and IPv6
US20080049765A1 (en) Method and system for inter working a point-to-point link and a LAN service
CN103888554B (en) IPv4 and the domain name analytic method and system of IPv6 intercommunications
JP2012085208A (en) Communication method of lisp network
Templin The internet routing overlay network (IRON)
Albuquerque et al. Global information grid (GIG) edge network interface architecture
Chen et al. Analysis of IPv6 network communication using simulation
Steinert et al. P4-LISP: A P4-Based High-Performance Router for the Locator/Identifier Separation Protocol
US20240098162A1 (en) Redundancy In An Automation System Covering More Than One System Area
US20230388397A1 (en) Resolving Overlapping IP Addresses in Multiple Locations
GB2418574A (en) Translating multicast packets to unicast packets and then converting these unicast packets to multicast packets, by rewriting addresses
Fairhurst IPv6-The network protocol of the future

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070822

Termination date: 20170527

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