CN103647853B - One kind sends ARP file transmitting methods, VTEP and VxLAN controllers in VxLAN - Google Patents

One kind sends ARP file transmitting methods, VTEP and VxLAN controllers in VxLAN Download PDF

Info

Publication number
CN103647853B
CN103647853B CN201310646140.1A CN201310646140A CN103647853B CN 103647853 B CN103647853 B CN 103647853B CN 201310646140 A CN201310646140 A CN 201310646140A CN 103647853 B CN103647853 B CN 103647853B
Authority
CN
China
Prior art keywords
vtep
address
vxlan
source
controllers
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310646140.1A
Other languages
Chinese (zh)
Other versions
CN103647853A (en
Inventor
刘万来
熊志强
宋宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Cloud Computing Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310646140.1A priority Critical patent/CN103647853B/en
Publication of CN103647853A publication Critical patent/CN103647853A/en
Priority to PCT/CN2014/085157 priority patent/WO2015081734A1/en
Application granted granted Critical
Publication of CN103647853B publication Critical patent/CN103647853B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]

Landscapes

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

Abstract

The problem of ARP file transmitting methods, VTEP and VxLAN controllers are sent in VxLAN the invention discloses one kind, the wasting of resources generated due to multicast mode sends message can be eliminated.Technical solution provided by the invention mainly includes the ARP messages that source VTEP receives the source virtual machine VM, and the ARP messages are used to ask the medium access control MAC Address of the purpose VM, and the ARP messages carry the IP address of the purpose VM;Obtain the IP address for the purpose VM that the ARP messages carry;Inquiry request is sent to the VxLAN controllers to obtain the IP address of the purpose VTEP;The inquiry request carries the IP address of the purpose VM;The IP address of the purpose VTEP is obtained from the VxLAN controllers;The ARP messages generation VxLAN messages are encapsulated according to the IP address of the purpose VTEP;The VxLAN messages are sent to the purpose VTEP.

Description

One kind sends ARP file transmitting methods, VTEP and VxLAN controllers in VxLAN
Technical field
The present invention relates to computer network communication fields more particularly to one kind to send ARP message transmitting parties in VxLAN Method, VTEP and VxLAN controllers.
Background technology
The virtual expansible LAN of prior art application(Virtual extensible LAN, VxLAN)Technology extends net Network virtualizes, and to obtain sufficient amount of virtual network, is used to meet user.
It is specific as follows that communication process is established between virtual machine based on VxLAN virtualization networks:
Source virtual machine(Virtual Machine,VM))Send address resolution protocol (Address Resolution Protocol, ARP) message, to ask the media access control of purpose VM(Media Access Control, MAC)Address; Source VxLAN tunneling terminations corresponding with source VM(VxLAN Tunnel Endpoint, VTEP)Based on the ARP messages, construct because of spy Net igmpinternet(Internet Group Management Protocol, IGMP)Then message is sent out the IGMP messages It send to purpose VTEP corresponding with purpose VM, if purpose VTEP receives the IGMP messages, purpose VTE2 can be to this IGMP messages are parsed, and analysis result is broadcasted into purpose VM corresponding with purpose VTEP, so that purpose VM is received After the analysis result, the MAC Address of itself by purpose VTEP2 is packaged, then feeds back to source VM.Source VTEP is used for will The message that source VM is sent is packaged into VxLAN messages or the decapsulation of VxLAN messages is sent to source VM;Purpose VTEP is used for will The message that purpose VM is sent is packaged into VxLAN messages or the decapsulation of VxLAN messages is sent to purpose VM.
It states in realization during being transmitted to information, at least there are the following problems in the prior art:Source VTEP to To the MAC Address of purpose VM, source VTEP1 just has to send IGMP messages in multiple multicast groups, to obtain and purpose VTEP The MAC Address of corresponding purpose VM2, source VTEP is resulted in send message in this way can occupy bulk information transmission bandwidth, use A large amount of data traffic, so as to cause the waste of resource.
Invention content
The embodiment of the present invention provides one kind and ARP file transmitting methods, VTEP and VxLAN controllers, energy is sent in VxLAN It is enough to solve to establish in communication process between the virtual machine based on VxLAN virtualization networks, bulk information transmission bandwidth is occupied, Many flows are used, the problem of so as to cause the waste of resource.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that:
In a first aspect, address resolution is sent in virtual expansible LAN VxLAN an embodiment of the present invention provides one kind The method of agreement ARP messages, the virtual expansible LAN include source VxLAN endpoint of a tunnel VTEP, target VTEP and VxLAN Controller, the source VTEP are used to manage communications of the source virtual machine VM run on source server in the VxLAN, the mesh Communications of the VTEP for the purpose VM that runs on administrative purposes server in the VxLAN, the VxLAN controllers are used for Safeguard the mapping relations of the internet protocol address of the source VTEP and the IP address of the source VM and the purpose VTEP The mapping relations of IP address and the IP address of the purpose VM, the VxLAN controllers, the source VTEP and the purpose VTEP Between communicate, the method includes:
The VxLAN controllers receive the inquiry request of the source VTEP transmissions with obtaining the IP of the purpose VTEP Location;Wherein, the inquiry request carries the IP address of the purpose VM;Wherein, the IP address of the purpose VM is the source What VTEP was obtained from the ARP messages that the source VM is sent;
VxLAN controllers purpose VTEP according to the IP address of the purpose VM and the IP address of the purpose VM IP address between mapping relations, determine the IP address of the purpose VTEP;
The VxLAN controllers send the IP address inquiry response for carrying the purpose VTEP to the source VTEP, so that The ARP messages are packaged into VxLAN messages according to the IP address of the purpose VTEP and are sent to the mesh by the source VTEP VTEP.
With reference to first aspect, it in the first possible realization method of first aspect, is received in the VxLAN controllers Before the inquiry request that the source VTEP is sent, further include:
The VxLAN controllers obtain the mapping between the IP address of the purpose VM and the IP address of the purpose VTEP Relationship.
The possible realization method of with reference to first aspect the first, in second of possible realization method of first aspect In, it further includes:
When the purpose VM is migrated, the VxLAN controllers receive updated mapping relations, described updated to reflect Penetrate mapping relations of the relationship between the IP address of the current affiliated VTEP of the purpose VM and purpose VM, the purpose VM VTEP belonging to current is the purpose VTEP.
Second aspect sends address resolution an embodiment of the present invention provides one kind in virtual expansible LAN VxLAN Agreement ARP file transmitting methods, the virtual expansible LAN include source VxLAN endpoint of a tunnel VTEP, target VTEP and VxLAN controllers, the source VTEP are used to manage communications of the source virtual machine VM run on source server in the VxLAN, Communications of the purpose VM that the purpose VTEP is used to run on administrative purposes server in the VxLAN, the VxLAN controls Device is used to safeguard mapping relations and the purpose of the internet protocol address of the source VTEP with the IP address of the source VM The mapping relations of the IP address of VTEP and the IP address of the purpose VM, the VxLAN controllers, the source VTEP and the mesh VTEP between communicate, the method includes:
The source VTEP receives the ARP messages of the source virtual machine VM, and the ARP messages are used to ask the purpose VM's Medium access control MAC Address, the ARP messages carry the IP address of the purpose VM;
The source VTEP obtains the IP address for the purpose VM that the ARP messages carry;
The source VTEP sends inquiry request to obtain the IP address of the purpose VTEP to the VxLAN controllers;Institute State the IP address that inquiry request carries the purpose VM;
The source VTEP obtains the IP address of the purpose VTEP from the VxLAN controllers;
The source VTEP encapsulates the ARP messages according to the IP address of the purpose VTEP and generates VxLAN messages;
The source VTEP sends the VxLAN messages to the purpose VTEP.
The third aspect, a kind of virtual expansible LAN VxLAN controllers of the embodiment of the present invention, applied in VxLAN, institute It states VxLAN and includes source VxLAN endpoint of a tunnel VTEP, target VTEP and VxLAN controller, the source VTEP is used for managed source service Communications of the source virtual machine VM run on device in the VxLAN, the purpose VTEP are used on administrative purposes server run Communications of the purpose VM in the VxLAN, the VxLAN controllers are with being used to safeguard the Internet protocol IP of the source VTEP Location and the mapping relations and the IP address of the purpose VTEP of the IP address of the source VM and reflecting for the IP address of the purpose VM Relationship is penetrated, is communicated between the VxLAN controllers, the source VTEP and the purpose VTEP;
Wherein, the virtual expansible LAN VxLAN controllers include:
Receiving unit, for receiving the inquiry request that the source VTEP sends to obtain the IP address of the purpose VTEP; Wherein, the inquiry request carries the IP address of the purpose VM;Wherein, the IP address of the purpose VM be the source VTEP from It is obtained in the ARP messages that the source VM is sent;
Determination unit, for purpose VTEP described in the IP address according to the purpose VM and the IP address of the purpose VM Mapping relations between IP address determine the IP address of the purpose VTEP;
Transmitting element, for sending the IP address inquiry response for carrying the purpose VTEP to the source VTEP, so that institute Source VTEP is stated the ARP messages are packaged into VxLAN messages according to the IP address of the purpose VTEP and are sent to the purpose VTEP。
With reference to the third aspect, in the first possible realization method of the third aspect, further include:
Acquiring unit is closed for obtaining the mapping between the IP address of the purpose VM and the IP address of the purpose VTEP System.
With reference to the first possible realization method of the third aspect, in second of possible realization method of the third aspect In,
The acquiring unit is additionally operable to, when the purpose VM is migrated, updated mapping relations be received, after the update Mapping relations for the purpose VM and purpose VM it is current belonging to VTEP IP address between mapping relations, the mesh VM it is current belonging to VTEP be the purpose VTEP.
Fourth aspect, an embodiment of the present invention provides a kind of virtual expansible LAN VxLAN endpoint of a tunnel VTEP, applications In VxLAN, the VxLAN includes source VxLAN endpoint of a tunnel VTEP, target VTEP and VxLAN controller, and the source VTEP is used In communications of the source virtual machine VM run on management source server in the VxLAN, the purpose VTEP is used for administrative purposes Communications of the purpose VM run on server in the VxLAN, the VxLAN controllers are used to safeguard that the source VTEP's is mutual Networking protocol IP address and the mapping relations of the IP address of the source VM and the IP address of the purpose VTEP and the purpose VM IP address mapping relations, communicated between the VxLAN controllers, the source VTEP and the purpose VTEP;
Wherein, the source VxLAN endpoint of a tunnel VTEP includes:
Receiving unit, for receiving the ARP messages of the source virtual machine VM, the ARP messages are used to ask the purpose The medium access control MAC Address of VM, the ARP messages carry the IP address of the purpose VM;
First acquisition unit, for obtaining the IP address for the purpose VM that the ARP messages carry;
First transmitting element, for obtaining the IP of the purpose VTEP to VxLAN controllers transmission inquiry request Address;The inquiry request carries the IP address of the purpose VM;
Second acquisition unit, for obtaining the IP address of the purpose VTEP from the VxLAN controllers;
Generation unit generates VxLAN messages for encapsulating the ARP messages according to the IP address of the purpose VTEP;
Second transmitting element, for sending the VxLAN messages to the purpose VTEP.
One kind provided in an embodiment of the present invention sends ARP file transmitting methods, VTEP and VxLAN controllers in VxLAN, Source VTEP is allowd to obtain the IP address of purpose VM according to the ARP messages of VM, then according to the IP address of VM and VTEP The correspondence of IP address determines the IP address of the VTEP residing for purpose VM, last according to the IP address of VTEP determined, To the ARP messages of VTEP corresponding with IP address forwardings VM.Because source VTEP can not know mesh in advance in compared with the prior art The corresponding purpose VTEP addresses of VM, and cause for the mode request message mode using multicast, in technical solution of the present invention Source VTEP be that can directly determine purpose VTEP addresses, then according to purpose VTEP addresses, to purpose in a manner of unicast VTEP sends request message, reduces the bandwidth for sending message and occupying, saves flow used in transmission request message, so as to Reduce the waste of resource.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, for For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings Attached drawing.
Fig. 1 is VxLAN network architecture diagrams in the embodiment of the present invention;
Fig. 2 is a kind of flow chart that ARP file transmitting methods are sent in VxLAN provided in an embodiment of the present invention;
Fig. 3 is another flow chart that ARP file transmitting methods are sent in VxLAN provided in an embodiment of the present invention;
Fig. 4 is the flow chart of a kind of VM provided in an embodiment of the present invention and the acquisition methods of VTEP correspondences;
Fig. 5 is a kind of interaction diagrams that ARP file transmitting methods are sent in VxLAN provided in an embodiment of the present invention;
Fig. 6 is a kind of structure diagram of VTEP devices provided in an embodiment of the present invention;
Fig. 7 is a kind of structure diagram of VxLAN controllers provided in an embodiment of the present invention;
Fig. 8 is the structure diagram of another kind VxLAN controllers provided in an embodiment of the present invention;
Fig. 9 is the structure diagram of another kind VTEP devices provided in an embodiment of the present invention;
Figure 10 is the structure diagram of another kind VxLAN controllers provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the present embodiment, the technical solution in the present embodiment is explicitly described, it is clear that Described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.Based on the implementation in the present invention Example, those of ordinary skill in the art's all other embodiments obtained without creative efforts, belongs to The scope of protection of the invention.
A kind of transmission Address Resolution Protocol ARP report in virtual expansible LAN VxLAN provided in an embodiment of the present invention Literary sending method can be applied in VxLAN as shown in Figure 1, and the VxLAN includes source VxLAN endpoint of a tunnel VTEP, target VTEP and VxLAN controllers;
The source VTEP is used to manage communications of the source virtual machine VM run on source server in the VxLAN.
Communications of the purpose VM that the purpose VTEP is used to run on administrative purposes server in the VxLAN.
The VxLAN controllers are used to safeguard IP address of the internet protocol address with the source VM of the source VTEP Mapping relations and the purpose VTEP the IP address and purpose VM IP address mapping relations, VxLAN control It is communicated between device, the source VTEP and the purpose VTEP.
A kind of realization method further includes virtual management system and cloud operation management system outside VxLAN.The virtualization pipe Reason system asks to create VM according to the granting of cloud operation management system.And the information of VM and VTEP are managed, when VM information occurs During variation, it is synchronized to cloud operation management system in time.The cloud operation management system is responsible for handling user's VM business application request.It is negative Duty gives the synchronizing information of VM and VTEP to VxLAN controllers, such as closes the mapping between the IP address of VM and the IP address of VTEP System is synchronized to VxLAN.
Based on the above-mentioned network architecture, one kind provided in an embodiment of the present invention is sent in virtual expansible LAN VxLAN ARP message sending method is needed by VTEP realizations in source as shown in Figure 1.This method is as shown in Fig. 2, described Method includes:
101st, the ARP messages of the source virtual machine VM are received, the ARP messages are used to that the medium of the purpose VM to be asked to be visited Ask control MAC Address, the ARP messages carry the IP address of the purpose VM.
102nd, the IP address for the purpose VM that the ARP messages carry is obtained.
103rd, inquiry request is sent to the VxLAN controllers to obtain the IP address of the purpose VTEP;The inquiry Request carries the IP address of the purpose VM.
104th, the IP address of the purpose VTEP is obtained from the VxLAN controllers.
Wherein, the IP address of the purpose VTEP can be according to the purpose VTEP's safeguarded in the VxLAN controllers The mapping relations of IP address and the IP address of the purpose VM obtain.
105th, the ARP messages are encapsulated according to the IP address of the purpose VTEP and generates VxLAN messages.
Wherein, the mode of encapsulation meets the conventional encapsulating method of VxLAN.
106th, the VxLAN messages are sent to the purpose VTEP.
Method provided in an embodiment of the present invention, source VTEP can obtain the IP address of purpose VM according to the ARP messages of VM, Then the IP address of the VTEP residing for determining purpose VM according to the correspondence of the IP address of VM and the IP address of VTEP, finally According to the IP address of the VTEP determined, to the ARP messages of VTEP corresponding with IP address forwardings VM.Compared with the prior art It is middle because source VTEP can not know the corresponding purpose VTEP addresses of purpose VM in advance, and lead to the mode request message side using multicast For formula, the source VTEP in technical solution of the present invention is can directly to determine purpose VTEP addresses, then according to purpose VTEP Address sends request message in a manner of unicast to purpose VTEP, reduces the bandwidth for sending message and occupying, saves to send and ask Flow used in message is sought, so as to reduce the waste of resource.
Another kind provided in an embodiment of the present invention sends Address Resolution Protocol ARP in virtual expansible LAN VxLAN File transmitting method is needed by VxLAN controllers realization as shown in Figure 1.This method as shown in figure 3, the method includes:
201st, the inquiry request of the source VTEP transmissions is received to obtain the IP address of the purpose VTEP.
Wherein, the inquiry request carries the IP address of the purpose VM;Wherein, the IP address of the purpose VM is described What source VTEP was obtained from the ARP messages that the source VM is sent.
202nd, according to the IP address of the purpose VM and the IP address of the purpose VM and the IP address of the purpose VTEP Between mapping relations, determine the IP address of the purpose VTEP.
203rd, the IP address inquiry response for carrying the purpose VTEP is sent to the source VTEP, so that the source VTEP roots The ARP messages are packaged into VxLAN messages according to the IP address of the purpose VTEP and are sent to the purpose VTEP.
Above step 201 to 203 is echoed with step 103 and 104 phases.
Method provided in an embodiment of the present invention, VxLAN controllers can be source VTEP in response to the inquiry request of source VTEP It determines the IP address of the VTEP residing for purpose VM, and the IP address of purpose VTEP is fed back into the source VTEP so that is described The ARP messages are packaged into VxLAN messages according to the IP address of the purpose VTEP and are sent to the purpose by source VTEP VTEP.Because source VTEP can not know the corresponding purpose VTEP addresses of purpose VM in advance in compared with the prior art, and cause to use For the mode request message mode of multicast, the source VTEP in technical solution of the present invention is can with directly determining purpose VTEP Then according to purpose VTEP addresses, request message is sent in a manner of unicast to purpose VTEP for location, is reduced transmission message and is accounted for Bandwidth saves flow used in transmission request message, so as to reduce the waste of resource.
Optionally, in another realization method of the embodiment of the present invention, the IP address and purpose of purpose VM are provided The acquisition methods of mapping relations between the IP address of VTEP, before execution and step 201, as shown in figure 4, including:
204th, the VxLAN controllers obtain purpose VTEP described in the IP address of the purpose VM from cloud operation management system IP address between mapping relations.
Wherein, the mapping relations between the IP address of purpose VTEP described in the IP address of the purpose VM are managed by virtualization What reason system was established when creating the purpose VTEP and managing the purpose VM, and institute is sent to by the virtual management system State cloud operation management system.
Optionally, in another realization method of the embodiment of the present invention, the IP address and purpose of purpose VM are provided The update method of mapping relations between the IP address of VTEP, including:
The VxLAN controllers receive the updated mapping relations that cloud operation management system is sent, described updated Mapping relations of the mapping relations between the IP address of the current affiliated VTEP of the purpose VM and purpose VM, the purpose VTEP belonging to VM is current is the purpose VTEP.
In addition, the embodiment of the present invention also provides the interaction flow between introduces a collection VTEP and VxLAN a controller herein, such as scheme Shown in 5, including:
301st, source VTEP receives the ARP messages of the source virtual machine VM, and the ARP messages are used to ask the purpose VM's Medium access control MAC Address, the ARP messages carry the IP address of the purpose VM.
302nd, source VTEP obtains the IP address for the purpose VM that the ARP messages carry.
303rd, source VTEP sends inquiry request to the VxLAN controllers, and the inquiry request carries the purpose VM's IP address.
304th, VxLAN controllers purpose VTEP according to the IP address of the purpose VM and the IP address of the purpose VM IP address between mapping relations, determine the IP address of the purpose VTEP.
305th, VxLAN controllers send the IP address inquiry response for carrying the purpose VTEP to the source VTEP.
306th, source VTEP is from the IP address that the purpose VTEP is obtained according to the inquiry response.
307th, source VTEP encapsulates the ARP messages according to the IP address of the purpose VTEP and generates VxLAN messages.
308th, source VTEP sends the VxLAN messages to the purpose VTEP.
To realize above method flow, the embodiment of the present invention additionally provides a kind of VTEP, as shown in fig. 6, including:
Receiving unit 41, for receiving the ARP messages of the source virtual machine VM, the ARP messages are used to ask the mesh VM medium access control MAC Address, the ARP messages carry the IP address of the purpose VM.
First acquisition unit 42, for obtaining the IP address for the purpose VM that the ARP messages carry.
First transmitting element 43, for obtaining the purpose VTEP's to VxLAN controllers transmission inquiry request IP address;The inquiry request carries the IP address of the purpose VM.
Second acquisition unit 44, for obtaining the IP address of the purpose VTEP from the VxLAN controllers.
Generation unit 45 generates VxLAN messages for encapsulating the ARP messages according to the IP address of the purpose VTEP.
Second transmitting element 46, for sending the VxLAN messages to the purpose VTEP.
VTEP provided in an embodiment of the present invention, VxLAN controller can be source VTEP in response to the inquiry request of source VTEP It determines the IP address of the VTEP residing for purpose VM, and the IP address of purpose VTEP is fed back into the source VTEP so that is described The ARP messages are packaged into VxLAN messages according to the IP address of the purpose VTEP and are sent to the purpose by source VTEP VTEP.Because source VTEP can not know the corresponding purpose VTEP addresses of purpose VM in advance in compared with the prior art, and cause to use For the mode request message mode of multicast, the source VTEP in technical solution of the present invention is can with directly determining purpose VTEP Then according to purpose VTEP addresses, request message is sent in a manner of unicast to purpose VTEP for location, is reduced transmission message and is accounted for Bandwidth saves flow used in transmission request message, so as to reduce the waste of resource.
The embodiment of the present invention additionally provides a kind of VxLAN controllers, as shown in fig. 7, comprises:
Receiving unit 51, for receiving the inquiry request of the source VTEP transmissions with obtaining the IP of the purpose VTEP Location.
Wherein, the inquiry request carries the IP address of the purpose VM;Wherein, the IP address of the purpose VM is described What source VTEP was obtained from the ARP messages that the source VM is sent.
Determination unit 52, for purpose VTEP described in the IP address according to the purpose VM and the IP address of the purpose VM IP address between mapping relations, determine the IP address of the purpose VTEP.
Transmitting element 53, for sending the IP address inquiry response for carrying the purpose VTEP to the source VTEP, so that The ARP messages are packaged into VxLAN messages according to the IP address of the purpose VTEP and are sent to the mesh by the source VTEP VTEP.
Optionally, as shown in figure 8, the VxLAN controllers further include:
Acquiring unit 54, for obtaining the mapping between the IP address of the purpose VM and the IP address of the purpose VTEP Relationship.
Optionally, the acquiring unit 54 is additionally operable to, when the purpose VM is migrated, receive updated mapping relations, Mapping of the updated mapping relations between the IP address of the current affiliated VTEP of the purpose VM and purpose VM Relationship, the current affiliated VTEP of the purpose VM are the purpose VTEP.
VxLAN controllers provided in an embodiment of the present invention, VxLAN controllers can in response to the inquiry request of source VTEP, The IP address of the VTEP residing for purpose VM is determined for source VTEP, and the IP address of purpose VTEP is fed back into the source VTEP, So that the ARP messages are packaged into VxLAN messages according to the IP address of the purpose VTEP and are sent to institute by the source VTEP State purpose VTEP.Because source VTEP can not know the corresponding purpose VTEP addresses of purpose VM in advance in compared with the prior art, and lead Cause for the mode request message mode with multicast, the source VTEP in technical solution of the present invention is can directly to determine purpose VTEP addresses then according to purpose VTEP addresses, send request message to purpose VTEP in a manner of unicast, reduce transmission The bandwidth of message occupancy saves flow used in transmission request message, so as to reduce the waste of resource.
The embodiment of the present invention additionally provides a kind of VTEP devices, and as described in Figure 9, which includes processor 61, memory 62nd, input/output interface 63, the memory 62 are configured program code, and the processor is used to that the memory 62 to be called to match The program code put, to realize the method flow of VTEP sides as shown in figures 2 and 5, the input/output interface 63 is used for It sends and receives information, wherein, it can be communicated between above-mentioned each device by bus.
The input/output interface 63, for receiving the ARP messages of the source virtual machine VM, the ARP messages are used for please The medium access control MAC Address of the purpose VM is sought, the ARP messages carry the IP address of the purpose VM;And it is used for Inquiry request is sent to the VxLAN controllers to obtain the IP address of the purpose VTEP;Described in the inquiry request carries The IP address of purpose VM;And the IP address for obtaining the purpose VTEP from the VxLAN controllers;And for The purpose VTEP sends the VxLAN messages
The processor 61 is additionally operable to, and obtains the IP address for the purpose VM that the ARP messages carry;And for root The ARP messages generation VxLAN messages are encapsulated according to the IP address of the purpose VTEP.
VTEP provided in an embodiment of the present invention, VxLAN controller can be source VTEP in response to the inquiry request of source VTEP It determines the IP address of the VTEP residing for purpose VM, and the IP address of purpose VTEP is fed back into the source VTEP so that is described The ARP messages are packaged into VxLAN messages according to the IP address of the purpose VTEP and are sent to the purpose by source VTEP VTEP.Because source VTEP can not know the corresponding purpose VTEP addresses of purpose VM in advance in compared with the prior art, and cause to use For the mode request message mode of multicast, the source VTEP in technical solution of the present invention is can with directly determining purpose VTEP Then according to purpose VTEP addresses, request message is sent in a manner of unicast to purpose VTEP for location, is reduced transmission message and is accounted for Bandwidth saves flow used in transmission request message, so as to reduce the waste of resource.
The embodiment of the present invention additionally provides a kind of VxLAN controllers, and as described in Figure 10, which includes processor 71, memory 72, input/output interface 73, the memory 72 are configured program code, and the processor is described for calling The program code that memory 72 is configured, to realize the method flow of the VTEP sides as shown in Fig. 3,4 and 5, the input and output Interface 73 is used to send and receive information, wherein, it can be communicated between above-mentioned each device by bus.
The input/output interface 73, for receiving the inquiry request that the source VTEP sends to obtain the purpose VTEP IP address;Wherein, the inquiry request carries the IP address of the purpose VM;Wherein, the IP address of the purpose VM is institute State what source VTEP was obtained from the ARP messages that the source VM is sent;And carry the purpose for being sent to the source VTEP The IP address inquiry response of VTEP, so that the source VTEP encapsulates the ARP messages according to the IP address of the purpose VTEP Into VxLAN messages and it is sent to the purpose VTEP.
The processor 71, for purpose described in the IP address according to the purpose VM and the IP address of the purpose VM Mapping relations between the IP address of VTEP determine the IP address of the purpose VTEP.
Optionally, the input/output interface 73 is additionally operable to obtain purpose VTEP described in the IP address of the purpose VM IP address between mapping relations.
Optionally, the input/output interface 73 is additionally operable to, when the purpose VM is migrated, receive updated mapping Relationship, the updated mapping relations for the purpose VM and purpose VM it is current belonging to VTEP IP address between Mapping relations, the current affiliated VTEP of the purpose VM are the purpose VTEP.
VxLAN controllers provided in an embodiment of the present invention, VxLAN controllers can in response to the inquiry request of source VTEP, The IP address of the VTEP residing for purpose VM is determined for source VTEP, and the IP address of purpose VTEP is fed back into the source VTEP, So that the ARP messages are packaged into VxLAN messages according to the IP address of the purpose VTEP and are sent to institute by the source VTEP State purpose VTEP.Because source VTEP can not know the corresponding purpose VTEP addresses of purpose VM in advance in compared with the prior art, and lead Cause for the mode request message mode with multicast, the source VTEP in technical solution of the present invention is can directly to determine purpose VTEP addresses then according to purpose VTEP addresses, send request message to purpose VTEP in a manner of unicast, reduce transmission The bandwidth of message occupancy saves flow used in transmission request message, so as to reduce the waste of resource.
Through the above description of the embodiments, it is apparent to those skilled in the art that the present invention can borrow Help software that the mode of required common hardware is added to realize, naturally it is also possible to which by hardware, but the former is more preferably in many cases Embodiment.Based on such understanding, portion that technical scheme of the present invention substantially in other words contributes to the prior art Dividing can be embodied in the form of software product, which is stored in the storage medium that can be read, and such as be counted The floppy disk of calculation machine, hard disk or CD etc. are used including some instructions so that a computer equipment(Can be personal computer, Server or the network equipment etc.)Perform the method described in each embodiment of the present invention.
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in change or replacement, should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention described should be subject to the protection scope in claims.

Claims (8)

  1. A kind of 1. method that ARP message is sent in virtual expansible LAN VxLAN, which is characterized in that The virtual expansible LAN includes source VxLAN endpoint of a tunnel VTEP, purpose VTEP and VxLAN controller, the source VTEP For managing communications of the source virtual machine VM run on source server in the VxLAN, the purpose VTEP is used to manage mesh Server on the communication of the purpose VM that runs in the VxLAN, the VxLAN controllers are for safeguarding the source VTEP's Internet protocol address and the mapping relations of the IP address of the source VM and the IP address of the purpose VTEP and the purpose The mapping relations of the IP address of VM communicate, institute between the VxLAN controllers, the source VTEP and the purpose VTEP The method of stating includes:
    The VxLAN controllers receive the inquiry request of the source VTEP transmissions to obtain the IP address of the purpose VTEP;Its In, the inquiry request carries the IP address of the purpose VM;Wherein, the IP address of the purpose VM is the source VTEP from institute State what is obtained in the ARP messages of source VM transmissions;
    The IP of VxLAN controllers purpose VTEP according to the IP address of the purpose VM and the IP address of the purpose VM Mapping relations between address determine the IP address of the purpose VTEP;
    The VxLAN controllers send the IP address inquiry response for carrying the purpose VTEP to the source VTEP, so that described The ARP messages are packaged into VxLAN messages according to the IP address of the purpose VTEP and are sent to the purpose by source VTEP VTEP。
  2. 2. it according to the method described in claim 1, is sent it is characterized in that, receiving the source VTEP in the VxLAN controllers Inquiry request before, further include:
    The mapping that the VxLAN controllers are obtained between the IP address of the purpose VM and the IP address of the purpose VTEP is closed System.
  3. 3. it according to the method described in claim 2, it is characterized in that, further includes:
    When the purpose VM is migrated, the VxLAN controllers receive updated mapping relations, and the updated mapping is closed It is the mapping relations between the IP address for the current affiliated VTEP of the purpose VM and purpose VM, the purpose VM is current Affiliated VTEP is the purpose VTEP.
  4. 4. a kind of send ARP message sending method in virtual expansible LAN VxLAN, feature exists In the virtual expansible LAN includes source VxLAN endpoint of a tunnel VTEP, purpose VTEP and VxLAN controller, the source For managing communications of the source virtual machine VM run on source server in the VxLAN, the purpose VTEP is used to manage VTEP Communications of the purpose VM run on reason destination server in the VxLAN, the VxLAN controllers are used to safeguard the source The internet protocol address of VTEP and the mapping relations of IP address of the source VM and IP address and the institute of the purpose VTEP The mapping relations of the IP address of purpose VM are stated, are mutually communicated between the VxLAN controllers, the source VTEP and the purpose VTEP Letter, the method includes:
    The source VTEP receives the ARP messages of the source virtual machine VM, and the ARP messages are used to ask the medium of the purpose VM Access control MAC addresses, the ARP messages carry the IP address of the purpose VM;
    The source VTEP obtains the IP address for the purpose VM that the ARP messages carry;
    The source VTEP sends inquiry request to obtain the IP address of the purpose VTEP to the VxLAN controllers;It is described to look into Ask the IP address that request carries the purpose VM;
    The source VTEP obtains the IP address of the purpose VTEP from the VxLAN controllers;
    The source VTEP encapsulates the ARP messages according to the IP address of the purpose VTEP and generates VxLAN messages;
    The source VTEP sends the VxLAN messages to the purpose VTEP.
  5. 5. a kind of virtual expansible LAN VxLAN controllers, which is characterized in that applied in VxLAN, the VxLAN includes Source VxLAN endpoint of a tunnel VTEP, purpose VTEP and VxLAN controller, the source VTEP are used to manage what is run on source server Communications of the source virtual machine VM in the VxLAN, purpose VMs of the purpose VTEP for being run on administrative purposes server exist Communication in the VxLAN, the VxLAN controllers are used to safeguard the internet protocol address of the source VTEP and the source The mapping relations of the mapping relations of the IP address of VM and the IP address of the purpose VTEP and the IP address of the purpose VM, it is described It is communicated between VxLAN controllers, the source VTEP and the purpose VTEP;
    Wherein, the virtual expansible LAN VxLAN controllers include:
    Receiving unit, for receiving the inquiry request that the source VTEP sends to obtain the IP address of the purpose VTEP;Wherein, The inquiry request carries the IP address of the purpose VM;Wherein, the IP address of the purpose VM is the source VTEP from described It is obtained in the ARP messages that source VM is sent;
    Determination unit, for the IP of purpose VTEP described in the IP address according to the purpose VM and the IP address of the purpose VM Mapping relations between location determine the IP address of the purpose VTEP;
    Transmitting element, for sending the IP address inquiry response for carrying the purpose VTEP to the source VTEP, so that the source The ARP messages are packaged into VxLAN messages according to the IP address of the purpose VTEP and are sent to the purpose VTEP by VTEP.
  6. 6. VxLAN controllers according to claim 5, which is characterized in that further include:
    Acquiring unit, for obtaining the mapping relations between the IP address of the purpose VM and the IP address of the purpose VTEP.
  7. 7. VxLAN controllers according to claim 6, which is characterized in that
    The acquiring unit is additionally operable to when the purpose VM is migrated, and receives updated mapping relations, described updated to reflect Penetrate mapping relations of the relationship between the IP address of the current affiliated VTEP of the purpose VM and purpose VM, the purpose VM VTEP belonging to current is the purpose VTEP.
  8. 8. a kind of virtual expansible LAN VxLAN endpoint of a tunnel VTEP, which is characterized in that described applied in VxLAN VxLAN includes source VxLAN endpoint of a tunnel VTEP, purpose VTEP and VxLAN controller, and the source VTEP is used to manage source server Communications of the source virtual machine VM of upper operation in the VxLAN, the purpose VTEP are used for what is run on administrative purposes server Communications of the purpose VM in the VxLAN, the VxLAN controllers are used to safeguard the internet protocol address of the source VTEP With the mapping of the IP address of the IP address and purpose VM of the mapping relations and purpose VTEP of the IP address of the source VM Relationship communicates between the VxLAN controllers, the source VTEP and the purpose VTEP;
    Wherein, the source VxLAN endpoint of a tunnel VTEP includes:
    Receiving unit, for receiving the ARP messages of the source virtual machine VM, the ARP messages are used to ask the purpose VM's Medium access control MAC Address, the ARP messages carry the IP address of the purpose VM;
    First acquisition unit, for obtaining the IP address for the purpose VM that the ARP messages carry;
    First transmitting element, for obtaining the IP address of the purpose VTEP to VxLAN controllers transmission inquiry request; The inquiry request carries the IP address of the purpose VM;
    Second acquisition unit, for obtaining the IP address of the purpose VTEP from the VxLAN controllers;
    Generation unit generates VxLAN messages for encapsulating the ARP messages according to the IP address of the purpose VTEP;
    Second transmitting element, for sending the VxLAN messages to the purpose VTEP.
CN201310646140.1A 2013-12-04 2013-12-04 One kind sends ARP file transmitting methods, VTEP and VxLAN controllers in VxLAN Active CN103647853B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310646140.1A CN103647853B (en) 2013-12-04 2013-12-04 One kind sends ARP file transmitting methods, VTEP and VxLAN controllers in VxLAN
PCT/CN2014/085157 WO2015081734A1 (en) 2013-12-04 2014-08-26 Sending method for sending arp packet in vxlan, vtep, and vxlan controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310646140.1A CN103647853B (en) 2013-12-04 2013-12-04 One kind sends ARP file transmitting methods, VTEP and VxLAN controllers in VxLAN

Publications (2)

Publication Number Publication Date
CN103647853A CN103647853A (en) 2014-03-19
CN103647853B true CN103647853B (en) 2018-07-03

Family

ID=50253006

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310646140.1A Active CN103647853B (en) 2013-12-04 2013-12-04 One kind sends ARP file transmitting methods, VTEP and VxLAN controllers in VxLAN

Country Status (2)

Country Link
CN (1) CN103647853B (en)
WO (1) WO2015081734A1 (en)

Families Citing this family (25)

* Cited by examiner, † Cited by third party
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 新华三技术有限公司 The method and apparatus for disposing virtual extended local area network
CN104683152B (en) * 2015-03-05 2018-10-26 新华三技术有限公司 VXLAN message processing methods and device
WO2016175872A1 (en) 2015-04-29 2016-11-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
CN112486626A (en) * 2016-08-30 2021-03-12 华为技术有限公司 Method and device 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

Citations (4)

* Cited by examiner, † Cited by third party
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 ��Ϊ�������޹�˾ Method for building special analog 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 微软公司 Employing overlays for securing connections across networks

Family Cites Families (8)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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 ��Ϊ�������޹�˾ Method for building special analog network
CN102598591A (en) * 2009-11-06 2012-07-18 微软公司 Employing overlays for securing connections across networks
CN101924707A (en) * 2010-09-27 2010-12-22 杭州华三通信技术有限公司 Method and equipment for processing message of address resolution protocol (ARP)

Also Published As

Publication number Publication date
WO2015081734A1 (en) 2015-06-11
CN103647853A (en) 2014-03-19

Similar Documents

Publication Publication Date Title
CN103647853B (en) One kind sends ARP file transmitting methods, VTEP and VxLAN controllers in VxLAN
US10778532B2 (en) Overlay network movement operations
US20220123960A1 (en) Data Packet Processing Method, Host, and System
US10698717B2 (en) Accelerator virtualization method and apparatus, and centralized resource manager
EP3386157B1 (en) Packet transmission method, device and system
JP5855630B2 (en) Management server and management method for managing cloud appliance of virtual local area network
WO2017032251A1 (en) Virtual network management
CN112398687B (en) Configuration method of cloud computing network, cloud computing network system and storage medium
CN104363291A (en) Network communication middleware implementation method
WO2014190791A1 (en) Method for setting identity of gateway device and management gateway device
CN106302322B (en) Virtual machine data flow management method and system
EP3175589A1 (en) Efficient centralized resource and schedule management in time slotted channel hopping networks
WO2016050109A1 (en) Communication method, cloud management server and virtual switch
CN106464596A (en) Openflow communication method, system, controller, and service gateway
CN110505244A (en) Long-range tunnel access technique gateway and server
CN103581325A (en) Cloud computing resource pool system and implement method thereof
CN115379010B (en) Container network construction method, device, equipment and storage medium
CN112968919B (en) Data processing method, device, equipment and storage medium
KR101378313B1 (en) Method, appratus, system and computer-readable recording medium for assisting communication between terminal and local host by using openflow
KR101363338B1 (en) Method, appratus, system and computer-readable recording medium for assisting communication between terminal by using openflow
CN105592079A (en) Communication method between adaptive virtual machines
CN112737915B (en) Intranet tunnel cross-domain gateway forwarding method, system, equipment and medium based on intelligent network card
Galis et al. Towards autonomic management of software enabled networks
WO2024114645A1 (en) Instantiation method for virtualization network function (vnf), and apparatus
WO2022116191A1 (en) Connection establishment method and apparatus, and device and storage medium

Legal Events

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 Technology 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