CN113923075A - Data transmission method and device - Google Patents

Data transmission method and device Download PDF

Info

Publication number
CN113923075A
CN113923075A CN202010655369.1A CN202010655369A CN113923075A CN 113923075 A CN113923075 A CN 113923075A CN 202010655369 A CN202010655369 A CN 202010655369A CN 113923075 A CN113923075 A CN 113923075A
Authority
CN
China
Prior art keywords
vxlan
wireless access
destination
equipment
network
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.)
Pending
Application number
CN202010655369.1A
Other languages
Chinese (zh)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202010655369.1A priority Critical patent/CN113923075A/en
Priority to PCT/CN2021/104542 priority patent/WO2022007749A1/en
Publication of CN113923075A publication Critical patent/CN113923075A/en
Pending legal-status Critical Current

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/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • 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
    • 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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Abstract

Disclosed are a data transmission method and a device, wherein the method is applied to a first network device in a virtual extensible local area network (VXLAN), and comprises the following steps: when a wireless terminal tries to access a destination terminal through wireless access equipment, first network equipment receives a first request message sent by the wireless access equipment, wherein the first request message comprises an identifier of the destination terminal, and the wireless access equipment and the destination access equipment both have VTEP (virtual terminal EP) capability; and determining destination access equipment corresponding to a destination terminal according to the user access information, sending configuration parameters of a VXLAN data plane tunnel from the wireless access equipment to the destination access equipment to the wireless access equipment, and acquiring the VXLAN data plane tunnel between the wireless access equipment and the destination access equipment according to the address of the destination access equipment carried by the configuration parameters, thereby realizing data access from the wireless terminal to the destination access equipment through the wireless access equipment.

Description

Data transmission method and device
Technical Field
The present application relates to the field of communications, and in particular, to a data transmission method and apparatus in a virtual extensible local area network.
Background
VXLAN (virtual extensible local area Network) technology is one of the standard technologies of virtual three-Layer Network (NVO 3) defined by the Internet Engineering Task Force (IETF). Specifically, a message encapsulation mode of embedding Media Access Control (MAC) into User message Protocol (UDP) is adopted, and two-layer messages are encapsulated by using three-layer Protocol, so that two-layer network expansion in a three-layer range can be realized, and the scale expansion capability of the network is improved.
When VXLAN needs to include wireless access devices, how to construct VXLAN is a technical problem to be solved.
Disclosure of Invention
The application provides a data transmission and transmission method and a data transmission and transmission device, which are used for realizing VXLAN comprising wireless access equipment. The application discloses the following technical scheme:
in a first aspect, the present application provides a data transmission method, which is applicable to a first network device in VXLAN, and specifically, the method includes: when a wireless terminal tries to access a destination terminal through wireless access equipment, first network equipment receives a first request message sent by the wireless access equipment, wherein the first request message comprises an identifier of the destination terminal; the first network equipment determines destination access equipment corresponding to a destination terminal according to the user access information, and sends configuration parameters of a VXLAN data plane tunnel from the wireless access equipment to the destination access equipment to the wireless access equipment, wherein the configuration parameters comprise the address of the destination access equipment.
The destination access device and the wireless access device both have the capability of being used as a VXLAN tunnel endpoint VTEP, and the user access information comprises the corresponding relation between the destination terminal and the destination access device.
In the method provided by the aspect, when the wireless terminal accesses the VXLAN through the wireless access device, through the request message sent by the wireless access device, the network device may determine the address of the destination access device according to the identifier of the destination terminal in the request message and the user access information in the VXLAN, and issue the address to the wireless access device, thereby obtaining a VXLAN data plane tunnel between the wireless access device and the destination access device, and thus implementing data access from the wireless terminal to the destination access device through the wireless access device.
In addition, because the destination access device and the wireless access device both have VTEP capability, when the VXLAN data plane is used for tunneling data, only one decapsulation operation of VXLAN message is needed, thereby not only improving the forwarding efficiency of the VXLAN message, but also relieving the performance pressure of the access device.
The destination access device may be an edge device in VXLAN or an edge device. Specifically, when the destination access device is an edge device, a first VXLAN data plane tunnel between the wireless access device and the destination access device is obtained; and when the destination access equipment is boundary equipment, acquiring a second VXLAN data plane tunnel between the wireless access equipment and the destination access equipment.
When the destination access device of the traffic is an edge device, such as AP2, the internal traffic is directly transmitted from the source access device AP1 to the edge device AP2 via the first VXLAN data plane, and then the AP2 forwards the traffic to the corresponding terminal device. When the traffic destination terminal is an external network device and the destination access device is a boundary device, the traffic accessing the outside is directly transmitted from the wireless access device to the boundary device through the second VXLAN data plane, thereby realizing the transmission of the traffic to the outside of the VXLAN.
Whether external traffic transmission or internal traffic transmission is adopted, the method only needs one decapsulation operation of the VXLAN message in the transmission process of the VXLAN, so that the forwarding efficiency of the VXLAN message is improved, and meanwhile, a VXLAN data plane tunnel is automatically acquired between two edge devices and between the edge device and the boundary device as required, so that the configuration management is simplified.
Optionally, the identifier of the destination terminal is an address of the destination terminal, such as an IP address and/or a MAC address. Correspondingly, the correspondence relationship includes: and the corresponding relation between the address of the destination terminal and the address of the destination access equipment.
Optionally, the first network device is a core switch, and the core switch has functions of a WAC and a VXLAN network controller.
Optionally, the first network device is a border device.
With reference to the first aspect, in a possible implementation manner of the first aspect, the receiving, by a first network device, a first request message sent by a wireless access device includes: the first network device receives a first request message sent by the wireless access device by using a CAPWAP channel, further, the CAPWAP channel is a CAPWAP management channel, and the corresponding port number is 5246.
In the implementation mode, when a CAPWAP protocol is adopted, the CAPWAP management channel is used for management information interaction between the wireless access equipment and the first network equipment on one hand, and the traditional WLAN management function is realized; and on the other hand, the CAPWAP management channel is used for transmitting the request message between the first network equipment and the wireless access equipment, so that the management function of the VXLAN is realized.
Optionally, the first request message includes an address of the wireless terminal. Or, optionally, the first request message includes first user access information.
With reference to the first aspect, in another possible implementation manner of the first aspect, before the first network device receives the first request message sent by the wireless access device, the method further includes: and the first network equipment receives the address of the wireless access equipment from the WAC, and acquires a VXLAN control plane tunnel between the first network equipment and the wireless access equipment according to the address of the wireless access equipment. Correspondingly, the receiving, by the first network device, the first request message sent by the wireless access device specifically includes: and the first network equipment receives a first request message sent by the wireless access equipment by utilizing the VXLAN control plane tunnel.
With reference to the first aspect, in yet another possible implementation manner of the first aspect, before the determining, by the first network device, the destination access device corresponding to the destination terminal according to the user access information, the method further includes: the first network device receives first user access information sent by the wireless access device, wherein the first user access information includes a corresponding relationship between the wireless terminal and the wireless access device, and further, the corresponding relationship is a corresponding relationship between an address of the wireless terminal and an address of the wireless access device.
In the implementation mode, when the terminal equipment is accessed to the VXLAN, each access equipment reports own user access information to the first network equipment and is managed by the first network equipment in a unified way, so that the complexity of managing and synchronizing the user access information is greatly reduced, the network architecture is simplified, and meanwhile, the extremely simplified management and resource configuration are realized.
With reference to the first aspect, in yet another possible implementation manner of the first aspect, the receiving, by the first network device, the first user access information sent by the wireless access device specifically includes: and the first network equipment receives the first user access information by using a CAPWAP channel or a VXLAN control plane tunnel.
In the implementation mode, when a CAPWAP protocol is adopted, the CAPWAP management channel is used for management information interaction between the wireless access equipment and the first network equipment on one hand, and the traditional WLAN management function is realized; and on the other hand, the CAPWAP management channel is used for transmitting and synchronizing VXLAN user access information between the first network equipment and the wireless access equipment, so that the management function of VXLAN is realized.
In a second aspect, the present application provides another data transmission method, which is applicable to a wireless access device, such as a wireless access point AP, in a VXLAN, and specifically, the method includes:
when a wireless terminal tries to access a destination terminal through wireless access equipment, the wireless access equipment sends a first request message to first network equipment, wherein the first request message comprises an identifier of the destination terminal; the wireless access equipment receives configuration parameters of a VXLAN data plane tunnel sent by the first network equipment, wherein the configuration parameters comprise the address of the destination access equipment, the wireless access equipment acquires the VXLAN data plane tunnel from the wireless access equipment to the destination access equipment according to the address of the destination access equipment, and the wireless access equipment and the destination access equipment both have the capability of being used as VTEP.
In addition, the destination access device is an edge device or an edge device in VXLAN.
With reference to the second aspect, in a possible implementation manner of the second aspect, the sending, by the radio access device, the first request message to the first network device includes: the wireless access equipment sends a first request message to the first network equipment by using the CAPWAP channel.
With reference to the second aspect, in another possible implementation manner of the second aspect, the sending, by the wireless access device, the first request message to the first network device includes: the wireless access equipment sends a first request message to the WAC by utilizing a CAPWAP channel, wherein the CAPWAP channel is a CAPWAP management channel.
With reference to the second aspect, in yet another possible implementation manner of the second aspect, before the sending, by the radio access device, the first request message to the first network device, the method further includes: the wireless access equipment sends first user access information to the first network equipment, wherein the first user access information comprises the corresponding relation between the wireless terminal and the wireless access equipment.
Optionally, in the case that the first network device obtains the address of the wireless access device in advance, the first user access information includes only the address of the wireless terminal.
With reference to the second aspect, in a further possible implementation manner of the second aspect, the sending, by the wireless access device, the first user access information to the first network device includes: and the wireless access equipment sends the first user access information to the first network equipment by using a CAPWAP channel or a VXLAN control plane tunnel. Wherein, the CAPWAP channel is a CAPWAP management channel.
It should be noted that, when the wireless access device is a traditional AP, only the CAPWAP protocol is supported, and the wireless access device sends the first request message and the first user access information by using the CAPWAP management channel; and sending the data message by using a CAPWAP data channel. If the wireless access device supports both the CAPWAP protocol and the VXLAN tunneling, the AP may utilize the CAPWAP management channel or the VXLAN control plane tunneling to transmit the first request message and the first user access information.
Optionally, the port number corresponding to the CAPWAP data channel is 5247.
Optionally, the identifier of the destination terminal is an address of the destination terminal.
In a third aspect, the present application further provides a data transmission method, which is applied to a WAC in VXLAN, and specifically, the method includes: when a wireless terminal tries to access a destination terminal through wireless access equipment, a WAC receives a first request message sent by the wireless access equipment by utilizing a first CAPWAP channel, wherein the first request message comprises an identifier of the destination terminal; the WAC sends a second request message comprising the destination terminal identification to the first network equipment; the WAC receives configuration parameters of a VXLAN data plane tunnel sent by first network equipment, wherein the configuration parameters comprise the address of destination end access equipment; the WAC acquires a VXLAN data plane tunnel from the WAC to the destination end access equipment according to the address of the destination end access equipment; and the WAC transmits data with the wireless access equipment by using a second CAPWAP channel and transmits data with the destination end access equipment by using a VXLAN data plane tunnel.
The first CAPWAP channel is a management channel, and the second CAPWAP channel is a data channel.
With reference to the third aspect, in a possible implementation manner of the third aspect, before the receiving, by the WAC, the first request message sent by the wireless access device using the CAPWAP channel, the method further includes: the WAC receives the address of the wireless access equipment from the wireless access equipment by using the CAPWAP channel; the WAC sends the address of the wireless access device to the first network device; acquiring a VXLAN control surface tunnel between the WAC and first network equipment; the WAC sends a second request message including the destination terminal identification to the first network equipment, and the method comprises the following steps: the WAC sends the second request message to the first network device using the VXLAN control plane tunnel.
With reference to the third aspect, in another possible implementation manner of the third aspect, before the receiving, by the WAC, the first request message sent by the wireless access device using the CAPWAP channel, the method further includes: the WAC receives first user access information sent by the wireless access equipment by utilizing a CAPWAP channel, wherein the first user access information comprises a corresponding relation between a wireless terminal and the wireless access equipment; and the WAC sends the first user access information to the first network equipment.
With reference to the third aspect, in yet another possible implementation manner of the third aspect, the transmitting, by the WAC, data with the wireless terminal by using a CAPWAP channel, and transmitting data with the destination access device by using a VXLAN data plane tunnel includes: the WAC receives a CAPWAP data message sent by the wireless access equipment by utilizing a CAPWAP channel; after the WAC decapsulates the CAPWAP data message, generating a VXLAN data message; and the WAC sends the VXLAN data message to the destination access equipment by using the VXLAN data plane tunnel.
In a fourth aspect, the present application further provides a data transmission device, which includes at least one module, such as a receiving module, a processing module, a sending module, and may further include other units and modules, such as a storage unit and the like.
When the apparatus is a first network device in VXLAN, the at least one module is configured to implement the data transmission method in the first aspect and various implementation manners of the first aspect.
When the apparatus is a wireless access device in VXLAN, the at least one module is configured to implement the data transmission method in the second aspect and various implementations of the second aspect.
When the device is a WAC in VXLAN, the at least one module is configured to implement the data transmission method in the third aspect and various implementations of the third aspect.
In a fifth aspect, the present application further provides a communication device, which is a device in VXLAN, specifically, the network device includes a processor and a memory, and the processor is coupled to the memory, and further, may further include a transceiver, etc. Wherein the memory is for storing computer program instructions; the processor is configured to execute the program instructions stored in the memory, so that the network device performs the methods in the various implementations of the foregoing first aspect, second aspect, and third aspect. The transceiver is used for realizing a data transmission function.
Specifically, when the communication device is a first network device, the transceiver is configured to receive a first request message sent by a wireless access device when the wireless terminal attempts to access a destination terminal through the wireless access device; the processor is used for determining destination terminal access equipment corresponding to the destination terminal according to the user access information; the transceiver is further configured to send, to the wireless access device, configuration parameters of a VXLAN data plane tunnel from the wireless access device to the destination access device, where the configuration parameters include an address of the destination access device.
In addition, when the communication device is a wireless access device, the transceiver is used for sending a first request message to the first network device when the wireless terminal attempts to access the destination terminal through the wireless access device; the device is further configured to receive a configuration parameter of a VXLAN data plane tunnel sent by the first network device, where the configuration parameter includes an address of the destination access device; and the processor is used for acquiring a VXLAN data plane tunnel from the wireless access equipment to the destination access equipment according to the address of the destination access equipment.
In addition, when the communication device is a WAC, the transceiver is configured to receive a first request message sent by the wireless access device using a CAPWAP channel when the wireless terminal attempts to access a destination terminal through the wireless access device, and send a second request message including an identifier of the destination terminal to the first network device; the network equipment is further configured to receive configuration parameters of the VXLAN data plane tunnel sent by the first network equipment, where the configuration parameters include an address of the destination access equipment.
The processor is used for acquiring a VXLAN data plane tunnel from the WAC to the destination access equipment according to the address of the destination access equipment; and transmitting data with the wireless access equipment by using the CAPWAP channel, and transmitting the data with the destination access equipment by using the VXLAN data plane tunnel.
Alternatively, the processor and the memory may be integrated in a PCB board.
Optionally, the processor and the memory may also be integrated into a chip circuit, and the chip circuit may implement the data transmission method in the foregoing various implementation manners.
In a sixth aspect, the present application further provides a network system, such as a VXLAN system, including a network device and a terminal device, where the network device includes an access switch, an aggregation switch, a core switch, a WAC, a VXLAN network controller, an edge device, a border device, and the like, further, the access switch includes a wireless access device and a wired access device, the terminal device includes a wireless terminal and a wired terminal, and the wireless terminal or the wired terminal can be connected to VXLAN through the access switch.
The network device may be the network device according to the fifth aspect; the structure of the terminal device may be the same as that of the network device in the fifth aspect described above.
Specifically, when a wireless terminal attempts to access a destination terminal through a wireless access device, the wireless access device sends a first request message to a first network device, wherein the first request message includes an identification of the destination terminal, and the wireless access device has a capability of being a VTEP.
The method comprises the steps that a first network device receives a first request message sent by a wireless access device, determines a destination access device corresponding to a destination terminal according to user access information, and sends configuration parameters of a VXLAN data plane tunnel to the wireless access device, wherein the user access information comprises the corresponding relation between the destination terminal and the destination access device, and the destination access device also has the capability of being used as a VTEP; the configuration parameters comprise the address of the destination terminal access equipment.
And the wireless access equipment receives the configuration parameters of the VXLAN data plane tunnel, acquires the VXLAN data plane tunnel from the wireless access equipment to the destination access equipment according to the address of the destination access equipment contained in the configuration parameters, and transmits data by using the VXLAN data plane tunnel.
Furthermore, in another possible implementation manner, when the network system includes the WAC and the wireless access device only supports the CAPWAP protocol, i.e. the legacy AP, the method is as follows:
when a wireless terminal tries to access a destination terminal through a wireless access device, the wireless access device sends a first request message to a WAC by using a first CAPWAP channel, wherein the first request message comprises the identification of the destination terminal, the wireless access device has the capability of being used as a VTEP, and the first CAPWAP channel is a CAPWAP management channel.
And the WAC receives a first request message sent by the wireless access equipment by utilizing the first CAPWAP channel, generates a second request message comprising the destination terminal identifier, and sends the second request message to the first network equipment through a VXLAN control plane tunnel.
And the first network equipment receives a second request message from the WAC, determines configuration parameters of a VXLAN data plane tunnel according to the second request message, and sends the configuration parameters to the WAC by utilizing the VXLAN control plane tunnel, wherein the configuration parameters comprise the address of the destination access equipment, and the destination access equipment has the capability of being used as a VTEP.
The WAC receives the configuration parameters sent by the first network equipment, and acquires a VXLAN data plane tunnel from the WAC to the destination end access equipment according to the address of the destination end access equipment; and transmitting data with the wireless access equipment by using a second CAPWAP channel, and transmitting the data with the destination access equipment by using the VXLAN data plane tunnel, wherein the second CAPWAP channel is a CAPWAP data channel.
In the method provided by the aspect, the WAC is used for managing and forwarding the user access information, and a VXLAN data plane tunnel between the destination access equipment in the VXLAN and the WAC is obtained, so that the data transmission between the destination access equipment and the WAC is realized, in addition, the original CAPWAP channel is still adopted between the WAC and the wireless access equipment, such as the traditional AP, for transmitting data, and the data transmission from the traditional AP to the destination equipment in the VXLAN is realized.
In a seventh aspect, the present application further provides a computer-readable storage medium, where instructions are stored, so that when the instructions are executed on a computer or a processor, the instructions may be used to perform the methods in the foregoing first aspect and various implementations of the first aspect, or may also perform the methods in the foregoing second aspect and various implementations of the second aspect, or may also perform the methods in the foregoing third aspect and various implementations of the third aspect.
In addition, the present application also provides a computer program product comprising computer instructions that, when executed by a computer or a processor, may implement the methods in the various implementations of the foregoing first to third aspects.
It should be noted that, beneficial effects corresponding to technical solutions of various implementation manners of the second aspect to the seventh aspect are the same as the beneficial effects of the first aspect and the various implementation manners of the first aspect, and for specific reference, beneficial effect descriptions in the various implementation manners of the first aspect and the first aspect are referred to, and are not described again.
Drawings
Fig. 1 is a schematic diagram of a centralized WLAN networking architecture according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a channel forwarding data packet according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a direct forwarding data packet according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a direct-connection WAC networking according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an integrated WAC networking according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a VXLAN model according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of another VXLAN model provided in an embodiment of the present application;
fig. 8 is a signaling flowchart of a data transmission method according to an embodiment of the present application;
fig. 9a is a schematic diagram of acquiring a VXLAN data plane tunnel according to an embodiment of the present application;
fig. 9b is a schematic diagram of another example of acquiring a VXLAN data plane tunnel according to the present application;
fig. 10 is a schematic diagram of obtaining VXLAN control plane networking according to an embodiment of the present application;
fig. 11 is a signaling flowchart of data transmission between an Edge device and an Edge device according to an embodiment of the present application;
fig. 12 is a signaling flowchart of data transmission between an Edge device and a Border device according to an embodiment of the present application;
FIG. 13 is a diagram illustrating information transmission via a CAPWAP management channel according to an embodiment of the present disclosure;
fig. 14 is a schematic structural diagram of a control plane networking for wired and wireless interworking provided in an embodiment of the present application;
fig. 15 is a schematic structural diagram of a data plane networking for wired and wireless interworking provided in the embodiment of the present application;
fig. 16 is a schematic diagram of a VXLAN architecture for independent deployment of WACs according to an embodiment of the present application;
fig. 17 is a schematic diagram of another VXLAN architecture for independent deployment of WACs according to an embodiment of the present application;
fig. 18 is a schematic structural diagram of a control plane networking when a WAC is deployed independently according to an embodiment of the present application;
fig. 19 is a schematic structural diagram of another control plane networking when a WAC is deployed independently according to an embodiment of the present application;
fig. 20 is a schematic structural diagram of another control plane networking for wired and wireless interworking provided in the embodiment of the present application;
fig. 21 is a signaling flowchart of another data transmission method according to an embodiment of the present application;
fig. 22 is a schematic structural diagram of a data plane networking for a WAC to handle VXLAN according to an embodiment of the present application;
fig. 23 is a schematic structural diagram of a VXLAN control plane obtained by multiplexing a CAPWAP channel according to an embodiment of the present application;
fig. 24 is a schematic structural diagram of a control plane networking employing a controller according to an embodiment of the present application;
fig. 25 is a schematic structural diagram of a data plane networking system using a controller according to an embodiment of the present application;
fig. 26 is a schematic structural diagram of a control plane networking for multiplexing CAPWAP channels according to an embodiment of the present application;
fig. 27 is a schematic structural diagram of a data transmission device according to an embodiment of the present application;
fig. 28 is a schematic structural diagram of a communication device according to an embodiment of the present application;
fig. 29 is a schematic structural diagram of a switch according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions in the embodiments of the present application better understood by those skilled in the art, the technical solutions in the embodiments of the present application are further described in detail below with reference to the accompanying drawings. Before describing the technical solutions of the embodiments of the present application, first, the application scenarios and related technical terms of the embodiments of the present application are described with reference to the drawings.
A Wireless Local Area Network (WLAN) is an economical and efficient network access method. Through the WLAN technology, a user can conveniently access to a wireless network and freely move in the coverage area of the wireless network, so that the user is completely free from the constraint of a wired network.
An enterprise WLAN network generally adopts a centralized architecture, i.e., an architecture combining a Controller and an Access Point (AP), for example, as shown in fig. 1, the Controller supports a Wireless Access point control and Provisioning (CAPWAP) protocol communication, and when the Controller and the AP communicate by using a CAPWAP channel, the Controller is also called a Wireless Access Controller (WAC). In addition, the controller is a network controller when the controller and the AP do not use CAPWAP protocol communication.
The WAC is responsible for uniformly handling security, control, and management functions of all devices, including mobility management, identity authentication, Virtual Local Area Network (VLAN) partitioning, radio frequency resource management, packet forwarding, and the like. Also, the WAC carries management flows (i.e., management packets) and data flows (i.e., data packets, sometimes also referred to as traffic packets, or traffic flows). The management flow needs to be packaged in a CAPWAP management channel for transmission, and the data flow can be selected whether to be packaged in a CAPWAP data channel for transmission according to actual conditions. The AP is responsible for performing radio access functions including radio signal transmission and probe response, data encryption and decryption, and data transmission confirmation.
The AP and the WAC communicate by adopting a CAPWAP protocol, a communication rule between the AP and the WAC is defined in the CAPWAP protocol, and the CAPWAP protocol provides a general encapsulation and transmission mechanism for realizing the intercommunication between the AP and the WAC, so that the AP and the WAC can transmit across a two-layer network or a three-layer network.
In particular, the CAPWAP channels may be divided into two categories, CAPWAP data channels and CAPWAP management channels. The CAPWAP data channel is used for carrying protocol data packets between the AP and the AC, such as Ethernet protocol data packets. The CAPWAP management channel is used for realizing the configuration of the remote AP and the management of the WLAN network. For example, the port number corresponding to the CAPWAP management channel is 5246, and the port number corresponding to the CAPWAP data channel is 5247.
In addition, in the CAPWAP data channel, forwarding can be divided into two forwarding modes according to whether the data stream is encapsulated in the CAPWAP data channel: one is tunnel forwarding and the other is direct forwarding.
So-called tunnel forwarding, also called centralized forwarding, is generally used in a scenario for centrally controlling wireless user traffic. The method is that an AP forwards a data message (or a data packet) to a WAC through a CAPWAP data channel, and then the data message is forwarded by the WAC in a unified manner, as shown in fig. 2, the data message is transmitted between an access point a1 and the WAC through the CAPWAP data channel (abbreviated as line 1). Similarly, A8 transmits data message with the WAC through another CAPWAP data channel (abbreviated as line 4). Wherein lines 1 and 4 are commonly used in scenarios for centralized control of wireless subscriber traffic. In addition, the control messages between a1 and A8 to the core switch D1 are transmitted through a CAPWAP management channel, for example, the CAPWAP management channel between a1 and the WAC is line 2, and the CAPWAP management channel between A8 and the WAC is line 4.
By direct forwarding, also called local forwarding or distributed forwarding, it is meant that a data packet (or data packet) is directly sent from an AP to a core switch without being forwarded through a WAC, and the data packet does not go through a CAPWAP data channel for transmission, such as line 1 and line 3 shown in fig. 3, where line 1 is used to implement data transmission between a1 and the core switch, and line 3 is used to implement data transmission between A8 and the same core switch. In addition, the line 2 and the line 4 are used for transmitting control messages, and a CAPWAP management channel is adopted for transmission and needs to be forwarded through the WAC.
In addition, the deployment of WACs in WLAN networks is generally classified into a side-hung type networking and a direct connection type networking.
The WAC is suspended in the existing network, and is generally deployed beside a core switch or a convergence switch with a high probability, so as to implement WLAN service management for an AP, where the network structures shown in fig. 2 and 3 all belong to a suspended network. In the side-hung type networking, the AP transmits the data message by adopting the tunnel forwarding or direct forwarding. The core switch D1 or the aggregation switch C1/C2 may be a Cluster Switch System (CSS), and each CSS includes at least one switch.
The direct connection type networking, as shown in fig. 4, refers to that the WAC directly accesses the AP or the small aggregation switch, at this time, the functions of the WAC and the core switch or the WAC and the aggregation switch are summarized, and the data stream and the management stream of the AP are both forwarded and processed by the summarized WAC. In the direct connection type networking mode, the AP and the WAC can establish connection through a CAPWAP management channel, and the WAC realizes centralized configuration and management of all the APs through the CAPWAP management channel.
The data stream between the AP and the WAC may be transmitted through the CAPWAP data channel, that is, the foregoing tunnel forwarding mode is adopted, or the AP may directly forward the data stream to the WAC, that is, the foregoing direct forwarding mode is adopted. In the direct connection type networking, the WAC is naturally connected in series in a line, so that a direct forwarding mode is mostly adopted, and the wireless data is locally forwarded on the AP.
In addition, WACs are also classified into two types, a split-type WAC and an integrated-type WAC, according to their implementation.
The separated WAC, also called as an independent WAC, refers to that the WAC is deployed as an independent network device, and is usually used in a scenario where a large network or a WLAN is independently established. The networking mode may be a side-hung networking mode, as shown in fig. 2 or fig. 3, or a direct connection networking mode, as shown in fig. 4.
The integrated WAC is a wireless management function integrated on a wired network device, such as a switch or a router, or integrated in a wired device by using a plug-in card manner, and is mainly applied in a scene of wired or wireless unified construction and management. The networking model is shown in fig. 5, and therefore, the networking mode of the integrated WAC is similar to that of direct connection networking, and the wireless forwarding efficiency is improved compared with that of side-hanging networking.
It should be noted that, in this embodiment, a side-hanging type networking is taken as an example for description, and a direct connection type networking is similar to the side-hanging type networking, so that a separate description is omitted.
Fig. 6 is a schematic diagram of a VXLAN structure according to this embodiment. The VXLAN includes:
(1) virtual Access Point (VAP): VAPs are service access points for VXLANs and can access services based on VLAN networks or packet stream encapsulation types.
(2) VXLAN Network identity (VXLAN Network Identifier, VNI): similar to VLAN IDs in conventional networks, for differentiating VXLAN segments, tenants of different VXLAN segments cannot directly perform two-layer network communication. One network may divide one or more VNIs. Each VNI is composed of 24 bits, and can support up to 16M (mega) VXLAN network segments, and two-layer network interworking between different VNIs cannot be directly performed.
(3) Broadcast Domain (BD): similarly to the VLAN broadcast domain division method employed in the conventional network, the division of the broadcast domain at VXLAN can be represented by a BD (or BD ID). In VXLAN, VNIs are mapped to BDs in a 1:1 manner, one BD may represent one broadcast domain, and hosts within the same BD may perform two-layer network interworking.
(4) VXLAN Tunnel Endpoints (VTEPs): the VTEP can encapsulate and decapsulate VXLAN messages. The source IP address in the VXLAN message is the IP address of the source VTEP, and the destination IP address is the IP address of the destination VTEP. The IP address of a pair of VTEPs corresponds to a VXLAN tunnel. And after the source end VTEP encapsulates the message, sending the encapsulated message to the IP address of the destination end VTEP through the VXLAN tunnel, and after receiving the encapsulated message, the destination end VTEP equipment carries out decapsulation processing.
The process of packaging the VXLAN message comprises the following steps: an original frame (original L2 frame) is added with a VXLAN frame header during the encapsulation process, and then encapsulated in an outer UDP frame header, and encapsulated by using the IP and MAC addresses of the bearer network as the outer header, so as to obtain a VXLAN packet.
The explanations of the various fields in the VXLAN frame header, outer UDP frame header, outer IP frame header, and outer ethernet frame header are shown in table 1. The meaning of each field in the VXLAN message is not explained in detail here.
TABLE 1
Figure BDA0002576533000000081
Figure BDA0002576533000000091
(5) Network Virtual Edge (NVE): NVE is a network entity that implements network virtualization functionality. After the message is packaged and forwarded by the NVE, a two-layer virtual network can be established between the NVE and the NVE based on a three-layer basic network.
Like traditional VLAN networks, VXLAN also has intra-VXLAN and inter-VXLAN inter-visits.
(6) HOST (HOST) is a terminal device that can access VXLAN through VAP.
Wherein VXLAN also supports intra-VXLAN and inter-VXLAN inter-access, similar to traditional VLAN networks.
Layer two gateway (L2 gateway): like the two-layer access device of the conventional network, the problem of tenant access to the VXLAN virtual network is solved in VXLAN through a two-layer gateway, and the two-layer gateway can also be used for subnet communication of the same VXLAN virtual network (VXLAN Fabric). As shown in fig. 6, there is mutual access traffic between HOST 1 and HOST 2 within the same virtual network because the same VNI is used. Optionally, the VNI is 1000.
Three-tier gateway (L3 gateway): similar to the traditional network, the users of different VLANs cannot directly perform two-layer mutual access, and VXLAN between different VNIs and non-VXLAN cannot directly communicate with each other. To enable communication between different VXLANs, as well as between VXLAN and non-VXLAN, the concept of a VXLAN three-layer gateway was introduced. The three-layer gateway is used for cross-subnet communication of VXLAN virtual network and access of external network. As shown in fig. 6, there is internetworking traffic between HOST 1 and HOST 3 because the VNIs used differently, for example, the VNI used by HOST 1 is 1000 and the VNI used by HOST 3 is 2000.
For ease of illustration and understanding, the present embodiment transforms the VXLAN architecture shown in fig. 6 into the VXLAN networking model shown in fig. 7, and VXLAN is generally composed of two roles as shown in fig. 7. One egress, called Border (Border), representing VXLAN interfaces with an external network, usually a three-layer gateway in VXLAN, functioning similarly to the egress gateway of a traditional underlying physical network. Another access, referred to as Edge (Edge), representing VXLAN access end user's segment, generally corresponds to a VAP in VXLAN, which acts like an access switch or AP in the underlying physical network.
For ease of differentiation and illustration, the underlying physical network is often referred to as an underlay (underlay) network and the virtualized network is referred to as an overlay (overlay) network or Fabric. And the Border device and the Edge device or the Edge device and the Edge device are connected through the VXLAN Fabric. External traffic is accessed to the Edge device through the exit of the Border device, and data transmission between the Border device and the access point A8 is external traffic transmission as shown by a line 1 in fig. 7; internal traffic is transmitted between Edge devices, and data transmission between access points a1 and A8 shown as line 2 in fig. 7 is internal traffic transmission.
The VXLAN can superpose a two-layer virtual network on a network with an accessible random route, and realizes the intercommunication inside the VXLAN through a VXLAN gateway, and simultaneously can realize the intercommunication with the traditional non-VXLAN. VXLAN extends a two-tier network by encapsulating a two-tier message with a three-tier Protocol (UDP) by using a message encapsulation method of placing Media Access Control (MAC) into a User message Protocol (UDP), abbreviated as "MAC in UDP", so that the ethernet message is encapsulated on an Internet Protocol (IP) message, transmitted in the network through routing without paying attention to the MAC address of a virtual machine, and the routing network is not limited by a network structure, has a large-scale expansion capability, and is not limited by a network architecture even if the virtual machine migrates through the routing network.
In VXLAN, the enabled AP only supports VXLAN data plane function and VXLAN data encapsulation function, and does not support VXLAN control plane forwarding function, but control plane forwarding still uses CAPWAP channel to communicate with WAC, and the AP cannot directly acquire VXLAN control plane tunnel with WAC or other VXLAN edge devices. In the wireless traffic transmission process, the AP at the traffic access end encapsulates the wireless traffic into VXLAN of different VNIs according to a Service Set Identifier (SSID), and the AP at the traffic exit end decapsulates the VXLAN traffic of different VNIs and transmits the decapsulated traffic to the wireless terminal through the corresponding SSID. The access switch corresponds to a relay gateway for the AP to access the VXLAN, and transmits wireless traffic in the VXLAN formed by a wired network.
As mentioned above, the current method and process for acquiring the VXLAN tunnel by the AP are very complex, and require a lot of mutual coordination and synchronization among the WAC, the AP and each component (e.g., VXLAN network controller, access switch) in the wired VXLAN, which makes the management and operation and maintenance difficult. Meanwhile, the forwarding of the data stream is also completed in stages, so that the end-to-end forwarding process is complex and has low efficiency, and fault positioning and elimination are not convenient.
Based on this, the technical solution of the embodiment of the present application aims to provide a simple and effective method and system for an AP to support VXLAN, which can simplify a procedure for the AP to create VXLAN on one hand, and can also simplify a procedure for the AP to forward VXLAN traffic on the other hand, thereby improving traffic forwarding efficiency.
To solve the technical problem, this embodiment provides a data transmission method, which is applicable to the VXLAN networking architecture shown in fig. 7, wherein the method is executable by a network device in VXLAN, such as a first network device, as shown in fig. 8, and the method includes:
101: when a wireless terminal tries to access a destination terminal through wireless access equipment, first network equipment receives a first request message sent by the wireless access equipment, wherein the first request message comprises an identifier of the destination terminal.
Wherein the first network device is a core switch having WAC and/or VXLAN network controller functionality. Wherein the VXLAN network controller is used for information synchronization and management.
In addition, the identification of the destination terminal includes an address of the destination terminal, such as an IP address and/or a MAC address, or also includes a number of the destination terminal, such as terminal 1.
Optionally, the first network device receives the first request message sent by the wireless access device through a CAPWAP channel or a VXLAN control plane tunnel.
102: the first network equipment determines destination terminal access equipment corresponding to the destination terminal according to user access information, wherein the user access information comprises: and the corresponding relation between the destination terminal and the destination access equipment.
Wherein the wireless access device and the destination access device both have the capability to be VXLAN tunnel endpoint VTEP. Specifically, the VTEP can encapsulate and decapsulate the VXLAN message. After the data message is encapsulated by the radio access equipment VTEP of the source end, the data message is sent to the VTEP equipment of the destination end through the VXLAN tunnel, and the VTEP equipment of the destination end de-encapsulates the encapsulated data message after receiving the encapsulated data message to obtain the transmitted data.
In step 102, the corresponding relationship includes a corresponding relationship between an address of a destination terminal and an address of a destination access device, and the first network device determines the address of the destination access device according to the address of the destination terminal in the first request message and the corresponding relationship between the address of the destination terminal and the address of the destination access device.
In addition, the user access information can be obtained in advance, when a terminal device accesses to the VXLAN through an access device, the access device reports the address of the currently accessed terminal device to the first network device, and the first network device receives and uniformly manages all the user access information. The access equipment comprises wireless access equipment and wired access equipment. Optionally, the wireless access device is an AP.
Optionally, the first network device may receive the user access information by using a CAPWAP channel, or receive the user access information by using a VXLAN control plane tunnel. Further, a VXLAN control plane tunnel and a VXLAN data plane tunnel are included in VXLAN.
Specifically, the VXLAN control plane tunnel, abbreviated as "VXLAN control plane", is mainly responsible for mutual notification of host information (usually part of terminal access information), discovery of VTEPs, and the like, and simply, synchronizes user access information and information such as a source end (address of source VTEP) and a destination end (address of destination VTEP) of a VXLAN forwarding path, thereby providing necessary information for acquiring a VXLAN data plane tunnel.
Generally, a BGP (Border Gateway Protocol) EVPN (Ethernet Virtual Private Network) or LISP (Locator ID Separation Protocol) is used as a VXLAN control plane communication Protocol, a sending end (e.g. a Border device) includes VTEP addresses and host information in Protocol messages, and a receiving end (e.g. an AP) obtains VTEP addresses and host information of a communication peer by analyzing the Protocol messages.
Further, EVPN is a VPN technology for two-layer network interconnection. The EVPN technology adopts a mechanism similar to BGP/MPLS IP VPN, defines a new Network Layer Reachability Information (NLRI), namely EVPN NLRI, on the basis of a BGP protocol, wherein the EVPN NLRI defines several new BGP EVPN routing types for learning and publishing MAC addresses between different sites in a two-Layer Network.
Additionally, LISP is essentially an IPinIP protocol. LISP proposes to distinguish and superpose and encapsulate the IP for identifying the Locator and the IP for identifying the destination node ID, and the LISP only forwards the IP according to the Locator when transmitting in a public network, only strips the outer layer IP when reaching the edge of the site, and forwards the IP by using the inner layer identification EID. The IP of the Locator is a Routing Locator (RLOC), and the IP of the destination node ID may be an Endpoint Identifier (EID).
In summary, EVPN newly defines several BGP EVPN routes by extending BGP protocol, and these BGP EVPN routes can be used to transfer VTEP addresses and host information, so that application of EVPN to VXLAN networks can enable VTEP discovery and host information learning to be transferred from the data plane to the control plane, i.e., to create VXLAN data plane tunnels.
The VXLAN data plane tunnel is called a VXLAN data plane for short, and may also be called a VXLAN forwarding plane, which actually refers to a conventional VXLAN tunnel, and is mainly responsible for forwarding data packets and transmitting the VXLAN data packets from a source end to a destination end. The VXLAN data message is generated by packaging a data packet or a data message. The source IP address in the VXLAN data message is the IP address of the source end VTEP, and the destination IP address is the IP address of the destination end VTEP. A pair of VTEP addresses corresponds to a VXLAN data plane tunnel. And after the source end packages the message, sending the packaged message to the destination end VTEP through the VXLAN data plane tunnel, and after receiving the packaged message, the destination end VTEP decapsulates the packaged message.
103: and the first network equipment sends the configuration parameters of the VXLAN data plane tunnel from the wireless access equipment to the destination access equipment to the wireless access equipment, wherein the configuration parameters comprise the address of the destination access equipment.
Correspondingly, the wireless access device receives the configuration parameter of the VXLAN data plane tunnel, takes the address of the destination access device in the configuration parameter as the destination source VTEP address, and determines the route forwarding information with the destination access device, thereby acquiring the VXLAN data plane tunnel from the wireless access device to the destination access device.
The destination access device may be an Edge device or a Border device. When the destination access device is an Edge device, such as the AP shown in fig. 9a, the VXLAN data plane tunnel between the Edge device and the Edge device is obtained according to the configuration parameter, so that data transmission between the Edge devices is realized. When the destination access device is a Border device, such as the core switch shown in fig. 9b, the VXLAN data plane tunnel between the Edge device and the Border device is obtained according to the configuration parameter, so that data transmission between the Edge device and the Border device is realized.
In the method provided by this embodiment, when the wireless terminal accesses the VXLAN through the wireless access device, through the request message sent by the wireless access device, the network device may determine the address of the destination access device according to the identifier of the destination terminal in the request message and the user access information in the VXLAN, and issue the address to the wireless access device, thereby obtaining a VXLAN data plane tunnel between the wireless access device and the destination access device, and implementing data communication between the wireless access device and the edge device or the boundary device in the VXLAN.
In addition, because the destination access device and the wireless access device both have VTEP capability, when the VXLAN data plane tunnel is used for transmitting data, the data is prevented from being forwarded in stages, and only one time of the decapsulation operation of VXLAN messages is needed, so that the data transmission efficiency is improved, and the performance pressure of the access device is relieved.
The technical solutions provided by the embodiments of the present application are described in detail below.
Example one
For simplicity of description, the technical solution of this embodiment may adopt a networking architecture as shown in fig. 10, referring to fig. 10, a VXLAN includes a Border device and an Edge device, where the Border device integrates all functions of the WAC, and the Edge device is a wireless access device, such as an AP, and each AP is associated with at least one terminal device. The Border equipment is used for uniformly managing VXLAN user access information and synchronizing the access information to each AP according to needs so as to acquire VXLAN data plane tunnels among different APs.
The Border device may be a core switch, and the Edge device may be a wired access device, such as an access switch or an aggregation switch, or the Edge device may also be a wireless access device, such as an AP. In this embodiment, the Edge device is a wireless access device AP, and the AP has a capability of serving as a VXLAN tunnel endpoint VTEP.
In the networking architecture shown in fig. 8, the Border device integrates the functions of the WAC, VXLAN network controller, and core switch. Understandably, the Border device can be referred to as a core switch that integrates the functionality of the WAC and VXLAN network controllers. For the sake of distinction, the present embodiment refers to the core switch (i.e., the Border device) integrated with the WAC and VXLAN network controller functions as a "first network device".
In this embodiment, it is assumed that each terminal accesses VXLAN through an access device, for example, a wireless terminal accesses VXLAN through a wireless access device AP 1. The wireless terminal is a source terminal, the AP1 is a source access device, and the source access device is a radio access device. The destination terminal which the source terminal requests to access may be a wireless terminal or a wired terminal, and the destination terminal is connected to the VXLAN through a destination access device, and the destination access device may be a wired access device or a wireless access device. In order to implement data traffic access between a source terminal and a destination terminal, this embodiment provides a data transmission method, as shown in fig. 11, where the method includes:
200: the first access point AP1 obtains a VXLAN control plane tunnel with the first network device.
Specifically, the AP1 sends a broadcast packet, the first network device receives the broadcast packet and feeds back an address, such as an IP address and/or a MAC address, of the first network device to the AP1, and after the AP1 receives the address sent by the first network device, the VXLAN control plane tunnel is described according to the address, as shown in fig. 10.
201: when the wireless terminal UE1 accesses VXLAN through AP1, AP1 sends first user access information to the first network device using the VXLAN control plane tunnel. Correspondingly, the first network device receives the first user access information sent by the AP 1.
The first user access information includes a correspondence between a wireless terminal and a wireless access device, for example, the first user access information includes a correspondence between a UE1 and an AP1, and further includes a correspondence between an address of a UE1 and an address of an AP 1.
Alternatively, another possible implementation is that the first user access information only comprises an address of the wireless terminal, such as an IP address and/or a MAC address of the UE 1. Specifically, when the UE1 connects to VXLAN through the AP1, the first user access information reported by the AP1 includes the IP address and/or MAC address of the UE 1.
Before the UE1 accesses the VXLAN, the method further includes: the AP1 is registered to VXLAN, that is, the AP1 registers its own related information, such as the IP address, MAC address and AP identification of the AP1, in the first network device. Therefore, in step 201, the AP1 only needs to report the first user access information carrying the UE1 address content to the first network device, and after the first network device receives the first user access information including the UE1 address, the first network device can establish the corresponding relationship between the wireless terminal UE1 and the wireless access device AP1, so in this embodiment, the AP1 does not need to report the address of the AP1 to the first network device.
It should be understood that in this embodiment, other access devices in VXLAN, including wired or wireless access devices, are also registered in the first network device, i.e., the first network device acquires the addresses of all access switches and APs that have been registered in VXLAN.
Similarly, if other terminals access VXLAN, the AP associated with these terminals also reports the respective user access information to the first network device through VXLAN control plane tunnel. For example, when the UE2 connects to VXLAN through the second access point AP2, the AP2 sends second user access information to the first network device through another VXLAN control plane tunnel, where the second user access information includes a correspondence between an address of the UE2 and an address of the AP2, or includes an address of the UE 2.
After receiving the first user access information from the AP1, the second user access information from the AP2, and possibly user access information reported by other APs, the first network device manages the user access information in a unified manner. And the AP1, the AP2, and all other Edge devices acquire the user access information of the destination terminal from the first network device as required. For example, according to the first user access information, the first network device learns that the UE1 accesses the VXLAN through the AP1 and the address of the UE1, so as to establish a correspondence relationship between the address of the UE1 and the address of the AP 1. Similarly, the UE2 is informed of accessing to VXLAN according to the second user access information, and the address of the UE2 is informed, so as to establish a corresponding relationship between the address of the UE2 and the address of the AP 2.
202: when the UE1 attempts to access a destination terminal, the AP1 sends a first request message to the first network device, the first request message including an identification of the destination terminal. Correspondingly, the first network device receives the first request message sent by the AP 1.
The identifier of the destination terminal may be an address of the destination terminal, such as an IP address or a MAC address.
Optionally, the AP1 sends the first request message using the VXLAN control plane tunnel in step 200.
203: the first network device sends the configuration parameters of the VXLAN data plane tunnel to the AP1, where the configuration parameters of the VXLAN data plane tunnel include an address of a destination access device. Correspondingly, the AP1 receives the configuration parameters sent by the first network device.
Specifically, after receiving the first request message, the first network device determines the address of the destination access device according to the address of the destination terminal carried in the first request message and the access information of all users in the VXLAN in step 201, and then sends the address of the destination access device to the AP1 through the VXLAN configuration parameters.
For example, the first network device determines that the destination access device is AP2 according to the user access information reported by all APs and the IP address of the destination terminal being UE2, because the second user access information reported by AP2 indicates that UE2 and AP2 have a corresponding relationship; the address of the AP2 is then transmitted to the AP1 through a first response message. The AP2 is an Edge device, and the address of the AP2 is at least one of an IP address or a MAC address of the AP 2.
204: the AP1 obtains the first VXLAN data plane tunnel with the destination access device according to the address of the destination access device.
Specifically, the AP1 determines the routing forwarding information between the AP1 and the destination access device by using the address of the destination access device as the destination source VTEP address, thereby acquiring the first VXLAN data plane tunnel.
When the AP1 already stores the route forwarding information to reach the destination VTEP address, the corresponding VXLAN data plane tunnel and the corresponding VNI are selected, and the selected VXLAN data plane tunnel is the first VXLAN data plane tunnel. When the AP1 does not have the route forwarding information to reach the destination VTEP, it creates new relevant route forwarding information, that is, creates a VXLAN data plane tunnel and binds the corresponding VNI, and obtains the VXLAN data plane tunnel.
205: the AP1 utilizes the first VXLAN data plane tunnel to communicate data with a destination access device.
The data is a VXLAN message formed by packaging a data packet or a data message for one time. Specifically, after encapsulating the packet into a VXLAN message, the AP1 sends the VXLAN message to the destination access device, for example, the AP2, through the first VXLAN data plane tunnel.
Correspondingly, after receiving the VXLAN message sent by the AP1 through the first VXLAN data plane tunnel, the AP2 decapsulates the VXLAN message to obtain original data, and then transmits the original data to a destination terminal associated with the AP 2.
When the destination access device associates two or more terminal devices, the first VXLAN data plane tunnel from the wireless access device to the destination access device is obtained and data is transmitted using the first VXLAN data plane tunnel as long as the address of the destination access device is determined according to the configuration parameters.
When the destination access device of the traffic is an Edge device, as shown in fig. 9a, for example, as AP2, the internal traffic is directly transmitted from the source access device AP1 to the opposite Edge device AP2 through the first VXLAN data plane tunnel, and then the AP2 forwards the traffic to the corresponding terminal device.
In the method provided by the embodiment, when a terminal device accesses to the VXLAN, each access device reports its own user access information to the first network device, and the user access information is managed by the first network device in a unified manner, so that the complexity of managing and synchronizing the user access information is greatly reduced, the network architecture is simplified, and meanwhile, extremely simplified management and resource configuration are realized. For example, when the wireless terminal UE1 accesses VXLAN through the wireless access device AP1, the AP1 reports the user access information of the UE1 to the first network device, and acquires the address of the traffic destination access device AP2 by requesting, so as to acquire a VXLAN data plane tunnel with the AP2, and implement data transmission between the AP1 and the AP2 by using the VXLAN data plane tunnel. The data is prevented from being forwarded stage by stage, and the destination access device AP2 only needs to perform one-time decapsulation operation on the data message, so that the transmission efficiency is improved, and the performance pressure of the access switch AP is relieved.
In this embodiment, a process of establishing a VXLAN data plane tunnel between two Edge devices (AP1 and AP2) and transmitting data through the tunnel is described, and in addition, a process of establishing a VXLAN data plane tunnel between an Edge device and a Border device and completing data transmission may also be included.
Specifically, as shown in fig. 12, when the destination terminal is an extranet device and the extranet device is connected to the VXLAN through a Border device, the destination access device is the Border device, and in this embodiment, the Border device is the first network device, in the step 202, the first request message includes an identifier of the extranet device. Step 203 above is replaced by:
203': the first network device sends configuration parameters of a VXLAN data plane tunnel to the AP1, where the configuration parameters include an address of the first network device. Correspondingly, the AP1 receives the configuration parameters sent by the first network device.
204': the AP1 obtains a second VXLAN data plane tunnel with the first network device based on the address of the first network device. The address of the first network device comprises an IP address and/or a MAC address of the first network device.
The detailed process is the same as the step 204, and is not described in detail here.
205': the AP1 utilizes the second VXLAN data plane tunnel for data transmission with the first network device.
In this embodiment, when the destination terminal is an external network device and the traffic destination access device is a Border device, as shown in fig. 9b, the traffic accessing the outside is directly transmitted from the AP1 to the Border device through the second VXLAN data plane tunnel, and then the traffic is transmitted outside the VXLAN.
The method provided by the embodiment, no matter external traffic transmission or internal traffic transmission, only needs one decapsulation operation of the VXLAN message in the transmission process of the VXLAN, thereby improving the forwarding efficiency of the VXLAN message, and meanwhile, a VXLAN data plane tunnel is automatically established between two Edge devices, between an Edge device and a Border device as required, thereby simplifying configuration management.
Optionally, if the wireless access device AP1 supports the CAPWAP protocol, the first network device may transmit the related information using a CAPWAP management channel with the AP 1. Specifically, as shown in fig. 13, the step 201 includes: 201': the AP1 sends the first user access information to the first network device through a CAPWAP management channel.
In particular, the CAPWAP protocol defines communication rules between wireless access points (such as APs) and WACs, providing a generic encapsulation and transport mechanism for achieving interoperability between APs and WACs. The CAPWAP channel comprises a CAPWAP data channel and a CAPWAP management channel, and further the CAPWAP data channel is used for bearing an 802.3 protocol data packet between the AP and the WAC; the CAPWAP management channel is used for realizing remote AP configuration and WLAN or VXLAN management.
In this embodiment, when the CAPWAP protocol is adopted, the CAPWAP management channel is used for the management information interaction between the AP and the first network device, on the one hand, to implement the conventional WLAN management function; and on the other hand, the CAPWAP management channel is used for transmitting and synchronizing VXLAN user access information between the Border equipment and the AP equipment, so that the management function of VXLAN is realized.
In addition, in step 202, the AP1 may further send the first request message to the first network device by using a CAPWAP management channel. Correspondingly, in step 203, the first network device sends the configuration parameters of the VXLAN data plane tunnel to the AP1 by using the CAPWAP management channel.
It should be noted that the destination access device and the destination terminal may be connected by wire, for example, as shown in fig. 14, the access switch and the wired terminal are connected by wire, and the wired terminal is a computer. Alternatively, the destination access device and the destination terminal may be wirelessly connected, for example, wirelessly connected through a WLAN, and the specific connection manner is not limited in this embodiment.
As shown in fig. 15, in this embodiment, when VXLAN has a wired or wireless connection, the source access device AP1 may directly acquire a VXLAN data plane tunnel with the destination access device AP2, thereby implementing the interworking between wired and wireless networks.
Example two
In this embodiment, the first network device is a Border device, the Border device includes a VXLAN network controller but does not include a WAC, the WAC is deployed in VXLAN as a separate device, where the WAC is used to process access information of a wireless subscriber, and the WAC supports synchronizing AP-related information and subscriber access information to the first network device, so that the first network device can uniformly manage devices (including wired devices and wireless devices) and subscriber devices (including wireless subscribers and wired subscribers) in VXLAN.
In addition, the source-end wireless access device AP1 may be deployed in VXLAN, as shown in fig. 16, AP1 is an Edge device; alternatively, AP1 can also be deployed outside of VXLAN, as shown in fig. 17. When the AP1 is a legacy AP, supporting only the CAPWAP protocol, the VXLAN architecture employs the architecture shown in fig. 17.
Specifically, the method comprises the following steps:
300: the wireless access device AP1 registers with the WAC.
Specifically, when the AP1 comes online, the AP1 transmits related information of the AP1, such as an address and a number of the AP1, to the WAC so as to register the related information of the AP1 at the WAC. Specifically, the AP1 may send the information about the AP1 to the WAC using a CAPWAP management channel.
301: after the WAC completes the registration of the AP1, the related information of the AP1 is synchronized to the first network device, so that the first network device also knows the related information of the AP 1. Correspondingly, the first network device receives the information about the AP1 sent by the WAC.
Specifically, the WAC sends the information related to the AP1 to the first network device through the VXLAN control plane tunnel. Similarly, if there are other APs on line, such as AP2, WAC registers the related information of other APs to WAC by using the method of step 300 and step 301, and then synchronizes the related information of APs to the first network device.
302: and the first network equipment acquires the VXLAN control plane tunnel according to the related information of the AP 1.
In one embodiment, as shown in fig. 18, when the AP1 is an Edge device in a VXLAN, the first network device obtains a VXLAN control plane tunnel between itself and the AP1 according to the information about the AP 1. Similarly, the first network device obtains the VXLAN control plane tunnel between itself and the AP2 according to the related information of the AP 2.
In another embodiment, as shown in fig. 19, when the AP1 is a legacy AP and is deployed outside VXLAN, the first network device obtains a VXLAN control plane tunnel between itself and the WAC according to the information about the AP1, because the legacy AP1 does not support VXLAN tunneling.
303: when the wireless terminal UE1 attempts to access the destination terminal, the AP1 transmits a first request message.
Wherein, the first request message includes an identifier of the destination terminal, or may further include the first user access information. Specifically, the content included in the first user access information is the same as that in the first embodiment.
In the network architecture shown in fig. 18, the AP1 sends the first request message to the first network device by using the VXLAN control plane tunnel, and the first network device queries the address of the destination access device according to the first request message, and sends the address of the destination access device to the AP1, so that the AP1 obtains the VXLAN data plane tunnel with the destination access device, as shown in fig. 20, the AP1 may directly obtain the VXLAN data plane tunnel with the destination access device (such as a Border device or an Edge device), thereby implementing wired and wireless network traffic interworking. For a specific process, refer to steps 203 to 205 of the first embodiment, which is not described again in this embodiment.
In addition, in the network architecture shown in fig. 19, step 303 specifically includes: the AP1 sends a first request message to the WAC using the CAPWAP management channel.
Wherein the first request message includes the first user access information; alternatively, before the AP1 sends the first request message, the AP1 also sends the first user access information to the WAC through a CAPWAP management channel. And the WAC receives the first user access information and sends the first user access information to the first network equipment through a VXLAN control plane tunnel. Causing the first network device to manage and synchronize the first user access information.
Specifically, as shown in fig. 21, the method includes:
304: the WAC receives the first request message sent by the AP 1.
305: and the WAC inquires whether the destination terminal is a device on the VXLAN side.
Specifically, after receiving the first request message, the WAC strips a header in the first request message to obtain an identifier of the destination terminal, where the identifier of the destination terminal is an address of the destination terminal, and then queries whether the address of the destination terminal is included in the user access information.
306: if so, the WAC sends a second request message to the first network device. The second request message comprises an identification of the destination terminal, such as an IP address and/or a MAC address.
Specifically, the WAC encapsulates the packet including the identifier of the destination terminal into a VXLAN packet (i.e., the second request message), obtains a VXLAN control plane tunnel between the first network devices, and then sends the second request message to the first network device through the VXLAN control plane tunnel.
Optionally, if not, the WAC forwards directly according to the wireless network internal communication.
307: after receiving the second request message sent by the WAC, the first network device searches for an address of a destination access device of the wireless traffic, and sends configuration parameters of a VXLAN data plane tunnel to the WAC, where the configuration parameters include the address of the destination access device.
For example, the destination access device is determined to be AP2 according to the user access information query via the first network device, and the configuration parameter includes an IP address and/or a MAC address of AP 2.
308: and after receiving the address of the destination access equipment, the WAC acquires a VXLAN data plane tunnel between the WAC and the destination access equipment according to the address carried by the WAC.
309: and carrying out data transmission between the destination access equipment and the WAC by using the VXLAN data plane tunnel, and carrying out data transmission between the WAC and the AP1 by using a CAPWAP data channel.
Specifically, the data plane networking scheme and the traffic model are shown in fig. 22, and the access device at the request destination is an access switch, and after finding out the IP address of the access switch, the first network device sends the IP address to the WAC through the VXLAN control plane tunnel; after receiving, the WAC acquires a VXLAN data plane tunnel between itself and the access switch, and then performs data transmission between the access switch and the WAC through the VXLAN data plane tunnel, and performs data transmission between the WAC and the AP1 through the original CAPWAP data channel.
Further, a process of data transmission includes: the WAC receives a CAPWAP data message sent by the wireless access equipment by utilizing the CAPWAP channel, and generates a VXLAN data message after decapsulating the CAPWAP data message; and then the WAC sends the VXLAN data message to the destination access equipment by using the VXLAN data plane tunnel.
It should be noted that, in this embodiment, the first network device (Border device) is responsible for managing and acquiring the VXLAN control plane tunnel as an example, and similarly, the VXLAN network controller or the Border device integrated with the WAC may also be responsible for managing and acquiring the VXLAN control plane tunnel, and a specific implementation method thereof may refer to the method flow shown in fig. 21, which is not separately stated in this embodiment.
In the method provided by this embodiment, the WAC is used to manage and forward the user access information, and a VXLAN data plane tunnel between the destination access device in the VXLAN and the WAC is obtained, so as to implement data transmission between the destination access device and the WAC.
In addition, in the wired and wireless interworking scenario shown in fig. 18, if the AP multiplexes the CAPWAP management channel as the VXLAN control plane, as shown in fig. 23, the wired access device reports the user access information to the first network device through the VXLAN control plane tunnel, the AP reports the related information of the AP to the WAC through the CAPWAP management channel, and the WAC reports the AP related information and the user access information to the first network device through the VXLAN control plane. And simultaneously, the WAC acquires the address of the access device of the traffic destination from the first network device and transmits the address to the AP through the CAPWAP management channel, so that the AP can acquire a VXLAN data plane between the AP and the Edge device of the wired user access end, and the intercommunication of the VXLAN wired and wireless traffic is realized.
In addition, optionally, on the basis of the second embodiment, further, the VXLAN network controller function in the first network device (Border device) is stripped off, that is, the VXLAN network controller is separately deployed in VXLAN, as shown in fig. 24, and the detached VXLAN network controller may be deployed in a local or cloud environment.
The VXLAN network controller is used for collecting and synchronizing user access information in VXLAN in a unified mode through a VXLAN control plane tunnel, and in addition, the AP in the VXLAN obtains forwarding information related to VXLAN flow from the VXLAN network controller through the VXLAN control plane tunnel, so that a VXLAN data plane tunnel is obtained, and data transmission is carried out. Specifically, the method comprises the following steps:
after the WAC completes registration of the AP1, the relevant information of the AP1 is synchronized to the VXLAN network controller, so that the VXLAN network controller also knows the relevant information of the AP 1. Correspondingly, the VXLAN network controller receives the information about AP1 reported by WAC, and information about other APs, such as AP 2. And the VXLAN network controller acquires a VXLAN control plane tunnel with each AP according to the received related information of all the APs. Specifically, the VXLAN network controller manages and synchronizes the relevant information of all APs it receives, and acquires a VXLAN control plane tunnel between the VXLAN network controller and AP1, and a VXLAN control plane tunnel between the VXLAN network controller and AP 2. Additionally, a VXLAN control plane tunnel between the Border device and the VXLAN network controller is obtained.
When the UE1 attempts to access the destination terminal, the VXLAN network controller queries the address of the destination access device of the traffic according to the first request message sent by the AP1, and sends the address of the destination access device to the AP1, so that the AP1 obtains a VXLAN data plane tunnel with the destination access device, such as the AP2, and finally performs data transmission by using the VXLAN data plane tunnel.
The specific process is similar to steps 303 to 306, except that the first network device is replaced by a VXLAN network controller, which is not described in detail herein.
In this embodiment, the AP still registers the AP related information on the WAC in a CAPWAP management channel manner, and the WAC reports the AP related information to the controller VXLAN network controller, so that the VXLAN network controller performs unified management on the VXLAN device. The VXLAN equipment AP reports the user access information to the VXLAN network controller through the VXALN control plane tunnel, synchronously inquires the address information of the traffic destination access equipment from the VXLAN network controller, then obtains a VXLAN data plane tunnel between the VXLAN access equipment and the destination access equipment, and realizes data forwarding. In this example, the controller VXLAN network controller forwards the control packet with the network devices such as WAC and AP, without participating in the forwarding of the data packet, and the transmission of the data packet is directly implemented by the VXLAN data plane tunnel acquired between the access switch AP and the AP, or between the AP and the Border device, and the corresponding networking model is shown in fig. 25.
In addition, for the conventional AP, a CAPWAP management channel may also be multiplexed to send user access information, as shown in fig. 26, the AP communicates with the WAC using the CAPWAP management channel, and then the WAC synchronizes the AP-related information and the user access information to the VXLAN network controller. Meanwhile, the WAC acquires the necessary information forwarded by the related VXLAN from the VXLAN network controller and forwards the necessary information to the AP, so that the AP acquires a VXLAN data plane tunnel between the AP and another AP and transmits a VXLAN data message.
Embodiments of the apparatus corresponding to the above-described embodiments of the method are described below.
Fig. 27 is a schematic structural diagram of a data transmission device according to an embodiment of the present application. The device can be a wireless access device such as an AP, a wireless terminal, a WAC, a VXLAN network controller, a core switch in the foregoing embodiments; or, it may be a component, such as a chip, located in any of the foregoing network devices.
Specifically, as shown in fig. 27, the apparatus may include: a receiving module 901, a processing module 902 and a sending module 903. In addition, the apparatus may further include other units or modules such as a storage unit, which is not limited in this embodiment.
Wherein, when the apparatus is used as a first network device in VXLAN, the receiving module 901 is configured to receive a first request message sent by a wireless access device when the wireless terminal attempts to access a destination terminal through the wireless access device, where the first request message includes an identifier of the destination terminal, and the wireless access device has a capability of being a VXLAN tunnel endpoint VTEP.
The processing module 902 is configured to determine a destination access device corresponding to the destination terminal according to user access information, where the user access information includes a correspondence between the destination terminal and the destination access device, and the destination access device has a capability of being a VTEP.
The sending module 903 is configured to send, to the wireless access device, a configuration parameter of a VXLAN data plane tunnel from the wireless access device to the destination access device, where the configuration parameter includes an address of the destination access device.
Wherein the destination access device is an edge device or a border device in the VXLAN.
Optionally, the identifier of the destination terminal is an address of the destination terminal, such as an IP address and/or a MAC address.
Optionally, in a specific embodiment, the receiving module 901 is specifically configured to receive the first request message sent by the wireless access device by using a CAPWAP channel.
Optionally, in another specific embodiment, the receiving module 901 is further configured to receive, from the wireless access controller WAC, an address of the wireless access device before receiving the first request message sent by the wireless access device; the processing module 902 is further configured to obtain a VXLAN control plane tunnel with the wireless access device according to the address of the wireless access device; the receiving module 901 is further configured to receive the first request message sent by the wireless access device by using the VXLAN control plane tunnel.
Optionally, in another specific embodiment, the receiving module 901 is further configured to receive first user access information sent by the wireless access device before the processing module 902 acquires the VXLAN control plane tunnel, where the first user access information includes a correspondence between the wireless terminal and the wireless access device.
Optionally, in another specific embodiment, the receiving module 901 is specifically configured to receive the first user access information by using a CAPWAP channel or a VXLAN control plane tunnel.
In addition, when the apparatus is used as a wireless access device, such as an AP, in VXLAN, the sending module 903 is configured to send a first request message to a first network device when a wireless terminal attempts to access a destination terminal through the wireless access device, where the first request message includes an identifier of the destination terminal, and the wireless access device has a capability of being a VXLAN tunnel endpoint VTEP. The receiving module 901 is configured to receive a configuration parameter of the VXLAN data plane tunnel sent by the first network device, where the configuration parameter includes an address of the destination access device, and the destination access device has a capability of being a VTEP. The processing module 902 is configured to obtain a VXLAN data plane tunnel from the wireless access device to the destination access device according to the address of the destination access device.
Optionally, in a specific embodiment, the sending module 903 is specifically configured to send the first request message to the first network device by using a CAPWAP channel.
Optionally, in another specific implementation, the sending module 903 is specifically configured to send the first request message to a wireless access controller WAC by using a CAPWAP channel, so that the WAC generates a second request message according to the identifier of the destination terminal in the first request message, and sends the second request message to the first network device, where the second request message includes the identifier of the destination terminal.
Optionally, in another specific implementation manner, the sending module 903 is further configured to send first user access information to a first network device before sending the first request message to the first network device, where the first user access information includes a correspondence between the wireless terminal and the wireless access device.
Optionally, in another specific embodiment, the sending module 903 is specifically configured to send the first user access information to the first network device by using a CAPWAP channel or a VXLAN control plane tunnel.
In addition, when the apparatus is used as a WAC in VXLAN, the receiving module 901 is configured to receive a first request message sent by a wireless access device using a CAPWAP channel when the wireless terminal attempts to access a destination terminal through the wireless access device, where the first request message includes an identifier of the destination terminal, and the wireless access device has a capability of being a VXLAN tunnel endpoint VTEP. The sending module 903 is configured to send the second request message including the destination terminal identifier to the first network device. The receiving module 901 is further configured to receive a configuration parameter of the VXLAN data plane tunnel sent by the first network device, where the configuration parameter includes an address of the destination access device, and the destination access device has a capability of being a VTEP. The processing module 902 is configured to obtain a VXLAN data plane tunnel from the WAC to the destination access device according to the address of the destination access device, transmit data with the wireless access device using the CAPWAP channel, and transmit the data with the destination access device using the VXLAN data plane tunnel.
Optionally, in a specific embodiment, the receiving module 901 is further configured to receive, by using the CAPWAP channel, an address of the wireless access device from the wireless access device before receiving the first request message sent by the wireless access device by using the CAPWAP channel; the sending module 903 is further configured to send the address of the wireless access device to the first network device; the processing module 902 is further configured to obtain a VXLAN control plane tunnel between the WAC and the first network device; the sending module 903 is further configured to send the second request message to the first network device by using the VXLAN control plane tunnel.
Optionally, in another specific implementation manner, the receiving module 901 is further configured to receive first user access information sent by the wireless access device by using the CAPWAP channel before receiving the first request message sent by the wireless access device by using the CAPWAP channel, where the first user access information includes a correspondence between the wireless terminal and the wireless access device. The sending module 903 is further configured to send the first user access information to the first network device.
Optionally, in another specific implementation, the receiving module 901 is specifically configured to receive a CAPWAP data message sent by the wireless access device through the CAPWAP channel; the processing module 902 is specifically configured to decapsulate the CAPWAP data packet and generate a VXLAN data packet; the sending module 903 is specifically configured to send the VXLAN data packet to the destination access device by using the VXLAN data plane tunnel.
In this embodiment, when a terminal device accesses to a VXLAN, each access device reports its user access information to the first network device through the access device, and the first network device manages the user access information in a unified manner, so that the complexity of managing and synchronizing the user access information is greatly reduced, the network architecture is simplified, and meanwhile, extremely simplified management and resource configuration are realized.
In addition, after the source-end wireless access device acquires the VXLAN data plane tunnel with the destination-end access device, no matter external traffic transmission or internal traffic transmission, only one decapsulation operation of the VXLAN message needs to be performed in the transmission process of the VXLAN, so that the forwarding efficiency of the VXLAN message is improved.
In addition, in a hardware implementation, an embodiment of the present application further provides a communication device, where the communication device may be any one of the first network device, the wireless access device, the destination access device, the AP, the WAC, the VXLAN network controller, or the Edge device in the foregoing embodiments.
Fig. 28 shows a schematic structural diagram of the communication device, which may include: a processor 110, a memory 120, and at least one communication interface 130, wherein the processor 110, the memory 120, and the at least one communication interface 130 are coupled by a communication bus 140.
The processor 110 is a control center of the communication device, and can be used to complete communication in VXLAN, including data transmission using a VXLAN data plane tunnel, such as encapsulation and decapsulation of a VXLAN data packet; and also comprises the steps of synchronizing and forwarding information by using a VXLAN control plane tunnel, inquiring the information of a VXLAN flow destination terminal and the like.
The processor 110 may be composed of an Integrated Circuit (IC), for example, a single packaged IC, or a plurality of packaged ICs with the same or different functions. For example, the Processor 110 may include a Central Processing Unit (CPU), a Digital Signal Processor (DSP), or the like.
In addition, the processor 110 may also include a hardware chip, which may be an Application Specific Integrated Circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof. The PLD may be a Complex Programmable Logic Device (CPLD), a field-programmable gate array (FPGA), a General Array Logic (GAL), or any combination thereof.
The memory 120 is used for storing and exchanging various types of data or software, including user access information during VXLAN communication, AP related information, forwarding device information, VXLAN data messages, and the like. Further, a computer program or code may be stored in the memory 120.
Specifically, the Memory 120 may include a volatile Memory (volatile Memory), such as a Random Access Memory (RAM); a non-volatile memory (non-volatile memory) may also be included, such as a flash memory (flash memory), Hard Disk Drive (HDD) or Solid-State Drive (SSD), and memory 120 may also include a combination of the above types of memories.
Communication interface 130, using any transceiver or the like, is used for communicating with other devices or communication networks, such as ethernet, Radio Access Network (RAN), WLAN, VXLAN, etc. For example, the communication interface 130 is utilized to receive the first request message and the user access information; and sending configuration parameters of the VXLAN data plane tunnel, and the like.
It should be understood that the above-mentioned communication device may also include other more or less components, and the structure illustrated in the embodiment of the present application does not constitute a specific limitation to the communication device. And the components shown in fig. 28 may be implemented in hardware, software, firmware, or any combination thereof.
When implemented in software, may be implemented in whole or in part in the form of a computer program product. For example, the receiving module 901 and the sending module 903 in the data transmission apparatus shown in fig. 27 may be implemented by the communication interface 130, the function of the processing module 902 may be implemented by the processor 110, and the function of the storage unit may be implemented by the memory 120.
In addition, an embodiment of the present application further provides a switch, as shown in fig. 29, where the frame switch is a frame switch, such as a Border device, and the frame switch may also be an edge device. Specifically, the method comprises the following steps: a main control board 210, a back board 220, and an interface board 230. The main control board 210 is connected to the interface board 230 through the backplane 220.
The main control board 210 includes a processing unit 2101, a storage unit 2102, and a switching network 2103. And the processing unit 2101 is coupled to the storage unit 2102, the switching network 2103. The processing unit 2101 may have the same structure as the processor 110 described above, and the storage unit 2102 may have the same structure as the memory 120 described above, and may be configured to implement all the functions of the above-described Border device or edge device.
The switching network 2103 may be used for wired and wireless communication, and for example, the switching network 2103 includes a mobile communication module, a wireless communication module, and the like. The mobile communication module includes: and modules with wireless communication functions such as 2G/3G/4G/5G and the like. Further, a filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like may be included. In some embodiments, at least some of the functional modules of the mobile communication module may be disposed in the processing unit 2101. The wireless communication module can provide solutions for wireless communication including WLAN, VXLAN, Bluetooth (BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM) and the like, which are applied to the switch.
The interface board 230 includes at least one interface for connecting with an external device. For example, a display screen, a camera, a microphone, an earphone, a SIM card, etc. can be inserted into the interface board 230, or an external device can be connected through a USB interface on the interface board 230.
Optionally, the main control board 210 is a Printed Circuit Board (PCB), which is referred to as "PCB board" for short. The PCB includes a chip circuit therein, which can be used to implement the functions of the processing unit 2101, the storage unit 2102 and the switching network 2103.
In addition, an embodiment of the present application further provides a network system, where the system includes at least one network device and a terminal device, and when the network device is a wireless access device, a destination access device, an AP, a WAC, a VXLAN network controller, or a partial edge device, the structure of the network device may be the same as that of the communication device shown in fig. 28, so as to implement the data transmission method in the foregoing embodiment. When the network device is a Border device, a core switch, an aggregation switch, or an access switch, such as another edge device, the structure of the network device may be the same as that of the communication device shown in fig. 29.
The structure of the terminal device may be the same as or different from the structure of the communication device shown in fig. 28, and the structure and the specific form of the terminal device are not limited in this embodiment. Optionally, the terminal device may be a portable device, such as a smart terminal, a mobile phone, a laptop, a tablet computer, a Personal Computer (PC), a foldable terminal, a wearable device with a wireless communication function (e.g., a smart watch or a bracelet, AR glasses), a User Equipment (User device) or a User Equipment (UE), and the like. In addition, the various terminal devices include, but are not limited to, a mounted apple (IOS), Android (Android), Microsoft (Microsoft), or other operating systems.
Embodiments of the present application also provide a computer program product comprising one or more computer program instructions. When loaded and executed by a computer, cause the flow or functions described in various embodiments above, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device.
The computer program instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, from one network node, computer, server, or data center to another node, either by wire or wirelessly.
In addition, in the description of the embodiments of the present application, "a plurality" means two or more than two unless otherwise specified. In addition, in order to facilitate clear description of technical solutions of the embodiments of the present application, in the embodiments of the present application, terms such as "first" and "second" are used to distinguish the same items or similar items having substantially the same functions and actions. Those skilled in the art will appreciate that the terms "first," "second," etc. do not denote any order or quantity, nor do the terms "first," "second," etc. denote any order or importance.
The above-mentioned embodiments of the present application do not limit the scope of the present application.

Claims (34)

1. A data transmission method applied to a first network device in a virtual extensible local area network VXLAN, the method comprising:
when a wireless terminal attempts to access a destination terminal through a wireless access device, the first network device receives a first request message sent by the wireless access device, wherein the first request message comprises an identifier of the destination terminal, and the wireless access device has the capability of being a VXLAN Tunnel Endpoint (VTEP);
the first network equipment determines destination access equipment corresponding to the destination terminal according to user access information, wherein the user access information comprises a corresponding relation between the destination terminal and the destination access equipment, and the destination access equipment has the capability of being used as a VXLAN tunnel endpoint VTEP;
and the first network equipment sends configuration parameters of a VXLAN data plane tunnel from the wireless access equipment to the destination end access equipment to the wireless access equipment, wherein the configuration parameters comprise the address of the destination end access equipment.
2. The method of claim 1, wherein the first network device receiving a first request message sent by the wireless access device comprises:
and the first network equipment receives the first request message sent by the wireless access equipment by utilizing a wireless access point to control and configure a CAPWAP channel.
3. The method of claim 1, wherein before the first network device receives the first request message sent by the wireless access device, the method further comprises:
the first network device receiving an address of the wireless access device from a wireless access controller, WAC;
the first network equipment acquires a VXLAN control surface tunnel between the first network equipment and the wireless access equipment according to the address of the wireless access equipment;
the first network device receiving a first request message sent by the wireless access device, including:
and the first network equipment receives the first request message sent by the wireless access equipment by utilizing the VXLAN control plane tunnel.
4. The method according to claim 1 or 2, wherein before the first network device determines the destination access device corresponding to the destination terminal according to the user access information, the method further comprises:
the first network device receives first user access information sent by the wireless access device, wherein the first user access information comprises a corresponding relation between the wireless terminal and the wireless access device.
5. The method of claim 4, wherein the first network device receiving the first user access information sent by the wireless access device comprises:
and the first network equipment receives the first user access information by utilizing a CAPWAP channel or a VXLAN control plane tunnel.
6. The method according to any of claims 1-5, wherein the identity of the destination terminal is an address of the destination terminal.
7. The method of any of claims 1-6, wherein the destination access device is an edge device or an edge device in the VXLAN.
8. A data transmission method is applied to a wireless access device in a virtual extensible local area network (VXLAN), and comprises the following steps:
when a wireless terminal attempts to access a destination terminal through the wireless access equipment, the wireless access equipment sends a first request message to first network equipment, wherein the first request message comprises an identifier of the destination terminal, and the wireless access equipment has the capability of being used as a VXLAN Tunnel Endpoint (VTEP);
the wireless access equipment receives configuration parameters of a VXLAN data plane tunnel sent by the first network equipment, wherein the configuration parameters comprise the address of the destination access equipment, and the destination access equipment has the capability of being used as a VTEP;
and the wireless access equipment acquires a VXLAN data plane tunnel from the wireless access equipment to the destination end access equipment according to the address of the destination end access equipment.
9. The method of claim 8, wherein the wireless access device sending a first request message to a first network device comprises:
and the wireless access equipment sends the first request message to the first network equipment by utilizing a wireless access point to control and configure a CAPWAP channel.
10. The method of claim 8, wherein the wireless access device sending a first request message to a first network device comprises:
and the wireless access equipment sends the first request message to a wireless access controller WAC by using a CAPWAP channel.
11. The method according to any of claims 8-10, wherein before the wireless access device sends the first request message to the first network device, further comprising:
the wireless access equipment sends first user access information to the first network equipment, wherein the first user access information comprises the corresponding relation between the wireless terminal and the wireless access equipment.
12. The method of claim 11, wherein the wireless access device sending first user access information to the first network device comprises:
and the wireless access equipment sends the first user access information to the first network equipment by utilizing a CAPWAP channel or a VXLAN control plane tunnel.
13. A method according to any of claims 8-12, wherein the identity of the destination terminal is the address of the destination terminal.
14. The method of any of claims 8-13, wherein the destination access device is an edge device or an edge device in the VXLAN.
15. A data transmission method applied to a wireless access controller WAC in a virtual extensible local area network VXLAN, the method comprising:
when a wireless terminal tries to access a destination terminal through a wireless access device, the WAC receives a first request message sent by the wireless access device by utilizing a wireless access point to control and configure a CAPWAP channel, wherein the first request message comprises an identifier of the destination terminal, and the wireless access device has the capability of being used as a VXLAN tunnel endpoint VTEP;
the WAC sends a second request message including the destination terminal identification to first network equipment;
the WAC receives configuration parameters of a VXLAN data plane tunnel sent by the first network equipment, wherein the configuration parameters comprise the address of the destination access equipment, and the destination access equipment has the capability of being used as a VTEP;
the WAC acquires a VXLAN data plane tunnel from the WAC to the destination end access equipment according to the address of the destination end access equipment;
and the WAC transmits data with the wireless access equipment by utilizing the CAPWAP channel and transmits the data with the destination access equipment by utilizing the VXLAN data plane tunnel.
16. The method of claim 15, wherein before the WAC receives the first request message sent by the wireless access device using the CAPWAP channel, further comprising:
the WAC receives the address of the wireless access equipment from the wireless access equipment by utilizing the CAPWAP channel;
the WAC sends the address of the wireless access device to the first network device;
the WAC acquires a VXLAN control surface tunnel between the WAC and the first network equipment;
the WAC sends a second request message including the destination terminal identifier to the first network device, including:
and the WAC sends the second request message to the first network equipment by utilizing the VXLAN control plane tunnel.
17. The method of claim 15, wherein before the WAC receives the first request message sent by the wireless access device using the CAPWAP channel, further comprising:
the WAC receives first user access information sent by the wireless access equipment by utilizing the CAPWAP channel, wherein the first user access information comprises the corresponding relation between the wireless terminal and the wireless access equipment;
and the WAC sends the first user access information to the first network equipment.
18. The method according to any of claims 15-17, wherein the WAC communicating data with the wireless terminal using the CAPWAP channel and communicating the data with the destination access device using the VXLAN data plane tunnel comprises:
the WAC receives a CAPWAP data message sent by the wireless access equipment by utilizing the CAPWAP channel;
after the WAC decapsulates the CAPWAP data message, generating a VXLAN data message;
and the WAC sends the VXLAN data message to the destination access equipment by using the VXLAN data plane tunnel.
19. A network device in a virtual extensible local area network, VXLAN, comprising:
a receiving module, configured to receive a first request message sent by a wireless access device when the wireless terminal attempts to access a destination terminal through the wireless access device, where the first request message includes an identifier of the destination terminal, and the wireless access device has a capability of serving as a VXLAN tunnel endpoint VTEP;
a processing module, configured to determine, according to user access information, destination access equipment corresponding to the destination terminal, where the user access information includes a correspondence between the destination terminal and the destination access equipment, and the destination access equipment has a capability of being a VTEP;
a sending module, configured to send, to the wireless access device, configuration parameters of a VXLAN data plane tunnel from the wireless access device to the destination access device, where the configuration parameters include an address of the destination access device.
20. The network device according to claim 19, wherein the receiving module is specifically configured to receive the first request message sent by the wireless access device using a wireless access point control and provisioning CAPWAP tunnel.
21. The network device of claim 19,
the receiving module is further configured to receive, from a wireless access controller WAC, an address of the wireless access device before receiving the first request message sent by the wireless access device;
the processing module is further used for acquiring a VXLAN control plane tunnel between the processing module and the wireless access equipment according to the address of the wireless access equipment;
the receiving module is further configured to receive the first request message sent by the wireless access device by using the VXLAN control plane tunnel.
22. The network device according to claim 19 or 20, wherein the receiving module is further configured to receive first user access information sent by the wireless access device before the processing module acquires the VXLAN control plane tunnel, where the first user access information includes a correspondence relationship between the wireless terminal and the wireless access device.
23. The network device according to claim 22, wherein the receiving module is specifically configured to receive the first user access information using a CAPWAP channel or a VXLAN control plane tunnel.
24. A wireless access device in a virtual extensible local area network, VXLAN, comprising:
a sending module, configured to send a first request message to a first network device when a wireless terminal attempts to access a destination terminal through the wireless access device, where the first request message includes an identifier of the destination terminal, and the wireless access device has a capability of serving as a VXLAN tunnel endpoint VTEP;
a receiving module, configured to receive configuration parameters of a VXLAN data plane tunnel sent by the first network device, where the configuration parameters include an address of the destination access device, and the destination access device has a capability of serving as a VTEP;
and the processing module is used for acquiring a VXLAN data plane tunnel from the wireless access equipment to the destination access equipment according to the address of the destination access equipment.
25. The wireless access device of claim 24, wherein the sending module is specifically configured to send the first request message to the first network device using a wireless access point control and provisioning CAPWAP tunnel.
26. The wireless access device according to claim 24, wherein the sending module is specifically configured to send the first request message to a wireless access controller WAC using a CAPWAP channel.
27. The wireless access device of claim 24 or 25, wherein the sending module is further configured to send first user access information to a first network device before sending the first request message to the first network device, where the first user access information includes a correspondence relationship between the wireless terminal and the wireless access device.
28. The wireless access device of claim 27, wherein the sending module is specifically configured to send the first user access information to the first network device using a CAPWAP channel or a VXLAN control plane tunnel.
29. A wireless access controller, WAC, in a virtual extensible local area network, VXLAN, comprising:
a receiving module, configured to receive a first request message sent by a wireless access device by using a wireless access point to control and configure a CAPWAP channel when the wireless terminal attempts to access a destination terminal through the wireless access device, where the first request message includes an identifier of the destination terminal, and the wireless access device has a capability of serving as a VXLAN tunnel endpoint VTEP;
a sending module, configured to send a second request message including the destination terminal identifier to a first network device;
the receiving module is further configured to receive a configuration parameter of a VXLAN data plane tunnel sent by the first network device, where the configuration parameter includes an address of the destination access device, and the destination access device has a capability of serving as a VTEP;
and the processing module is used for acquiring a VXLAN data plane tunnel from the WAC to the destination access equipment according to the address of the destination access equipment, transmitting data with the wireless access equipment by utilizing the CAPWAP channel and transmitting the data with the destination access equipment by utilizing the VXLAN data plane tunnel.
30. The WAC of claim 29, wherein,
the receiving module is further configured to receive, by using the CAPWAP channel, an address of the wireless access device from the wireless access device before receiving the first request message sent by the wireless access device by using the CAPWAP channel;
the sending module is further configured to send the address of the wireless access device to the first network device;
the processing module is further configured to acquire a VXLAN control plane tunnel between the WAC and the first network device;
the sending module is further configured to send the second request message to the first network device by using the VXLAN control plane tunnel.
31. The WAC of claim 29, wherein,
the receiving module is further configured to receive first user access information sent by the wireless access device through the CAPWAP channel before receiving the first request message sent by the wireless access device through the CAPWAP channel, where the first user access information includes a correspondence between the wireless terminal and the wireless access device;
the sending module is further configured to send the first user access information to the first network device.
32. The WAC according to any of claims 29-31,
the receiving module is specifically configured to receive a CAPWAP data message sent by the wireless access device through the CAPWAP channel;
the processing module is specifically used for generating a VXLAN data message after decapsulating the CAPWAP data message;
the sending module is specifically configured to send the VXLAN data packet to the destination access device by using the VXLAN data plane tunnel.
33. A network device of a VXLAN, wherein the network device comprises a processor and a memory;
the memory to store computer program instructions;
the processor to execute the instructions stored in the memory to cause the network device to perform the method of any of claims 1 to 18.
34. A computer-readable storage medium having stored therein instructions which, when executed on a computer, cause the computer to perform the method of any one of claims 1-18.
CN202010655369.1A 2020-07-09 2020-07-09 Data transmission method and device Pending CN113923075A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010655369.1A CN113923075A (en) 2020-07-09 2020-07-09 Data transmission method and device
PCT/CN2021/104542 WO2022007749A1 (en) 2020-07-09 2021-07-05 Data transmission method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010655369.1A CN113923075A (en) 2020-07-09 2020-07-09 Data transmission method and device

Publications (1)

Publication Number Publication Date
CN113923075A true CN113923075A (en) 2022-01-11

Family

ID=79231709

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010655369.1A Pending CN113923075A (en) 2020-07-09 2020-07-09 Data transmission method and device

Country Status (2)

Country Link
CN (1) CN113923075A (en)
WO (1) WO2022007749A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024051547A1 (en) * 2022-09-06 2024-03-14 维沃移动通信有限公司 Network selection information configuration method and apparatus, and communication device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103259736A (en) * 2013-05-24 2013-08-21 杭州华三通信技术有限公司 Tunnel building method and network equipment
CN105490884A (en) * 2015-12-14 2016-04-13 迈普通信技术股份有限公司 VXLAN tunnel detection method and apparatus
CN105812259A (en) * 2014-12-31 2016-07-27 杭州华三通信技术有限公司 Packet forwarding method and device
CN106998286A (en) * 2017-05-05 2017-08-01 杭州迪普科技股份有限公司 A kind of VXLAN message forwarding methods and device
CN107317832A (en) * 2016-04-27 2017-11-03 新华三技术有限公司 Message forwarding method and device
CN110430116A (en) * 2019-07-26 2019-11-08 新华三技术有限公司成都分公司 Data forwarding method and device, edge device and readable storage medium storing program for executing
CN113872845A (en) * 2020-06-30 2021-12-31 华为技术有限公司 Method for establishing VXLAN tunnel and related equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110650076B (en) * 2018-06-26 2021-12-24 华为技术有限公司 VXLAN implementation method, network equipment and communication system
CN108965092B (en) * 2018-07-24 2020-11-06 新华三技术有限公司 Data message transmission method and device
US10999197B2 (en) * 2018-11-30 2021-05-04 Cisco Technology, Inc. End-to-end identity-aware routing across multiple administrative domains

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103259736A (en) * 2013-05-24 2013-08-21 杭州华三通信技术有限公司 Tunnel building method and network equipment
CN105812259A (en) * 2014-12-31 2016-07-27 杭州华三通信技术有限公司 Packet forwarding method and device
CN105490884A (en) * 2015-12-14 2016-04-13 迈普通信技术股份有限公司 VXLAN tunnel detection method and apparatus
CN107317832A (en) * 2016-04-27 2017-11-03 新华三技术有限公司 Message forwarding method and device
CN106998286A (en) * 2017-05-05 2017-08-01 杭州迪普科技股份有限公司 A kind of VXLAN message forwarding methods and device
CN110430116A (en) * 2019-07-26 2019-11-08 新华三技术有限公司成都分公司 Data forwarding method and device, edge device and readable storage medium storing program for executing
CN113872845A (en) * 2020-06-30 2021-12-31 华为技术有限公司 Method for establishing VXLAN tunnel and related equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024051547A1 (en) * 2022-09-06 2024-03-14 维沃移动通信有限公司 Network selection information configuration method and apparatus, and communication device

Also Published As

Publication number Publication date
WO2022007749A1 (en) 2022-01-13

Similar Documents

Publication Publication Date Title
CN107786613B (en) Broadband remote access server BRAS forwarding implementation method and device
CN104919766B (en) Path switching method and equipment for device-to-device communication
CN108964940B (en) Message sending method and device and storage medium
US10673737B2 (en) Multi-VRF universal device internet protocol address for fabric edge devices
CN114124618B (en) Message transmission method and electronic equipment
US10432578B2 (en) Client address based forwarding of dynamic host configuration protocol response packets
WO2016180020A1 (en) Message processing method, device and system
CN107645433B (en) Message forwarding method and device
WO2020238327A1 (en) Method, apparatus and system for establishing user plane connection
US10454882B2 (en) DHCP in layer-3 overlay with anycast address support and network address transparency
WO2021174943A1 (en) Data forwarding method and apparatus, and device and storage medium
EP3913870A1 (en) Packet forwarding method and network device
CN113542111A (en) Message forwarding method and network equipment
WO2022007749A1 (en) Data transmission method and apparatus
US20230336377A1 (en) Packet forwarding method and apparatus, and network system
CN114598635A (en) Message transmission method and device
CN108934058B (en) Communication method and device
US20220329566A1 (en) Access Control Method, Apparatus, and System
US11611508B2 (en) Packet forwarding method and network device
JP2024504466A (en) Packet forwarding methods, packet processing methods, and devices
CN110620999B (en) User plane data processing method and device
US20230179598A1 (en) Cloud delivered access
US11902166B2 (en) Policy based routing in extranet networks
CN107888473B (en) Method and device for creating AC port
CN220108019U (en) Dual-system wireless switch based on WIFI6

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20220111

RJ01 Rejection of invention patent application after publication