Method and device for bidirectional translation of IPv4 and IPv6 applied to SDN network overlay layer

By introducing a two-way translation method in the Overlay layer of the SDN network, the interoperability problem between IPv4 and IPv6 networks is solved, and the smooth upgrade of IPv4 network to the IPv6 SDN architecture is realized, and the virtual LAN networking of multiple host types is supported.

CN114070817BActive Publication Date: 2024-11-22XIAOYU VIDEO (BEIJING) TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010507750.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-29
Publication Date
2024-11-22
Estimated Expiration
2040-07-29

AI Technical Summary

Technical Problem

The existing SDN solution based on the IPv6 protocol requires all users' intranet devices to support IPv6, which makes it difficult to upgrade the IPv4 network and hinders the promotion of the IPv6 SDN solution.

Method used

By introducing a two-way translation method and device in the Overlay layer of the SDN network, the IPv4 host is connected to the single-stack IPv6 SDN network, and the Overlay layer translator is used to form a layer two-layer MAC address correspondence relationship based on the traditional Underlay layer address space mapping relationship, realizing the Interoperability of data packets.

Benefits of technology

It realizes cross-layer interoperability between IPv4 host and single-stack IPv6 SDN network, supports virtual LAN networking between single-stack IPv4, IPv6 host and IPv4/IPv6 dual-stack host, simplifying the upgrade of IPv4 network to IPv6 SDN architecture.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114070817B_ABST
    Figure CN114070817B_ABST
Patent Text Reader

Abstract

The present invention discloses an IPv4 and IPv6 bidirectional translation method and device applied to the Overlay layer of an SDN network. An integrated translator is used to connect an IPv4 host and a subnet to an SDN network based on a single-stack IPv6 and realize the second-layer intercommunication across the three-layer network. The data packet sent by the single-stack IPv4 subnet host first arrives at the integrated translator before entering the single-stack IPv6 SDN. The integrated translator adds the function of the Overlay layer translator on the basis of the traditional Underlay layer translator. The Overlay layer translator searches for the corresponding relationship of the second-layer MAC address according to the mapping relationship between the IPv4 address space and the IPv6 address space of the traditional Underlay layer, and replaces the second-layer MAC address in the Overlay layer data in the data packet according to the requirements of the SDN Overlay layer protocol. Finally, the replaced data packet is sent to the SDN network, so as to realize the technical effect of the intercommunication between the single-stack IPv4 host and any single-stack IPv4 host, or single-stack IPv6 host, or IPv4 / IPv6 dual-stack host virtual local area network on the single-stack IPv4 SDN network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of computer networks, and in particular to an IPv4 and IPv6 bidirectional translation method and device applied to an Overlay layer of an SDN network. Background Art

[0002] As the country continues to vigorously promote the large-scale deployment of the IPv6 protocol and related technologies continue to improve, the SDN solution based on the IPv6 protocol will be conducive to simplifying the network architecture and improving efficiency and security.

[0003] However, the SDN solution based on IPv6 protocol requires that all devices in the user's intranet support IPv6 in principle before it can be implemented, which has greatly hindered the promotion of SDN solutions based on IPv6 protocol. If the problem of integration and intercommunication between IPv4 network and IPv6SDN at the Overlay layer can be solved, it can remove obstacles and help a large number of existing IPv4 networks to smoothly upgrade to the advanced IPv6SND architecture. Summary of the invention

[0004] The prior art problem of the present invention is to solve the technical problem of fusion and intercommunication between IPv4 host (and subnet) network and IPv6 SDN on the Overlay layer.

[0005] In order to solve the above technical problems, the present invention provides an IPv4 and IPv6 bidirectional translation method applied to the Overlay layer of an SDN network, comprising: connecting an IPv4 host to a single-stack IPv6 SDN network through an integrated translator, and forming a corresponding relationship between the second-layer MAC addresses according to the requirements of the Overlay layer protocol on the basis of the mapping relationship between the traditional Underlay layer IPv4 address space and the IPv6 address space; the integrated translator receives a data packet sent by a sending end, and an Overlay layer translator in the integrated translator replaces predetermined data in the data packet with mapping data according to the corresponding relationship between the second-layer MAC addresses, and the Overlay layer translator sends the data packet to the SDN network, and the receiving end host receives the data packet and sends a response data packet to

[0006] In SDN network, the Overlay layer translator replaces the predetermined data in the response data packet with the mapping data according to the correspondence between the Layer 2 MAC addresses and transmits it to the sender.

[0007] Also provided is an IPv4 and IPv6 bidirectional translation device applied to the Overlay layer of the SDN network, comprising: an integrated translator, through which the IPv4 host is connected to the single-stack IPv6 SDN network, and based on the mapping relationship between the traditional Underlay layer IPv4 address space and the IPv6 address space, a corresponding relationship of the second-layer MAC address is formed in accordance with the requirements of the Overlay layer protocol; the integrated translator receives a data packet sent by the sending end, and the Overlay layer translator in the integrated translator replaces the predetermined data in the data packet with the mapping data according to the corresponding relationship of the second-layer MAC address, and the Overlay layer translator sends the data packet to the SDN network, the receiving host receives the data packet and sends a response data packet to the SDN network, and the Overlay layer translator replaces the predetermined data in the response data packet with the mapping data according to the corresponding relationship of the second-layer MAC address, and transmits it to the sending end.

[0008] The present invention connects an IPv4 host and a subnet to a single-stack IPv6-based SDN network through an integrated translator and realizes layer 2 intercommunication across a three-layer network. A data packet sent by a single-stack IPv4 subnet host first arrives at the integrated translator before entering a single-stack IPv6 SDN. The integrated translator adds the function of an overlay layer translator on the basis of a traditional underlay layer translator. The overlay layer translator searches for the corresponding relationship between the layer 2 MAC address according to the mapping relationship between the IPv4 address space and the IPv6 address space of the traditional underlay layer, and replaces the layer 2 MAC address in the overlay layer data of the data packet according to the requirements of the SDN overlay layer protocol. Finally, the replaced data packet is sent to the SDN network. In this way, the technical problem of the integration and intercommunication between the single-stack IPv4 subnet host and the single-stack IPv6 SDN on the overlay layer can be solved, and the technical effect of the intercommunication between the single-stack IPv4 host and any single-stack IPv4 host, or a single-stack IPv6 host, or an IPv4 / IPv6 dual-stack host virtual local area network on the single-stack IPv6 SDN network can be realized. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Figure 1 It is a system structure diagram of the method for bidirectional translation between IPv4 and IPv6 applied to the Overlay layer of the SDN network of the present invention;

[0010] Figure 2 It is a flow chart of the method for bidirectional translation between IPv4 and IPv6 applied to the Overlay layer of an SDN network of the present invention;

[0011] Figure 3 It is a block diagram of an IPv4 and IPv6 bidirectional translation device applied to the Overlay layer of an SDN network of the present invention. DETAILED DESCRIPTION

[0012] Please refer to the following Figure 1 , is a schematic diagram of the system structure of the method for bidirectional translation between IPv4 and IPv6 applied to the Overlay layer of the SDN network. Figure 2 , is a flow chart of the method for bidirectional translation between IPv4 and IPv6 applied to the Overlay layer of the SDN network of the present invention.

[0013] Step S01, connect the IPv4 host to the single-stack IPv6 SDN network through an integrated translator, and form a corresponding relationship between the second-layer MAC addresses based on the mapping relationship between the traditional Underlay layer IPv4 address space and the IPv6 address space in accordance with the requirements of the Overlay layer protocol.

[0014] In step S02, the integrated translator receives the data packet sent by the sender, and the Overlay layer translator in the integrated translator replaces the predetermined data in the data packet with the mapping data according to the correspondence between the Layer 2 MAC addresses. The Overlay layer translator sends the data packet to the SDN network. The receiving host receives the data packet and sends a response data packet to the SDN network. The Overlay layer translator replaces the predetermined data in the response data packet with the mapping data according to the correspondence between the Layer 2 MAC addresses and transmits it to the sender.

[0015] The IPv4 host 1 (and subnet) is connected to the single-stack IPv6-based SDN network 4 through the integrated translator 5 and realizes the second-layer interconnection (virtual LAN) above the three-layer network (wide area network). It can be realized that a virtual LAN can be established across the IPv6 single-stack SDN network 4 between the single-stack IPv4 host 1, the single-stack IPv6 host 2, and the IPv4 / IPv6 host. The sender sends a data packet. The sender can be any one of the single-stack IPv4 subnet host 1 or the single-stack IPv6 host 2. Before entering the single-stack IPv6 SDN network 4, it first arrives at the integrated translator 5. The integrated translator 5 adds the function of the overlay layer translator 7 on the basis of the traditional underlay layer translator 6. The Overlay layer translator 7 searches for the corresponding relationship between the IPv4 address space and the IPv6 address space of the traditional Underlay layer, and replaces the Layer 2 MAC address in the Overlay layer data in the data packet sent by the sender according to the requirements of the SDN Overlay layer protocol, and then replaces the other data required by the Overlay layer protocol, and finally sends the replaced data packet to the SDN network. The receiving end (which can be any one of the single-stack IPv4 subnet host 1 or the single-stack IPv6 host 2) receives the data packet and sends a response data packet to the single-stack IPv6 SDN network 4. The Overlay layer translator 7 receives the response data packet and searches for the corresponding relationship between the Layer 2 MAC address according to the mapping relationship between the IPv4 address space and the IPv6 address space of the traditional Underlay layer, and replaces the Layer 2 MAC address in the Overlay layer data in the response data packet sent by the receiving end according to the requirements of the SDN Overlay layer protocol, and then replaces the other data required by the Overlay layer protocol. After the Overlay layer translation is completed, it is transmitted to the Underlay layer of the integrated translator 5, and the response data packet reaches the sending end of the initial communication through the subnet. In this way, the technical problem of the integration and intercommunication between the single-stack IPv4 subnet host and the single-stack IPv6 SDN on the Overlay layer can be solved, and the effect of the virtual LAN networking and intercommunication between the single-stack IPv4 host and any single-stack IPv4 host, or single-stack IPv6 host, or IPv4 / IPv6 dual-stack host on the single-stack IPv6 SDN network can be achieved.

[0016] See also Figure 3 , is a block diagram of an IPv4 and IPv6 bidirectional translation device applied to the Overlay layer of an SDN network according to the present invention.

[0017] The device includes: an integrated translator 10, which includes an Underlay layer translator 11 and an Overlay translator 12. The IPv4 host is connected to the single-stack IPv6 SDN network through the integrated translator 10, and on the basis of the mapping relationship between the traditional Underlay layer IPv4 address space and the IPv6 address space, a corresponding relationship of the second-layer MAC address is formed according to the requirements of the Overlay layer protocol; the integrated translator 10 receives a data packet sent by the sender, and the Overlay layer translator in the integrated translator 10 replaces the predetermined data in the data packet with the mapping data according to the corresponding relationship of the second-layer MAC address, and the Overlay layer translator sends the data packet to the SDN network, and the receiving host receives the data packet and sends a response data packet to the SDN network, and the Overlay layer translator replaces the predetermined data in the response data packet with the mapping data according to the corresponding relationship of the second-layer MAC address, and transmits it to the sender. The effect of networking and intercommunication between a single-stack IPv4 host and any single-stack IPv4 host, or a single-stack IPv6 host, or an IPv4 / IPv6 dual-stack host virtual local area network on the single-stack IPv6 SDN network can be achieved.

[0018] The above descriptions are only some embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Any equivalent device or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A bidirectional translation method between IPv4 and IPv6 applied to the overlay layer of SDN network. It is characterized in that include: The IPv4 host is connected to the single-stack IPv6 SDN network through an integrated translator, and based on the mapping relationship between the traditional Underlay layer IPv4 address space and the IPv6 address space, a corresponding relationship between the Layer 2 MAC addresses is formed in accordance with the requirements of the Overlay layer protocol; The integrated translator receives a data packet sent by the sending end, and the Overlay layer translator in the integrated translator replaces the predetermined data in the data packet with the mapping data according to the corresponding relationship of the second-layer MAC address. The Overlay layer translator sends the data packet to the SDN network. The receiving end host receives the data packet and sends a response data packet to the SDN network. The Overlay layer translator replaces the predetermined data in the response data packet with the mapping data according to the corresponding relationship of the second-layer MAC address, and transmits it to the sending end; The mapping data is obtained by searching for the corresponding relationship of the layer 2 MAC address according to the mapping relationship between the IPv4 address space and the IPv6 address space, and replacing the layer 2 MAC address in the overlay layer data in the data packet sent by the sender according to the requirements of the SDN overlay layer protocol.

2. The method for bidirectional translation between IPv4 and IPv6 applied to the Overlay layer of the SDN network according to claim 1, It is characterized in that The integrated translator adds an overlay layer translator based on the traditional underlay layer translator.

3. The method for bidirectional translation between IPv4 and IPv6 applied to the Overlay layer of the SDN network according to claim 1, It is characterized in that The step of replacing the predetermined data in the data packet with the mapping data by the Overlay layer translator according to the correspondence between the Layer 2 MAC addresses includes the Overlay layer translator searching for the correspondence between the Layer 2 MAC addresses according to the mapping between the IPv4 address space and the IPv6 address space of the traditional Underlay layer, and replacing the Layer 2 MAC address of the sender in the Overlay layer data in the data packet according to the requirements of the SDN Overlay layer protocol.

4. The method for bidirectional translation between IPv4 and IPv6 applied to the Overlay layer of the SDN network according to claim 1, It is characterized in that The step of replacing the predetermined data in the response data packet with the mapping data by the Overlay layer translator according to the correspondence between the Layer 2 MAC addresses includes the Overlay layer translator searching for the correspondence between the Layer 2 MAC addresses according to the mapping between the IPv4 address space and the IPv6 address space of the traditional Underlay layer, and replacing the Layer 2 MAC address of the receiving end in the Overlay layer data in the response data packet according to the requirements of the SDN Overlay layer protocol.

5. A bidirectional translation device between IPv4 and IPv6 applied to the Overlay layer of SDN network. It is characterized in that include: Integrated translator: connects IPv4 hosts to single-stack IPv6 SDN networks through an integrated translator, and forms a corresponding relationship between Layer 2 MAC addresses based on the mapping relationship between traditional Underlay layer IPv4 address space and IPv6 address space in accordance with the requirements of the Overlay layer protocol; The integrated translator receives a data packet sent by the sending end, and the Overlay layer translator in the integrated translator replaces the predetermined data in the data packet with the mapping data according to the corresponding relationship of the second-layer MAC address. The Overlay layer translator sends the data packet to the SDN network. The receiving end host receives the data packet and sends a response data packet to the SDN network. The Overlay layer translator replaces the predetermined data in the response data packet with the mapping data according to the corresponding relationship of the second-layer MAC address, and transmits it to the sending end; The mapping data is obtained by searching for the corresponding relationship of the layer 2 MAC address according to the mapping relationship between the IPv4 address space and the IPv6 address space, and replacing the layer 2 MAC address in the overlay layer data in the data packet sent by the sender according to the requirements of the SDN overlay layer protocol.