CN112333076B - Method and device for bearing VXLAN service through FlexE channel - Google Patents

Method and device for bearing VXLAN service through FlexE channel Download PDF

Info

Publication number
CN112333076B
CN112333076B CN202011334661.XA CN202011334661A CN112333076B CN 112333076 B CN112333076 B CN 112333076B CN 202011334661 A CN202011334661 A CN 202011334661A CN 112333076 B CN112333076 B CN 112333076B
Authority
CN
China
Prior art keywords
vxlan
data center
vni
center gateway
service
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.)
Active
Application number
CN202011334661.XA
Other languages
Chinese (zh)
Other versions
CN112333076A (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.)
Unihub China Information Technology Co Ltd
Original Assignee
Unihub China Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Unihub China Information Technology Co Ltd filed Critical Unihub China Information Technology Co Ltd
Priority to CN202011334661.XA priority Critical patent/CN112333076B/en
Publication of CN112333076A publication Critical patent/CN112333076A/en
Application granted granted Critical
Publication of CN112333076B publication Critical patent/CN112333076B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/13Flow control; Congestion control in a LAN segment, e.g. ring or bus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/20Traffic policing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and a device for bearing VXLAN service through a Flexe channel, wherein the method comprises the following steps: the controller determines the mapping relation between VNI and VXLAN tunnel destination addresses and Flexe channel identification according to user service requirements and VXLAN tunnel information; the service requirements comprise bandwidth, time delay and isolation requirements needed by the cross-data center user service; the VXLAN tunnel information comprises a source VTEP mark, a destination VTEP mark and VNI; the VNI is used to identify different users; the first data center gateway sends a VXLAN message to the second data center gateway through a Flexe channel according to the mapping relation; and the second data center gateway receives the message and sends the message to the user corresponding to the VNI. The invention can bear VXLAN service through the Flexe channel, thereby realizing the difference service of the service and the flow isolation requirement of the user and reducing the transmission delay of the service.

Description

Method and device for bearing VXLAN service through FlexE channel
Technical Field
The invention relates to the technical field of networks, in particular to a method and a device for bearing VXLAN service through a Flexe channel.
Background
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
VXLAN (Virtual Extensible Local Area Network) is a tunneling technique, and can establish a two-layer ethernet Network tunnel on the basis of a three-layer Network, thereby realizing cross-region two-layer interconnection, and well solving the problem that the existing VLAN technology cannot meet the requirements of a large two-layer Network.
In the existing VXLAN technology, a pair of VTEPs carries services of a plurality of tenants, in the process of transmission between the VTEP nodes, the network nodes which need to hop by hop forward packet messages, and then route forwarding is carried out based on IP, the path cannot be guaranteed to be optimal, so that the forwarding delay of the messages is increased, differentiation of the services of different tenants cannot be realized, and the requirements of high-quality users on flow isolation and delay cannot be guaranteed.
Disclosure of Invention
The embodiment of the invention provides a method for bearing VXLAN service through a Flexe channel, which can realize the difference service of the VXLAN service and the flow isolation requirement of a user and reduce the transmission delay of the service by bearing the VXLAN service through the Flexe channel, and comprises the following steps:
the controller determines the mapping relation between the destination addresses of the VNI and the VXLAN tunnel of the VXLAN network identifier and the Flexe channel identifier according to the user service requirement and the VXLAN tunnel information; sending the mapping relation to a first data center gateway; the service requirements comprise bandwidth, time delay and isolation requirements needed by the user service across the data center; the VXLAN tunnel information comprises a source VTEP mark, a destination VTEP mark and a VNI of the tunnel; the VNI is used to identify different users;
the first data center gateway sends the VXLAN message to the second data center gateway through a Flexe channel according to the mapping relation;
and the second data center gateway receives the VXLAN message and sends the VXLAN message to a user corresponding to the VNI.
An embodiment of the present invention further provides a device for carrying a VXLAN service through a FlexE channel, so as to carry the VXLAN service through the FlexE channel, thereby implementing a differential service of the VXLAN service and a traffic isolation requirement of a user, and also reducing a transmission delay of the service, where the device includes:
the controller is used for determining the mapping relation between the destination addresses of the VNI and the VXLAN tunnel of the VXLAN network identifier and the Flexe channel identifier according to the user service requirement and the VXLAN tunnel information; sending the mapping relation to a first data center gateway; the service requirements comprise bandwidth, time delay and isolation requirements needed by the user service across the data center; the VXLAN tunnel information comprises a source VTEP mark, a destination VTEP mark and a VNI of the tunnel; the VNI is used to identify different users;
the first data center gateway is used for sending the VXLAN message to the second data center gateway through a Flexe channel according to the mapping relation;
and the second data center gateway is used for receiving the VXLAN message and sending the VXLAN message to a user corresponding to the VNI.
The embodiment of the invention also provides computer equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein when the processor executes the computer program, the method for bearing the VXLAN service through the Flexe channel is realized.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program for executing the method for carrying the VXLAN service through the FlexE channel is stored in the computer-readable storage medium.
In the embodiment of the present invention, compared with the technical solutions in the prior art that the VXLAN services of different users cannot be differentiated, the traffic isolation requirements cannot be met, and the forwarding delay of the message is increased by using a scheme of loading the VXLAN services through a FlexE channel, the present invention has the following steps: the controller determines the mapping relation between the destination addresses of the VNI and the VXLAN tunnel of the VXLAN network identifier and the Flexe channel identifier according to the user service requirement and the VXLAN tunnel information; sending the mapping relation to a first data center gateway; the service requirements comprise bandwidth, time delay and isolation requirements needed by the user service across the data center; the VXLAN tunnel information comprises a source VTEP mark, a destination VTEP mark and a VNI of the tunnel; the VNI is used to identify different users; the first data center gateway sends the VXLAN message to the second data center gateway through a Flexe channel according to the mapping relation; and the second data center gateway receives the VXLAN message, sends the VXLAN message to a user corresponding to the VNI, and can bear the VXLAN service through a Flexe channel, thereby realizing the differential service of the VXLAN service and the flow isolation requirement of the user and reducing the transmission delay of the service.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. In the drawings:
fig. 1 is a schematic flowchart of a method for carrying VXLAN services through a FlexE channel in an embodiment of the present invention;
FIG. 2 is a schematic diagram of a first data center gateway operating according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of data center interconnections in an embodiment of the invention;
fig. 4 is a schematic diagram illustrating a principle of carrying VXLAN services through a FlexE channel in an embodiment of the present invention;
fig. 5 is a schematic diagram of a network topology of data center interconnection in an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
Before describing the embodiments of the present invention, terms related to the present invention will be described.
FlexE (Flexible Ethernet ) enhances the Ethernet lightweight, and adds a FlexE Shim layer to an intermediate layer between Ethernet MAC/PHY to decouple MAC (media access control sublayer, belonging to a data link layer) and PHY (physical layer); the Flex Shim layer schedules and distributes data of a plurality of Client interfaces to a plurality of different subchannels according to a time slot mode based on a time division multiplexing distribution mechanism. Taking 100GE pipeline as an example, the FlexE Shim can be divided into 20 subchannels with 5G rate, and each client side interface can specify one or more subchannels to implement service isolation.
The FlexE tunnel technology realizes message transparent transmission of the L1 layer by cross end-to-end message forwarding, and is one of the important modes of 5G bearer and high-quality private line service at present.
Because the inventor finds the technical problem of the existing VXLAN service, a realization scheme for bearing the multi-tenant VXLAN service through a Flexe channel is provided, and in the scheme, the VXLAN service comprises the following steps: the controller determines the mapping relation between the destination addresses of the VNI and VXLAN tunnels and the Flexe channel; and sending the mapping relation to a first data center gateway, and sending a VXLAN message to the second data center gateway node by the first data center gateway through a Flexe channel according to the mapping relation. The Flexe channel is an end-to-end channel deployed between the first data center gateway and the second data center gateway, and the channel meets the bandwidth and delay requirements of tenants. The embodiment of the invention can solve the problem of lower performance based on packet forwarding in the prior art and meet the requirement of service isolation by bearing the service message through the Flexe channel, thereby realizing the requirement of flow isolation of users and reducing the transmission delay of the service. The implementation scheme for carrying the multi-tenant VXLAN service through the FlexE channel is described in detail below.
Fig. 1 is a schematic flowchart of a method for carrying VXLAN services through a FlexE channel in an embodiment of the present invention, and as shown in fig. 1, the method includes the following steps:
step 101: the controller determines the mapping relation between the destination addresses of the VNI and the VXLAN tunnel of the VXLAN network identifier and the Flexe channel identifier according to the user service requirement and the VXLAN tunnel information; sending the mapping relation to a first data center gateway; the service requirements comprise bandwidth, time delay and isolation requirements needed by the user service across the data center; the VXLAN tunnel information comprises a source VTEP mark, a destination VTEP mark and a VNI of the tunnel; the VNI is used to identify different users;
step 102: the first data center gateway sends the VXLAN message to the second data center gateway through a Flexe channel according to the mapping relation;
step 103: and the second data center gateway receives the VXLAN message and sends the VXLAN message to a user corresponding to the VNI.
In an embodiment, as shown in fig. 2, the sending, by the first data center gateway, the VXLAN packet to the second data center gateway through the FlexE channel according to the mapping relationship may include the following steps:
step 201: after receiving the mapping relation sent by the controller, the first data center gateway establishes a mapping relation table on a forwarding plane; the mapping relation table comprises a VNI identification, a destination VTEP address and an output interface; the VNI identification and the destination VTEP address are matched items, and the output interface is a Flexe channel identification;
step 202: and the first data center gateway maps the VXLAN message to a Flexe channel according to the mapping relation table, and the Flexe channel sends the VXLAN message to the second data center gateway.
In specific implementation, the specific implementation of the first data center gateway further ensures that the difference service of the VXLAN service and the traffic isolation requirement of the user are realized, and reduces the transmission delay of the service.
In an embodiment, the receiving, by the second data center gateway, the VXLAN packet and sending the VXLAN packet to a user corresponding to the VNI may include: after receiving the VXLAN message, the second data center gateway inquires a route and forwards the VXLAN message to a user corresponding to a VNI according to an IP destination address if the second data center gateway node is not a VTEP node.
In specific implementation, the specific implementation of the second data center gateway further ensures that the difference service of the VXLAN service and the traffic isolation requirement of the user are realized, and reduces the transmission delay of the service.
In an embodiment, the receiving, by the second data center gateway, the VXLAN packet and sending the VXLAN packet to a user corresponding to the VNI may include: after receiving the VXLAN message, the second data center gateway pops up a VXLAN header if the second data center gateway node is a VTEP node, and queries a VNI and an internal IP or MAC to forward the VXLAN message to a user corresponding to the VNI.
In specific implementation, the specific implementation of the second data center gateway further ensures that the difference service of the VXLAN service and the traffic isolation requirement of the user are realized, and reduces the transmission delay of the service.
In specific implementation, the first data center gateway may be a VTEP node or an external gateway that is not a VTEP node, and if the gateway node is also a VTEP node, after receiving the packet, the gateway node first performs VXLAN tunnel encapsulation according to information such as MAC, IP, and VLAN, and then forwards the VXLAN relationship through a FlexE channel according to the VNI and the mapping relationship between the destination VTEP address and the FlexE. VXLAN tunnel encapsulation belongs to the prior art and does not affect the implementation of the present invention.
In one embodiment, the FlexE channel may be an end-to-end channel between a first data center gateway to a second data center gateway.
In specific implementation, the FlexE channel may be an end-to-end channel from the first data center gateway to the second data center gateway, so as to further ensure the realization of the differential service of the VXLAN service and the traffic isolation requirement of the user, and reduce the transmission delay of the service.
In one embodiment, the FlexE channel may be an existing channel or established triggered by a controller.
In order to facilitate an understanding of how the invention may be practiced, the following generally describes the detailed steps of an embodiment of the invention.
The invention provides a method for realizing multi-tenant service bearing through a Flexe channel. The controller determines the mapping relation between the destination addresses of the VNI and VXLAN tunnels and the Flexe channel; sending the mapping relation to a first data center gateway; and the first data center gateway sends a VXLAN message to the second data center gateway through a Flexe channel according to the mapping relation. The Flexe channel is an end-to-end channel deployed between the first data center gateway and the second data center gateway, and meets the bandwidth, delay and isolation requirements of tenant services. The invention bears the multi-tenant service message through the Flexe channel, thereby realizing the flow isolation and low time delay requirements of users.
Fig. 3 is a schematic diagram of interconnection of DCs (Data centers ), in which Data Center 1(DC1) and Data Center 2(DC2) are shown, DCGW1 is a gateway of DC1, and DCGW2 is a gateway of DC 2.
The implementation steps are as follows, as shown in FIG. 4:
firstly, the controller determines the mapping relation between the destination addresses of VNI and VXLAN tunnels and a Flexe channel;
the controller may be an SDN (software defined network controller) controller or a webmaster;
the controller determines the mapping relation between the destination addresses of the VNI and VXLAN tunnels and the Flexe channel according to the service requirement and VXLAN tunnel information; the service requirements comprise bandwidth and time delay required by the tenant service across the data center and isolation requirements; for services which are not sensitive to time delay and have no isolation requirement, the mapping relation from VXLAN services to Flexe channels does not need to be set; services without isolation requirements can be mapped to the same Flexe channel;
the information of the VXLAN Tunnel comprises a source end VTEP Identifier, a destination end VTEP (VXLAN Tunnel EndPoint ) Identifier and a VNI (VNI, VXLAN Network Identifier);
the Flexe channel needs to meet the bandwidth, time delay and isolation requirements of services; the Flexe channel is an end-to-end channel from the first data center gateway to the second data center gateway; the Flexe channel can be an existing channel or can be triggered and established by a controller;
the data center gateway can be a VTEP node or a non-VTEP node, namely the data center gateway can be a VXLAN gateway or a VXLAN IP gateway and a unified gateway for the communication between the data center and the outside;
the controller sends the mapping relation to a first data center gateway;
the controller sends the mapping relation to a first data center gateway; the mapping relation comprises a VNI identification, an address of a destination VTEP and a Flexe channel number;
the gateway of the first center may be a plurality of network nodes;
after the first data center receives the mapping relation sent by the controller, a mapping relation table entry is established on a forwarding plane;
the mapping table entry (as shown in table 1 below) includes a VNI identifier, a destination VTEP address, and an egress interface; the VNI identification and a destination VTEP address (namely a destination end address of a VXLAN tunnel) are matched items, and an output interface is a Flexe channel number, namely a Flexe client interface identification;
matching items Outlet interface
VNI N, dstIP destination VTEP address Flexe channel numbering
TABLE 1
The first data center gateway sends a VXLAN message to the second data center gateway through a Flexe channel according to the mapping relation;
and after receiving the VXLAN message, the first data center gateway maps the message to a Flexe channel according to the mapping relation table, and the Flexe channel sends the VXLAN message to the second data center gateway.
And if the first data center gateway is a VTEP node and the received message may be a common IP message, executing mapping table item operation after VXLAN encapsulation is completed.
After the second data center receives the VXLAN message, if the gateway node of the second data center is not the VTEP node, the message is forwarded by inquiring a route according to an IP destination address; and if the second data center gateway node is a VTEP node, popping up a VXLAN head, and inquiring VNI and internal IP or MAC to forward the message.
To facilitate an understanding of how the invention may be practiced, an example of which is described in detail below.
The topology of this embodiment is shown in fig. 5, where fig. 5 is a schematic diagram of DC (Data Center ) interconnection, in the diagram, Data Center 1(DC1) and Data Center 2(DC2), DCGW1 is an external gateway of DC1, and DCGW2 is an external gateway of DC 2. The method comprises the following implementation steps:
firstly, the controller determines the mapping relation between the destination addresses of VNI and VXLAN tunnels and a Flexe channel;
in this embodiment, three tenants, namely, tenant a, tenant B, and tenant C, have services in two data centers. Tenant A needs to be from DC1 to DC2, low delay, isolation and bandwidth of 10G; the requirement of tenant B is from DC1 to DC2, the low latency is realized, and the bandwidth is 3G; tenant C has requirements from DC1 to DC2, low latency, and 3G bandwidth.
In the present embodiment, the VTEP addresses of DC1 and DC2 are 101.10.10.10 and 101.10.20.20, respectively; VNI identification of tenant a is 100; the VNI identification of tenant B is 200; VNI identification of tenant C is 300; in deployment, different data centers and the same tenant may have different VNI identifiers, if VNIs of the data centers are managed separately, when the data centers are communicated with each other across the data centers, communication can be performed through three layers of VNIs, whether local VNIs are the same or not, and the example of the present invention is not affected; in this embodiment, VNIs corresponding to tenants across DC are not changed.
The controller determines the bandwidth required to be borne by the Flexe channel according to service requirements, namely the isolation, bandwidth and time delay requirements of clients; if the client does not have low delay or isolation requirements, the mapping relation from the VXLAN service to the Flexe does not need to be set, and the service of the client is still forwarded according to the packet; determining endpoint information of a Flexe channel according to the first data center gateway and the second data center gateway; the Flexe channel can be an existing channel or can be triggered and established by a controller;
in this embodiment, two FlexE channels are established between the DCGW1 and the DCGW2, the numbers of the channels are 100 and 200, respectively, and the bandwidth of the bearer is 10G.
The controller determines the mapping relation between the destination addresses of the VNI and VXLAN tunnels and the Flexe channel according to the service requirement and VXLAN tunnel information; (ii) a Services without isolation requirements can be mapped to the same Flexe channel;
in this embodiment, the bandwidth required by the tenant (user) a is 10G, and there is an isolation requirement, so the tenant (user) a is separately loaded in the FlexE channel 100; the bandwidths of the tenant B and the tenant C are 3G respectively, and have no isolation requirement, so the bandwidths are loaded in the channel 200 together; the mapping is shown in table 2 below:
matching items Outlet interface
VNI=100,dstIP=101.10.20.20 FlexE tunnel=100
VNI=200,dstIP=101.10.20.20 FlexE tunnel=200
VNI=300,dstIP=101.10.20.20 FlexE tunnel=200
TABLE 2
The data center gateway can be a VTEP node or a non-VTEP node, namely the data center gateway can be a VXLAN gateway or a VXLAN IP gateway and a unified gateway for the communication between the data center and the outside;
in this embodiment, the data center gateway is a non-VTEP node.
The controller sends the mapping relation to a first data center gateway;
the controller sends the mapping relation to a first data center gateway; the mapping relation comprises a VNI identification, an address of a destination VTEP and a Flexe channel number;
the gateway of the first center may be a plurality of network nodes;
after the first data center receives the mapping relation sent by the controller, a mapping relation table entry is established on a forwarding plane;
the mapping table entry comprises a VNI identifier, a destination VTEP address and an output interface; the VNI identification and the destination VTEP address are matched items, and an output interface is a Flexe channel number;
in this embodiment, the first data center gateway is DCGW1, and the mapping table is as shown in table 2 above.
The first data center gateway sends a VXLAN message to the second data center gateway through a Flexe channel according to the mapping relation;
and after receiving the VXLAN message, the first data center gateway maps the message to a Flexe channel according to the mapping relation table, and the Flexe channel sends the VXLAN message to the second data center gateway.
And if the first data center gateway is a VTEP node and the received message may be a common IP message, executing mapping table item operation after VXLAN encapsulation is completed.
After the second data center receives the VXLAN message, if the second gateway node is not a VTEP node, the message is forwarded by inquiring a route according to an IP destination address; and if the second gateway node is a VTEP node, popping up a VXLAN head, and inquiring VNI and internal IP or MAC to forward the message.
In this embodiment, after receiving the VXLAN packet, DCGW1 matches the mapping table entry according to the VNI and the outer IP destination address carried in the VXLAN packet, and maps the traffic of tenant a into FlexE channel 100 and the traffic of tenants B and C into FlexE channel 200 according to the VNI and the destination address. The FlexE channel forwards the packet to the second data center gateway DCGW2 via a cross-connect. Therefore, the transmission of services of different tenants in the Flexe channel is realized, and the isolation requirements and low-delay requirements of customers are met.
In summary, the method for carrying the VXLAN service through the FlexE channel according to the embodiment of the present invention carries the multi-tenant service packet through the FlexE channel, thereby implementing the traffic isolation requirement of the user and reducing the transmission delay of the service.
The embodiment of the present invention further provides a device for carrying VXLAN services through a FlexE channel, as described in the following embodiments. Since the principle of the apparatus for solving the problem is similar to the method for carrying the VXLAN service through the FlexE channel, the implementation of the apparatus can refer to the implementation of the method for carrying the VXLAN service through the FlexE channel, and repeated details are not described herein.
The device for bearing the VXLAN service through the flexible Ethernet Flexe channel provided by the embodiment of the invention comprises:
a controller (not shown in fig. 3 and 5) configured to determine, according to a user service requirement and VXLAN tunnel information, a mapping relationship between a VXLAN network identifier VNI, a destination address of a VXLAN tunnel, and a FlexE channel identifier; sending the mapping relation to a first data center gateway; the service requirements comprise bandwidth, time delay and isolation requirements needed by the user service across the data center; the VXLAN tunnel information comprises a source VTEP mark, a destination VTEP mark and a VNI of the tunnel; the VNI is used to identify different users;
a first data center gateway (e.g., DCGW1 in fig. 3 and fig. 5) configured to send the VXLAN packet to a second data center gateway through a FlexE channel according to the mapping relationship;
and a second data center gateway (e.g., DCGW2 in fig. 3 and fig. 5) configured to receive the VXLAN packet, and send the VXLAN packet to a user corresponding to the VNI.
In one embodiment, the first data center gateway may be specifically configured to:
after receiving the mapping relation sent by the controller, establishing a mapping relation table on a forwarding plane; the mapping relation table comprises a VNI identification, a destination VTEP address and an output interface; the VNI identification and the destination VTEP address are matched items, and the output interface is a Flexe channel identification;
and mapping the VXLAN message to a Flexe channel according to the mapping relation table, and sending the VXLAN message to a second data center gateway by the Flexe channel.
In one embodiment, the second data center gateway may be specifically configured to: after receiving the VXLAN message, if the second data center gateway node is not a VTEP node, inquiring a route according to an IP destination address and forwarding the VXLAN message to a user corresponding to a VNI.
In one embodiment, the second data center gateway may be specifically configured to: after receiving the VXLAN message, if the second data center gateway node is a VTEP node, popping up a VXLAN header, and inquiring VNI and internal IP or MAC to forward the VXLAN message to a user corresponding to the VNI.
In one embodiment, the FlexE channel is an end-to-end channel from the first data center gateway to the second data center gateway.
In one embodiment, the FlexE channel is an existing channel or is established triggered by a controller.
The embodiment of the invention also provides computer equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein when the processor executes the computer program, the method for bearing the VXLAN service through the Flexe channel is realized.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program for executing the method for carrying the VXLAN service through the FlexE channel is stored in the computer-readable storage medium.
In the embodiment of the present invention, compared with the technical solutions in the prior art that the VXLAN services of different users cannot be differentiated, the traffic isolation requirements cannot be met, and the forwarding delay of the message is increased by using a scheme of loading the VXLAN services through a FlexE channel, the present invention has the following steps: the controller determines the mapping relation between the destination addresses of the VNI and the VXLAN tunnel of the VXLAN network identifier and the Flexe channel identifier according to the user service requirement and the VXLAN tunnel information; sending the mapping relation to a first data center gateway; the service requirements comprise bandwidth, time delay and isolation requirements needed by the user service across the data center; the VXLAN tunnel information comprises a source VTEP mark, a destination VTEP mark and a VNI of the tunnel; the VNI is used to identify different users; the first data center gateway sends the VXLAN message to the second data center gateway through a Flexe channel according to the mapping relation; and the second data center gateway receives the VXLAN message, sends the VXLAN message to a user corresponding to the VNI, and can bear the VXLAN service through a Flexe channel, thereby realizing the differential service of the VXLAN service and the flow isolation requirement of the user and reducing the transmission delay of the service.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (11)

1. A method for carrying VXLAN service through flexible Ethernet Flexe channel is characterized by comprising the following steps:
the controller determines the mapping relation between the destination addresses of the VNI and the VXLAN tunnel of the VXLAN network identifier and the Flexe channel identifier according to the user service requirement and the VXLAN tunnel information; sending the mapping relation to a first data center gateway; the service requirements comprise bandwidth, time delay and isolation requirements needed by the user service across the data center; the VXLAN tunnel information comprises a source VTEP mark, a destination VTEP mark and a VNI of the tunnel; the VNI is used to identify different users;
the first data center gateway sends a VXLAN message to the second data center gateway through a Flexe channel according to the mapping relation;
the second data center gateway receives the VXLAN message and sends the VXLAN message to a user corresponding to the VNI;
the FlexE channel is an end-to-end channel deployed between the first data center gateway and the second data center gateway, and the FlexE channel needs to meet bandwidth, delay and isolation requirements of services.
2. The method according to claim 1, wherein the first data center gateway sends the VXLAN packet to the second data center gateway through a FlexE channel according to the mapping relationship, and the method for carrying a VXLAN service through a flexible ethernet FlexE channel comprises:
after receiving the mapping relation sent by the controller, the first data center gateway establishes a mapping relation table on a forwarding plane; the mapping relation table comprises a VNI identification, a destination VTEP address and an output interface; the VNI identification and the destination VTEP address are matched items, and the output interface is a Flexe channel identification;
and the first data center gateway maps the VXLAN message to a Flexe channel according to the mapping relation table, and the Flexe channel sends the VXLAN message to the second data center gateway.
3. The method according to claim 1, wherein the second data center gateway receives the VXLAN packet and sends the VXLAN packet to a user corresponding to a VNI, and the method includes: after receiving the VXLAN message, the second data center gateway queries a route and forwards the VXLAN message to a user corresponding to the VNI according to the IP destination address if the second data center gateway is not a VTEP node.
4. The method according to claim 1, wherein the second data center gateway receives the VXLAN packet and sends the VXLAN packet to a user corresponding to a VNI, and the method includes: after receiving the VXLAN message, if the second data center gateway is a VTEP node, the second data center gateway pops up a VXLAN header, and queries a VNI and an internal IP or MAC to forward the VXLAN message to a user corresponding to the VNI.
5. The method for carrying VXLAN services over a flexible ethernet FlexE channel according to claim 1, wherein the FlexE channel is established for an existing channel or triggered by a controller.
6. An apparatus for carrying VXLAN services over flexible ethernet FlexE channels, comprising:
the controller is used for determining the mapping relation between the destination addresses of the VNI and the VXLAN tunnel of the VXLAN network identifier and the Flexe channel identifier according to the user service requirement and the VXLAN tunnel information; sending the mapping relation to a first data center gateway; the service requirements comprise bandwidth, time delay and isolation requirements needed by the user service across the data center; the VXLAN tunnel information comprises a source VTEP mark, a destination VTEP mark and a VNI of the tunnel; the VNI is used to identify different users;
the first data center gateway is used for sending a VXLAN message to the second data center gateway through a Flexe channel according to the mapping relation;
the second data center gateway is used for receiving the VXLAN message and sending the VXLAN message to a user corresponding to the VNI;
the FlexE channel is an end-to-end channel deployed between the first data center gateway and the second data center gateway, and the FlexE channel needs to meet bandwidth, delay and isolation requirements of services.
7. The apparatus for carrying a virtual extensible local area network, VXLAN, service over a flexible ethernet FlexE channel of claim 6, wherein the first data center gateway is specifically configured to:
after receiving the mapping relation sent by the controller, establishing a mapping relation table on a forwarding plane; the mapping relation table comprises a VNI identification, a destination VTEP address and an output interface; the VNI identification and the destination VTEP address are matched items, and the output interface is a Flexe channel identification;
and mapping the VXLAN message to a Flexe channel according to the mapping relation table, and sending the VXLAN message to a second data center gateway by the Flexe channel.
8. The apparatus for carrying a virtual extensible local area network, VXLAN, service over a flexible ethernet FlexE channel as in claim 6, wherein the second data center gateway is specifically configured to: after receiving the VXLAN message, if the second data center gateway is not a VTEP node, inquiring a route according to an IP destination address and forwarding the VXLAN message to a user corresponding to a VNI.
9. The apparatus for carrying a virtual extensible local area network, VXLAN, service over a flexible ethernet FlexE channel as in claim 6, wherein the second data center gateway is specifically configured to: after receiving the VXLAN message, if the second data center gateway is a VTEP node, popping up a VXLAN header, and inquiring VNI and internal IP or MAC to forward the VXLAN message to a user corresponding to the VNI.
10. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any one of claims 1 to 5 when executing the computer program.
11. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for executing the method of any one of claims 1 to 5.
CN202011334661.XA 2020-11-25 2020-11-25 Method and device for bearing VXLAN service through FlexE channel Active CN112333076B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011334661.XA CN112333076B (en) 2020-11-25 2020-11-25 Method and device for bearing VXLAN service through FlexE channel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011334661.XA CN112333076B (en) 2020-11-25 2020-11-25 Method and device for bearing VXLAN service through FlexE channel

Publications (2)

Publication Number Publication Date
CN112333076A CN112333076A (en) 2021-02-05
CN112333076B true CN112333076B (en) 2022-03-29

Family

ID=74308214

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011334661.XA Active CN112333076B (en) 2020-11-25 2020-11-25 Method and device for bearing VXLAN service through FlexE channel

Country Status (1)

Country Link
CN (1) CN112333076B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115087106A (en) * 2021-03-15 2022-09-20 中兴通讯股份有限公司 Time slot configuration method, service path creation method, device, equipment and medium
CN114143795B (en) * 2021-12-14 2024-01-30 天翼物联科技有限公司 Local area network networking method and system based on 5G network
CN114500169B (en) * 2021-12-27 2024-01-02 天翼云科技有限公司 Method for establishing VXLAN tunnel, method and device for forwarding message

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9130775B2 (en) * 2013-07-10 2015-09-08 Cisco Technology, Inc. Support for virtual extensible local area network segments across multiple data center sites
US9800361B2 (en) * 2015-06-30 2017-10-24 Ciena Corporation Flexible ethernet switching systems and methods
US10097480B2 (en) * 2015-09-29 2018-10-09 Ciena Corporation Time transfer systems and methods over flexible ethernet
WO2017070851A1 (en) * 2015-10-27 2017-05-04 Zte Corporation Channelization for flexible ethernet
CN107979519B (en) * 2017-12-14 2019-04-09 中盈优创资讯科技有限公司 The difference implementation method and VTEP, PE of VXLAN business
CN110138575B (en) * 2018-02-02 2021-10-08 中兴通讯股份有限公司 Network slice creating method, system, network device and storage medium
CN110392127B (en) * 2019-08-15 2022-01-11 中盈优创资讯科技有限公司 Network address space identification method and device

Also Published As

Publication number Publication date
CN112333076A (en) 2021-02-05

Similar Documents

Publication Publication Date Title
CN112333076B (en) Method and device for bearing VXLAN service through FlexE channel
CN106936777B (en) Cloud computing distributed network implementation method and system based on OpenFlow
KR101503629B1 (en) Differential forwarding in address-based carrier networks
US8068442B1 (en) Spanning tree protocol synchronization within virtual private networks
US8903942B2 (en) Methods and apparatus for forwarding-state transport in a distributed control plane
US7619966B2 (en) Hybrid virtual private LAN extensions
US20180048490A1 (en) Method and apparatus for providing a point-to-point connection over a network
US8009684B2 (en) High capacity ring communication network
US8059638B2 (en) Inter-node link aggregation system and method
US7787460B2 (en) System and method for switching packet traffic over an optical transport network
CN111225419B (en) Method, device and controller for realizing network slicing
EP3742683B1 (en) Method and device for processing packet by using unified sr label stack
CN108574616A (en) A kind of method, equipment and the system of processing routing
CN109995654B (en) Method and device for transmitting data based on tunnel
WO2021185043A1 (en) Forwarding path establishment method and apparatus, and computer-readable storage medium
US8446818B2 (en) Routed split multi-link trunking resiliency for wireless local area network split-plane environments
WO2018058639A1 (en) Pseudo wire load sharing method and apparatus
CN113037883B (en) Method and device for updating MAC address table entries
US7733811B2 (en) Method and system for bridging traffic in a resilient packet ring network
CN112436990B (en) Data forwarding method, data forwarding equipment and computer-readable storage medium
CN112671643B (en) SDN service isolation and routing device based on MPLS
WO2021042674A1 (en) Method for configuring port state and network device
EP3595245B1 (en) Network as a service using virtual nodes
CN117478503A (en) Multicast configuration method and device
US20180167257A1 (en) Methods and systems for forming network connections

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder

Address after: 201804 Room 702-2, No. 4811, Cao'an Highway, Jiading District, Shanghai

Patentee after: CHINA UNITECHS

Address before: Room 1004-4, 10 / F, 1112 Hanggui Road, Anting Town, Jiading District, Shanghai, 201804

Patentee before: CHINA UNITECHS

CP02 Change in the address of a patent holder