Solution compatibility: translation policy between IPv4 and IPv6

Source: Internet
Author: User

In this special period of network transformation. We often explore the transition between IPv4 and IPv6. We have talked a lot about the conversion technologies related to them. Now we are introducing you to a transitional technology, that is, translation strategies. What are the translation strategies of IPv4 and IPv6?

  Translation Strategy

During the network transition period, it is impossible for all hosts or terminals to be upgraded to support dual-stack. in the network, communication between pure IPv4 hosts and pure IPv6 hosts is required, because of the differences in the protocol stack, it is natural to translate and convert these protocols. Protocol translation involves two aspects: Translation between IPv4 and IPv6 protocol layers, and translation between IPv4 and IPv6 protocol stack applications. Translation Strategies can correspond to a variety of implementation technologies, NAT-PT and TRT are mainly used in the network convergence layer, while BIA and BIS are mainly proposed for Host terminal.

(1) NAT-PT

NAT-PT gateway can realize the mutual conversion between IPv4 and IPv6 protocol stacks, including network layer protocol, transport layer protocol and some application layer protocol, the original protocols can interwork with the new ones without modification, but the technology has some restrictions on application:

◆ In terms of topology, the conversion of two-way data packets in a session must be completed on the same vro. Therefore, the address/protocol conversion method is more suitable for networks with only one vro egress;

◆ Some protocol fields cannot completely maintain the original meaning during conversion.

(2) TRT

Transport Relay Translator is applicable to communication between a pure IPv6 network and an IPv4 network. The TRT system is located between a pure IPv6 host and a pure IPv4 host. It can translate (TCP, UDP), IPv6, (TCP, UDP), or IPv4 data. Transmission relay can be divided into TCP relay and UDP relay.

The biggest difference between TRT and NAT-PT is that as a relay, TRT communicates with both sides in the TCP/UDP layer as a proxy. For example, TCP relay establishes a TCP connection with both sides of TCP communication, all TCP communications between the two parties are forwarded by TCP relay, while the NAT-PT only serves as a translation and does not act as a proxy communication.

(3) BIS

BIS technology adds several modules (translator, extended domain name parser, and address ER) to the dual-stack host to monitor the data flow between the TCP/IP module and the NIC Driver, and translate the corresponding IPv4 and IPv6 protocol stack packets. When communicating with other IPv6 hosts, some IPv4 addresses are allocated to the corresponding IPv6 hosts on this host. These addresses are only used within this host. In addition, this allocation process is automatically completed through the DNS protocol. The host can use an existing IPv4 application to communicate with other IPv6 hosts, making it a dual-stack host that supports both IPv4 and IPv6 applications, this expands the application of double-stack hosts. In addition, the BIS mechanism can coexist with other conversion mechanisms.

(4) BIA

In translation policy, BIA technology adds an API translator between the Socket API module of the dual-stack host and the TCP/IP module, it can be translated between IPv4 Socket API functions and IPv6 Socket API functions. This mechanism simplifies the conversion between IPv4 and IPv6, without the need for IP header translation.

The dual-stack host using BIA assumes that both TCP/IPv4 and TCP/IPv6 protocol stacks exist on the local node. When the IPv4 application on the dual-stack host communicates with other IPv6 hosts, the API translator detects the Socket API function in the IPv4 application, and call the Socket API function of the IPv6 protocol stack to communicate with the IPv6 host, and vice versa.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.