CN108270878A - Method, the VTEP equipment of ARP messages are sent in VXLAN - Google Patents

Method, the VTEP equipment of ARP messages are sent in VXLAN Download PDF

Info

Publication number
CN108270878A
CN108270878A CN201611267154.2A CN201611267154A CN108270878A CN 108270878 A CN108270878 A CN 108270878A CN 201611267154 A CN201611267154 A CN 201611267154A CN 108270878 A CN108270878 A CN 108270878A
Authority
CN
China
Prior art keywords
vtep
address
vxlan
address mapping
mapping table
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611267154.2A
Other languages
Chinese (zh)
Inventor
龚纯
刘炯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Group Jiangxi Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Jiangxi 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 China Mobile Communications Group Co Ltd, China Mobile Group Jiangxi Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201611267154.2A priority Critical patent/CN108270878A/en
Publication of CN108270878A publication Critical patent/CN108270878A/en
Pending legal-status Critical Current

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a kind of method, VTEP equipment that ARP messages are sent in VXLAN.VXLAN includes the first VXLAN endpoint of a tunnel VTEP and the 2nd VTEP, and the first VTEP manages communications of the first virtual machine VM in VXLAN, and the 2nd VTEP manages communications of the 2nd VM in VXLAN.This method includes:First VTEP is created and is safeguarded address mapping table;First VTEP receives the ARP request message of the first VM broadcast transmissions, which includes the IP address of the 2nd VM;First VTEP determines the MAC Address of the 2nd VM according to the IP address of the 2nd VM and the address mapping information of address mapping table;First VTEP sends arp reply message to the first VM.So as to which the above method and equipment effectively improve network processes performance.

Description

Method, the VTEP equipment of ARP messages are sent in VXLAN
Technical field
This application involves computer network communication technology field more particularly to a kind of sides that ARP messages are sent in VXLAN Method, VTEP equipment.
Background technology
As intel Virtualization Technology application is extensive, data center network technology is quickly grown, VXLAN (Virtual EXtensible Local Area Network, expansible Virtual Local Area Network) as a variety of overlay, (network covers technology Lid) mainstream technology in technology.VXLAN can be based on existing service provider or enterprise IP network, the physical station for dispersion Point provides two layers of interconnection, and business isolation can be provided for different tenants, is mainly used in data center network.
VXLAN is a kind of technology for being packaged two layer message with three layer protocols, can be to double layer network in three layers of model It encloses and is extended.VXLAN IP based networks, the two-layer VPN technology using " MAC in UDP " packing forms, can also see it Make a kind of overlay technologies of tunnel mode.
The representative network model of VXLAN is illustrated in fig. 1 shown below, including:VM (Virtual Machine, virtual machine):VTEP (VXLAN Tunnel End Point, VXLAN endpoint of a tunnel):Core equipment:Equipment (P in such as network in IP core network Equipment).VXLAN tunnels:Point-to-point logical tunnel between two VTEP.VTEP is data frame packaging V XLAN, UDP, IP After head, the message after encapsulation is transmitted to by distal end VTEP by VXLAN tunnels, distal end VTEP decapsulates it.
ARP (Address Resolution Protocol, address resolution protocol) multicast of the prior art, source VTEP To obtain the MAC Address of purpose VM, source VTEP needs to send ARP messages in the multicast group of VXLAN, with acquisition and purpose The MAC Address of the corresponding purpose VM of VTEP, source VTEP is resulted in send message in this way can occupy a large amount of network bandwidths, replicate simultaneously Number can be as the increase of PE number be into exponential growth, and then flow is caused to increase sharply.Network bandwidth resources are occupied, cause Network communication hydraulic performance decline.
Invention content
The main purpose of the application is to provide a kind of method, VTEP equipment for sending ARP messages in VXLAN, solve The problem of occupancy certainly of the prior art in VXLAN caused by broadcast arp message a large amount of Internet resources.
To solve the above-mentioned problems, a kind of method that ARP messages are sent in VXLAN is provided according to the embodiment of the present application, It includes:First VTEP is created and is safeguarded address mapping table, and wherein described address mapping table includes the more of the VXLAN The MAC Address of each VM and the address mapping information of IP address in a VM;First VTEP receives the first VM broadcast The ARP request message of transmission, wherein the ARP request message includes the IP address of the 2nd VM;First VTEP is according to institute The IP address of the 2nd VM and the address mapping information of described address mapping table are stated, determines the MAC Address of the 2nd VM;It is described First VTEP sends arp reply message to the first VM, wherein carrying the 2nd VM's in the arp reply message MAC Address, so that the first VM sends VXLAN messages according to the MAC Address of the 2nd VM.
A kind of method that ARP messages are sent in VXLAN is also provided according to the embodiment of the present application, including:The ARP generations The ARP request message that module receives the first VM broadcast transmissions is managed, wherein the ARP request message includes the IP of the 2nd VM Address;The ARP proxy module determines described according to the IP address of the 2nd VM and the address mapping table being pre-created The MAC Address of two VM, wherein described address mapping table include each VM in multiple VM of the VXLAN MAC Address and The address mapping information of IP address;The ARP proxy module sends arp reply message to the first VM, wherein the ARP should The MAC Address that the 2nd VM is carried in message is answered, so that the first VM is sent according to the MAC Address of the 2nd VM VXLAN messages.
A kind of VTEP equipment is also provided according to the embodiment of the present application, including:Creation module, for creating and safeguarding address Mapping table, wherein described address mapping table include the MAC Address and IP address of each VM in multiple VM of the VXLAN Address mapping information;Receiving module, for receiving the ARP request message of the first VM broadcast transmissions, wherein the ARP request Message includes the IP address of the 2nd VM;Address determination module, for the IP address and described address according to the 2nd VM The address mapping information of mapping table determines the MAC Address of the 2nd VM;Message responder module, for being sent out to the first VM Arp reply message is sent, wherein the MAC Address of the 2nd VM is carried in the arp reply message, so that the first VM roots VXLAN messages are sent according to the MAC Address of the 2nd VM.
A kind of VTEP equipment is also provided according to the embodiment of the present application, the VTEP equipment includes ARP proxy module, described ARP proxy module includes:Receiving module, for receiving the ARP request message of the first VM broadcast transmissions, wherein the ARP Request message includes the IP address of the 2nd VM;Address determination module, for the IP address according to the 2nd VM and in advance The address mapping table of establishment determines the MAC Address of the 2nd VM, and wherein described address mapping table includes the more of the VXLAN The MAC Address of each VM and the address mapping information of IP address in a VM;Message responder module, for being sent out to the first VM Arp reply message is sent, wherein the MAC Address of the 2nd VM is carried in the arp reply message, so that the first VM roots VXLAN messages are sent according to the MAC Address of the 2nd VM.According to the technical solution of the application, according to the technical solution of the application, Each VTEP equipment in VXLAN creates and safeguards address mapping table, and VTEP equipment receives the ARP request message of local VM Afterwards, the MAC Address of purpose VM is obtained by searching for described address mapping table, arp reply message is encapsulated as and is back to local VM. Through the embodiment of the present invention, ARP request message is terminated in local VTEP equipment, i.e., ARP messages will not broadcast in VXLAN, The situation that ARP broadcast traffics occupy a large amount of IP network bandwidths is avoided, effectively improves network processes performance.
Description of the drawings
Attached drawing described herein is used for providing further understanding of the present application, forms the part of the application, this Shen Illustrative embodiments and their description please do not form the improper restriction to the application for explaining the application.In the accompanying drawings:
Fig. 1 is the schematic diagram of the network model of VXLAN according to embodiments of the present invention;
Fig. 2 is the flow chart of the method according to an embodiment of the invention that ARP messages are sent in VXLAN;
Fig. 3 is the flow chart of the method according to another embodiment of the present invention that ARP messages are sent in VXLAN
Fig. 4 is the schematic diagram according to embodiments of the present invention in VTEP setting ARP proxy modules;
Fig. 5 to Fig. 7 is the structure diagram of VTEP equipment according to embodiments of the present invention.
Specific embodiment
Purpose, technical scheme and advantage to make the application are clearer, below in conjunction with the application specific embodiment and Technical scheme is clearly and completely described in corresponding attached drawing.Obviously, described embodiment is only the application one Section Example, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doing Go out all other embodiments obtained under the premise of creative work, shall fall in the protection scope of this application.
Below in conjunction with attached drawing, the technical solution that each embodiment of the application provides is described in detail.
A kind of method that ARP messages are sent in VXLAN is provided according to embodiments of the present invention, and this method can be used for such as Fig. 1 In shown VXLAN, the VXLAN includes multiple VTEP, VM, core equipment etc., specifically:
VTEP is the edge device of VXLAN, and the multiple VM run in each VTEP management servers are in the VXLAN Communication.The relevant treatment of VXLAN carries out all on VTEP, for example, identification ethernet data frame belonging to VXLAN, based on VXLAN Two layers of forwarding, encapsulation/decapsulation message etc. are carried out to data frame.VTEP can be an independent physical equipment or Server where virtual machine.It is entirely to be assisted by L3 between VTEP (being multiple VTEP when being two VTEP, multicasts during unicast) View interaction, it is connected by IP kernel heart equipment;
More VM can be created on a server, different VM may belong to different VXLAN.Belong to identical The VM of VXLAN is in same logic double layer network, each other double layer intercommunication;Belong between the VM of different VXLAN two layers every From;
Core equipment is the equipment (such as P equipment in network) in IP core network.Core equipment is not involved at VXLAN Reason, it is only necessary to which three layers of forwarding carry out message according to the purpose IP address of message after encapsulation.
In Fig. 1, VXLAN tunnels are the point-to-point logical tunnels between two VTEP.VTEP is data frame packaging V XLAN Head, UDP, after IP, the message after encapsulation is transmitted to by distal end VTEP by VXLAN tunnels, distal end VTEP solves it Encapsulation.
In addition, in VXLAN, each covering domain of VXLAN is referred to as VXLAN segment, and ID is by being located at VXLAN What the VNI (VXLAN Network Identifier) in data packet head was identified, the void only in identical VXLAN segment It can be just in communication with each other between plan machine.VNI (VXLAN Network Identifier or VXLAN Segment ID) and VXLAN only has VTEP in tunnel as it can be seen that being to allow have identical MAC in transparent, different VXLAN segment for virtual machine The virtual machine of address.Based on different VNI, the virtual switch instance of Layer2 switching service is provided on VTEP for a VXLAN. The stylobate that VSI can be regarded as on VTEP carries out the virtual switch instance of two layers of forwarding in VXLAN, realizes Ethernet switch Institute it is functional, including source MAC study, MAC address aging, flood.
Fig. 2 is the flow chart of the method according to an embodiment of the invention that ARP messages are sent in VXLAN.In this reality It applies in example, for the first VTEP for managing communications of the first VM run in first server in the VXLAN, the first VTEP can Regard source VTEP as, the first VM can regard source VM as;2nd VTEP is used to manage the 2nd VM run on second server described Communication in VXLAN, the 2nd VTEP can regard purpose VTEP as, and the 2nd VM can regard purpose VM as.As shown in Fig. 2, the method packet Include following steps:
Step S202, the first VTEP are created and are safeguarded address mapping table, and wherein described address mapping table includes institute State the MAC Address of each VM and the address mapping information of IP address in multiple VM of VXLAN.
In the case where not changing existing group network topological structure, existing mac address forwarding table is extended, is created One address mapping table.Reference table 1 includes but not limited to the list items such as VNI, MAC Address, IP address in described address mapping table. New address mapping table is extended based on existing mac address forwarding table, increase IP address section, embody MAC Address and The mapping relations of IP address.It is to be appreciated that not only include the address of cache of the VM belonging to VTEP locals in described address mapping table Information further includes the address mapping information of the VM of other segments or subnet in VXLAN.In a preferred embodiment, describedly Location mapping table includes the address mapping information of VM all in VXLAN.
Table 1
Described address mapping table not only provides two layers of forwarding lookup function, while is supplied to ARP proxy module with searching MAC Location maps.Based on the establishment of new address mapping table, VTEP equipment can realize that the generation of ARP request is answered.
Step S204, the first VTEP receives the ARP request message of the first VM broadcast transmissions, wherein the ARP Request message includes the IP address of the 2nd VM.
When the first VM is communicated with others VM (the 2nd VM), one can be sent with the forms of broadcasting for asking second The ARP request message (ARP Req) of the MAC Address of VM, the first VTEP described in this way can just receive the ARP request report Text, wherein the ARP request message includes the IP address of the 2nd VM.
Addresses of the step S206, the first VTEP in the IP address of the 2nd VM and described address mapping table Map information determines the MAC Address of the 2nd VM.
First VTEP searches described address mapping table, according to the address mapping information of described address mapping table search with The corresponding MAC Address of IP address of 2nd VM, so as to obtain the MAC Address of the 2nd VM.
Step S208, the first VTEP send arp reply message to the first VM, wherein the arp reply message In carry the MAC Address of the 2nd VM reported so that the first VM sends VXLAN according to the MAC Address of the 2nd VM Text.
First VTEP Reseals arp reply message (ARP Resp) according to the MAC Address of the 2nd VM, returns To the first VM.After first VM receives the arp reply message, VXLAN reports are sent according to the MAC Address of the 2nd VM Text.
According to the abovementioned embodiments of the present invention, each VTEP equipment in VXLAN creates and safeguards address mapping table, After VTEP equipment receives the ARP request message of local VM, the MAC that obtains purpose VM by searching for described address mapping table Location is encapsulated as arp reply message and is back to local VM.Through the embodiment of the present invention, ARP request message is in local VTEP equipment It being terminated, i.e., ARP messages will not broadcast in VXLAN, avoid the situation that ARP broadcast traffics occupy a large amount of IP network bandwidths, Effectively improve network processes performance.
Also, for the present invention by being created in VTEP equipment and safeguarding address mapping table, i.e. VTEP equipment is responsible for storage address Map information, and the equipment that VTEP equipment is responsible for data forwarding, in the case where forwarding mass data message, VTEP equipment energy It is enough to get target MAC (Media Access Control) address in local directly search, it does not need to frequently interact number between VTEP and VXLAN controllers According to effectively improving system performance.
A kind of method that ARP messages are sent in VXLAN is also provided according to embodiments of the present invention, and this method can be used for as schemed In VXLAN shown in 1.
Fig. 3 is the flow chart of the method according to another embodiment of the present invention that ARP messages are sent in VXLAN.In this reality It applies in example, for the first VTEP for managing communications of the first VM run in first server in the VXLAN, the first VTEP can Regard source VTEP as, the first VM can regard source VM as;2nd VTEP is used to manage the 2nd VM run on second server described Communication in VXLAN, the 2nd VTEP can regard purpose VTEP as, and the 2nd VM can regard purpose VM as.
As shown in figure 3, it the described method comprises the following steps:
Step S302, ARP proxy module receive the ARP request message of the first VM broadcast transmissions, wherein the ARP please The IP address that message is asked to include the 2nd VM.
In the present embodiment, it with reference to figure 4, by setting an ARP proxy module in the first VTEP, realizes to this In the generation of ground ARP request, is answered.
When the first VM is communicated with others VM (the 2nd VM), one can be sent with the forms of broadcasting for asking second The ARP request message (ARP Req) of the MAC Address of VM, wherein the ARP request message includes the IP address of the 2nd VM.Institute It states after the first VTEP receives the ARP request message, is directly forwarded to the ARP proxy resume module.
Step S304, the ARP proxy module is according to the IP address of the 2nd VM in the address mapping table being pre-created The middle MAC Address searched and obtain the 2nd VM, wherein described address mapping table include multiple VM's in the VXLAN The mapping relations of MAC Address and IP address.
The ARP proxy module searches described address mapping table, with searching MAC corresponding with the IP address of the 2nd VM Location, so as to obtain the MAC Address of the 2nd VM.
In the present embodiment, the first VTEP is responsible for creating and safeguarding address mapping table, is not changing existing networking In the case of topological structure, existing mac address forwarding table is extended, creates described address mapping table.New address is reflected Firing table is extended based on existing mac address forwarding table, increases IP address section, embodies reflecting for MAC Address and IP address Penetrate relationship.It is to be appreciated that not only include the MAC Address of VM described in VTEP locals and reflecting for IP address in described address mapping table Relationship is penetrated, further includes the mapping relations of the MAC Address of the VM of other segments or subnet and IP address in VXLAN.Described address is reflected Firing table not only provides two layers of forwarding lookup function, while ARP proxy module is supplied to search MAC Address mapping.Based on new ground The establishment of location mapping table, ARP proxy module can realize that the generation of ARP request is answered.
Step S306, the ARP proxy module sends arp reply message to the first VM, wherein the arp reply report The MAC Address of the 2nd VM is carried in text, so that the first VM sends VXLAN according to the MAC Address of the 2nd VM Message.
The ARP proxy module Reseals arp reply message (ARP Resp) according to the MAC Address of the 2nd VM, Return to the first VM.After first VM receives the arp reply message, sent according to the MAC Address of the 2nd VM VXLAN messages.
According to the abovementioned embodiments of the present invention, each VTEP equipment in VXLAN creates and safeguards address mapping table, After ARP proxy module receives the ARP request message of local VM, the MAC of purpose VM is obtained by searching for described address mapping table Address is encapsulated as arp reply message and is back to local VM.Through the embodiment of the present invention, ARP request message is set in local VTEP Standby to be terminated, i.e., ARP messages will not broadcast in VXLAN, avoid the feelings that ARP broadcast traffics occupy a large amount of IP network bandwidths Condition effectively improves network processes performance.
Also, for the present invention by being created in VTEP equipment and safeguarding address mapping table, i.e. VTEP equipment is responsible for storage address Map information, and the equipment that VTEP equipment is responsible for data forwarding, in the case where forwarding mass data message, VTEP equipment (ARP proxy module) can get target MAC (Media Access Control) address in local directly search, and not need in VTEP and VXLAN controllers Between frequent interaction data, effectively improve system performance.
Establishment is described below in detail and safeguards the detail of address mapping table.
In VXLAN networks, the information interactive process such as the reaching the standard grade of VM, data interaction can trigger VXLAN controllers to void The perception of plan machine, VXLAN controllers have the information and topological relation of device node, and the status information with VM and position letter Breath.VXLAN controllers in time update the status information of VM (establishment, offline, migration etc.) to VTEP.
In the present invention, the VM in described address mapping table belongs to identical VTEP or belongs to different VTEP, that is, It says, the address of cache letter of local VM (VM that i.e. VTEP is managed) is not only included in the address mapping table that VTEP is created Breath further includes the address mapping information of the VM (VM that i.e. other VTEP are managed) of other segments or subnet.
In the case where VTEP creates address mapping table according to local VM, VXLAN controllers are from virtual machine management system Obtain VM life cycle informations, network address (IP address), physical address (MAC Address), operating status including VM, migration shape State etc..VXLAN controllers are to the information of VTEP synchronized updates local VM.Under ARP proxy mechanism, VTEP creates and safeguards address Mapping table realizes the local MAC Address of VM and the binding of IP address.
In the case where VTEP creates address mapping table according to the VM of other segments or subnet, pass through dynamic road between VTEP The synchronization and update of the information of VXLAN tunnels distal end VM are realized by Extended Protocol.MAC Address is updated and route by transmitting terminal VTEP Agreement links, and dynamically mac address information is issued by Routing Protocol and is notified to other VTEP equipment.Receiving terminal VTEP connects After receiving VM information, search address mapping table, MAC Address list item then created for unknown MAC Address, for have list item then into The update of row forwarding information and binding information.In subsequent processing, ARP proxy module is answered according to updated information realization ARP generations.
A kind of VTEP equipment is also provided according to embodiments of the present invention, the VTEP equipment applications are in VXLAN, the VTEP Manage communications of the first VM in the VXLAN.In the present embodiment, the VTEP equipment can regard source VTEP as, and the first VM can Regard source VM as;Purpose VTEP is further included in the VXLAN, purpose VTEP is used to manage communications of the 2nd VM in the VXLAN, 2nd VM can regard purpose VM as.
As shown in figure 5, VTEP equipment according to embodiments of the present invention includes:
Creation module 51, for creating and safeguarding address mapping table, wherein described address mapping table includes the VXLAN Multiple VM in the MAC Address of each VM and the address mapping information of IP address;
Receiving module 52, for receiving the ARP request message of the first VM broadcast transmissions, wherein the ARP request report Text includes the IP address of the 2nd VM;
Address determination module 53, for the IP address and the address of cache of described address mapping table according to the 2nd VM Information determines the MAC Address of the 2nd VM;
Message responder module 54, for sending arp reply message to the first VM, wherein in the arp reply message The MAC Address of the 2nd VM is carried, so that the first VM sends VXLAN messages according to the MAC Address of the 2nd VM.
In one embodiment of the invention, the VXLAN further includes VXLAN controllers.With reference to figure 6, the VTEP is set It is standby to further include:
First address acquisition module 55 obtains the multiple of the first VTEP management for passing through the VXLAN controllers The address mapping information of VM;
The creation module 51 creates according to the address mapping information of the multiple VM of acquisition and safeguards that described address is reflected Firing table.
Further, with continued reference to Fig. 6, the VTEP equipment further includes:
Second address acquisition module 56, for passing through described the second of Routing expansion agreement reception the 2nd VTEP transmissions The address mapping information of multiple VM of VTEP management;
The creation module 51 creates according to the address mapping information of the 2nd VTEP multiple VM managed and safeguards institute State address mapping table.
A kind of VTEP equipment is also provided according to embodiments of the present invention, the VTEP equipment applications are in VXLAN, the VTEP Manage communications of the first VM in the VXLAN.In the present embodiment, the VTEP equipment can regard source VTEP as, and the first VM can Regard source VM as;Purpose VTEP is further included in the VXLAN, purpose VTEP is used to manage communications of the 2nd VM in the VXLAN, 2nd VM can regard purpose VM as.
As shown in fig. 7, the VTEP equipment includes ARP proxy module 71, the ARP proxy module 71 further comprises:
Receiving module 711, for receiving the ARP request message of the first VM broadcast transmissions, wherein the ARP request report Text includes the IP address of the 2nd VM;
Address determination module 712, it is true for the IP address according to the 2nd VM and the address mapping table being pre-created The MAC Address of fixed 2nd VM, wherein described address mapping table include each VM's in multiple VM of the VXLAN The address mapping information of MAC Address and IP address;
Message responder module 713, for sending arp reply message to the first VM, wherein in the arp reply message The MAC Address of the 2nd VM is carried, so that the first VM sends VXLAN messages according to the MAC Address of the 2nd VM.
With continued reference to Fig. 7, the VTEP equipment further includes:
Creation module 72, for creating and safeguarding described address mapping table.
In one embodiment of the invention, the VXLAN further includes VXLAN controllers;The VTEP equipment is also wrapped It includes:
First address acquisition module 73 obtains the multiple of the first VTEP management for passing through the VXLAN controllers The address mapping information of VM;
Establishment 72 root tuber of mould creates according to the address mapping information of the multiple VM of acquisition and safeguards address mapping table.
Further, the VTEP equipment further includes:
Second address acquisition module 74, for passing through described the second of Routing expansion agreement reception the 2nd VTEP transmissions The address mapping information of multiple VM of VTEP management;
The creation module 72 creates according to the address mapping information of the 2nd VTEP multiple VM managed and safeguards institute State address mapping table.
The operating procedure of the present processes is corresponding with the structure feature of equipment, can be cross-referenced, no longer repeats one by one.
In conclusion according to the technical solution of the application, each VTEP equipment in VXLAN creates and safeguards that address is reflected Firing table after VTEP equipment receives the ARP request message of local VM, obtains purpose VM's by searching for described address mapping table MAC Address is encapsulated as arp reply message and is back to local VM.Through the embodiment of the present invention, ARP request message is in local VTEP equipment is terminated, i.e., ARP messages will not broadcast in VXLAN, is avoided ARP broadcast traffics and is occupied a large amount of IP network bandwidths Situation, effectively improve network processes performance.
Also, for the present invention by being created in VTEP equipment and safeguarding address mapping table, i.e. VTEP equipment is responsible for storage address Map information, and the equipment that VTEP equipment is responsible for data forwarding, in the case where forwarding mass data message, VTEP equipment energy It is enough to get target MAC (Media Access Control) address in local directly search, it does not need to frequently interact number between VTEP and VXLAN controllers According to effectively improving system performance.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program Product.Therefore, the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware can be used in the present invention Apply the form of example.Moreover, the computer for wherein including computer usable program code in one or more can be used in the present invention The computer program production that usable storage medium is implemented on (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability Comprising so that process, method, commodity or equipment including a series of elements are not only including those elements, but also wrap Include other elements that are not explicitly listed or further include for this process, method, commodity or equipment it is intrinsic will Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that wanted including described Also there are other identical elements in the process of element, method, commodity or equipment.
The foregoing is merely embodiments herein, are not limited to the application.For those skilled in the art For, the application can have various modifications and variations.All any modifications made within spirit herein and principle are equal Replace, improve etc., it should be included within the scope of claims hereof.

Claims (14)

1. a kind of method that ARP message is sent in expansible Virtual Local Area Network VXLAN, feature exist In the VXLAN includes the first VXLAN endpoint of a tunnel VTEP and the 2nd VTEP, and the first VTEP manages the first virtual machine VM Communication in the VXLAN, the 2nd VTEP manage communications of the 2nd VM in the VXLAN;The method includes:
First VTEP is created and is safeguarded address mapping table, and wherein described address mapping table includes the multiple of the VXLAN The MAC Address of each VM and the address mapping information of IP address in VM;
First VTEP receives the ARP request message of the first VM broadcast transmissions, wherein the ARP request message includes The IP address of 2nd VM;
First VTEP determines institute according to the IP address of the 2nd VM and the address mapping information of described address mapping table State the MAC Address of the 2nd VM;
First VTEP sends arp reply message to the first VM, wherein carrying described the in the arp reply message The MAC Address of two VM, so that the first VM sends VXLAN messages according to the MAC Address of the 2nd VM.
2. according to the method described in claim 1, it is characterized in that, the VXLAN further includes VXLAN controllers;
First VTEP is created and is safeguarded that address mapping table includes:
The address of cache that first VTEP obtains multiple VM of the first VTEP management by the VXLAN controllers is believed Breath,
It is created according to the address mapping information of the multiple VM of acquisition and safeguards described address mapping table.
3. according to the method described in claim 2, it is characterized in that, the first VTEP is created and is safeguarded that address mapping table is also wrapped It includes:
First VTEP receives the multiple of the 2nd VTEP management of the 2nd VTEP transmissions by Routing expansion agreement The address mapping information of VM,
It is created according to the address mapping information of the 2nd VTEP multiple VM managed and safeguards described address mapping table.
A kind of 4. method that ARP messages are sent in VXLAN, which is characterized in that the VXLAN includes the first VTEP and second VTEP, the first VTEP manage communications of the first VM in the VXLAN, and the 2nd VTEP manages the 2nd VM described Communication in VXLAN is provided with ARP proxy module in the first VTEP;The method includes:
The ARP proxy module receives the ARP request message of the first VM broadcast transmissions, wherein in the ARP request message Include the IP address of the 2nd VM;
The ARP proxy module determines described second according to the IP address of the 2nd VM and the address mapping table being pre-created The MAC Address of VM, wherein described address mapping table include the MAC Address and IP of each VM in multiple VM of the VXLAN The address mapping information of address;
The ARP proxy module sends arp reply message to the first VM, wherein being carried in the arp reply message The MAC Address of the 2nd VM is stated, so that the first VM sends VXLAN messages according to the MAC Address of the 2nd VM.
5. according to the method described in claim 4, it is characterized in that, receive the first VM broadcast in the ARP proxy module Before the ARP request message of transmission, the method further includes:
First VTEP is created and is safeguarded described address mapping table.
6. according to the method described in claim 5, it is characterized in that, the VXLAN further includes VXLAN controllers;
First VTEP is created and is safeguarded that described address mapping table includes:
The address of cache that first VTEP obtains multiple VM of the first VTEP management by the VXLAN controllers is believed Breath,
It is created according to the address mapping information of the multiple VM of acquisition and safeguards address mapping table.
7. according to the method described in claim 6, it is characterized in that, the first VTEP is created and is safeguarded that address mapping table is also wrapped It includes:
First VTEP receives the multiple of the 2nd VTEP management of the 2nd VTEP transmissions by Routing expansion agreement The address mapping information of VM,
It is created according to the address mapping information of the 2nd VTEP multiple VM managed and safeguards described address mapping table.
8. a kind of VTEP equipment, which is characterized in that in VXLAN, the VTEP manages the first VM and exists the VTEP equipment applications Communication in the VXLAN;
The VTEP equipment includes:
Creation module, for creating and safeguarding address mapping table, wherein described address mapping table includes the multiple of the VXLAN The MAC Address of each VM and the address mapping information of IP address in VM;
Receiving module, for receiving the ARP request message of the first VM broadcast transmissions, wherein being wrapped in the ARP request message Include the IP address of the 2nd VM;
Address determination module, for the IP address and the address mapping information of described address mapping table according to the 2nd VM, Determine the MAC Address of the 2nd VM;
Message responder module, for sending arp reply message to the first VM, wherein being carried in the arp reply message The MAC Address of 2nd VM, so that the first VM sends VXLAN messages according to the MAC Address of the 2nd VM.
9. VTEP equipment according to claim 8, which is characterized in that the VXLAN further includes VXLAN controllers;It is described VTEP equipment further includes:
First address acquisition module, for passing through the ground that the VXLAN controllers obtain multiple VM of the first VTEP management Location map information;
The creation module creates according to the address mapping information of the multiple VM of acquisition and safeguards described address mapping table.
10. VTEP equipment according to claim 8 or claim 9, which is characterized in that further include:
Second address acquisition module, for passing through the 2nd VTEP pipes that Routing expansion agreement receives the 2nd VTEP and sends The address mapping information of multiple VM of reason;
The creation module creates according to the address mapping information of the 2nd VTEP multiple VM managed and safeguards described address Mapping table.
11. a kind of VTEP equipment, which is characterized in that in VXLAN, the VTEP manages the first VM and exists the VTEP equipment applications Communication in the VXLAN, the VTEP equipment include ARP proxy module;
The ARP proxy module includes:
Receiving module, for receiving the ARP request message of the first VM broadcast transmissions, wherein being wrapped in the ARP request message Include the IP address of the 2nd VM;
Address determination module determines described for the IP address according to the 2nd VM and the address mapping table being pre-created The MAC Address of two VM, wherein described address mapping table include each VM in multiple VM of the VXLAN MAC Address and The address mapping information of IP address;
Message responder module, for sending arp reply message to the first VM, wherein being carried in the arp reply message The MAC Address of 2nd VM, so that the first VM sends VXLAN messages according to the MAC Address of the 2nd VM.
12. VTEP equipment according to claim 11, which is characterized in that further include:
Creation module, for creating and safeguarding described address mapping table.
13. VTEP equipment according to claim 12, which is characterized in that the VXLAN further includes VXLAN controllers;Institute VTEP equipment is stated to further include:
First address acquisition module, for passing through the ground that the VXLAN controllers obtain multiple VM of the first VTEP management Location map information;
The creation module creates according to the address mapping information of the multiple VM of acquisition and safeguards address mapping table.
14. VTEP equipment according to claim 12 or 13, which is characterized in that further include:
Second address acquisition module, for passing through the 2nd VTEP pipes that Routing expansion agreement receives the 2nd VTEP and sends The address mapping information of multiple VM of reason;
The creation module creates according to the address mapping information of the 2nd VTEP multiple VM managed and safeguards described address Mapping table.
CN201611267154.2A 2016-12-31 2016-12-31 Method, the VTEP equipment of ARP messages are sent in VXLAN Pending CN108270878A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611267154.2A CN108270878A (en) 2016-12-31 2016-12-31 Method, the VTEP equipment of ARP messages are sent in VXLAN

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611267154.2A CN108270878A (en) 2016-12-31 2016-12-31 Method, the VTEP equipment of ARP messages are sent in VXLAN

Publications (1)

Publication Number Publication Date
CN108270878A true CN108270878A (en) 2018-07-10

Family

ID=62770993

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611267154.2A Pending CN108270878A (en) 2016-12-31 2016-12-31 Method, the VTEP equipment of ARP messages are sent in VXLAN

Country Status (1)

Country Link
CN (1) CN108270878A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109547350A (en) * 2018-11-29 2019-03-29 迈普通信技术股份有限公司 A kind of route learning method and gateway
CN110460684A (en) * 2019-07-10 2019-11-15 锐捷网络股份有限公司 The broadcast domain partition method and device of VXLAN same network segment
CN112383645A (en) * 2020-11-02 2021-02-19 中国联合网络通信集团有限公司 ARP proxy method, equipment and device
CN112532501A (en) * 2019-09-18 2021-03-19 中国电信股份有限公司 Host physical address processing method and device and computer readable storage medium
US10992496B2 (en) 2019-05-14 2021-04-27 International Business Machines Corporation Tuning TCP largesend parameter in VXLan cloud environments
CN113347101A (en) * 2021-06-01 2021-09-03 中国联合网络通信集团有限公司 Routing information sending control method, VTEP and computer readable storage medium
WO2021190251A1 (en) * 2020-03-23 2021-09-30 华为技术有限公司 Mac address sending method and apparatus, system, and related devices
CN113542441A (en) * 2020-04-20 2021-10-22 亚信科技(中国)有限公司 Communication processing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103647853A (en) * 2013-12-04 2014-03-19 华为技术有限公司 Method for sending ARP message in VxLAN, VTEP and VxLAN controller
CN103888386A (en) * 2012-12-24 2014-06-25 华为技术有限公司 Extensible virtual local area network message transmission method, device and system
CN103905283A (en) * 2012-12-25 2014-07-02 华为技术有限公司 Communication method and apparatus based on expandable virtual local area network
CN104283980A (en) * 2014-10-09 2015-01-14 杭州华三通信技术有限公司 Address resolution protocol (ARP) reply on-behalf method and device
CN104935516A (en) * 2015-06-17 2015-09-23 武汉邮电科学研究院 Communication system based on software defined network and communication method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888386A (en) * 2012-12-24 2014-06-25 华为技术有限公司 Extensible virtual local area network message transmission method, device and system
CN103905283A (en) * 2012-12-25 2014-07-02 华为技术有限公司 Communication method and apparatus based on expandable virtual local area network
CN103647853A (en) * 2013-12-04 2014-03-19 华为技术有限公司 Method for sending ARP message in VxLAN, VTEP and VxLAN controller
CN104283980A (en) * 2014-10-09 2015-01-14 杭州华三通信技术有限公司 Address resolution protocol (ARP) reply on-behalf method and device
CN104935516A (en) * 2015-06-17 2015-09-23 武汉邮电科学研究院 Communication system based on software defined network and communication method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
庞杨,史凡: ""基于SDN的VxLAN组网方案研究"", 《电信技术》 *

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109547350B (en) * 2018-11-29 2021-10-08 迈普通信技术股份有限公司 Route learning method and gateway equipment
CN109547350A (en) * 2018-11-29 2019-03-29 迈普通信技术股份有限公司 A kind of route learning method and gateway
US10992496B2 (en) 2019-05-14 2021-04-27 International Business Machines Corporation Tuning TCP largesend parameter in VXLan cloud environments
CN110460684A (en) * 2019-07-10 2019-11-15 锐捷网络股份有限公司 The broadcast domain partition method and device of VXLAN same network segment
CN110460684B (en) * 2019-07-10 2022-07-15 锐捷网络股份有限公司 Broadcast domain isolation method and device for VXLAN (virtual extensible local area network) in same network segment
CN112532501A (en) * 2019-09-18 2021-03-19 中国电信股份有限公司 Host physical address processing method and device and computer readable storage medium
CN112532501B (en) * 2019-09-18 2023-04-18 中国电信股份有限公司 Host physical address processing method and device and computer readable storage medium
WO2021190251A1 (en) * 2020-03-23 2021-09-30 华为技术有限公司 Mac address sending method and apparatus, system, and related devices
CN113542441A (en) * 2020-04-20 2021-10-22 亚信科技(中国)有限公司 Communication processing method and device
CN113542441B (en) * 2020-04-20 2023-02-17 亚信科技(中国)有限公司 Communication processing method and device
CN112383645A (en) * 2020-11-02 2021-02-19 中国联合网络通信集团有限公司 ARP proxy method, equipment and device
CN113347101A (en) * 2021-06-01 2021-09-03 中国联合网络通信集团有限公司 Routing information sending control method, VTEP and computer readable storage medium
CN113347101B (en) * 2021-06-01 2022-11-15 中国联合网络通信集团有限公司 Routing information sending control method, VTEP and computer readable storage medium

Similar Documents

Publication Publication Date Title
US11909586B2 (en) Managing communications in a virtual network of virtual machines using telecommunications infrastructure systems
CN108270878A (en) Method, the VTEP equipment of ARP messages are sent in VXLAN
EP2897347B1 (en) Method for transmitting addresses correspondence relationship in second-layer protocol using link status routing
Kim et al. Floodless in seattle: a scalable ethernet architecture for large enterprises
US9736016B2 (en) Managing failure behavior for computing nodes of provided computer networks
US9253140B2 (en) System and method for optimizing within subnet communication in a network environment
CN103026660B (en) Network policy configuration method, management equipment and network management centre device
US20130173788A1 (en) Network access apparatus
CN108964940B (en) Message sending method and device and storage medium
CN103841028A (en) Method and device for forwarding messages
US11665088B2 (en) Assisted replication in software defined network
US10999195B1 (en) Multicast VPN support in data centers using edge replication tree
CN103997414A (en) Configuration information generation method and network control unit
EP2584742B1 (en) Method and switch for sending packet
CN105162704A (en) Multicast replication method and device in Overlay network
WO2013029440A1 (en) Method and apparatus for implementing layer-2 interconnection of data centers
US11736393B2 (en) Leveraging multicast listener discovery for discovering hosts
US20120185487A1 (en) Method, device and system for publication and acquisition of content
CN115955456A (en) IPv 6-based enterprise campus network and networking method
US9503272B2 (en) Fast convergence with multicast source mobility
US12003417B2 (en) Communication method and apparatus
Amamou et al. A trill-based multi-tenant data center network
CN108512737B (en) Data center IP layer interconnection method and SDN controller
Shpiner et al. SAL: Scaling data centers using smart address learning
CN114221895A (en) Data transmission method, device and network equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180710

RJ01 Rejection of invention patent application after publication