Method for realizing IPv6 communication based on Openstack platform

By using BGP routing to declare and configure BGP Peer relationship on the Openstack platform, the problem of low efficiency in IPv6 communication routing information exchange in the existing technology is solved, and efficient and automated routing information updates and high-availability network communication are achieved.

CN119966892AInactive Publication Date: 2025-05-09SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510066615.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-16
Publication Date
2025-05-09
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The prior art has problems such as low routing information exchange efficiency, insufficient loop prevention capabilities, low path selection efficiency and lack of routing policy support when implementing IPv6 communication, which limits the development and expansion of IPv6 networks.

Method used

By establishing BGP neighbor relationships on the Openstack platform, using BGP routing to declare network segment routing of IPv6 networks in the cloud, realizing mutual communication between the cloud network and the external network. The specific steps include configuring IPv6 network on the Openstack platform, establishing BGP Peer relationships, and configuring BGPSpeaker and BGP dynamic routing proxy nodes to achieve efficient routing information exchange and automatic update.

Benefits of technology

It realizes automatic learning and dissemination of routing information, can automatically update routing tables, improves the automation level and fault tolerance of the network, ensures high availability of routing updates, and provides more reliable network communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119966892A_ABST
    Figure CN119966892A_ABST
Patent Text Reader

Abstract

The invention particularly relates to a method for realizing IPv6 (Internet Protocol Version 6) communication based on an Openstack platform. According to the method for realizing IPv6 communication based on the Openstack platform, the Openstack platform establishes a BGP neighbor relationship with a switch through a router, and uses the BGP route to declare the network segment route of an intra-cloud IPv6 network, so that mutual communication between the intra-cloud network and an external network is realized. According to the method for realizing IPv6 communication based on the Openstack platform, routing information can be dynamically learned and propagated, manual intervention is not needed, the automation level of a network is improved, the fault tolerance is high, a plurality of dynamic agent nodes are in a mutual main-standby relationship, the high availability of routing updating work in a whole network architecture is ensured, and more reliable network communication can be provided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a method for implementing IPv6 communication based on an Openstack platform. Background Art

[0002] With the rapid growth of Internet users and the popularity of Internet of Things (IoT) devices, IPv4 address space can no longer meet the global demand for address allocation. The exhaustion of address resources is one of the main driving forces for the development of IPv6 technology; IPv6 uses 128-bit addresses to solve the problem of IPv4 address exhaustion; and IPv6 provides better support for new applications and services by introducing new features such as extended headers, authentication and encryption options; based on these, the development of IPv6 is unstoppable.

[0003] In addition to the advantages in address space, IPv6's simplified header format reduces the overhead in routing and processing data packets, improving network performance and efficiency; IPv6 enforces the implementation of IPSec, provides data encryption and identity authentication functions, and ensures end-to-end secure connections; it provides a plug-and-play address automatic configuration mechanism, and devices can automatically obtain IPv6 addresses; at the same time, the relevant fields in the packet header can also provide improved quality of service (QoS) support. These advantages make IPv6 the foundation for future Internet development.

[0004] In the Internet, as the scale of the network continues to expand, different autonomous systems (AS) need to exchange routing information with each other to achieve cross-network communication. The Internet mainly uses the External Gateway Protocol (EGP) to manage the routing between sites. However, due to the many limitations of the External Gateway Protocol EGP, such as the inability to effectively prevent loops, the inability to efficiently select paths, the need for a lot of time for route aggregation, and the lack of the ability to support routing policies, the development of IPv6 is restricted.

[0005] With the development of Internet content and applications, cloud service platforms, as important carriers of Internet content and applications, have an important role to play in optimizing Internet traffic and improving network carrying capacity through IPv6 transformation. However, in order to ensure that data can be processed normally in an IPv6 environment, existing applications need to be transformed for IPv6 compatibility.

[0006] In order to add IPv6 communication to the existing cloud platform architecture, the present invention proposes a method for implementing IPv6 communication based on Openstack platform. Summary of the invention

[0007] In order to make up for the defects of the prior art, the present invention provides a simple and efficient method for realizing IPv6 communication based on the Openstack platform.

[0008] The present invention is achieved through the following technical solutions:

[0009] A method for implementing IPv6 communication based on Openstack platform. The Openstack platform establishes a BGP neighbor relationship with a switch through a router, uses BGP routing to announce the network segment routing of the IPv6 network in the cloud, and realizes mutual communication between the network in the cloud and the external network.

[0010] The specific steps include:

[0011] Step S1: Based on the Openstack platform, all network resources in the cloud are managed, and an IPv6 network is created in the cloud. The same address range is used to ensure that network segments do not overlap and can access each other through routers.

[0012] Step S2: After completing the entire IPv6 routing configuration on the Openstack platform side, configure the BGPPeer peer address and the local autonomous system number (AS) on the core switch. The BGP Peers are connected through a dedicated communication network, and after establishing a neighbor relationship, the route is announced to the switch.

[0013] Create a new tenant IPv6 network mynet. After the routing information is exchanged, the network segment routing of mynet and the public IPv6 address of router1 are obtained on the switch.

[0014] Users can query the corresponding announcement information through the switch's routing information.

[0015] In step S1, before performing IPv6 dynamic routing configuration, first perform Openstack platform basic network environment configuration, the steps are as follows:

[0016] Step S1.1, create a new IPv6 address scope to ensure that subsequent public and private networks use the same address domain;

[0017] Step S1.2, create two subnet address pools in the created address scope, which are used for address allocation of the public network and the private network (mynet network) respectively;

[0018] Step S1.3: Create a public network using the subnet address pool and assign an address range to it.

[0019] In step S2, the Neutron component of the Openstack platform configures the BGP router through the resource model BGPSpeaker, and the configuration information includes the peer neighbor information and the local AS number information;

[0020] Then, configure BGP Peer, establish information connected to the opposite neighbor, and dispatch BGPSpeaker to a BGP dynamic routing proxy node to implement external routing announcement.

[0021] In the step S2, two or more BGP dynamic routing proxies are configured, and BGPSpeaker is dispatched to multiple BGP dynamic routing proxy nodes to achieve high availability and avoid single point failure.

[0022] In step S2, the specific implementation process is as follows:

[0023] Step S2.1, BGPSpeaker configuration

[0024] Create a BGPSpeaker instance and specify the local autonomous system number (AS) of IPv6;

[0025] Associate BGPSpeaker with the public network to announce the IPv6 prefix of the self-service network;

[0026] Step S2.2: BGP Peer Configuration

[0027] Configure a BGP peer and its connection information, including the address and local autonomous system number (AS), to receive routes announced by the BGP dynamic routing agent.

[0028] Associate BGP Peer with BGPSpeaker to establish a peer relationship;

[0029] Step S2.3, BGP dynamic routing proxy node

[0030] Schedule BGPSpeaker to one or more BGP dynamic routing agent nodes to start routing announcement and propagation.

[0031] A device for implementing IPv6 communication based on Openstack platform, comprising a basic network environment configuration module, a BGPSpeaker configuration module, a BGP Peer configuration module and a BGP dynamic routing proxy node;

[0032] The basic network environment configuration module is responsible for configuring the basic network environment of the Openstack platform before performing IPv6 dynamic routing configuration. The steps are as follows:

[0033] Step S1.1, create a new IPv6 address scope to ensure that subsequent public and private networks use the same address domain;

[0034] Step S1.2, create two subnet address pools in the created address scope, which are used for address allocation of the public network and the private network (mynet network) respectively;

[0035] Step S1.3, create a public network using the subnet address pool and assign an address range to it;

[0036] The BGPSpeaker configuration module is responsible for creating a BGPSpeaker instance, specifying the local autonomous system number (AS) of IPv6, and associating the BGPSpeaker with the public network to announce the IPv6 prefix of the self-service network;

[0037] The BGP Peer configuration module is responsible for configuring a BGP Peer peer and the peer's connection information, including the address and local autonomous system number (AS), for receiving the routes announced by the BGP dynamic routing agent; and associating the BGP Peer with the BGPSpeaker to complete the establishment of a peer relationship;

[0038] The BGP dynamic routing proxy node is responsible for accepting the scheduling of BGPSpeaker and realizing external routing announcement.

[0039] A device for implementing IPv6 communication based on an Openstack platform, characterized in that it includes a memory and a processor; the memory is used to store a computer program, and the processor is used to implement the above method steps when executing the computer program.

[0040] A readable storage medium, characterized in that: a computer program is stored on the readable storage medium, and the computer program implements the above method steps when executed by a processor.

[0041] The beneficial effects of the present invention are as follows: the method for implementing IPv6 communication based on the Openstack platform can automatically learn and propagate routing information, and when a new route appears or a fault occurs in the network, the routing table can be automatically updated without manual intervention, thereby improving the automation level of the network, having high fault tolerance, and having a master-slave relationship between multiple dynamic proxy nodes, thereby ensuring high availability of routing update work in the entire network architecture and being able to provide more reliable network communication. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0043] Attached Figure 1 The present invention is a schematic diagram of a method for implementing IPv6 communication based on the Openstack platform.

[0044] Attached Figure 2 The present invention is a schematic diagram of a high-availability architecture for implementing IPv6 communication based on the Openstack platform. DETAILED DESCRIPTION

[0045] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0046] The method for implementing IPv6 communication based on the Openstack platform is that the Openstack platform establishes a BGP neighbor relationship with a switch through a router, uses BGP routing to announce the network segment routing of the IPv6 network in the cloud, and realizes mutual communication between the network in the cloud and the external network.

[0047] The specific steps include:

[0048] Step S1: Based on the Openstack platform, all network resources in the cloud are managed, and an IPv6 network is created in the cloud. The same address range is used to ensure that network segments do not overlap and can access each other through routers.

[0049] Step S2: After completing the entire IPv6 routing configuration on the Openstack platform side, configure the BGPPeer peer address and the local autonomous system number (AS) on the core switch. BGP Peers are connected through a dedicated communication network, and after establishing a neighbor relationship, the route is announced to the switch.

[0050] Create a new tenant IPv6 network mynet. After the routing information is exchanged, the network segment routing of mynet and the public IPv6 address of router1 are obtained on the switch.

[0051] Users can query the corresponding announcement information through the switch's routing information.

[0052] Border Gateway Protocol BGP is used to exchange routing information between autonomous systems (AS).

[0053] BGP routers exchange routing information by establishing neighbor relationships. This relationship is established through TCP connections, and the same ASN and neighbor IP address need to be configured between the two BGP routers. Once the neighbor relationship is established, the BGP routers begin to exchange routing information, including routing information in their own routing tables and routing information sent by neighbors.

[0054] In step S1, before performing IPv6 dynamic routing configuration, first perform Openstack platform basic network environment configuration, the steps are as follows:

[0055] Step S1.1, create a new IPv6 address scope to ensure the subsequent public network (attached Figure 1 public network) and private network (attached Figure 1 The mynet network in the same address domain;

[0056] Step S1.2, create two subnet address pools in the created address scope, which are used for address allocation of the public network and the private network (mynet network) respectively;

[0057] Step S1.3: Use the subnet address pool to create a public network and assign it an address range of 2001:db8:4321:42:: / 64.

[0058] In step S2, the Neutron component of the Openstack platform configures the BGP router through the resource model BGPSpeaker, and the configuration information includes the peer neighbor information and the local AS number information;

[0059] Then, configure BGP Peer, establish information connected to the opposite neighbor, and dispatch BGPSpeaker to a BGP dynamic routing proxy node to implement external routing announcement.

[0060] The BGP dynamic routing of the Openstack platform consists of service plug-ins and agents. The service plug-ins implement network service extensions, while the agents are responsible for managing BGP peer sessions.

[0061] BGP dynamic routing agent (commonly known as BGP DR Agent or BGP agent) is a component in Openstack Neutron components, which is responsible for implementing the BGP dynamic routing function. This agent enables Neutron components to communicate with network devices that support the BGP protocol to dynamically exchange routing information. It is mainly responsible for the following tasks: managing sessions with BGP peers, including establishing, maintaining, and terminating sessions; exchanging routing information through the BGP protocol, including network prefixes and next-hop information; and dynamically announcing routes for self-service networks.

[0062] BGPSpeaker can announce the routes of self-service networks so that these networks can be identified and accessed by external networks. Each BGPSpeaker needs to be configured with a local AS number to identify itself in BGP communications; it also needs to be configured with at least one BGP peer to exchange routing information with other BGP routers. BGPSpeaker is associated with a specific network, so it can announce the routes of that network.

[0063] BGP peers refer to two BGP routers that communicate in a BGP network. These routers maintain the network's routing table by exchanging routing information and ensure that data packets can find the best path from the source to the destination. When configuring a BGP peer, you need to specify the local AS number and the remote AS number. The remote AS number is the AS number of another BGP router that has established a peer relationship with the local BGP router; and the IP address of the peer needs to be specified; in order to enhance security, authentication and passwords can be configured for the BGP peer. The routing information exchanged between BGP peers includes network prefixes, next hop addresses, AS paths, etc.

[0064] In the step S2, two or more BGP dynamic routing proxies are configured, and BGPSpeaker is dispatched to multiple BGP dynamic routing proxy nodes to achieve high availability and avoid single point failure.

[0065] In step S2, the specific implementation process is as follows:

[0066] Step S2.1, BGPSpeaker configuration

[0067] Create a BGPSpeaker instance to announce IPv6 routes in the network and specify the local autonomous system number (AS) of IPv6.

[0068] openstack bgp speaker create--ip-version 6--local-as 1234--no-advertise-floating-ip-host-routes bgp1

[0069] Associate BGPSpeaker with the public network to announce the IPv6 prefix of the self-service network;

[0070] openstack bgp speaker add network bgp1 public

[0071] Step S2.2: BGP Peer Configuration

[0072] Configure a BGP peer and its connection information, including the address and local autonomous system number (AS), to receive routes announced by the BGP dynamic routing agent.

[0073] openstack bgp peer create--peer-ip 2001:db8:4321:e0::1--remote-as1000bgp-peer1

[0074] Associate BGP Peer with BGPSpeaker to establish a peer relationship;

[0075] openstack bgp speaker add peer bgp1 bgp-peer1

[0076] Step S2.3, BGP dynamic routing proxy node

[0077] Schedule BGPSpeaker to one or more BGP dynamic routing agent nodes to start routing announcement and propagation.

[0078] openstack bgp dragent add speaker[dragent_id]bgp1

[0079] The device for implementing IPv6 communication based on the Openstack platform includes a basic network environment configuration module, a BGPSpeaker configuration module, a BGP Peer configuration module and a BGP dynamic routing proxy node;

[0080] The basic network environment configuration module is responsible for configuring the basic network environment of the Openstack platform before performing IPv6 dynamic routing configuration. The steps are as follows:

[0081] Step S1.1, create a new IPv6 address scope to ensure the subsequent public network (attached Figure 1 public network) and private network (attached Figure 1 The mynet network in the same address domain;

[0082] Step S1.2, create two subnet address pools in the created address scope, which are used for address allocation of the public network and the private network (mynet network) respectively;

[0083] Step S1.3, create a public network using the subnet address pool and assign an address range to it;

[0084] The BGPSpeaker configuration module is responsible for creating a BGPSpeaker instance, specifying the local autonomous system number (AS) of IPv6, and associating the BGPSpeaker with the public network to announce the IPv6 prefix of the self-service network;

[0085] The BGP Peer configuration module is responsible for configuring a BGP Peer peer and the peer's connection information, including the address and local autonomous system number (AS), for receiving the routes announced by the BGP dynamic routing agent; and associating the BGP Peer with the BGPSpeaker to complete the establishment of a peer relationship;

[0086] The BGP dynamic routing proxy node is responsible for accepting the scheduling of BGPSpeaker and realizing external routing announcement.

[0087] The device for implementing IPv6 communication based on the Openstack platform includes a memory and a processor; the memory is used to store a computer program, and the processor is used to implement the above method steps when executing the computer program.

[0088] The readable storage medium stores a computer program, and the computer program implements the above method steps when executed by a processor.

[0089] Compared with the existing technology, the method for implementing IPv6 communication based on the Openstack platform has the following characteristics:

[0090] First, it can automatically learn and disseminate routing information. When new routes appear or failures occur in the network, the routing table can be automatically updated without human intervention, thus improving the automation level of the network.

[0091] Second, it has the advantages of high fault tolerance, multi-path selection and rich strategy selection.

[0092] Third, multiple dynamic proxy nodes serve as the master and backup for each other, ensuring high availability of routing updates in the entire network architecture and providing more reliable network communications.

[0093] The embodiment described above is only one specific implementation of the present invention. Common changes and substitutions made by those skilled in the art within the scope of the technical solution of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for implementing IPv6 communication based on Openstack platform, characterized in that: The Openstack platform establishes a BGP neighbor relationship with the switch through the router, and uses BGP routing to announce the network segment routing of the IPv6 network within the cloud, thereby enabling mutual communication between the cloud network and the external network.

2. The method for implementing IPv6 communication based on Openstack platform according to claim 1, characterized in that: The following steps are involved: Step S1: Based on the Openstack platform, all network resources in the cloud are managed, and an IPv6 network is created in the cloud. The same address range is used to ensure that network segments do not overlap and can access each other through routers. Step S2: After the entire IPv6 routing configuration is completed on the Openstack platform side, the BGP peer address and the local autonomous system number are configured on the core switch. The BGP peers are connected through a dedicated communication network, and after the neighbor relationship is established, the routing is announced to the switch; Create a new tenant IPv6 network mynet. After the routing information is exchanged, the network segment routing of mynet and the public IPv6 address of router1 are obtained on the switch. Users can query the corresponding announcement information through the switch's routing information.

3. The method for implementing IPv6 communication based on Openstack platform according to claim 2, characterized in that: In step S1, before performing IPv6 dynamic routing configuration, first perform Openstack platform basic network environment configuration, the steps are as follows: Step S1.1, create a new IPv6 address scope to ensure that subsequent public and private networks use the same address domain; Step S1.2: Create two subnet address pools in the created address scope, which are used for address allocation of the public network and the private network respectively; Step S1.3: Create a public network using the subnet address pool and assign an address range to it.

4. The method for implementing IPv6 communication based on Openstack platform according to claim 2, characterized in that: In step S2, the Neutron component of the Openstack platform configures the BGP router through the resource model BGPSpeaker, and the configuration information includes the peer neighbor information and the local AS number information; Then, configure BGP Peer, establish information connected to the opposite neighbor, and dispatch BGPSpeaker to a BGP dynamic routing proxy node to implement external routing announcement.

5. The method for implementing IPv6 communication based on Openstack platform according to claim 4, characterized in that: In the step S2, two or more BGP dynamic routing proxies are configured, and BGPSpeaker is dispatched to multiple BGP dynamic routing proxy nodes to achieve high availability and avoid single point failure.

6. The method for implementing IPv6 communication based on Openstack platform according to claim 5, characterized in that: In step S2, the specific implementation process is as follows: Step S2.1, BGPSpeaker configuration Create a BGPSpeaker instance and specify the local autonomous system number of IPv6; Associate BGPSpeaker with the public network to announce the IPv6 prefix of the self-service network; Step S2.2: BGP Peer Configuration Configure a BGP peer and its connection information, including the address and local autonomous system number, to receive routes announced by the BGP dynamic routing agent. Associate BGP Peer with BGPSpeaker to establish a peer relationship; Step S2.3, BGP dynamic routing proxy node Schedule BGPSpeaker to one or more BGP dynamic routing agent nodes to start routing announcement and propagation.

7. A device for implementing IPv6 communication based on Openstack platform, characterized in that: Including basic network environment configuration module, BGPSpeaker configuration module, BGP Peer configuration module and BGP dynamic routing proxy node; The basic network environment configuration module is responsible for configuring the basic network environment of the Openstack platform before performing IPv6 dynamic routing configuration. The steps are as follows: Step S1.1, create a new IPv6 address scope to ensure that subsequent public and private networks use the same address domain; Step S1.2: Create two subnet address pools in the created address scope, which are used for address allocation of the public network and the private network respectively; Step S1.3, create a public network using the subnet address pool and assign an address range to it; The BGPSpeaker configuration module is responsible for creating a BGPSpeaker instance, specifying the local autonomous system number of IPv6, and associating the BGPSpeaker with the public network in order to announce the IPv6 prefix of the self-service network; The BGP Peer configuration module is responsible for configuring a BGP Peer peer and its connection information, including the address and local autonomous system number, for receiving routes announced by the BGP dynamic routing agent; and associating the BGP Peer with the BGP Speaker to establish a peer relationship. The BGP dynamic routing proxy node is responsible for accepting the scheduling of BGPSpeaker and realizing external routing announcement.

8. A device for implementing IPv6 communication based on the Openstack platform, characterized in that: The method comprises a memory and a processor; the memory is used to store a computer program, and the processor is used to implement the method according to any one of claims 1 to 6 when executing the computer program.

9. A readable storage medium, characterized in that: The readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • IPVC6 communication system based on data center

    CN113709133A

  • Cloud platform network configuration method, device, server, storage medium and system

    CN114338397A

  • Deploying ipv6 routing

    US20240121187A1