技术领域technical field
本发明涉及计算机网络通信领域,尤其涉及一种在VxLAN中发送ARP报文发送方法、VTEP及VxLAN控制器。The invention relates to the field of computer network communication, in particular to a method for sending ARP messages in VxLAN, a VTEP and a VxLAN controller.
背景技术Background technique
现有技术应用虚拟可扩展局域网(Virtual extensible LAN,VxLAN)技术扩展网络虚拟化,用以得到足够数量的虚拟网络,来满足用户使用。In the prior art, a virtual extensible local area network (Virtual extensible LAN, VxLAN) technology is applied to extend network virtualization, so as to obtain a sufficient number of virtual networks to satisfy users.
基于VxLAN虚拟化网络的虚拟机之间建立通信过程具体如下:The process of establishing communication between virtual machines based on the VxLAN virtualization network is as follows:
源虚拟机(Virtual Machine,VM))发送地址解析协议(Address ResolutionProtocol,ARP)报文,用以请求目的VM的媒体访问控制(Media Access Control,MAC)地址;与源VM对应的源VxLAN隧道终端(VxLAN Tunnel Endpoint,VTEP)基于该ARP报文,构造因特网组管理协议(Internet Group Management Protocol,IGMP)报文,然后将该IGMP报文发送至与目的VM对应的目的VTEP,若该目的VTEP接收到该IGMP报文,则该目的VTE2会对该IGMP报文进行解析,并将解析结果广播至与目的VTEP对应的目的VM中,以便目的VM接收到该解析结果后,将自身的MAC地址通过目的VTEP2进行封装,然后反馈给源VM。源VTEP用于将源VM发送的报文封装成VxLAN报文,或者将VxLAN报文解封装发送给源VM;目的VTEP用于将目的VM发送的报文封装成VxLAN报文,或者将VxLAN报文解封装发送给目的VM。The source virtual machine (Virtual Machine, VM) sends an address resolution protocol (Address Resolution Protocol, ARP) message to request the media access control (Media Access Control, MAC) address of the destination VM; the source VxLAN tunnel terminal corresponding to the source VM (VxLAN Tunnel Endpoint, VTEP) constructs an Internet Group Management Protocol (Internet Group Management Protocol, IGMP) message based on the ARP message, and then sends the IGMP message to the destination VTEP corresponding to the destination VM. If the destination VTEP receives If the IGMP message is received, the destination VTE2 will analyze the IGMP message, and broadcast the analysis result to the destination VM corresponding to the destination VTEP, so that after receiving the resolution result, the destination VM will send its own MAC address through The destination VTEP2 performs encapsulation, and then feeds back to the source VM. The source VTEP is used to encapsulate the packet sent by the source VM into a VxLAN packet, or to decapsulate the VxLAN packet and send it to the source VM; the destination VTEP is used to encapsulate the packet sent by the destination VM into a VxLAN packet, or to The document is decapsulated and sent to the destination VM.
在实现上述对信息传输的过程中,现有技术中至少存在如下问题:源VTEP要想得到目的VM的MAC地址,源VTEP1就必须要在多个组播组中发送IGMP报文,以获得与目的VTEP对应的目的VM2的MAC地址,这样就导致源VTEP发送报文会占用大量信息传输带宽,使用了大量的数据流量,从而造成了资源的浪费。In the process of realizing the above information transmission, there are at least the following problems in the prior art: if the source VTEP wants to obtain the MAC address of the destination VM, the source VTEP1 must send IGMP messages in multiple multicast groups to obtain the MAC address of the destination VM. The MAC address of the destination VM2 corresponding to the VTEP causes the source VTEP to send packets that occupy a large amount of information transmission bandwidth and use a large amount of data traffic, resulting in a waste of resources.
发明内容Contents of the invention
本发明实施例提供一种在VxLAN中发送ARP报文发送方法、VTEP及VxLAN控制器,能够解决在基于VxLAN虚拟化网络的虚拟机之间建立通信过程中,占用了大量信息传输带宽,使用了许多流量,从而造成了资源的浪费的问题。The embodiment of the present invention provides a method for sending ARP messages in VxLAN, VTEP and VxLAN controller, which can solve the problem of occupying a large amount of information transmission bandwidth during the process of establishing communication between virtual machines based on the VxLAN virtualization network. A lot of traffic, thus causing a waste of resources.
为达到上述目的,本发明的实施例采用如下技术方案:In order to achieve the above object, embodiments of the present invention adopt the following technical solutions:
第一方面,本发明实施例提供了一种在虚拟可扩展局域网VxLAN中发送地址解析协议ARP报文的方法,所述虚拟可扩展局域网包括源VxLAN隧道端点VTEP、目标VTEP和VxLAN控制器,所述源VTEP用于管理源服务器上运行的源虚拟机VM在所述VxLAN中的通信,所述目的VTEP用于管理目的服务器上运行的目的VM在所述VxLAN中的通信,所述VxLAN控制器用于维护所述源VTEP的互联网协议IP地址与所述源VM的IP地址的映射关系及所述目的VTEP的IP地址与所述目的VM的IP地址的映射关系,所述VxLAN控制器、所述源VTEP和所述目的VTEP之间互相通信,所述方法包括:In the first aspect, the embodiment of the present invention provides a method for sending an address resolution protocol ARP message in a virtual scalable local area network (VxLAN), where the virtual scalable local area network includes a source VxLAN tunnel endpoint VTEP, a target VTEP, and a VxLAN controller. The source VTEP is used to manage the communication of the source virtual machine VM running on the source server in the VxLAN, the destination VTEP is used to manage the communication of the destination VM running on the destination server in the VxLAN, and the VxLAN controller uses To maintain the mapping relationship between the IP address of the source VTEP and the IP address of the source VM and the mapping relationship between the IP address of the destination VTEP and the IP address of the destination VM, the VxLAN controller, the The source VTEP communicates with the destination VTEP, and the method includes:
所述VxLAN控制器接收所述源VTEP发送的查询请求以获取所述目的VTEP的IP地址;其中,所述查询请求携带所述目的VM的IP地址;其中,所述目的VM的IP地址是所述源VTEP从所述源VM发送的ARP报文中获取的;The VxLAN controller receives the query request sent by the source VTEP to obtain the IP address of the destination VTEP; where the query request carries the IP address of the destination VM; where the IP address of the destination VM is the IP address of the destination VTEP. The source VTEP is obtained from the ARP message sent by the source VM;
所述VxLAN控制器根据所述目的VM的IP地址及所述目的VM的IP地址所述目的VTEP的IP地址之间的映射关系,确定所述目的VTEP的IP地址;The VxLAN controller determines the IP address of the destination VTEP according to the IP address of the destination VM and the mapping relationship between the IP address of the destination VM and the IP address of the destination VTEP;
所述VxLAN控制器向所述源VTEP发送携带所述目的VTEP的IP地址查询响应,以使所述源VTEP根据所述目的VTEP的IP地址将所述ARP报文封装成VxLAN报文并发送至所述目的VTEP。The VxLAN controller sends an IP address query response carrying the destination VTEP to the source VTEP, so that the source VTEP encapsulates the ARP message into a VxLAN message according to the IP address of the destination VTEP and sends it to The purpose VTEP.
结合第一方面,在第一方面的第一种可能的实现方式中,在所述VxLAN控制器接收所述源VTEP发送的查询请求之前,还包括:With reference to the first aspect, in a first possible implementation manner of the first aspect, before the VxLAN controller receives the query request sent by the source VTEP, the method further includes:
所述VxLAN控制器获取所述目的VM的IP地址与所述目的VTEP的IP地址之间的映射关系。The VxLAN controller acquires a mapping relationship between the IP address of the destination VM and the IP address of the destination VTEP.
结合第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,还包括:In combination with the first possible implementation of the first aspect, the second possible implementation of the first aspect further includes:
当所述目的VM迁移时,所述VxLAN控制器接收更新后的映射关系,所述更新后的映射关系为所述目的VM与所述目的VM当前所属的VTEP的IP地址之间的映射关系,所述目的VM当前所属的VTEP为所述目的VTEP。When the target VM migrates, the VxLAN controller receives an updated mapping relationship, where the updated mapping relationship is a mapping relationship between the target VM and the IP address of the VTEP to which the target VM currently belongs, The VTEP to which the target VM currently belongs is the target VTEP.
第二方面,本发明实施例提供了一种在虚拟可扩展局域网VxLAN中发送地址解析协议ARP报文发送方法,所述虚拟可扩展局域网包括源VxLAN隧道端点VTEP、目标VTEP和VxLAN控制器,所述源VTEP用于管理源服务器上运行的源虚拟机VM在所述VxLAN中的通信,所述目的VTEP用于管理目的服务器上运行的目的VM在所述VxLAN中的通信,所述VxLAN控制器用于维护所述源VTEP的互联网协议IP地址与所述源VM的IP地址的映射关系及所述目的VTEP的IP地址与所述目的VM的IP地址的映射关系,所述VxLAN控制器、所述源VTEP和所述目的VTEP之间互相通信,所述方法包括:In the second aspect, the embodiment of the present invention provides a method for sending an address resolution protocol ARP message in a virtual scalable local area network (VxLAN), where the virtual scalable local area network includes a source VxLAN tunnel endpoint VTEP, a target VTEP, and a VxLAN controller. The source VTEP is used to manage the communication of the source virtual machine VM running on the source server in the VxLAN, the destination VTEP is used to manage the communication of the destination VM running on the destination server in the VxLAN, and the VxLAN controller uses To maintain the mapping relationship between the IP address of the source VTEP and the IP address of the source VM and the mapping relationship between the IP address of the destination VTEP and the IP address of the destination VM, the VxLAN controller, the The source VTEP communicates with the destination VTEP, and the method includes:
所述源VTEP接收所述源虚拟机VM的ARP报文,所述ARP报文用于请求所述目的VM的介质访问控制MAC地址,所述ARP报文携带所述目的VM的IP地址;The source VTEP receives the ARP message of the source virtual machine VM, the ARP message is used to request the medium access control MAC address of the target VM, and the ARP message carries the IP address of the target VM;
所述源VTEP获取所述ARP报文携带的所述目的VM的IP地址;The source VTEP obtains the IP address of the destination VM carried in the ARP message;
所述源VTEP向所述VxLAN控制器发送查询请求以获取所述目的VTEP的IP地址;所述查询请求携带所述目的VM的IP地址;The source VTEP sends a query request to the VxLAN controller to obtain the IP address of the destination VTEP; the query request carries the IP address of the destination VM;
所述源VTEP从所述VxLAN控制器获取所述目的VTEP的IP地址;The source VTEP obtains the IP address of the destination VTEP from the VxLAN controller;
所述源VTEP根据所述目的VTEP的IP地址封装所述ARP报文生成VxLAN报文;The source VTEP encapsulates the ARP message according to the IP address of the destination VTEP to generate a VxLAN message;
所述源VTEP向所述目的VTEP发送所述VxLAN报文。The source VTEP sends the VxLAN packet to the destination VTEP.
第三方面,本发明实施例一种虚拟可扩展局域网VxLAN控制器,应用于VxLAN中,所述VxLAN包括源VxLAN隧道端点VTEP、目标VTEP和VxLAN控制器,所述源VTEP用于管理源服务器上运行的源虚拟机VM在所述VxLAN中的通信,所述目的VTEP用于管理目的服务器上运行的目的VM在所述VxLAN中的通信,所述VxLAN控制器用于维护所述源VTEP的互联网协议IP地址与所述源VM的IP地址的映射关系及所述目的VTEP的IP地址与所述目的VM的IP地址的映射关系,所述VxLAN控制器、所述源VTEP和所述目的VTEP之间互相通信;In the third aspect, the embodiment of the present invention is a virtual extensible local area network VxLAN controller, which is applied in VxLAN, and the VxLAN includes a source VxLAN tunnel endpoint VTEP, a target VTEP, and a VxLAN controller, and the source VTEP is used to manage The running source virtual machine VM communicates in the VxLAN, the destination VTEP is used to manage the communication of the destination VM running on the destination server in the VxLAN, and the VxLAN controller is used to maintain the Internet protocol of the source VTEP The mapping relationship between the IP address and the IP address of the source VM and the mapping relationship between the IP address of the destination VTEP and the IP address of the destination VM, between the VxLAN controller, the source VTEP and the destination VTEP communicate with each other;
其中,所述虚拟可扩展局域网VxLAN控制器包括:Wherein, the virtual extensible local area network VxLAN controller includes:
接收单元,用于接收所述源VTEP发送的查询请求以获取所述目的VTEP的IP地址;其中,所述查询请求携带所述目的VM的IP地址;其中,所述目的VM的IP地址是所述源VTEP从所述源VM发送的ARP报文中获取的;The receiving unit is configured to receive the query request sent by the source VTEP to obtain the IP address of the target VTEP; wherein the query request carries the IP address of the target VM; wherein the IP address of the target VM is the The source VTEP is obtained from the ARP message sent by the source VM;
确定单元,用于根据所述目的VM的IP地址及所述目的VM的IP地址所述目的VTEP的IP地址之间的映射关系,确定所述目的VTEP的IP地址;A determining unit, configured to determine the IP address of the destination VTEP according to the IP address of the destination VM and the mapping relationship between the IP address of the destination VM and the IP address of the destination VTEP;
发送单元,用于向所述源VTEP发送携带所述目的VTEP的IP地址查询响应,以使所述源VTEP根据所述目的VTEP的IP地址将所述ARP报文封装成VxLAN报文并发送至所述目的VTEP。A sending unit, configured to send an IP address query response carrying the destination VTEP to the source VTEP, so that the source VTEP encapsulates the ARP message into a VxLAN message according to the IP address of the destination VTEP and sends it to The purpose VTEP.
结合第三方面,在第三方面的第一种可能的实现方式中,还包括:In combination with the third aspect, the first possible implementation of the third aspect further includes:
获取单元,用于获取所述目的VM的IP地址与所述目的VTEP的IP地址之间的映射关系。An obtaining unit, configured to obtain a mapping relationship between the IP address of the target VM and the IP address of the target VTEP.
结合第三方面的第一种可能的实现方式,在第三方面的第二种可能的实现方式中,In combination with the first possible implementation of the third aspect, in the second possible implementation of the third aspect,
所述获取单元,还用于当所述目的VM迁移时,接收更新后的映射关系,所述更新后的映射关系为所述目的VM与所述目的VM当前所属的VTEP的IP地址之间的映射关系,所述目的VM当前所属的VTEP为所述目的VTEP。The acquiring unit is further configured to receive an updated mapping relationship when the target VM migrates, the updated mapping relationship being the IP address between the target VM and the VTEP to which the target VM currently belongs A mapping relationship, the VTEP to which the target VM currently belongs is the target VTEP.
第四方面,本发明实施例提供了一种虚拟可扩展局域网VxLAN隧道端点VTEP,应用于VxLAN中,所述VxLAN包括源VxLAN隧道端点VTEP、目标VTEP和VxLAN控制器,所述源VTEP用于管理源服务器上运行的源虚拟机VM在所述VxLAN中的通信,所述目的VTEP用于管理目的服务器上运行的目的VM在所述VxLAN中的通信,所述VxLAN控制器用于维护所述源VTEP的互联网协议IP地址与所述源VM的IP地址的映射关系及所述目的VTEP的IP地址与所述目的VM的IP地址的映射关系,所述VxLAN控制器、所述源VTEP和所述目的VTEP之间互相通信;In a fourth aspect, the embodiment of the present invention provides a virtual extensible local area network VxLAN tunnel endpoint VTEP, which is applied to VxLAN, and the VxLAN includes a source VxLAN tunnel endpoint VTEP, a target VTEP, and a VxLAN controller, and the source VTEP is used to manage The communication of the source virtual machine VM running on the source server in the VxLAN, the destination VTEP is used to manage the communication of the destination VM running on the destination server in the VxLAN, and the VxLAN controller is used to maintain the source VTEP The mapping relationship between the Internet protocol IP address of the source VM and the IP address of the source VM and the mapping relationship between the IP address of the destination VTEP and the IP address of the destination VM, the VxLAN controller, the source VTEP and the destination VTEPs communicate with each other;
其中,所述源VxLAN隧道端点VTEP包括:Wherein, the source VxLAN tunnel endpoint VTEP includes:
接收单元,用于接收所述源虚拟机VM的ARP报文,所述ARP报文用于请求所述目的VM的介质访问控制MAC地址,所述ARP报文携带所述目的VM的IP地址;A receiving unit, configured to receive an ARP message of the source virtual machine VM, the ARP message is used to request the MAC address of the target VM, and the ARP message carries the IP address of the target VM;
第一获取单元,用于获取所述ARP报文携带的所述目的VM的IP地址;a first obtaining unit, configured to obtain the IP address of the destination VM carried in the ARP message;
第一发送单元,用于向所述VxLAN控制器发送查询请求以获取所述目的VTEP的IP地址;所述查询请求携带所述目的VM的IP地址;A first sending unit, configured to send a query request to the VxLAN controller to obtain the IP address of the target VTEP; the query request carries the IP address of the target VM;
第二获取单元,用于从所述VxLAN控制器获取所述目的VTEP的IP地址;a second obtaining unit, configured to obtain the IP address of the destination VTEP from the VxLAN controller;
生成单元,用于根据所述目的VTEP的IP地址封装所述ARP报文生成VxLAN报文;A generating unit, configured to encapsulate the ARP message according to the IP address of the destination VTEP to generate a VxLAN message;
第二发送单元,用于向所述目的VTEP发送所述VxLAN报文。The second sending unit is configured to send the VxLAN packet to the destination VTEP.
本发明实施例提供的一种在VxLAN中发送ARP报文发送方法、VTEP及VxLAN控制器,使得源VTEP可以根据VM的ARP报文来获取目的VM的IP地址,然后根据VM的IP地址与VTEP的IP地址的对应关系来确定目的VM所处的VTEP的IP地址,最后根据确定好的VTEP的IP地址,向与该IP地址对应的VTEP转发VM的ARP报文。相比于现有技术中因源VTEP无法预先获知目的VM对应的目的VTEP地址,而导致使用组播的方式请求报文方式来说,本发明技术方案中的源VTEP是可以直接确定目的VTEP地址,然后根据该目的VTEP地址,以单播的方式向目的VTEP发送请求消息,减少了发送报文占用的带宽、节省了发送请求消息所使用的流量,从而减少了资源的浪费。The embodiment of the present invention provides a method for sending an ARP message in VxLAN, VTEP and VxLAN controller, so that the source VTEP can obtain the IP address of the destination VM according to the ARP message of the VM, and then according to the IP address of the VM and the VTEP The IP address of the VTEP where the target VM is located is determined according to the corresponding relationship of the IP address of the destination VM, and finally forwards the ARP message of the VM to the VTEP corresponding to the IP address according to the determined IP address of the VTEP. Compared with the prior art because the source VTEP cannot know the destination VTEP address corresponding to the destination VM in advance, which leads to the use of multicast request message mode, the source VTEP in the technical solution of the present invention can directly determine the destination VTEP address , and then according to the destination VTEP address, send a request message to the destination VTEP in a unicast manner, which reduces the bandwidth occupied by sending the message, saves the traffic used for sending the request message, thereby reducing the waste of resources.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.
图1为本发明实施例中VxLAN网络架构图;Fig. 1 is a VxLAN network architecture diagram in an embodiment of the present invention;
图2为本发明实施例提供的一种在VxLAN中发送ARP报文发送方法的流程图;FIG. 2 is a flow chart of a method for sending an ARP message in VxLAN provided by an embodiment of the present invention;
图3为本发明实施例提供的另一种在VxLAN中发送ARP报文发送方法的流程图;FIG. 3 is a flow chart of another method for sending an ARP message in VxLAN provided by an embodiment of the present invention;
图4为本发明实施例提供的一种VM与VTEP对应关系的获取方法的流程图;FIG. 4 is a flow chart of a method for obtaining a correspondence between a VM and a VTEP provided by an embodiment of the present invention;
图5为本发明实施例提供的一种在VxLAN中发送ARP报文发送方法的交互流程图;FIG. 5 is an interactive flowchart of a method for sending an ARP message in VxLAN provided by an embodiment of the present invention;
图6为本发明实施例提供的一种VTEP装置的结构示意图;6 is a schematic structural diagram of a VTEP device provided by an embodiment of the present invention;
图7为本发明实施例提供的一种VxLAN控制器的结构示意图;FIG. 7 is a schematic structural diagram of a VxLAN controller provided by an embodiment of the present invention;
图8为本发明实施例提供的另一种VxLAN控制器的结构示意图;FIG. 8 is a schematic structural diagram of another VxLAN controller provided by an embodiment of the present invention;
图9为本发明实施例提供的另一种VTEP装置的结构示意图;FIG. 9 is a schematic structural diagram of another VTEP device provided by an embodiment of the present invention;
图10为本发明实施例提供的另一种VxLAN控制器的结构示意图。FIG. 10 is a schematic structural diagram of another VxLAN controller provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本实施例中的附图,对本实施例中的技术方案进行清楚地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in this embodiment will be clearly described below in conjunction with the accompanying drawings in this embodiment. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
本发明实施例提供的一种在虚拟可扩展局域网VxLAN中发送地址解析协议ARP报文发送方法,可应用于如图1所示的VxLAN中,所述VxLAN包括源VxLAN隧道端点VTEP、目标VTEP和VxLAN控制器;The embodiment of the present invention provides a method for sending an address resolution protocol ARP message in a virtual extensible local area network VxLAN, which can be applied to the VxLAN shown in Figure 1, and the VxLAN includes a source VxLAN tunnel endpoint VTEP, a target VTEP and VxLAN controller;
所述源VTEP用于管理源服务器上运行的源虚拟机VM在所述VxLAN中的通信。The source VTEP is used to manage the communication of the source virtual machine VM running on the source server in the VxLAN.
所述目的VTEP用于管理目的服务器上运行的目的VM在所述VxLAN中的通信。The destination VTEP is used to manage the communication of the destination VM running on the destination server in the VxLAN.
所述VxLAN控制器用于维护所述源VTEP的互联网协议IP地址与所述源VM的IP地址的映射关系及所述目的VTEP的IP地址与所述目的VM的IP地址的映射关系,所述VxLAN控制器、所述源VTEP和所述目的VTEP之间互相通信。The VxLAN controller is used to maintain the mapping relationship between the IP address of the source VTEP and the IP address of the source VM and the mapping relationship between the IP address of the destination VTEP and the IP address of the destination VM, and the VxLAN The controller, the source VTEP and the destination VTEP communicate with each other.
一种实现方式,在VxLAN外还包括虚拟化管理系统和云运营管理系统。该虚拟化管理系统根据云运营管理系统的发放请求创建VM。并且管理VM和VTEP的信息,当VM信息发生变化时,及时同步到云运营管理系统。该云运营管理系统负责处理用户VM业务申请请求。负责将VM和VTEP的信息同步给VxLAN控制器,如将VM的IP地址和VTEP的IP地址之间的映射关系同步给VxLAN。An implementation manner includes a virtualization management system and a cloud operation management system in addition to the VxLAN. The virtualization management system creates a VM according to the provisioning request of the cloud operation management system. And manage the information of VM and VTEP, when the VM information changes, it will be synchronized to the cloud operation management system in time. The cloud operation management system is responsible for processing user VM service application requests. Responsible for synchronizing the information of VM and VTEP to the VxLAN controller, such as synchronizing the mapping relationship between the IP address of the VM and the IP address of the VTEP to the VxLAN.
基于上述网络架构,本发明实施例提供的一种在虚拟可扩展局域网VxLAN中发送地址解析协议ARP报文发送方法,需要由如图1所示的源VTEP实现。该方法如图2所示,所述方法包括:Based on the above network architecture, a method for sending an address resolution protocol (ARP) message in a virtual extensible local area network (VxLAN) provided by an embodiment of the present invention needs to be implemented by a source VTEP as shown in FIG. 1 . The method is shown in Figure 2, and the method includes:
101、接收所述源虚拟机VM的ARP报文,所述ARP报文用于请求所述目的VM的介质访问控制MAC地址,所述ARP报文携带所述目的VM的IP地址。101. Receive an ARP packet of the source virtual machine VM, where the ARP packet is used to request the MAC address of the target VM, and the ARP packet carries the IP address of the target VM.
102、获取所述ARP报文携带的所述目的VM的IP地址。102. Obtain the IP address of the destination VM carried in the ARP packet.
103、向所述VxLAN控制器发送查询请求以获取所述目的VTEP的IP地址;所述查询请求携带所述目的VM的IP地址。103. Send a query request to the VxLAN controller to obtain the IP address of the target VTEP; the query request carries the IP address of the target VM.
104、从所述VxLAN控制器获取所述目的VTEP的IP地址。104. Acquire the IP address of the destination VTEP from the VxLAN controller.
其中,所述目的VTEP的IP地址可根据所述VxLAN控制器内维护的所述目的VTEP的IP地址与所述目的VM的IP地址的映射关系得到。Wherein, the IP address of the destination VTEP can be obtained according to the mapping relationship between the IP address of the destination VTEP and the IP address of the destination VM maintained in the VxLAN controller.
105、根据所述目的VTEP的IP地址封装所述ARP报文生成VxLAN报文。105. Encapsulate the ARP packet according to the IP address of the destination VTEP to generate a VxLAN packet.
其中,封装的方式符合VxLAN的常规封装方法。Among them, the encapsulation method conforms to the conventional encapsulation method of VxLAN.
106、向所述目的VTEP发送所述VxLAN报文。106. Send the VxLAN packet to the destination VTEP.
本发明实施例提供的方法,源VTEP可以根据VM的ARP报文来获取目的VM的IP地址,然后根据VM的IP地址与VTEP的IP地址的对应关系来确定目的VM所处的VTEP的IP地址,最后根据确定好的VTEP的IP地址,向与该IP地址对应的VTEP转发VM的ARP报文。相比于现有技术中因源VTEP无法预先获知目的VM对应的目的VTEP地址,而导致使用组播的方式请求报文方式来说,本发明技术方案中的源VTEP是可以直接确定目的VTEP地址,然后根据该目的VTEP地址,以单播的方式向目的VTEP发送请求消息,减少了发送报文占用的带宽、节省了发送请求消息所使用的流量,从而减少了资源的浪费。In the method provided by the embodiment of the present invention, the source VTEP can obtain the IP address of the destination VM according to the ARP message of the VM, and then determine the IP address of the VTEP where the destination VM is located according to the correspondence between the IP address of the VM and the IP address of the VTEP , and finally forward the ARP message of the VM to the VTEP corresponding to the IP address according to the determined IP address of the VTEP. Compared with the prior art because the source VTEP cannot know the destination VTEP address corresponding to the destination VM in advance, which leads to the use of multicast request message mode, the source VTEP in the technical solution of the present invention can directly determine the destination VTEP address , and then according to the destination VTEP address, send a request message to the destination VTEP in a unicast manner, which reduces the bandwidth occupied by sending the message, saves the traffic used for sending the request message, thereby reducing the waste of resources.
本发明实施例提供的另一种在虚拟可扩展局域网VxLAN中发送地址解析协议ARP报文发送方法,需要由如图1所示的VxLAN控制器实现。该方法如图3所示,所述方法包括:Another method for sending an ARP packet in a virtual extensible local area network (VxLAN) provided by an embodiment of the present invention needs to be implemented by a VxLAN controller as shown in FIG. 1 . The method is shown in Figure 3, and the method includes:
201、接收所述源VTEP发送的查询请求以获取所述目的VTEP的IP地址。201. Receive a query request sent by the source VTEP to acquire the IP address of the destination VTEP.
其中,所述查询请求携带所述目的VM的IP地址;其中,所述目的VM的IP地址是所述源VTEP从所述源VM发送的ARP报文中获取的。Wherein, the query request carries the IP address of the destination VM; wherein, the IP address of the destination VM is obtained by the source VTEP from the ARP message sent by the source VM.
202、根据所述目的VM的IP地址及所述目的VM的IP地址与所述目的VTEP的IP地址之间的映射关系,确定所述目的VTEP的IP地址。202. Determine the IP address of the destination VTEP according to the IP address of the destination VM and the mapping relationship between the IP address of the destination VM and the IP address of the destination VTEP.
203、向所述源VTEP发送携带所述目的VTEP的IP地址查询响应,以使所述源VTEP根据所述目的VTEP的IP地址将所述ARP报文封装成VxLAN报文并发送至所述目的VTEP。203. Send an IP address query response carrying the destination VTEP to the source VTEP, so that the source VTEP encapsulates the ARP packet into a VxLAN packet according to the IP address of the destination VTEP and sends it to the destination VTEP.
以上步骤201至203与步骤103和104相呼应。The above steps 201 to 203 correspond to steps 103 and 104 .
本发明实施例提供的方法,VxLAN控制器可以响应于源VTEP的查询请求,为源VTEP确定目的VM所处的VTEP的IP地址,并将该目的VTEP的IP地址反馈给所述源VTEP,使得所述源VTEP根据所述目的VTEP的IP地址将所述ARP报文封装成VxLAN报文并发送至所述目的VTEP。相比于现有技术中因源VTEP无法预先获知目的VM对应的目的VTEP地址,而导致使用组播的方式请求报文方式来说,本发明技术方案中的源VTEP是可以直接确定目的VTEP地址,然后根据该目的VTEP地址,以单播的方式向目的VTEP发送请求消息,减少了发送报文占用的带宽、节省了发送请求消息所使用的流量,从而减少了资源的浪费。In the method provided by the embodiment of the present invention, the VxLAN controller can respond to the query request of the source VTEP, determine the IP address of the VTEP where the destination VM is located for the source VTEP, and feed back the IP address of the destination VTEP to the source VTEP, so that The source VTEP encapsulates the ARP packet into a VxLAN packet according to the IP address of the destination VTEP and sends it to the destination VTEP. Compared with the prior art because the source VTEP cannot know the destination VTEP address corresponding to the destination VM in advance, which leads to the use of multicast request message mode, the source VTEP in the technical solution of the present invention can directly determine the destination VTEP address , and then according to the destination VTEP address, send a request message to the destination VTEP in a unicast manner, which reduces the bandwidth occupied by sending the message, saves the traffic used for sending the request message, thereby reducing the waste of resources.
可选的,在本发明实施例的另一种实现方式中,提供了目的VM的IP地址与目的VTEP的IP地址之间的映射关系的获取方法,执行与步骤201之前,如图4所示,包括:Optionally, in another implementation manner of the embodiment of the present invention, a method for obtaining the mapping relationship between the IP address of the target VM and the IP address of the target VTEP is provided, before performing step 201, as shown in FIG. 4 ,include:
204、所述VxLAN控制器从云运营管理系统获取所述目的VM的IP地址所述目的VTEP的IP地址之间的映射关系。204. The VxLAN controller acquires the mapping relationship between the IP address of the target VM and the IP address of the target VTEP from the cloud operation management system.
其中,所述目的VM的IP地址所述目的VTEP的IP地址之间的映射关系是由虚拟化管理系统在创建所述目的VTEP管理所述目的VM时建立的,并由所述虚拟化管理系统发送至所述云运营管理系统。Wherein, the mapping relationship between the IP address of the target VM and the IP address of the target VTEP is established by the virtualization management system when creating the target VTEP to manage the target VM, and is established by the virtualization management system Send to the cloud operation management system.
可选的,在本发明实施例的另一种实现方式中,提供了目的VM的IP地址与目的VTEP的IP地址之间的映射关系的更新方法,包括:Optionally, in another implementation manner of the embodiment of the present invention, a method for updating the mapping relationship between the IP address of the destination VM and the IP address of the destination VTEP is provided, including:
所述VxLAN控制器接收云运营管理系统发送的更新后的映射关系,所述更新后的映射关系为所述目的VM与所述目的VM当前所属的VTEP的IP地址之间的映射关系,所述目的VM当前所属的VTEP为所述目的VTEP。The VxLAN controller receives the updated mapping relationship sent by the cloud operation management system, the updated mapping relationship is the mapping relationship between the target VM and the IP address of the VTEP to which the target VM currently belongs, and the The VTEP to which the target VM currently belongs is the target VTEP.
另外,本发明实施例还在此提供一种源VTEP和VxLAN控制器之间的交互流程,如图5所示,包括:In addition, the embodiment of the present invention also provides an interaction process between the source VTEP and the VxLAN controller, as shown in FIG. 5 , including:
301、源VTEP接收所述源虚拟机VM的ARP报文,所述ARP报文用于请求所述目的VM的介质访问控制MAC地址,所述ARP报文携带所述目的VM的IP地址。301. The source VTEP receives an ARP packet of the source virtual machine VM, where the ARP packet is used to request the MAC address of the destination VM, and the ARP packet carries the IP address of the destination VM.
302、源VTEP获取所述ARP报文携带的所述目的VM的IP地址。302. The source VTEP acquires the IP address of the destination VM carried in the ARP packet.
303、源VTEP向所述VxLAN控制器发送查询请求,所述查询请求携带所述目的VM的IP地址。303. The source VTEP sends a query request to the VxLAN controller, where the query request carries the IP address of the destination VM.
304、VxLAN控制器根据所述目的VM的IP地址及所述目的VM的IP地址所述目的VTEP的IP地址之间的映射关系,确定所述目的VTEP的IP地址。304. The VxLAN controller determines the IP address of the destination VTEP according to the mapping relationship between the IP address of the destination VM and the IP address of the destination VM and the IP address of the destination VTEP.
305、VxLAN控制器向所述源VTEP发送携带所述目的VTEP的IP地址查询响应。305. The VxLAN controller sends an IP address query response carrying the destination VTEP to the source VTEP.
306、源VTEP从根据所述查询响应获取所述目的VTEP的IP地址。306. The source VTEP acquires the IP address of the destination VTEP according to the query response.
307、源VTEP根据所述目的VTEP的IP地址封装所述ARP报文生成VxLAN报文。307. The source VTEP encapsulates the ARP packet according to the IP address of the destination VTEP to generate a VxLAN packet.
308、源VTEP向所述目的VTEP发送所述VxLAN报文。308. The source VTEP sends the VxLAN packet to the destination VTEP.
为实现上述方法流程,本发明实施例还提供了一种VTEP,如图6所示,包括:In order to realize the above method flow, an embodiment of the present invention also provides a VTEP, as shown in FIG. 6, including:
接收单元41,用于接收所述源虚拟机VM的ARP报文,所述ARP报文用于请求所述目的VM的介质访问控制MAC地址,所述ARP报文携带所述目的VM的IP地址。The receiving unit 41 is configured to receive an ARP message of the source virtual machine VM, the ARP message is used to request the MAC address of the target VM, and the ARP message carries the IP address of the target VM .
第一获取单元42,用于获取所述ARP报文携带的所述目的VM的IP地址。The first obtaining unit 42 is configured to obtain the IP address of the destination VM carried in the ARP packet.
第一发送单元43,用于向所述VxLAN控制器发送查询请求以获取所述目的VTEP的IP地址;所述查询请求携带所述目的VM的IP地址。The first sending unit 43 is configured to send a query request to the VxLAN controller to obtain the IP address of the target VTEP; the query request carries the IP address of the target VM.
第二获取单元44,用于从所述VxLAN控制器获取所述目的VTEP的IP地址。The second obtaining unit 44 is configured to obtain the IP address of the destination VTEP from the VxLAN controller.
生成单元45,用于根据所述目的VTEP的IP地址封装所述ARP报文生成VxLAN报文。A generating unit 45, configured to encapsulate the ARP message according to the IP address of the destination VTEP to generate a VxLAN message.
第二发送单元46,用于向所述目的VTEP发送所述VxLAN报文。The second sending unit 46 is configured to send the VxLAN packet to the destination VTEP.
本发明实施例提供的VTEP,VxLAN控制器可以响应于源VTEP的查询请求,为源VTEP确定目的VM所处的VTEP的IP地址,并将该目的VTEP的IP地址反馈给所述源VTEP,使得所述源VTEP根据所述目的VTEP的IP地址将所述ARP报文封装成VxLAN报文并发送至所述目的VTEP。相比于现有技术中因源VTEP无法预先获知目的VM对应的目的VTEP地址,而导致使用组播的方式请求报文方式来说,本发明技术方案中的源VTEP是可以直接确定目的VTEP地址,然后根据该目的VTEP地址,以单播的方式向目的VTEP发送请求消息,减少了发送报文占用的带宽、节省了发送请求消息所使用的流量,从而减少了资源的浪费。For the VTEP provided by the embodiment of the present invention, the VxLAN controller can respond to the query request of the source VTEP, determine the IP address of the VTEP where the destination VM is located for the source VTEP, and feed back the IP address of the destination VTEP to the source VTEP, so that The source VTEP encapsulates the ARP packet into a VxLAN packet according to the IP address of the destination VTEP and sends it to the destination VTEP. Compared with the prior art because the source VTEP cannot know the destination VTEP address corresponding to the destination VM in advance, which leads to the use of multicast request message mode, the source VTEP in the technical solution of the present invention can directly determine the destination VTEP address , and then according to the destination VTEP address, send a request message to the destination VTEP in a unicast manner, which reduces the bandwidth occupied by sending the message, saves the traffic used for sending the request message, thereby reducing the waste of resources.
本发明实施例还提供了一种VxLAN控制器,如图7所示,包括:The embodiment of the present invention also provides a VxLAN controller, as shown in Figure 7, including:
接收单元51,用于接收所述源VTEP发送的查询请求以获取所述目的VTEP的IP地址。The receiving unit 51 is configured to receive a query request sent by the source VTEP to acquire the IP address of the destination VTEP.
其中,所述查询请求携带所述目的VM的IP地址;其中,所述目的VM的IP地址是所述源VTEP从所述源VM发送的ARP报文中获取的。Wherein, the query request carries the IP address of the destination VM; wherein, the IP address of the destination VM is obtained by the source VTEP from the ARP message sent by the source VM.
确定单元52,用于根据所述目的VM的IP地址及所述目的VM的IP地址所述目的VTEP的IP地址之间的映射关系,确定所述目的VTEP的IP地址。The determining unit 52 is configured to determine the IP address of the target VTEP according to the mapping relationship between the IP address of the target VM and the IP address of the target VM and the IP address of the target VTEP.
发送单元53,用于向所述源VTEP发送携带所述目的VTEP的IP地址查询响应,以使所述源VTEP根据所述目的VTEP的IP地址将所述ARP报文封装成VxLAN报文并发送至所述目的VTEP。A sending unit 53, configured to send an IP address query response carrying the destination VTEP to the source VTEP, so that the source VTEP encapsulates the ARP message into a VxLAN message according to the IP address of the destination VTEP and sends the to the destination VTEP.
可选的是,如图8所示,所述VxLAN控制器还包括:Optionally, as shown in Figure 8, the VxLAN controller also includes:
获取单元54,用于获取所述目的VM的IP地址与所述目的VTEP的IP地址之间的映射关系。The obtaining unit 54 is configured to obtain a mapping relationship between the IP address of the target VM and the IP address of the target VTEP.
可选的是,所述获取单元54还用于当所述目的VM迁移时,接收更新后的映射关系,所述更新后的映射关系为所述目的VM与所述目的VM当前所属的VTEP的IP地址之间的映射关系,所述目的VM当前所属的VTEP为所述目的VTEP。Optionally, the acquiring unit 54 is further configured to receive an updated mapping relationship when the target VM migrates, the updated mapping relationship being the relationship between the target VM and the VTEP to which the target VM currently belongs. The mapping relationship between IP addresses, the VTEP to which the target VM currently belongs is the target VTEP.
本发明实施例提供的VxLAN控制器,VxLAN控制器可以响应于源VTEP的查询请求,为源VTEP确定目的VM所处的VTEP的IP地址,并将该目的VTEP的IP地址反馈给所述源VTEP,使得所述源VTEP根据所述目的VTEP的IP地址将所述ARP报文封装成VxLAN报文并发送至所述目的VTEP。相比于现有技术中因源VTEP无法预先获知目的VM对应的目的VTEP地址,而导致使用组播的方式请求报文方式来说,本发明技术方案中的源VTEP是可以直接确定目的VTEP地址,然后根据该目的VTEP地址,以单播的方式向目的VTEP发送请求消息,减少了发送报文占用的带宽、节省了发送请求消息所使用的流量,从而减少了资源的浪费。The VxLAN controller provided by the embodiment of the present invention can respond to the query request of the source VTEP, determine the IP address of the VTEP where the destination VM is located for the source VTEP, and feed back the IP address of the destination VTEP to the source VTEP , so that the source VTEP encapsulates the ARP packet into a VxLAN packet according to the IP address of the destination VTEP and sends it to the destination VTEP. Compared with the prior art because the source VTEP cannot know the destination VTEP address corresponding to the destination VM in advance, which leads to the use of multicast request message mode, the source VTEP in the technical solution of the present invention can directly determine the destination VTEP address , and then according to the destination VTEP address, send a request message to the destination VTEP in a unicast manner, which reduces the bandwidth occupied by sending the message, saves the traffic used for sending the request message, thereby reducing the waste of resources.
本发明实施例还提供了一种VTEP装置,如图9所述,该装置包括处理器61,存储器62、输入输出接口63,所述存储器62被配置程序代码,所述处理器用于调用所述存储器62配置的程序代码,用以实现如图2及图5所示的VTEP侧的方法流程,所述输入输出接口63用于发送和接收信息,其中,上述各个器件之间可通过总线进行通信。The embodiment of the present invention also provides a VTEP device. As shown in FIG. 9, the device includes a processor 61, a memory 62, and an input and output interface 63. The program code configured by the memory 62 is used to realize the method flow on the VTEP side as shown in FIG. 2 and FIG. .
所述输入输出接口63,用于接收所述源虚拟机VM的ARP报文,所述ARP报文用于请求所述目的VM的介质访问控制MAC地址,所述ARP报文携带所述目的VM的IP地址;以及,用于向所述VxLAN控制器发送查询请求以获取所述目的VTEP的IP地址;所述查询请求携带所述目的VM的IP地址;以及,用于从所述VxLAN控制器获取所述目的VTEP的IP地址;以及,用于向所述目的VTEP发送所述VxLAN报文The input and output interface 63 is configured to receive an ARP message of the source virtual machine VM, the ARP message is used to request the medium access control MAC address of the target VM, and the ARP message carries the target VM and, used to send a query request to the VxLAN controller to obtain the IP address of the destination VTEP; the query request carries the IP address of the destination VM; and, used to obtain the IP address of the destination VM from the VxLAN controller Obtain the IP address of the destination VTEP; and, be used to send the VxLAN message to the destination VTEP
所述处理器61还用于,获取所述ARP报文携带的所述目的VM的IP地址;以及用于根据所述目的VTEP的IP地址封装所述ARP报文生成VxLAN报文。The processor 61 is further configured to acquire the IP address of the destination VM carried in the ARP packet; and to encapsulate the ARP packet according to the IP address of the destination VTEP to generate a VxLAN packet.
本发明实施例提供的VTEP,VxLAN控制器可以响应于源VTEP的查询请求,为源VTEP确定目的VM所处的VTEP的IP地址,并将该目的VTEP的IP地址反馈给所述源VTEP,使得所述源VTEP根据所述目的VTEP的IP地址将所述ARP报文封装成VxLAN报文并发送至所述目的VTEP。相比于现有技术中因源VTEP无法预先获知目的VM对应的目的VTEP地址,而导致使用组播的方式请求报文方式来说,本发明技术方案中的源VTEP是可以直接确定目的VTEP地址,然后根据该目的VTEP地址,以单播的方式向目的VTEP发送请求消息,减少了发送报文占用的带宽、节省了发送请求消息所使用的流量,从而减少了资源的浪费。For the VTEP provided by the embodiment of the present invention, the VxLAN controller can respond to the query request of the source VTEP, determine the IP address of the VTEP where the destination VM is located for the source VTEP, and feed back the IP address of the destination VTEP to the source VTEP, so that The source VTEP encapsulates the ARP packet into a VxLAN packet according to the IP address of the destination VTEP and sends it to the destination VTEP. Compared with the prior art because the source VTEP cannot know the destination VTEP address corresponding to the destination VM in advance, which leads to the use of multicast request message mode, the source VTEP in the technical solution of the present invention can directly determine the destination VTEP address , and then according to the destination VTEP address, send a request message to the destination VTEP in a unicast manner, which reduces the bandwidth occupied by sending the message, saves the traffic used for sending the request message, thereby reducing the waste of resources.
本发明实施例还提供了一种VxLAN控制器,如图10所述,该电子终端包括处理器71,存储器72、输入输出接口73,所述存储器72被配置程序代码,所述处理器用于调用所述存储器72配置的程序代码,用以实现如图3、4及5所示的VTEP侧的方法流程,所述输入输出接口73用于发送和接收信息,其中,上述各个器件之间可通过总线进行通信。The embodiment of the present invention also provides a VxLAN controller. As shown in FIG. 10, the electronic terminal includes a processor 71, a memory 72, and an input and output interface 73. The memory 72 is configured with program codes, and the processor is used to call The program code configured by the memory 72 is used to realize the method flow on the VTEP side as shown in FIGS. bus for communication.
所述输入输出接口73,用于接收所述源VTEP发送的查询请求以获取所述目的VTEP的IP地址;其中,所述查询请求携带所述目的VM的IP地址;其中,所述目的VM的IP地址是所述源VTEP从所述源VM发送的ARP报文中获取的;以及用于向所述源VTEP发送携带所述目的VTEP的IP地址查询响应,以使所述源VTEP根据所述目的VTEP的IP地址将所述ARP报文封装成VxLAN报文并发送至所述目的VTEP。The input and output interface 73 is configured to receive the query request sent by the source VTEP to obtain the IP address of the target VTEP; wherein, the query request carries the IP address of the target VM; wherein, the target VM's The IP address is obtained by the source VTEP from the ARP packet sent by the source VM; and is used to send an IP address query response carrying the destination VTEP to the source VTEP, so that the source VTEP according to the The IP address of the destination VTEP encapsulates the ARP packet into a VxLAN packet and sends it to the destination VTEP.
所述处理器71,用于根据所述目的VM的IP地址及所述目的VM的IP地址所述目的VTEP的IP地址之间的映射关系,确定所述目的VTEP的IP地址。The processor 71 is configured to determine the IP address of the destination VTEP according to the mapping relationship between the IP address of the destination VM and the IP address of the destination VM and the IP address of the destination VTEP.
可选的是,所述输入输出接口73,还用于获取所述目的VM的IP地址所述目的VTEP的IP地址之间的映射关系。Optionally, the input and output interface 73 is further configured to obtain a mapping relationship between the IP address of the target VM and the IP address of the target VTEP.
可选的是,所述输入输出接口73还用于当所述目的VM迁移时,接收更新后的映射关系,所述更新后的映射关系为所述目的VM与所述目的VM当前所属的VTEP的IP地址之间的映射关系,所述目的VM当前所属的VTEP为所述目的VTEP。Optionally, the input and output interface 73 is also used to receive an updated mapping relationship when the target VM migrates, and the updated mapping relationship is the target VM and the VTEP to which the target VM currently belongs. The mapping relationship between the IP addresses, and the VTEP to which the target VM currently belongs is the target VTEP.
本发明实施例提供的VxLAN控制器,VxLAN控制器可以响应于源VTEP的查询请求,为源VTEP确定目的VM所处的VTEP的IP地址,并将该目的VTEP的IP地址反馈给所述源VTEP,使得所述源VTEP根据所述目的VTEP的IP地址将所述ARP报文封装成VxLAN报文并发送至所述目的VTEP。相比于现有技术中因源VTEP无法预先获知目的VM对应的目的VTEP地址,而导致使用组播的方式请求报文方式来说,本发明技术方案中的源VTEP是可以直接确定目的VTEP地址,然后根据该目的VTEP地址,以单播的方式向目的VTEP发送请求消息,减少了发送报文占用的带宽、节省了发送请求消息所使用的流量,从而减少了资源的浪费。The VxLAN controller provided by the embodiment of the present invention can respond to the query request of the source VTEP, determine the IP address of the VTEP where the destination VM is located for the source VTEP, and feed back the IP address of the destination VTEP to the source VTEP , so that the source VTEP encapsulates the ARP packet into a VxLAN packet according to the IP address of the destination VTEP and sends it to the destination VTEP. Compared with the prior art because the source VTEP cannot know the destination VTEP address corresponding to the destination VM in advance, which leads to the use of multicast request message mode, the source VTEP in the technical solution of the present invention can directly determine the destination VTEP address , and then according to the destination VTEP address, send a request message to the destination VTEP in a unicast manner, which reduces the bandwidth occupied by sending the message, saves the traffic used for sending the request message, thereby reducing the waste of resources.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本发明可借助软件加必需的通用硬件的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在可读取的存储介质中,如计算机的软盘,硬盘或光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be realized by means of software plus necessary general-purpose hardware, and of course also by hardware, but in many cases the former is a better embodiment . Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product is stored in a readable storage medium, such as a floppy disk of a computer , a hard disk or an optical disk, etc., including several instructions for enabling a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in various embodiments of the present invention.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310646140.1ACN103647853B (en) | 2013-12-04 | 2013-12-04 | One kind sends ARP file transmitting methods, VTEP and VxLAN controllers in VxLAN |
| PCT/CN2014/085157WO2015081734A1 (en) | 2013-12-04 | 2014-08-26 | Sending method for sending arp packet in vxlan, vtep, and vxlan controller |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310646140.1ACN103647853B (en) | 2013-12-04 | 2013-12-04 | One kind sends ARP file transmitting methods, VTEP and VxLAN controllers in VxLAN |
| Publication Number | Publication Date |
|---|---|
| CN103647853A CN103647853A (en) | 2014-03-19 |
| CN103647853Btrue CN103647853B (en) | 2018-07-03 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310646140.1AActiveCN103647853B (en) | 2013-12-04 | 2013-12-04 | One kind sends ARP file transmitting methods, VTEP and VxLAN controllers in VxLAN |
| Country | Link |
|---|---|
| CN (1) | CN103647853B (en) |
| WO (1) | WO2015081734A1 (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103647853B (en)* | 2013-12-04 | 2018-07-03 | 华为技术有限公司 | One kind sends ARP file transmitting methods, VTEP and VxLAN controllers in VxLAN |
| WO2015100656A1 (en) | 2013-12-31 | 2015-07-09 | 华为技术有限公司 | Method and device for implementing virtual machine communication |
| CN105450526B (en)* | 2014-05-28 | 2018-09-21 | 华为技术有限公司 | A kind of message processing method and equipment |
| CN104243269B (en)* | 2014-09-24 | 2019-01-22 | 新华三技术有限公司 | A kind of processing method and processing device of virtual extended local network packet |
| CN104270298B (en)* | 2014-09-30 | 2018-10-09 | 新华三技术有限公司 | Message forwarding method and device in a kind of VXLAN networks |
| CN104283980B (en)* | 2014-10-09 | 2018-02-09 | 新华三技术有限公司 | A kind of address resolution protocol pickup method and device |
| CN105634770B (en)* | 2014-10-29 | 2019-05-07 | 新华三技术有限公司 | Method and apparatus for deploying virtual extended local area network |
| CN104683152B (en)* | 2015-03-05 | 2018-10-26 | 新华三技术有限公司 | VXLAN message processing methods and device |
| US10498836B2 (en) | 2015-04-29 | 2019-12-03 | Hewlett Packard Enterprise Development Lp | Network based service discovery via unicast messages |
| CN106210157B (en)* | 2015-04-30 | 2019-07-23 | 中国电信股份有限公司 | Inhibit method and system, the controller of address resolution protocol message |
| CN105099922B (en)* | 2015-06-18 | 2018-10-09 | 新华三技术有限公司 | A kind of data message forwarding method and device across virtual expansible LAN |
| CN106789635B (en)* | 2016-03-25 | 2020-08-14 | 新华三技术有限公司 | Message forwarding method and device |
| CN106161253B (en)* | 2016-06-23 | 2020-12-25 | 新华三技术有限公司 | Message processing method and device |
| CN106209616B (en)* | 2016-07-06 | 2020-11-06 | 新华三技术有限公司 | Flooding inhibition method and device |
| CN107770072B (en)* | 2016-08-18 | 2021-01-08 | 阿里巴巴集团控股有限公司 | Method and equipment for sending and receiving message |
| CN106385354B (en)* | 2016-08-30 | 2019-08-20 | 锐捷网络股份有限公司 | Message forwarding method and device |
| CN113946416A (en)* | 2016-08-30 | 2022-01-18 | 华为技术有限公司 | A method and apparatus for determining virtual machine migration |
| CN106230667B (en)* | 2016-09-30 | 2019-08-20 | 锐捷网络股份有限公司 | VTEP keep-alive detection method and device |
| CN106506315B (en)* | 2016-12-16 | 2019-03-12 | 无锡华云数据技术服务有限公司 | A kind of transparent configuration method of message forwarding |
| CN108270878A (en)* | 2016-12-31 | 2018-07-10 | 中国移动通信集团江西有限公司 | Method, the VTEP equipment of ARP messages are sent in VXLAN |
| CN106998286B (en)* | 2017-05-05 | 2020-08-04 | 杭州迪普科技股份有限公司 | VX L AN message forwarding method and device |
| CN107547349B (en)* | 2017-07-31 | 2021-02-05 | 新华三技术有限公司 | Virtual machine migration method and device |
| CN108418740B (en)* | 2018-02-28 | 2020-09-08 | 新华三技术有限公司 | Message processing method and device |
| CN108900414B (en)* | 2018-06-08 | 2021-09-10 | 新华三技术有限公司 | Forwarding table generation method and device |
| CN116170251A (en)* | 2021-11-25 | 2023-05-26 | 中兴通讯股份有限公司 | Data distribution method, system, operation control device and terminal equipment |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1457178A (en)* | 2002-05-10 | 2003-11-19 | 华为技术有限公司 | Communication method for sharing one subnet section of protocol between network by multiple virtual local networks |
| CN1553642A (en)* | 2003-05-26 | 2004-12-08 | ��Ϊ��������˾ | A method of establishing a virtual private network |
| CN101924707A (en)* | 2010-09-27 | 2010-12-22 | 杭州华三通信技术有限公司 | Method and equipment for processing message of address resolution protocol (ARP) |
| CN102598591A (en)* | 2009-11-06 | 2012-07-18 | 微软公司 | Adopt an overlay for securing connections across networks |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7890633B2 (en)* | 2003-02-13 | 2011-02-15 | Oracle America, Inc. | System and method of extending virtual address resolution for mapping networks |
| US8923149B2 (en)* | 2012-04-09 | 2014-12-30 | Futurewei Technologies, Inc. | L3 gateway for VXLAN |
| CN102857416B (en)* | 2012-09-18 | 2016-09-28 | 中兴通讯股份有限公司 | A kind of realize the method for virtual network, controller and virtual network |
| CN103095546B (en)* | 2013-01-28 | 2015-10-07 | 华为技术有限公司 | A kind of method, device and data center network processing message |
| CN103200069B (en)* | 2013-03-29 | 2016-01-27 | 华为技术有限公司 | A kind of method and apparatus of Message processing |
| CN103200085B (en)* | 2013-04-16 | 2016-05-25 | 中航网信(北京)科技有限公司 | A kind of method and system that realize the transmitting-receiving of VXLAN message linear speed |
| CN103346900B (en)* | 2013-05-31 | 2016-12-28 | 华为技术有限公司 | Method for configuring route after live migration of virtual machine and gateway in big double layer network |
| CN103647853B (en)* | 2013-12-04 | 2018-07-03 | 华为技术有限公司 | One kind sends ARP file transmitting methods, VTEP and VxLAN controllers in VxLAN |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1457178A (en)* | 2002-05-10 | 2003-11-19 | 华为技术有限公司 | Communication method for sharing one subnet section of protocol between network by multiple virtual local networks |
| CN1553642A (en)* | 2003-05-26 | 2004-12-08 | ��Ϊ��������˾ | A method of establishing a virtual private network |
| CN102598591A (en)* | 2009-11-06 | 2012-07-18 | 微软公司 | Adopt an overlay for securing connections across networks |
| CN101924707A (en)* | 2010-09-27 | 2010-12-22 | 杭州华三通信技术有限公司 | Method and equipment for processing message of address resolution protocol (ARP) |
| Publication number | Publication date |
|---|---|
| WO2015081734A1 (en) | 2015-06-11 |
| CN103647853A (en) | 2014-03-19 |
| Publication | Publication Date | Title |
|---|---|---|
| CN103647853B (en) | One kind sends ARP file transmitting methods, VTEP and VxLAN controllers in VxLAN | |
| CN103814554B (en) | A kind of communication means of virtual easily extensible local area network (LAN), device and system | |
| CN104954281B (en) | Communication means, system, resource pool management system, interchanger and control device | |
| EP2905930B1 (en) | Processing method, apparatus and system for multicast | |
| US9525648B2 (en) | Method for acquiring physical address of virtual machine | |
| CN103634364B (en) | A kind of system for realizing remote desktop, method, client and service centre | |
| CN103201989B (en) | The methods, devices and systems of control data transmission | |
| CN109324908B (en) | Container isolation method and device for Netlink resources | |
| CN109194559B (en) | Multicast method and VTEP device | |
| CN106302322B (en) | Virtual machine data flow management method and system | |
| CN104539743A (en) | Cloud computing system and control method thereof | |
| CN106712988A (en) | Virtual network management method and device | |
| CN104243608B (en) | A kind of communication means, cloud management server and virtual switch | |
| CN111225070B (en) | Flow control method, device and system and SDN controller | |
| WO2017000565A1 (en) | User access control method and apparatus, relay device and server | |
| CN103503413B (en) | Method and device for transmitting network information | |
| CN110062060B (en) | System and method for IP address allocation | |
| CN118590470A (en) | A non-intrusive multicast forwarding method and system for cloud platform | |
| CN107204924A (en) | Link discovery method and device | |
| CN103535015A (en) | Management method of public network address resource, terminal control protocol server and client | |
| CN110690990B (en) | Server upgrading method and device, electronic equipment and storage medium | |
| CN104426759B (en) | Host routes acquisition methods, apparatus and system | |
| EP3503484A1 (en) | Message transmission method, device and network system | |
| CN104683491B (en) | A kind of method and system for the Internet Protocol address for obtaining virtual machine | |
| CN112994928B (en) | A virtual machine management method, device and system |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right | Effective date of registration:20220214 Address after:550025 Huawei cloud data center, jiaoxinggong Road, Qianzhong Avenue, Gui'an New District, Guiyang City, Guizhou Province Patentee after:Huawei Cloud Computing Technologies Co.,Ltd. Address before:518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Patentee before:HUAWEI TECHNOLOGIES Co.,Ltd. | |
| TR01 | Transfer of patent right |