WO2022001666A1 - Procédé de création d'un tunnel vxlan, et dispositifs associés - Google Patents

Procédé de création d'un tunnel vxlan, et dispositifs associés Download PDF

Info

Publication number
WO2022001666A1
WO2022001666A1 PCT/CN2021/100398 CN2021100398W WO2022001666A1 WO 2022001666 A1 WO2022001666 A1 WO 2022001666A1 CN 2021100398 W CN2021100398 W CN 2021100398W WO 2022001666 A1 WO2022001666 A1 WO 2022001666A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
network device
network
vxlan
address
Prior art date
Application number
PCT/CN2021/100398
Other languages
English (en)
Chinese (zh)
Inventor
林志鸿
贺行健
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022001666A1 publication Critical patent/WO2022001666A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • 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/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
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • H04L12/4675Dynamic sharing of VLAN information amongst network nodes
    • 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]
    • H04L12/4645Details on frame tagging

Definitions

  • the present application relates to the field of communication technologies, and in particular, to a method for establishing a virtual extensible local area network (VXLAN) tunnel and related equipment.
  • VXLAN virtual extensible local area network
  • VXLAN is a virtual network built on the underlying network.
  • VXLAN includes virtual network devices with two roles of border (border) device and edge (edge) device.
  • border device As the network egress of the VXLAN, the border device is responsible for forwarding the packets in the VXLAN to other VXLANs or non-VXLANs.
  • edge device As the service access point of the VXLAN, the edge device is responsible for forwarding the packets of the user equipment to the VXLAN.
  • a VXLAN tunnel is established between the edge device and the edge device, as well as between the edge device and the edge device, to implement packet forwarding in the VXLAN.
  • a VXLAN tunnel is established in advance between any edge device and the edge device, and between any two edge devices in a dynamic routing manner.
  • This method of establishing a VXLAN tunnel requires establishing a VXLAN tunnel between all devices in the VXLAN, resulting in low flexibility in establishing a VXLAN tunnel.
  • the present application provides a method and related equipment for establishing a VXLAN tunnel, which can improve the flexibility of establishing a VXLAN tunnel.
  • the technical solution is as follows:
  • a first aspect provides a method for establishing a virtual extended local area network VXLAN tunnel, the method is applied to a first network device in the VXLAN, the VXLAN includes multiple network devices, and a VXLAN tunnel is established between any network device and a control device. , the first network device is one of the multiple network devices.
  • a first VXLAN message from the second network device is received, and the destination address of the original frame included in the first VXLAN message is the address of the first terminal device; if there is no terminal device connected to the first network device
  • the first terminal device sends an error message notification message to the control device, where the error message notification message includes the address of the first terminal device, the identifier of the first network device, and the identifier of the second network device, and the error message notification message indicates the first terminal device.
  • a terminal device is not connected to the first network device, but the first network device still receives the VXLAN packet from the second network device and sent to the first terminal device.
  • the first network device determines that the first terminal device is not connected to itself, it will send an error message passing message to the control device. Therefore, if the first terminal device migrates from the first network device, even if the forwarding table at the second network device is not updated in time, the first VXLAN packet is erroneously sent to the first network device.
  • the notification message can still notify the control device of the migration situation, so as to notify the second network device through the control device, so that the second network device updates the forwarding table in time.
  • the method provided by the present application can dynamically change the VXLAN tunnel established in the forwarding table when the terminal device is migrated, so that the VXLAN tunnel established in the network can represent the VXLAN tunnel currently required in real time. In this way, not only the flexibility of establishing a VXLAN tunnel is improved, but also it is unnecessary to reserve all VXLAN tunnels between devices in the VXLAN, thereby saving forwarding table resources at each network device.
  • establishing a VXLAN tunnel is essentially to obtain the identifier of the VXLAN tunnel, and then establish a correspondence between the destination address of the packet and the tunnel identifier, so that subsequent packets sent to the destination address are all can be forwarded through this VXLAN tunnel.
  • the tunnel identifier may be the identifier of the peer device of the VXLAN tunnel (eg, the IP address of the peer device).
  • the tunnel identifier may also be other symbols uniquely capable of identifying the tunnel in addition to the identifier of the peer device of the VXLAN tunnel, for example, the tunnel identifier is a unique number for the VXLAN tunnel. The network device can use this number to index the corresponding entry, and the entry stores the VXLAN tunnel parameters including the IP address of the peer device.
  • the terminal access set includes the addresses of each terminal device connected to the first network device.
  • each network device can update the terminal access set in time when the terminal device is migrated, so that the terminal access set is more ready to represent each terminal device currently connected to the network device, so as to facilitate the subsequent dynamic change of the VXLAN tunnel.
  • the method if it is detected that the first terminal device and the first network device are disconnected from communication, it is determined that the first terminal device leaves the first network device.
  • the above implementation manner is applied to the scenario in which the first network device can perceive the migration of the first terminal device.
  • the first network device detects that the first terminal device and the first network device are disconnected from communication, the first The terminal device is migrated from the first network device.
  • the first terminal device when the first terminal device leaves the first network device, it sends a terminal relocation notification to the control device, and the terminal relocation notification includes the first terminal The address of the device and the identifier of the first network device, and the terminal move-out notification instructs the first terminal device to leave the first network device.
  • the first network device not only deletes the address of the first terminal device in the local terminal access set, but also notifies the control device to delete the first network as well.
  • the address of the first terminal device in the terminal access set of the device is that the terminal access set stored at the control device and the network device can accurately represent the connection status of the terminal device in real time, so that when other terminal devices access the terminal device that has been migrated, it can be dynamically changed.
  • the above-mentioned implementation process of determining that the first terminal device has left the first network device is: if a terminal move-out instruction from the control device is received, determining that the first terminal When the device leaves the first network device, the terminal move-out instruction includes the address of the first terminal device, and the terminal move-out instruction is used to instruct the first terminal device to leave the first network device.
  • the above implementation manner is applied to a scenario where the first network device cannot perceive the migration of the first terminal device. Therefore, when the first terminal device migrates out, the first network device cannot immediately delete the information of the first terminal device from the terminal information. . Instead, it is determined by the notification of the control device that the first terminal device has migrated out.
  • the original frame is encapsulated into a second VXLAN packet, and the second VXLAN packet is sent via the first network device to the control device.
  • the VXLAN tunnel is sent to the control device.
  • the first network device When the first network device receives a VXLAN packet that does not reach the terminal device connected to itself, the first network device may re-encapsulate the first VXLAN packet and forward it by the control device.
  • a method for establishing a virtual extended local area network VXLAN tunnel is provided, and the method is applied to a control device.
  • an error message notification message from a first network device in the VXLAN is received, and the error message notification message includes the address of the first terminal device, the identifier of the first network device, and the identifier of the second network device.
  • the message notification message indicates that the first terminal device is not connected to the first network device, but the first network device still receives the VXLAN message from the second network device and sent to the first terminal device.
  • the VXLAN includes multiple network devices.
  • a network device and a second network device are two of multiple network devices; send a terminal change message to the second network device, the terminal change message includes the address of the first terminal device and the identifier of the third network device, and the terminal change message indicates The first terminal device is currently connected to the third network device.
  • the first network device determines that the first terminal device is not connected to itself, it will send an error message passing message to the control device. Therefore, if the first terminal device moves out from the first network device, even if the VXLAN packet is erroneously sent to the first network device because the forwarding table at the second network device is not updated in time, the error message notification message is sent to the first network device. It is still possible to notify the control device of the migration situation, so as to notify the second network device through the control device, so that the second network device updates the forwarding table in time.
  • the method provided by the present application can dynamically change the VXLAN tunnel that has been established in the forwarding table when the terminal device is migrated, so that the VXLAN tunnel established in the network can represent the VXLAN tunnel currently required in real time. In this way, not only the flexibility of establishing a VXLAN tunnel is improved, but also it is unnecessary to reserve all VXLAN tunnels between devices in the VXLAN, thereby saving forwarding table resources at each network device.
  • a terminal move-out notification from a first network device is received, the terminal move-out notification includes an address of the first terminal device and an identifier of the first network device, and the terminal move-out notification instructs the first terminal device to leave the first network device ; delete the address of the first terminal device from the terminal access set of the first network device, where the terminal access set includes the addresses of each terminal device connected to the first network device.
  • the first network device notifies the control device to also delete the address of the first terminal device in the terminal access set of the first network device.
  • the technical effect of this is that the terminal access set stored by the control device can accurately represent the connection status of the terminal device in real time, so that when other terminal devices access the terminal device that has been migrated, the established VXLAN can be dynamically changed. tunnel.
  • a terminal access announcement message sent from a third network device is received, where the terminal access announcement message includes the address of the first terminal device and the identifier of the third network device,
  • the terminal access announcement message indicates that the first terminal device is connected to the third network device; if the address of the first terminal device is included in the terminal access set of the first network device, delete the first terminal device in the terminal access set of the first network device.
  • the address of a terminal device is sent to the first network device, and the terminal relocation instruction includes the address of the first terminal device, and the terminal relocation instruction is used to instruct the first terminal device to leave the first network device.
  • the above implementation manner is applied to a scenario where the first network device cannot perceive the migration of the first terminal device. Therefore, when the first terminal device migrates out, the first network device cannot immediately remove the information of the first terminal device from the terminal access set. delete. Instead, it is determined that the first terminal device has migrated out by means of the advertisement of the network device newly accessed by the first terminal device.
  • the address of the first terminal device is added to the terminal access of the third network device in the collection.
  • the terminal of the newly accessed network device may also be notified based on the notification of the network device newly accessed by the first terminal device.
  • the access set is updated in time, so that the terminal access set stored at the control device can accurately represent the connection situation of the terminal device in real time.
  • a first network device in a VXLAN has a function of implementing the behavior of the method for establishing a VXLAN tunnel in the first aspect.
  • the first network device includes at least one module, and the at least one module is configured to implement the method for establishing a VXLAN tunnel provided by the above-mentioned first aspect.
  • a control device in a fourth aspect, has a function of implementing the behavior of the method for establishing a VXLAN tunnel in the second aspect.
  • the control device includes at least one module, and the at least one module is configured to implement the method for establishing a VXLAN tunnel provided in the second aspect above.
  • a fifth aspect provides a first network device, the structure of the first network device includes a processor and a memory, and the memory is used to store a program that supports the apparatus to execute the method for establishing a VXLAN tunnel provided in the first aspect, and Data involved in implementing the method for establishing a VXLAN tunnel provided by the first aspect is stored.
  • the processor is configured to execute programs stored in the memory.
  • the operating means of the memory device may also include a communication bus for establishing a connection between the processor and the memory.
  • a control device in a sixth aspect, includes a processor and a memory, and the memory is used to store a program that supports the apparatus to perform the method for establishing a VXLAN tunnel provided in the second aspect, and stores a program for Data involved in implementing the method for establishing a VXLAN tunnel provided in the second aspect above.
  • the processor is configured to execute programs stored in the memory.
  • the operating means of the memory device may also include a communication bus for establishing a connection between the processor and the memory.
  • a computer-readable storage medium is provided, and instructions are stored in the computer-readable storage medium, when the computer-readable storage medium runs on a computer, the computer executes the method for establishing a VXLAN tunnel of the first aspect or the second aspect.
  • a computer program product comprising instructions, which, when executed on a computer, cause the computer to perform the method for establishing a VXLAN tunnel of the first or second aspect above.
  • Fig. 1 is a system schematic diagram of a VXLAN provided by an embodiment of the present application
  • FIG. 2 is a schematic flowchart of updating user information provided by an embodiment of the present application
  • FIG. 3 is a flowchart of a method for establishing a VXLAN tunnel provided by an embodiment of the present application
  • FIG. 4 is a schematic diagram of a format of a VXLAN message provided by an embodiment of the present application.
  • FIG. 5 is a flowchart of another method for establishing a VXLAN tunnel provided by an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a first network device provided by an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a control device provided by an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a network device provided by an embodiment of the present application.
  • VXLAN can superimpose Layer 2 virtual network on any routeable underlying network, realize intercommunication within VXLAN network through VXLAN gateway, and also realize intercommunication with traditional non-VXLAN network through VXLAN network.
  • VXLAN technology extends the Layer 2 network by adopting the encapsulation method of Media Access Control (MAC) into (in) User Datagram Protocol (UDP), and encapsulates Ethernet packets in the network (internet protocol).
  • MAC Media Access Control
  • UDP User Datagram Protocol
  • IP IP
  • VXLAN can meet the needs of virtual migration and multi-tenancy of data center networks. Similarly, VXLAN is also suitable for the scenario of "one network with multiple uses" in the campus network. For example, the same bearer network is virtualized into multiple service networks to achieve mutual isolation between different service networks.
  • VXLAN Network Identifier Similar to the VLAN ID in traditional networks, it is used to distinguish VXLAN network segments. Tenants in different VXLAN segments cannot directly communicate at Layer 2. A network can be divided into one or more VNIs.
  • Broadcast domain Similar to the method of dividing the broadcast domain by VLAN in the traditional network, the broadcast domain is divided by BD in the VXLAN network. In a VXLAN network, a VNI is mapped to a broadcast domain BD in a 1:1 manner. A BD represents a broadcast domain, and hosts in the same BD can communicate at Layer 2.
  • VXLAN Tunnel Endpoints can encapsulate and decapsulate VXLAN packets.
  • the source IP address is the IP address of the source VTEP
  • the destination IP address is the IP address of the destination VTEP.
  • a pair of VTEP addresses corresponds to a VXLAN tunnel. After the source end encapsulates the packet, the encapsulated packet is sent to the destination VTEP through the tunnel, and the destination VTEP decapsulates the received encapsulated packet.
  • VAP Virtual Access Point
  • VXLAN service access point which can access services based on VLAN or packet flow encapsulation type.
  • NVE Network Virtualization Edge
  • the VXLAN network Similar to the traditional VLAN network, the VXLAN network also has mutual access within the VXLAN network and mutual access between the VXLAN networks.
  • Layer 2 gateway Similar to a Layer 2 access device on a traditional network, in a VXLAN network, a Layer 2 gateway enables tenants to access the VXLAN virtual network. Layer 2 gateways can also be used for subnet communication within the same VXLAN virtual network. Combined with the foregoing explanation of the functions of edge devices and edge devices, in VXLAN, edge devices can be used as Layer 2 gateways.
  • Layer 3 gateway Similar to traditional networks, users in different VLANs cannot directly communicate with each other at Layer 2, and VXLANs between different VNIs and between VXLANs and non-VXLANs cannot directly communicate with each other. To enable communication between VXLANs and between VXLANs and non-VXLANs, the concept of VXLAN Layer 3 gateways is introduced. Layer 3 gateways are used for cross-subnet communication of VXLAN virtual networks and access to external networks. Likewise, in conjunction with the foregoing explanations of the functions of the edge device and the edge device, in VXLAN, the edge device can be used as a Layer 3 gateway.
  • the method provided by the embodiment of the present application is applied to the above scenario of forwarding packets through VXLAN, and the purpose is to dynamically change the established VXLAN tunnel when the terminal device is migrated, so that the VXLAN tunnel established in the network can represent the current demand in real time VXLAN tunnel. In this way, not only the flexibility of establishing a VXLAN tunnel is improved, but also it is unnecessary to reserve all VXLAN tunnels between devices in the VXLAN, thereby saving forwarding table resources at each network device.
  • establishing a VXLAN tunnel is essentially acquiring the identifier of the VXLAN tunnel, and then establishing a correspondence between the destination address of the packet and the tunnel identifier, so as to facilitate subsequent packets sent to the destination address. All messages can be forwarded through the VXLAN tunnel.
  • the tunnel identifier can be the identifier of the peer device of the VXLAN tunnel (such as the IP address of the peer device), or it can be other unique symbols other than the identifier of the peer device of the VXLAN tunnel that can uniquely identify the tunnel, for example, the tunnel identifier is for VXLAN A unique number for the tunnel. The network device can use this number to index the corresponding entry, and the entry stores the VXLAN tunnel parameters including the IP address of the peer device.
  • the method for establishing a VXLAN tunnel provided by the embodiment of the present application will be explained in detail below.
  • the method for establishing a VXLAN tunnel provided by the embodiment of the present application is applied to a scenario in which an established VXLAN tunnel can be dynamically changed when a terminal device is migrated.
  • configure a control device for the VXLAN network After the control device is configured, the following configuration is performed between the control device and each network device in the VXLAN.
  • the above-mentioned control device is a certain network device in the VXLAN.
  • the control device may also be a device other than the above VXLAN, for example, the control device supports VXLAN but is in a VXLAN different from the virtual network identifier (VNI) of the network device, or the control device may not support VXLAN.
  • VNI virtual network identifier
  • the terminal access set of any network device in the VXLAN is stored at the control device, and any network device locally also stores its own terminal access set.
  • the terminal access set of any network device includes the addresses of each terminal device connected to the network device. And when the terminal device migrates, the terminal access set at the control device and the terminal access set at the network device are updated. So that the established VXLAN tunnel can be dynamically changed when other network devices access the terminal device that has been migrated later.
  • the data structure of the aforementioned terminal access set may be a terminal access list, a terminal access list, a terminal access linked list, etc. The embodiment of the present application does not limit the data structure of the terminal access set.
  • the following content is used to explain in detail the update of the terminal access set at the control device and the terminal access set at the network device when the terminal device is migrated.
  • the following content is described by taking the migration of the first terminal device from the first network device as an example.
  • the first network device is any device in the VXLAN
  • the first terminal device is any terminal device that accesses the first network device.
  • the first network device can receive a packet sent by the first terminal device, and the source address of the packet is the first terminal device. Therefore, if the first network device receives a message from the first terminal device for the first time, it indicates that the first terminal device is connected to the first network device, and the first network device adds the address of the first terminal device to the first network In the terminal access set of the device. Subsequently, if the first network device determines that the first terminal device leaves the first network device, the address of the first terminal device is deleted from the terminal access set of the first network device.
  • the first network device can sense that the first terminal device leaves the first network device. However, in some scenarios, the first network device cannot sense that the first terminal device leaves the first network device. The following describes how the first network device determines that the first terminal device leaves the first network device in two scenarios.
  • the first network device can sense that the first terminal device leaves
  • the first network device detects that the first terminal device and the first network device are disconnected from communication, it is determined that the first terminal device leaves the first network device.
  • the first terminal device is directly connected to the first network device in a wired manner, and the first network device determines whether the first terminal device leaves the first network device according to whether the wired port is down (down). If the wired port connected to the first terminal device is disconnected, it is determined that the first terminal device leaves the first network device.
  • the first network device is used as the wireless access point of the first terminal device. If the first terminal device is disassociated from the wireless access point and the first network device can recognize that the first terminal device is offline, then the first network device The device then determines that the first terminal device leaves the first network device.
  • the first network device receives traffic from the first terminal device within a certain period of time, it is determined that the first terminal device leaves the first network device.
  • the first network device when the first network device detects that the first terminal device leaves the first network device, in addition to deleting the identifier of the first terminal device from the terminal access set of the first network device, it also sends a terminal transition message to the control device.
  • the terminal move-out notification instructs the first terminal device to leave the first network device.
  • the control device receives the terminal migration notification sent by the first network device, and the control device deletes the address of the first terminal device from the terminal access set of the first network device.
  • the first network device in a scenario where the first network device can sense the departure of the first terminal device, the first network device not only deletes the address of the first terminal device in the local terminal access set, but also notifies the control device to delete the first network as well.
  • the address of the first terminal device in the terminal access set of the device is: the terminal access set stored at the control device and the network device can accurately represent which terminal devices are connected to the network device in real time, so that other terminal devices can access the migrated terminal devices in the future.
  • the established VXLAN tunnel can be dynamically changed.
  • a virtual network control protocol overlaycontrol protocol, OCP
  • OCP server OCP server
  • OCP client OCP client
  • the terminal migration notification sent by the first network device to the control device can be sent through the OCP protocol.
  • any network device may first establish a VXLAN tunnel with the control device. Therefore, when a certain network device receives a VXLAN message whose destination is not the terminal device to which it is connected, it can forward the VXLAN message in a detour through the control device.
  • the above-mentioned terminal migration notification can be forwarded through the VXLAN tunnel.
  • FIG. 1 is a schematic diagram of the architecture of a VXLAN provided by an embodiment of the present application.
  • the VXLAN includes five VXLAN tunnel endpoints (VXLAN Tunnel Endpoints, VTEP), which are marked as VTEP-1, VTEP-2, VTEP-3, VTEP-4, and VTEP-5.
  • VTEP P-1, VTEP-2, VTEP-3, VTEP-4 are network equipment
  • VTEP-5 is control equipment.
  • VTEP-1, VTEP-2, VTEP-3, and VTEP-4 establish VXLAN tunnels with VTEP-5 respectively, and obtain four VXLAN tunnels in the north-south direction as shown in Figure 5.
  • VXLAN tunnels are not established between VTEP-1, VTEP-2, VTEP-3, and VTEP-4. Instead, VXLAN tunnels between network devices are dynamically established later based on traffic requirements, and VXLAN tunnels between network devices are dynamically changed when terminal devices are migrated. It should be noted that the embodiments of the present application do not limit the specific implementation manner of dynamically establishing a VXLAN tunnel between network devices based on traffic requirements.
  • OCP protocol is only an optional control plane protocol for realizing the communication between the control device and the network device.
  • This embodiment of the present application does not limit how the control device establishes the control plane protocol with each network device.
  • the VXLAN tunnel when a VXLAN tunnel is dynamically established between network devices based on traffic requirements, if the aging time method is used to delete a VXLAN tunnel that has been idle for a long time, in the case of terminal device migration, the VXLAN tunnel cannot be changed in time, which also leads to forwarding table resources. of waste.
  • the established VXLAN tunnel can be dynamically changed when the terminal device is migrated, so that the VXLAN tunnel established in the network can represent the current demanded VXLAN tunnel in real time. In this way, not only the flexibility of establishing a VXLAN tunnel is improved, but also it is unnecessary to reserve all VXLAN tunnels between devices in the VXLAN, thereby saving forwarding table resources at each network device.
  • the first terminal device is first connected to a HUB (hub) device, and then the HUB device is connected to the first network device. In this case, if the first terminal device is disconnected from the HUB device, the first network device cannot sense the departure of the first terminal device.
  • HUB hub
  • the first network device is the wireless access point of the first terminal device, if the first terminal device directly leaves the range covered by the SSID of the first network device, the first network device cannot sense that the first terminal device leaves.
  • the first network device cannot sense the departure of the first terminal device, when the first terminal device migrates out, the first network device cannot immediately delete the address of the first terminal device from the terminal access set. Instead, it is determined that the first terminal device leaves the first network device by means of the advertisement of the network device newly accessed by the first terminal device.
  • the implementation manner for the first network device to determine that the first terminal device leaves the first network device may be: the control device receives the terminal access announcement sent by the third network device message, the terminal access announcement message includes the address of the first terminal device and the identifier of the third network device, and the terminal access announcement message indicates that the first terminal device is connected to the third network device. If the terminal access set of the first network device includes the address of the first terminal device, the control device can learn that the first terminal device has migrated from the first network device to the third network device, so the control device deletes the first network device The identifier of the first terminal device in the terminal access set.
  • the control device sends a terminal relocation instruction to the first network device, where the terminal relocation instruction includes the address of the first terminal device, and the terminal relocation instruction is used to instruct the first terminal device to leave the first network device. Therefore, if the first network device receives the terminal relocation instruction sent by the control device, it is determined that the first terminal device leaves the first network device.
  • the first network device since the first network device determines that the first terminal device has migrated from the first network device through the control device, the first network device only needs to delete the first network device from the terminal access set of the first network device.
  • the identification of the terminal device is sufficient, and the update process of the terminal access set at the control device does not need to be concerned.
  • any network device and the control device first establish a VXLAN tunnel.
  • the above-mentioned online notification message and the second terminal relocation message can be implemented through the established north-south VXLAN tunnel.
  • FIG. 2 is a schematic flowchart of updating a terminal access set provided by an embodiment of the present application, which is used to further describe the situation in the above scenario (2) in detail.
  • the flow shown in Figure 2 includes the following steps.
  • terminal device A After terminal device A migrates from edge device 1 to edge device 2, terminal device A sends traffic to edge device 2.
  • the traffic sent by terminal device A to edge device 2 refers to the packets sent by terminal device A to edge device 2 for the first time.
  • the message is an online notification message, which is used to notify the terminal device A to access the edge device 2 .
  • the packet is a data packet sent by the first terminal device to the first network device for the first time.
  • the edge device 2 will recognize the address of the terminal device A (such as a MAC address and/or an IP address), and the edge device 2 will add the address of the terminal device A to the terminal access set of the edge device 2 .
  • the address of the terminal device A such as a MAC address and/or an IP address
  • the edge device 2 reports the address of the terminal device A to the edge device by means of a terminal access notification message based on the OCP protocol.
  • the edge device searches the stored terminal access set of each edge device, and finds that the address of terminal device A already exists in the terminal access set of edge device 1, and it is edge device 2 that sends the terminal access announcement message this time. Therefore, the edge device updates the terminal access sets of edge device 2 and edge device 1.
  • the relocation situation of the terminal device A is notified to the edge device previously accessed by the terminal device A, that is, the edge device 1, in the form of a terminal relocation instruction.
  • the edge device 1 receives the terminal migration instruction sent by the edge device, and deletes the address of the terminal device A from the local terminal access set.
  • the edge device in the case where the edge device cannot perceive the terminal device migration, it can also be implemented to update the terminal access set at the edge device and the terminal at the edge device in time after the terminal device leaves the first network device. Access collection.
  • the terminal device After the terminal device is migrated, based on the above process of updating the terminal access set at the control device and the terminal access set at the network device, when other terminal devices subsequently access the terminal device that has been migrated, it is possible to dynamically change the Established VXLAN tunnel.
  • the following embodiments are used to explain in detail how to dynamically change the established VXLAN tunnel.
  • FIG. 3 is a flowchart of a method for establishing a VXLAN tunnel provided by an embodiment of the present application. As shown in Figure 3, the method includes the following steps.
  • Step 301 The first network device receives a first VXLAN packet from the second network device, and the destination address of the original frame included in the first VXLAN packet is the address of the first terminal device.
  • the original frame in the first VXLAN packet is a packet in the traffic of the second terminal device accessing the first terminal device, and the second terminal device is connected to the second network device.
  • a possible application scenario of the embodiment of the present application is: before the first terminal device is migrated from the first network device to the third network device, the second terminal device has already accessed the first terminal device, so the transfer of the second network device.
  • the publication stores the correspondence between the tunnel identifier of the VXLAN tunnel between the second network device and the first network device and the address of the first terminal device.
  • the first network device does not immediately update the forwarding table. Therefore, if the second terminal device accesses the first terminal device again, the second network device still uses the unupdated forwarding table at this time. The message is sent to the first network device to expect to access the first terminal device through the first network device.
  • the forwarding table includes a plurality of terminal device addresses and tunnel identifiers corresponding to the respective terminal device addresses.
  • the function of the forwarding table is: through the VXLAN tunnel indicated by the tunnel identifier corresponding to any terminal device address, the message can be forwarded to the terminal device indicated by the terminal device address.
  • the above-mentioned tunnel identifier is an identifier of the VTEP at the receiving end of the VXLAN tunnel (eg, the IP address of the peer device).
  • the tunnel identifier of the VXLAN tunnel is the identifier of the first network device.
  • the above-mentioned tunnel identifier is a symbol other than the identifier of the peer device of the VXLAN tunnel that can uniquely identify the tunnel, for example, the tunnel identifier is a unique number for the VXLAN tunnel.
  • the tunnel identifier of the VXLAN tunnel is tunnel 1 .
  • the network device in order to facilitate the subsequent query of the peer end of a certain VXLAN tunnel, the network device can use this number to index the corresponding entry, and the entry contains the IP address of the peer device.
  • the second network device may also maintain a tunnel list, where the tunnel list includes the identifiers of the VTEPs of the receiving ends of the tunnels that correspond one-to-one with each tunnel identifier.
  • the second network device After receiving the packet whose source address is the address of the second terminal device and the destination address is the address of the first terminal device, the second network device queries the forwarding table and finds that the VXLAN between the second network device and the first network device can be passed through. The tunnel sends the packet. In this way, the second network device encapsulates the packet as an original frame into a first VXLAN packet, and passes the first VXLAN packet through the VXLAN tunnel between the second network device and the first network device. sent to the first network device.
  • the above-mentioned encapsulating the message as the original frame into the first VXLAN message refers to: adding the outer frame header such as the VXLAN frame header to the first network device as the destination of the first VXLAN message, so as to realize the sending of the first VXLAN message to the first network device.
  • the encapsulation format of the VXLAN packet is also explained here.
  • the original frame original L2frame
  • the original frame is first added with a VXLAN frame header during the encapsulation process, and then encapsulated in the outer UDP frame header, and the IP and MAC addresses of the bearer network are used as the outer header for encapsulation.
  • a VXLAN packet can be obtained.
  • Step 302 If there is no first terminal device in the terminal devices connected to the first network device, send an error message notification message to the control device, and the control device receives the error message notification message from the first network device.
  • the first network device Based on the above process of updating the terminal access set at the control device and the terminal access set at the network device, it can be known that if the first terminal device migrates from the first network device, the terminal access set of the first network device will no longer have the identity of the first terminal device. Therefore, when the first network device receives the first VXLAN packet, if there is no address of the first terminal device in the terminal access set of the first network device, it indicates that the first terminal device is not connected to the first network device. In this scenario, the first network device sends an error message notification message to the control device. The control device receives the error message notification message sent by the first network device.
  • the error message notification message includes the address of the first terminal device, the identifier of the first network device, and the identifier of the second network device.
  • the error message notification message indicates that the first terminal device is not connected to the first network device, but the first network device still receives the VXLAN packet from the second network device and sent to the first terminal device.
  • step 302 is a case where the received message is a message encapsulated in the VXLAN format. If the packet in step 301 is not a packet encapsulated in the VXLAN format, it is not necessary to dynamically change the established VXLAN tunnel.
  • control device may query the network device currently accessed by the first terminal device from the terminal access set of each network device. and use the queried network device as the third network device.
  • the first network device receives the first VXLAN packet, if there is no address of the first terminal device in the local terminal access set, it indicates that the first terminal device is not currently connected to the first network device.
  • the first network device encapsulates the original frame in the first VXLAN packet into a second VXLAN packet, and encapsulates the original frame in the first VXLAN packet into a second VXLAN packet.
  • the second VXLAN packet is sent to the control device via the VXLAN tunnel between the first network device and the control device.
  • the control device receives the second VXLAN packet from the first network device.
  • the control device encapsulates the original frame into a third VXLAN packet, and sends the third VXLAN packet to the third network device through the VXLAN tunnel between the control device and the third network device, so as to implement the second terminal device to the migrated Access to the first terminal device.
  • control device needs to notify the second network device to change the established VXLAN tunnel through the following steps, so as to prevent the second network device from sending an error message to the first network device.
  • Internet equipment
  • Step 303 The control device sends a terminal change message to the second network device, the terminal change message includes the address of the first terminal device and the identifier of the third network device, and the terminal change message indicates that the first terminal device is currently connected to the third network device.
  • the second network device After receiving the terminal change message, the second network device learns that the first terminal device has been migrated from the first network device to the third network device. Therefore, the second network device needs to update the forwarding table to avoid the second network device The device subsequently sends the erroneous packet to the first network device again.
  • the second network device may delete from the forwarding table the relationship between the tunnel identifier of the VXLAN tunnel from the second network device to the first network and the address of the first terminal device corresponding relationship.
  • a corresponding relationship between the tunnel identifier of the VXLAN tunnel from the second network device to the third network and the address of the first terminal device is established in the forwarding table.
  • the tunnel identifier of the VXLAN tunnel from the second network device to the third network is the identifier of the third network device.
  • the tunnel identifier of the VXLAN tunnel from the second network device to the first network is the identifier of the first network device.
  • the tunnel identifier in the forwarding table is a symbol other than the identifier of the peer device of the VXLAN tunnel that can uniquely identify the tunnel, for example, in the scenario where the tunnel identifier is a unique number for the VXLAN tunnel, the network device can use this number to index the Corresponding entry, the entry stores VXLAN tunnel parameters including the IP address of the peer device.
  • the second network device also maintains a tunnel list, where the tunnel list includes the identifiers of the VTEPs of the receiving ends of the tunnels that correspond one-to-one with each tunnel identifier.
  • the second network device searches the local forwarding table for the address of the terminal device corresponding to the tunnel identifier of the VXLAN tunnel between the second network device and the first network device.
  • address of the device not only deletes the correspondence between the tunnel identifier of the VXLAN tunnel from the second network device to the first network device in the tunnel list and the address of the first terminal device from the forwarding table, but also deletes the first terminal device from the tunnel list.
  • the tunnel identifier of the VXLAN tunnel from the second network device to the first network device and the first network device are not deleted from the tunnel list.
  • the corresponding relationship between the device identifiers, but the corresponding relationship between the tunnel identifier of the VXLAN tunnel between the second network device and the first network device and the address of the first terminal device in the forwarding table is deleted.
  • the above process of deleting the corresponding relationship between the tunnel identifier of the VXLAN tunnel from the second network device to the first network device and the identifier of the first network device from the tunnel list is also referred to as deleting the second network device to the first network device.
  • the process of VXLAN tunneling of the first network device is also referred to as deleting the second network device to the first network device.
  • the second network device after receiving the terminal change message, ID, find the tunnel ID of the VXLAN tunnel of the third network device corresponding to the tunnel receiving end from the tunnel list. If a tunnel ID is found, the tunnel ID is the ID of the VXLAN tunnel between the second network device and the third network device.
  • the identifier indicates that a VXLAN tunnel from the second network device to the third network device is currently established, but the correspondence between the address of the first terminal device and the tunnel identifier of the VXLAN tunnel has not been created.
  • the tunnel identifier generation rule is a set rule for generating a unique identifier for a VXLAN tunnel, which is not specifically limited in this embodiment of the present application. For example, the tunnel identifier is generated based on the number of VXLAN tunnels from the second network device to other network devices.
  • the above process after the tunnel identifier is not found is also referred to as the process of establishing a VXLAN tunnel between the second network device and the third network device.
  • the above process can be described as follows: after receiving the terminal change message, the second network device searches whether it has already connected with the VXLAN tunnel from the second network device to the third network device. If there is no VXLAN tunnel from the second network device to the third network device VXLAN tunnel, establish a VXLAN tunnel from the second network device to the third network device, and add the corresponding relationship between the tunnel identifier of the VXLAN tunnel from the second network device to the third network device and the address of the first terminal device to the forwarding table middle.
  • control device is a border device in the VXLAN network.
  • edge device 4 After terminal device A is migrated to edge device 2, if terminal device A and terminal device B do not communicate with each other for a period of time, edge device 4 does not receive traffic destined for terminal device A within the aging time. The edge device 4 deletes the entry of the terminal device A in the forwarding table, and at the same time determines that there is no entry of the terminal device under the edge device 1 in the forwarding table, and deletes the VXLAN tunnel from the edge device 4 to the edge device 1.
  • Terminal device B sends traffic to access terminal device A
  • the edge device 4 forwards the traffic to the VXLAN tunnel from the edge device 4 to the edge device 1 according to the forwarding table.
  • the edge device 1 receives the traffic of the terminal device B, inquires that there is no terminal device A in the terminal access set of the device, and at the same time recognizes that the received traffic is a VXLAN packet.
  • the traffic is forwarded through the VXLAN tunnel from the edge device 1 to the edge device.
  • the border device receives the traffic and forwards the traffic to the edge device 2 through the VLXLAN tunnel from the border device to the edge device 2.
  • the edge device 2 device receives the traffic and forwards it to the terminal device A according to the forwarding table.
  • the edge device 1 When the edge device 1 forwards the traffic, it triggers an error message notification message, and notifies the edge device terminal device B to access the error message of the terminal device A through the OCP protocol.
  • the edge device queries the terminal access set of each terminal device, and finds that the VTEP corresponding to the terminal device B is the edge device 4 .
  • the edge device sends a notification to the edge device 4 through the OCP protocol to notify that the VTEP corresponding to the terminal device A is the edge device 2 .
  • the edge device 4 After receiving the notification, the edge device 4 updates the entry of the terminal device A in the forwarding table through the following steps.
  • Edge device 4 judges that if the VXLAN tunnel from edge device 4 to edge device 2 has not been created, establish a VXLAN tunnel from edge device 4 to edge device 2 (here, establishing a VXLAN tunnel of edge device 4->edge device 2 refers to : Obtain the tunnel ID of the VXLAN tunnel of edge device 4->edge device 2, and add the corresponding relationship between the tunnel ID and the address of terminal device A to the forwarding table).
  • Edge device 4 deletes the correspondence between the address of terminal device A in the forwarding table and the tunnel identifier of the VXLAN tunnel between edge device 4 and edge device 1, and judges that if the forwarding table of this device does not include the tunnel The corresponding relationship between the identifiers indicates that there is no entry of the terminal device connected to edge device 1 in the forwarding table, then delete the VXLAN tunnel from edge device 4 to edge device 1 (here, delete the VXLAN tunnel from edge device 4 to edge device 1 is Refers to: delete the corresponding relationship between the tunnel ID of the VXLAN tunnel from edge device 4 to edge device 1 and the ID of edge device 1 in the tunnel list).
  • the first network device determines that the first terminal device is not connected to itself, it will send an error message passing message to the control device. Therefore, if the first terminal device migrates from the first network device, even if the forwarding table at the second network device is not updated in time, the first VXLAN packet is erroneously sent to the first network device.
  • the notification message can still notify the control device of the migration situation, so as to notify the second network device through the control device, so that the second network device updates the forwarding table in time.
  • the established VXLAN tunnel in the forwarding table can be dynamically changed when the terminal device is migrated, so that the VXLAN tunnel established in the network can represent the current demanded VXLAN tunnel in real time. In this way, not only the flexibility of establishing a VXLAN tunnel is improved, but also it is unnecessary to reserve all VXLAN tunnels between devices in the VXLAN, thereby saving forwarding table resources at each network device.
  • FIG. 6 is a schematic structural diagram of a first network device in a VXLAN provided by an embodiment of the present application.
  • the VXLAN includes multiple network devices, and the first network device is one of the multiple network devices.
  • the first network device 600 includes:
  • a receiving module 601 configured to receive a first VXLAN message from a second network device, where the destination address of the original frame included in the first VXLAN message is the address of the first terminal device;
  • the sending module 602 is configured to send an error message notification message to the control device if there is no first terminal device in the terminal device connected to the first network device, where the error message notification message includes the address of the first terminal device, the first network The identifier of the device and the identifier of the second network device, the error message notification message indicates that the first terminal device is not connected to the first network device, but the first network device still receives the message from the second network device and sent to the first terminal device. VXLAN packets.
  • the first network device further includes:
  • a deletion module configured to delete the address of the first terminal device from the terminal access set of the first network device when it is determined that the first terminal device has left the first network device, where the terminal access set includes each device connected to the first network device The address of the end device.
  • delete modules are used to:
  • the sending module is also used for:
  • a terminal move-out notification is sent to the control device, where the terminal move-out notification includes the address of the first terminal device and the identifier of the first network device, and the terminal move-out notification instructs the first terminal device to leave the first network device.
  • delete modules are used to:
  • the terminal move-out instruction includes the address of the first terminal equipment, and the terminal move-out instruction is used to instruct the first terminal equipment to leave the first terminal Internet equipment.
  • the sending module is also used for:
  • the original frame is encapsulated into a second VXLAN packet, and the second VXLAN packet is sent to the control device through the VXLAN tunnel between the first network device and the control device.
  • the first network device when the first network device determines that the first terminal device is not connected to itself, it will send an error message pass message to the control device. Therefore, if the first terminal device migrates from the first network device, even if the forwarding table at the second network device is not updated in time, the first VXLAN packet is erroneously sent to the first network device.
  • the notification message can still notify the control device of the migration situation, so as to notify the second network device through the control device, so that the second network device updates the forwarding table in time.
  • the established VXLAN tunnel in the forwarding table can be dynamically changed when the terminal device is migrated, so that the VXLAN tunnel established in the network can represent the current demanded VXLAN tunnel in real time. In this way, not only the flexibility of establishing a VXLAN tunnel is improved, but also it is unnecessary to reserve all VXLAN tunnels between devices in the VXLAN, thereby saving forwarding table resources at each network device.
  • the first network device provided in the above embodiment establishes a VXLAN tunnel
  • only the division of the above functional modules is used as an example for illustration.
  • the above functions can be allocated to different functional modules as required. , that is, dividing the internal structure of the device into different functional modules to complete all or part of the functions described above.
  • the first network device provided in the above embodiment and the method embodiment for establishing a VXLAN tunnel belong to the same concept, and the specific implementation process thereof is detailed in the method embodiment, which will not be repeated here.
  • FIG. 7 is a schematic structural diagram of a control device provided by an embodiment of the present application. As shown in FIG. 7, the control device 700 includes:
  • the receiving module 701 is configured to receive an error message notification message from a first network device in the VXLAN, where the error message notification message includes the address of the first terminal device, the identifier of the first network device, and the identifier of the second network device.
  • the message notification message indicates that the first terminal device is not connected to the first network device, but the first network device still receives a VXLAN message from the second network device and sent to the first terminal device, where the VXLAN includes multiple network devices, The first network device and the second network device are two of the multiple network devices;
  • the sending module 702 is configured to send a terminal change message to the second network device, where the terminal change message includes the address of the first terminal device and the identifier of the third network device, and the terminal change message indicates that the first terminal device is currently connected to the third network device.
  • the receiving module is further configured to receive a terminal relocation notification from the first network device, where the terminal relocation notification includes the address of the first terminal device and the identifier of the first network device, and the terminal relocation notification instructs the first terminal device to leave the first network equipment;
  • the control device further includes a deletion module configured to delete the address of the first terminal device from the terminal access set of the first network device, where the terminal access set includes addresses of each terminal device connected to the first network device.
  • the receiving module is further configured to receive a terminal access announcement message sent from a third network device, where the terminal access announcement message includes the address of the first terminal device and the identifier of the third network device, and the terminal access announcement message indicates that the first terminal device is connected at a third network device;
  • the control device further includes a deletion module, configured to delete the address of the first terminal device in the terminal access set of the first network device if the address of the first terminal device is included in the terminal access set of the first network device;
  • the sending module is further configured to send a terminal relocation instruction to the first network device, where the terminal relocation instruction includes the address of the first terminal device, and the terminal relocation instruction is used to instruct the first terminal device to leave the first network device.
  • control device further includes:
  • the adding module is configured to add the address of the first terminal device to the terminal access set of the third network device.
  • the first network device when the first network device determines that the first terminal device is not connected to itself, it will send an error message pass message to the control device. Therefore, if the first terminal device migrates from the first network device, even if the forwarding table at the second network device is not updated in time, the first VXLAN packet is erroneously sent to the first network device.
  • the notification message can still notify the control device of the migration situation, so as to notify the second network device through the control device, so that the second network device updates the forwarding table in time.
  • the established VXLAN tunnel in the forwarding table can be dynamically changed when the terminal device is migrated, so that the VXLAN tunnel established in the network can represent the current demanded VXLAN tunnel in real time. In this way, not only the flexibility of establishing a VXLAN tunnel is improved, but also it is unnecessary to reserve all VXLAN tunnels between devices in the VXLAN, thereby saving forwarding table resources at each network device.
  • control device provided in the above embodiment establishes a VXLAN tunnel
  • only the division of the above functional modules is used as an example.
  • the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
  • control device provided in the above embodiment and the method embodiment for establishing a VXLAN tunnel belong to the same concept, and the specific implementation process thereof is detailed in the method embodiment, which will not be repeated here.
  • FIG. 8 is a schematic structural diagram of a network device provided by an embodiment of the present application. Any network device or control device in the foregoing embodiments may be implemented by the network device shown in FIG. 8 .
  • the network device includes at least one processor 801 , a communication bus 802 , a memory 803 and at least one communication interface 804 .
  • the processor 801 may be a general-purpose central processing unit (central processing unit, CPU), an application-specific integrated circuit (application-specific integrated circuit, ASIC), or one or more integrated circuits for controlling the execution of the programs of the present application.
  • CPU central processing unit
  • ASIC application-specific integrated circuit
  • the deletion module in the embodiment of FIG. 6 and the functions of the deletion module and the addition module in the embodiment of FIG. 7 can all be implemented by a processor.
  • Communication bus 802 may include a path to communicate information between the aforementioned components.
  • the memory 803 may be read-only memory (ROM), random access memory (RAM), electrically erasable programmable read-only memory (EEPROM), optical disk (including compact disc read-only memory (CD-ROM), compact disc, laser disc, digital versatile disc, Blu-ray disc, etc.), magnetic disk or other magnetic storage device, or capable of carrying or storing instructions or data A desired program code in a structured form and any other medium that can be accessed by a computer, but is not limited thereto.
  • the memory 803 can exist independently and is connected to the processor 801 through the communication bus 802 .
  • the memory 803 may also be integrated with the processor 801 .
  • the memory 803 is used for storing the program code for executing the solution of the present application, and the execution is controlled by the processor 801 .
  • the processor 801 is used to execute program codes stored in the memory 803 .
  • One or more software modules may be included in the program code.
  • the network device or control device in FIGS. 1 to 6 may determine data for developing an application through the processor 801 and one or more software modules in the program code in the memory 803 .
  • Communication interface 804 using any transceiver-like device, for communicating with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc. .
  • RAN radio access network
  • WLAN wireless local area networks
  • the functions of the receiving module and the sending module in the embodiment of FIG. 6 or FIG. 7 may be implemented through a communication interface.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general purpose computer, special purpose computer, computer network, or other programmable device.
  • the computer instructions may be stored in or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server or data center Transmission to another website site, computer, server, or data center by wire (eg, coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes an integration of one or more available media.
  • the available media may be magnetic media (eg, floppy disk, hard disk, magnetic tape), optical media (eg, digital versatile disc (DVD)), or semiconductor media (eg, solid state disk (SSD)) )Wait.

Landscapes

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

Abstract

La présente demande concerne un procédé permettant de créer un tunnel VXLAN, ainsi que des dispositifs associés, qui appartiennent au domaine technique des communications. Selon le procédé, si un premier dispositif terminal migre à partir d'un premier dispositif réseau, même si une liste de transfert au niveau d'un second dispositif réseau n'est pas rapidement mise à jour, entraînant l'envoi erroné d'un premier message VXLAN au premier dispositif réseau, un dispositif de commande peut être quand même averti de la circonstance de migration au moyen d'un message de notification de message d'erreur afin que le second dispositif de réseau soit notifié au moyen du dispositif de commande, et que le second dispositif réseau puisse rapidement mettre à jour la liste de transfert. Par conséquent, lorsqu'un dispositif terminal migre, le procédé selon la présente demande modifie de manière dynamique un tunnel VXLAN qui est créé dans la liste de transfert, afin qu'un tunnel VXLAN créé dans un réseau puisse caractériser le tunnel VXLAN qui est actuellement requis en temps réel. La flexibilité avec laquelle des tunnels VXLAN sont créés est accrue si bien que le VXLAN n'a plus besoin de maintenir tous les tunnels VXLAN entre les dispositifs.
PCT/CN2021/100398 2020-06-30 2021-06-16 Procédé de création d'un tunnel vxlan, et dispositifs associés WO2022001666A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010615448.XA CN113872844B (zh) 2020-06-30 2020-06-30 建立vxlan隧道的方法及相关设备
CN202010615448.X 2020-06-30

Publications (1)

Publication Number Publication Date
WO2022001666A1 true WO2022001666A1 (fr) 2022-01-06

Family

ID=78981462

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/100398 WO2022001666A1 (fr) 2020-06-30 2021-06-16 Procédé de création d'un tunnel vxlan, et dispositifs associés

Country Status (2)

Country Link
CN (1) CN113872844B (fr)
WO (1) WO2022001666A1 (fr)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103346900A (zh) * 2013-05-31 2013-10-09 华为技术有限公司 大二层网络中虚拟机热迁移后的路由配置方法和网关
US20160119219A1 (en) * 2014-10-26 2016-04-28 Microsoft Technology Licensing, Llc Method for reachability management in computer networks
CN107547400A (zh) * 2017-06-21 2018-01-05 新华三技术有限公司 一种虚拟机迁移方法和装置
CN107547349A (zh) * 2017-07-31 2018-01-05 新华三技术有限公司 一种虚拟机迁移的方法及装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103259736A (zh) * 2013-05-24 2013-08-21 杭州华三通信技术有限公司 一种隧道建立方法和网络设备
CN108293022B (zh) * 2015-12-30 2020-10-09 华为技术有限公司 一种报文传输的方法、装置和系统
CN106385354B (zh) * 2016-08-30 2019-08-20 锐捷网络股份有限公司 报文转发方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103346900A (zh) * 2013-05-31 2013-10-09 华为技术有限公司 大二层网络中虚拟机热迁移后的路由配置方法和网关
US20160119219A1 (en) * 2014-10-26 2016-04-28 Microsoft Technology Licensing, Llc Method for reachability management in computer networks
CN107547400A (zh) * 2017-06-21 2018-01-05 新华三技术有限公司 一种虚拟机迁移方法和装置
CN107547349A (zh) * 2017-07-31 2018-01-05 新华三技术有限公司 一种虚拟机迁移的方法及装置

Also Published As

Publication number Publication date
CN113872844A (zh) 2021-12-31
CN113872844B (zh) 2023-07-18

Similar Documents

Publication Publication Date Title
US9577958B2 (en) Method and apparatus for implementing communication between virtual machines
US11184842B2 (en) Conveying non-access stratum messages over ethernet
US9374323B2 (en) Communication between endpoints in different VXLAN networks
EP2974234B1 (fr) Produire un chemin d'hôte
WO2022001669A1 (fr) Procédé permettant d'établir un tunnel vxlan et dispositif associé
US20150358232A1 (en) Packet Forwarding Method and VXLAN Gateway
CN111736958B (zh) 虚拟机迁移方法、系统、计算机设备及存储介质
GB2497202A (en) Transmitting frames between, possibly different, local VLANs by encapsulating frames for global VLAN tunnel
EP4027593A1 (fr) Procédé, appareil et système de configuration de tunnel, ainsi que dispositif et support de stockage
US20190319871A1 (en) Multi-VRF Universal Device Internet Protocol Address for Fabric Edge Devices
US20220255772A1 (en) Packet sending method, apparatus, and system
CN107659484B (zh) 从vlan网络接入vxlan网络的方法、装置及系统
US20190007368A1 (en) DHCP in Layer-3 Overlay with Anycast Address Support and Network Address Transparency
WO2021139304A1 (fr) Procédé et dispositif d'interconnexion de multiples nuages
WO2018001339A1 (fr) Procédé et appareil de réacheminement de paquet dans un réseau local extensible virtuel (vxlan)
JP7348403B2 (ja) 返信パケットを送信するための方法、経路広告メッセージを送信するための方法、ネットワークデバイス、および、コンピュータプログラム
WO2024001701A1 (fr) Procédé, appareil et système de traitement de données
CN108282404B (zh) 一种路由生成方法、装置及系统
WO2022001666A1 (fr) Procédé de création d'un tunnel vxlan, et dispositifs associés
CN113300931B (zh) 一种虚拟机迁移发现方法及vtep
US11902166B2 (en) Policy based routing in extranet networks
US12021826B2 (en) Techniques for managing software defined networking controller in-band communications in a data center network
WO2024016869A1 (fr) Procédé et appareil de configuration de multidiffusion
WO2022053007A1 (fr) Procédé et appareil de vérification d'accessibilité de réseau, et support de stockage informatique
US20220070276A1 (en) Boot server support in an enterprise fabric network

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21832150

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21832150

Country of ref document: EP

Kind code of ref document: A1