CN107786677A - A kind of ARP update method and VTEP equipment - Google Patents

A kind of ARP update method and VTEP equipment Download PDF

Info

Publication number
CN107786677A
CN107786677A CN201610719778.7A CN201610719778A CN107786677A CN 107786677 A CN107786677 A CN 107786677A CN 201610719778 A CN201610719778 A CN 201610719778A CN 107786677 A CN107786677 A CN 107786677A
Authority
CN
China
Prior art keywords
virtual machine
vtep equipment
arp
mac address
purpose virtual
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.)
Granted
Application number
CN201610719778.7A
Other languages
Chinese (zh)
Other versions
CN107786677B (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.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication Technology 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 Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN201610719778.7A priority Critical patent/CN107786677B/en
Publication of CN107786677A publication Critical patent/CN107786677A/en
Application granted granted Critical
Publication of CN107786677B publication Critical patent/CN107786677B/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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5053Lease time; Renewal aspects

Landscapes

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

Abstract

The problem of embodiments of the invention provide a kind of ARP update method and VTEP equipment, are related to the communications field, solve in the prior art because the ARP in the VTEP equipment under SDN frameworks does not upgrade in time, and caused data-message transmission fails.This method includes:VTEP equipment receives the MAC Address for including purpose virtual machine and the channel message of IP address, if it is determined that the MAC Address of the MAC Address of purpose virtual machine and at least one virtual machine of the VTEP equipment communications mismatches, then broadcast includes the ARP request of the IP address of purpose virtual machine;VTEP equipment receives the arp response of purpose virtual machine, and the arp response includes the MAC Address of purpose virtual machine;VTEP equipment sends ARP renewal request to SDN controllers, for asking new MAC Address and the ARP of the mapping relations renewal VTEP equipment of VTEP equipment room of the SDN controllers according to purpose virtual machine.

Description

A kind of ARP update method and VTEP equipment
Technical field
The present invention relates to the communications field, more particularly to a kind of ARP update method and VTEP equipment.
Background technology
In recent years, in SDN (English:Software Defined Network, Chinese:Software defined network) group-network construction Under, multiple data centers framework has turned into the technological trend of Future Data center development.
Fig. 1 is existing SDN group-network constructions figure, as shown in figure 1, it is by SDN to be generally comprised in existing SDN group-network constructions Controller and some multiple DC (English:Data Center, Chinese:Data center) (for example, DC1 and DC2 in Fig. 1) group Into, in each DC comprising multiple VTEP (English:VXLAN Tunnel End Point, Chinese:VXLAN (English:Virtual EXtensible Local Area Network, Chinese:Virtual expansible LAN) endpoint of a tunnel) equipment and multiple VM (English Text:Virtual Machine, Chinese:Virtual machine).In general, the ARP (English of each VTEP equipment is stored in SDN controllers: Address Resolution Protocol, Chinese:Address resolution protocol) list item, inside the DC in data center's networking When VM reaches the standard grade, the ARP of each VTEP equipment can be issued to inside all DC by the SDN controllers in data center's networking In VTEP equipment.Wherein, be stored with above-mentioned ARP in each DC all VM IP address and MAC Address with it is corresponding Mapping relations between VTEP equipment end slogans.Exemplary, reference picture 1, when VM6s of the VM1 in DC1 into DC2 sends data During message, VM6 IP address, MAC Address and VTEP3 corresponding with MAC Address can be inquired with the VTEP1 of VM1 communications Outgoing interface, then, data message is sent out by VTEP3 outgoing interface by the VXLAN tunnels established between VTEP1 and VTEP3 The VM6 delivered in DC2.
But when VM6 MAC (English:Media Access Control or Medium Access Control, in Text:Physical address or hardware address) address is when changing, because SDN controllers can not perceive the MAC Address hair of the VM6 Changing, ARP renewal is not carried out to all VTEP equipment in SDN frameworks so that the VTEP1 in DC1 still can be incited somebody to action The data message that VM1 is sent is sent to the MAC Address, still, because the MAC Address is invalid address so that VTEP1 without Method sends data message to VM6, and then causes this data message to send failure.
The content of the invention
Embodiments of the invention provide a kind of ARP update method and VTEP equipment, solve in the prior art due to The problem of ARP in VTEP equipment under SDN frameworks does not upgrade in time, and caused data-message transmission fails.
To reach above-mentioned purpose, embodiments of the invention adopt the following technical scheme that:
First aspect, there is provided a kind of ARP update method, including:
Virtual expansible LAN endpoint of a tunnel VTEP equipment receives channel message, and it is virtual that the channel message includes purpose The MAC Address and IP address of machine, the purpose virtual machine are and one at least one virtual machine of the VTEP equipment communications Individual virtual machine;
The VTEP equipment is if it is determined that the MAC of the MAC Address of the purpose virtual machine and at least one virtual machine Location mismatches, then broadcast ARP request, the ARP request include the IP address of the purpose virtual machine;
The VTEP equipment receives the arp response of the purpose virtual machine, and it is empty that the arp response includes the purpose The new MAC Address of plan machine;
The VTEP equipment sends ARP renewal request to SDN controllers, and the ARP renewal request bag contains institute State the new MAC Address of purpose virtual machine and the mapping relations of the VTEP equipment rooms, for ask the SDN controllers according to The mapping relations update the ARP of the VTEP equipment.
Second aspect, there is provided a kind of VTEP equipment, including:
Receiving module, for receiving channel message, the channel message is with including MAC Address and the IP of purpose virtual machine Location, the purpose virtual machine are and a virtual machine at least one virtual machine of the VTEP equipment communications;
Broadcast module, for if it is determined that the purpose virtual machine that the channel message that the receiving module receives includes The MAC Address of MAC Address and at least one virtual machine mismatches, then broadcast ARP request, and the ARP request includes described The IP address of purpose virtual machine;
The receiving module, is additionally operable to receive the arp response of the purpose virtual machine, and the arp response includes institute State the new MAC Address of purpose virtual machine;
Sending module, for sending ARP renewal request to the SDN controllers, the ARP updates request bag The new MAC Address of the purpose virtual machine received containing the receiving module and the mapping relations of the VTEP equipment rooms, For asking ARP of the SDN controllers according to the mapping relations renewal VTEP equipment.
ARP update method and VTEP equipment provided in an embodiment of the present invention, by entering to the channel message received Row decapsulation, obtains the MAC Address and IP address of purpose virtual machine included in the channel message, then, however, it is determined that purpose is empty When the MAC Address of the MAC Address of plan machine and at least one virtual machine mismatches, then with can determine the MAC of the purpose virtual machine Location changes, and now, when being changed due to the MAC Address of virtual machine, its IP address is constant, then VTEP equipment being capable of basis At least one virtual machine broadcast ARP request of the IP address pair of purpose virtual machine and VTEP equipment communications, and then VTEP is set The arp response of the standby new MAC Address comprising purpose virtual machine that can receive purpose virtual machine so that VTEP equipment The mapping relations of new MAC Address and the VTEP equipment rooms that can be based on purpose virtual machine send ARP table to SDN controllers Item renewal request, the APR list items of VTEP equipment so that SDN controllers can upgrade in time so that next time is carrying out data message During transmission, the new MAC Address of purpose virtual machine can be directly targeted to, it is ensured that it is virtual that data message can correctly reach purpose Machine.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be in embodiment or description of the prior art The required accompanying drawing used is briefly described, it should be apparent that, drawings in the following description are only some realities of the present invention Example is applied, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is the configuration diagram of SDN group-network constructions provided in an embodiment of the present invention;
Fig. 2 is the method schematic diagram of ARP update method provided in an embodiment of the present invention;
Fig. 3 is the structural representation of VTEP equipment provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
ARP (English provided in an embodiment of the present invention:Address Resolution Protocol, Chinese:Address resolution Agreement) entry updating method be applied to Fig. 1 shown in SDN frameworks.As shown in figure 1, the SDN frameworks be by SDN controllers and Some DC (English:Data Center, Chinese:Data center) (for example, DC1 and DC2 in Fig. 1) composition, wherein:
Above-mentioned DC includes some VTEP (English:VXLAN Tunnel End Point, Chinese:VXLAN (English: Virtual eXtensible Local Area Network, Chinese:Virtual expansible LAN) endpoint of a tunnel) if equipment and Dry VM (English:Virtual Machine, Chinese:Virtual machine), wherein, VTEP equipment can be the hardware device for supporting VXLAN Or the equipment for being integrated with the software for supporting VXLAN, VM is upper can to run operating system OS and various applications.Specifically, in DC Each VTEP equipment can be regarded as a virtual subnet (referred to as:Subnet) interchanger so that each VTEP equipment is corresponding All VM in subnet can be in communication with each other by the VTEP equipment with the VM outside subnet, and can be by building between VTEP equipment Vertical VXLAN tunnels, so as to pass through the data of the VXLAN tunnel transmission virtual networks.Exemplary, as shown in figure 1, being wrapped in DC1 Virtual machine VM1, VM2, VM3, VM4, VM5 and VTEP equipment VTEP1 and VTEP2 are included, wherein, VM1, VM2, VM3 belong to VTEP1 Corresponding subnet, and be in communication with each other by VTEP1 and the VM outside subnet, similarly, VM4, VM5 belong to VTEP2 and correspond to subnet, and pass through VTEP2 is in communication with each other with the VM outside subnet.It should be noted that VTEP equipment includes at least one outgoing interface, VTEP equipment is led to The VM crossed in the corresponding subnet of the outgoing interface is in communication with each other, the corresponding VTEP equipment outgoing interface of each VM, certainly, these VM It can not limited here by same VTEP equipment outgoing interface and VTEP equipment communications.
Above-mentioned SDN controllers are used for the ARP for uniformly safeguarding VTEP equipment in DC, and the ARP includes VTEP Mapping relations between the MAC Address and IP address of each VM in the corresponding subnet of equipment outgoing interface information.In general, when each When VM in DC reaches the standard grade, VM can be registered to SDN controllers, and its corresponding mapping relations is uploaded into SDN controllers, and SDN For controller after mapping relations corresponding to VM are got at each VM, SDN controllers can be each based on these mapping relations VTEP equipment generates ARP, then, ARP corresponding to each VTEP equipment is handed down into all VTEP equipment.
For the ease of clearly describing the technical scheme of the embodiment of the present invention, in an embodiment of the present invention, employ " the One ", the printed words such as " second " make a distinction to function or the essentially identical identical entry of effect or similar item, and those skilled in the art can To understand that the printed words such as " first ", " second " are not defined to quantity and execution order.
Based on the SDN frameworks shown in Fig. 1, the embodiment of the present invention provides a kind of ARP update method, in the present embodiment SDN frameworks include the first VTEP equipment, the 2nd VTEP equipment, with least one first virtual machines of the first VTEP equipment communications, With at least one second virtual machine and SDN controllers of the 2nd VTEP equipment communications, as shown in Fig. 2 this method specifically includes Following steps:
101st, the first VTEP equipment receives channel message.
The MAC Address and IP address of purpose virtual machine are included in channel message in the present embodiment.The purpose virtual machine is With first virtual machine at least one first virtual machine of the first VTEP equipment communications.
Exemplary, when the channel message is to pass through the 2nd VTEP with second virtual machine of the 2nd VTEP equipment communications When equipment is sent to the channel message of purpose virtual machine, the transmission process of the channel message specifically includes following content:2nd VTEP For equipment when receiving the second virtual machine and being intended for the data message of purpose virtual machine, the 2nd VTEP equipment is virtual according to purpose The corresponding VTEP of purpose virtual machine is inquired in the ARP that the MAC Address of machine stores up from the 2nd VTEP device memories to set ARP mapping relations between standby, if the purpose virtual machine belongs to the first virtual machine, the 2nd VTEP equipment determines the datagram Text should walk VXLAN tunnels and be sent to the first VTEP equipment, i.e. the data message is encapsulated as channel message and led to by the 2nd VTEP equipment Cross the VXLAN tunnels and be sent to the first VTEP equipment.
102nd, the first VTEP equipment is if it is determined that the MAC of the MAC Address of purpose virtual machine and at least one first virtual machine Location mismatches, then broadcast ARP request.
Wherein, above-mentioned ARP request includes the IP address of the purpose virtual machine.
Exemplary, if the outgoing interface that the first VTEP equipment inquires according to the MAC Address of purpose virtual machine currently corresponds to The MAC Address of MAC Address and purpose virtual machine of virtual machine mismatch, then can determine the MAC Address of the purpose virtual machine Change, but the ARP in the first VTEP equipment does not update, therefore, according to the out-of-date MAC of purpose virtual machine The outgoing interface that location is found can not be connected correctly to purpose virtual machine so that the first VTEP equipment obtains the purpose of internal layer data message The inaccessible mistake in address, causes this secondary internal layer data message can not send success, has to abandon this message.Now, in order to Next data-message transmission is avoided to fail, the first VTEP equipment needs to upgrade in time the ARP of the first VTEP equipment.Specifically , (for example, when virtual machine migrates) generally MAC Address changes and its IP when being changed due to the MAC Address of virtual machine Address is constant, therefore, the first VTEP equipment can according to the IP address of purpose virtual machine to the first VTEP equipment communications extremely A few virtual machine broadcast ARP request so that purpose virtual machine feeds back its new MAC Address to the first VTEP equipment so that under It is secondary to inquire the new MAC Address of purpose virtual machine when carrying out data-message transmission, ensure that message correctly reaches purpose Virtual machine.
Exemplary, if the mac address table of purpose virtual machine is shown as into MAC-VM0, IP address 192.168.1.0, go out Interface is expressed as Tunnel0, when the first VTEP equipment according to the MAC Address MAC-VM0 of the virtual machine in the first VTEP equipment The mapping relations between at least one virtual machine that the first VTEP equipment communicates with are obtained in ARP, it is virtual according to purpose The MAC Address MAC-VM0 of machine and the mapping relations determine the outgoing interface of the VTEP equipment of target the first corresponding to purpose virtual machine Tunnel0 so that the first VTEP equipment sends internal layer by outgoing interface Tunnel0 to the virtual machine of outgoing interface Tunnel0 connections Data message, because the MAC Address of the outgoing interface Tunnel0 virtual machines currently connected is MAC-VM1, with purpose virtual machine MAC Address mismatches, and shows that the MAC Address of the purpose virtual machine has occurred and that change, therefore, internal layer data message can not reach Purpose virtual machine.
Specifically, before step 102, this method also comprises the following steps:
A1, the first VTEP equipment decapsulation channel message, internal layer data message and the purpose for obtaining channel message are virtual The MAC Address and IP address of machine.
A2, the first VTEP equipment from the ARP of VTEP equipment, determine mesh according to the MAC Address of purpose virtual machine Virtual machine corresponding to target VTEP equipment outgoing interfaces.
Exemplary, the ARP of the VTEP equipment in the present embodiment includes VTEP equipment outgoing interface information and at least one Mapping relations between the MAC Address and IP address of individual virtual machine.
Further, specifically included based on step A1 and step A2, step 102:
If the MAC Address and purpose virtual machine of virtual machine corresponding to A3, the first VTEP equipment target VTEP equipment outgoing interfaces MAC Address mismatch, then broadcast ARP request.
In addition, the first VTEP equipment if it is determined that the MAC Address of purpose virtual machine and at least one virtual machine MAC Address into Work(matches, then shows that the MAC Address of the destination address does not change, now, the first VTEP equipment can be directly by looking into VTEP equipment outgoing interface corresponding to the purpose virtual machine ask gives the internal layer data message forwarding to the purpose virtual machine.
103rd, the first VTEP equipment receives the arp response of purpose virtual machine.
Wherein, above-mentioned arp response includes the new MAC Address of purpose virtual machine.
104th, the first VTEP equipment sends ARP renewal request to SDN controllers.
Exemplary, above-mentioned ARP updates the new MAC Address and VTEP equipment rooms of request bag virtual machine containing purpose Mapping relations, the ARP renewal request be used for ask SDN controllers according to mapping relations update VTEP equipment ARP table .
Specifically, after the ARP of the first VTEP equipment updates in SDN controllers, the new ARP of the first VTEP equipment List item is resend to all VTEP equipment by SDN controllers so that the new ARP of the first VTEP equipment is all VTEP equipment updated, it is ensured that next time has when being sent to the data message with the first virtual machine of the first VTEP equipment communications, The MAC Address of the first virtual machine can be accurately searched, so that data message is successfully sent to the first virtual machine.
Exemplary, after the first VTEP equipment receives arp response, the first VTEP equipment can be in advance to being locally stored ARP be updated, after step 103, this method also includes:
B1, the first VTEP equipment update the first VTEP equipment that is locally stored according to the MAC Address of purpose virtual machine ARP.
ARP update method provided in an embodiment of the present invention, by being decapsulated to the channel message received, obtain The MAC Address and IP address of the purpose virtual machine included into the channel message, then, however, it is determined that the MAC of purpose virtual machine When location and the MAC Address of at least one virtual machine mismatch, then it can determine that the MAC Address of the purpose virtual machine changes, Now, when being changed due to the MAC Address of virtual machine, its IP address is constant, then VTEP equipment can be according to purpose virtual machine IP address pair and VTEP equipment communications at least one virtual machine broadcast ARP request, and then VTEP equipment is received To the arp response of the new MAC Address comprising purpose virtual machine of purpose virtual machine so that VTEP equipment can be based on mesh The new MAC Address of virtual machine and the mapping relations of the VTEP equipment rooms send ARP renewal to SDN controllers please Ask, the APR list items of VTEP equipment so that SDN controllers can upgrade in time so that next when carrying out data-message transmission, energy Enough it is directly targeted to the new MAC Address of purpose virtual machine, it is ensured that data message can correctly reach purpose virtual machine.
Embodiments of the invention provide a kind of VTEP equipment, as shown in figure 3, the VTEP equipment 2 includes:Receiving module 21, Broadcast module 22 and sending module 23, wherein:
Receiving module 21, for receiving channel message, channel message includes the MAC Address and IP address of purpose virtual machine, Purpose virtual machine is a virtual machine at least one virtual machine.
Broadcast module 22, for if it is determined that the MAC for the purpose virtual machine that the channel message that receiving module 21 receives includes Address and the MAC Address of at least one virtual machine mismatch, then broadcast ARP request, and ARP request is with including the IP of purpose virtual machine Location.
Receiving module 21, is additionally operable to receive the arp response of purpose virtual machine, and arp response includes purpose virtual machine New MAC Address.
Sending module 23, for sending ARP renewal request to SDN controllers, ARP renewal request bag, which contains, to be received The new MAC Address for the purpose virtual machine that module 21 receives and the mapping relations of VTEP equipment rooms, for asking SDN controllers The ARP of VTEP equipment is updated according to mapping relations.
The ARP of above-mentioned VTEP equipment includes VTEP equipment outgoing interface information with the MAC of at least one virtual machine Mapping relations between location and IP address.
Optionally, as shown in figure 3, the VTEP equipment 2 also includes:Decapsulation module 24, determining module 25, wherein:
Decapsulation module 24, for decapsulating the channel message of the reception of receiving module 21, obtain the interior number of plies of channel message According to message and the MAC Address and IP address of purpose virtual machine.
Determining module 25, for decapsulating the obtained MAC Address of purpose virtual machine from VTEP according to decapsulation module 24 In the ARP of equipment, target VTEP equipment outgoing interfaces corresponding to purpose virtual machine are determined.
Further, broadcast module 22 is specifically used for:If the MAC Address of virtual machine corresponding to target VTEP equipment outgoing interfaces Mismatched with the MAC Address of purpose virtual machine, then broadcast ARP request.
Optionally, as shown in figure 3, the VTEP equipment 2 also includes:Update module 26, wherein:
Update module 26, for the purpose virtual machine that is received according to receiving module 21 comprising purpose virtual machine The arp response of MAC Address, update the ARP for the VTEP equipment being locally stored.
VTEP equipment provided in an embodiment of the present invention, the VTEP equipment to the channel message received by unsealing Dress, obtains the MAC Address and IP address of purpose virtual machine included in the channel message, then, however, it is determined that purpose virtual machine When the MAC Address of MAC Address and at least one virtual machine mismatches, then it can determine that the MAC Address of the purpose virtual machine occurs Change, now, when being changed due to the MAC Address of virtual machine, its IP address is constant, then VTEP equipment can be empty according to purpose At least one virtual machine broadcast ARP request of the IP address pair of plan machine and VTEP equipment communications, and then enable VTEP equipment Receive the arp response of the new MAC Address comprising purpose virtual machine of purpose virtual machine so that VTEP equipment can be with base In the new MAC Address of purpose virtual machine and the mapping relations of the VTEP equipment rooms ARP renewal is sent to SDN controllers Request, the APR list items of VTEP equipment so that SDN controllers can upgrade in time so that it is next when carrying out data-message transmission, The new MAC Address of purpose virtual machine can be directly targeted to, it is ensured that data message can correctly reach purpose virtual machine.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description With the specific work process of module, the corresponding process in embodiment of the method corresponding to earlier figures 2 is may be referred to, it is no longer superfluous herein State.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it can be passed through Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the module, only Only a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple module or components can be tied Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed Mutual coupling or direct-coupling or communication connection can be the INDIRECT COUPLINGs or logical by some interfaces, device or unit Letter connection, can be electrical, mechanical or other forms.
The module illustrated as separating component can be or may not be physically separate, show as module The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That the independent physics of unit includes, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of hardware adds SFU software functional unit.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although The present invention is described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It still may be used To be modified to the technical scheme described in foregoing embodiments, or equivalent substitution is carried out to which part technical characteristic; And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and Scope.

Claims (10)

  1. A kind of 1. ARP update method, it is characterised in that including:
    Virtual expansible LAN endpoint of a tunnel VTEP equipment receives channel message, and the channel message includes purpose virtual machine MAC Address and IP address, the purpose virtual machine are and a void at least one virtual machine of the VTEP equipment communications Plan machine;
    The VTEP equipment if it is determined that the MAC Address of the MAC Address of the purpose virtual machine and at least one virtual machine not Matching, then broadcast ARP request, the ARP request include the IP address of the purpose virtual machine;
    The VTEP equipment receives the arp response of the purpose virtual machine, and the arp response includes the purpose virtual machine New MAC Address;
    The VTEP equipment sends ARP renewal request to SDN controllers, and the ARP renewal request bag contains the mesh Virtual machine new MAC Address and the VTEP equipment rooms mapping relations, for asking the SDN controllers according to Mapping relations update the ARP of the VTEP equipment.
  2. 2. according to the method for claim 1, it is characterised in that the ARP of the VTEP equipment is set including the VTEP Mapping relations between the MAC Address and IP address of standby outgoing interface information and at least one virtual machine.
  3. 3. according to the method for claim 2, it is characterised in that the VTEP equipment is if it is determined that the purpose virtual machine The MAC Address of MAC Address and at least one virtual machine mismatches, then before broadcast ARP request, methods described also includes:
    The channel message is decapsulated, obtains the internal layer data message of the channel message and the MAC of the purpose virtual machine Address and IP address;
    According to the MAC Address of the purpose virtual machine from the ARP of the VTEP equipment, the purpose virtual machine is determined Corresponding target VTEP equipment outgoing interfaces.
  4. 4. according to the method for claim 3, it is characterised in that the VTEP equipment is if it is determined that the purpose virtual machine The MAC Address of MAC Address and at least one virtual machine mismatches, then broadcast ARP request specifically includes:If the target The MAC Address of the MAC Address of virtual machine corresponding to VTEP equipment outgoing interfaces and the purpose virtual machine mismatches, then broadcast arp Request.
  5. 5. according to the method for claim 1, it is characterised in that the arp response for receiving the purpose virtual machine Afterwards, methods described also includes:
    The VTEP equipment updates the ARP table for the VTEP equipment being locally stored according to the MAC Address of the purpose virtual machine .
  6. A kind of 6. VTEP equipment, it is characterised in that including:
    Receiving module, for receiving channel message, the channel message includes the MAC Address and IP address of purpose virtual machine, institute Stating purpose virtual machine is and a virtual machine at least one virtual machine of the VTEP equipment communications;
    Broadcast module, for if it is determined that the MAC for the purpose virtual machine that the channel message that the receiving module receives includes Address and the MAC Address of at least one virtual machine mismatch, then broadcast ARP request, the ARP request include the purpose The IP address of virtual machine;
    The receiving module, is additionally operable to receive the arp response of the purpose virtual machine, and the arp response includes the mesh Virtual machine new MAC Address;
    Sending module, for sending ARP renewal request to the SDN controllers, the ARP renewal request bag contains institute The new MAC Address for the purpose virtual machine that receiving module receives and the mapping relations of the VTEP equipment rooms are stated, is used for The SDN controllers are asked to update the ARP of the VTEP equipment according to the mapping relations.
  7. 7. VTEP equipment according to claim 6, it is characterised in that the ARP of the VTEP equipment includes described Mapping relations between the MAC Address and IP address of VTEP equipment outgoing interface information and at least one virtual machine.
  8. 8. VTEP equipment according to claim 7, it is characterised in that the VTEP equipment also includes:
    Decapsulation module, the channel message received for decapsulating the receiving module, obtains the interior of the channel message The MAC Address and IP address of layer data message and the purpose virtual machine;
    Determining module, for the MAC Address of the purpose virtual machine that decapsulates to obtain according to the decapsulation module from described In the ARP of VTEP equipment, target VTEP equipment outgoing interfaces corresponding to the purpose virtual machine are determined.
  9. 9. VTEP equipment according to claim 8, it is characterised in that the broadcast module is specifically used for:If the target The MAC Address of the MAC Address of virtual machine corresponding to VTEP equipment outgoing interfaces and the purpose virtual machine mismatches, then broadcast arp Request.
  10. 10. VTEP equipment according to claim 6, it is characterised in that the VTEP equipment also includes:
    Update module, for the purpose virtual machine that is received according to receiving module comprising the purpose virtual machine The arp response of MAC Address, update the ARP for the VTEP equipment being locally stored.
CN201610719778.7A 2016-08-24 2016-08-24 ARP (Address resolution protocol) table item updating method and VTEP (virtual terminal equipment) Active CN107786677B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610719778.7A CN107786677B (en) 2016-08-24 2016-08-24 ARP (Address resolution protocol) table item updating method and VTEP (virtual terminal equipment)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610719778.7A CN107786677B (en) 2016-08-24 2016-08-24 ARP (Address resolution protocol) table item updating method and VTEP (virtual terminal equipment)

Publications (2)

Publication Number Publication Date
CN107786677A true CN107786677A (en) 2018-03-09
CN107786677B CN107786677B (en) 2021-06-22

Family

ID=61388755

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610719778.7A Active CN107786677B (en) 2016-08-24 2016-08-24 ARP (Address resolution protocol) table item updating method and VTEP (virtual terminal equipment)

Country Status (1)

Country Link
CN (1) CN107786677B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110913028A (en) * 2018-09-14 2020-03-24 阿里巴巴集团控股有限公司 Method, device and system for processing virtual address
CN111736958A (en) * 2020-06-29 2020-10-02 中国联合网络通信集团有限公司 Virtual machine migration method, system, computer equipment and storage medium
CN112565476A (en) * 2020-12-01 2021-03-26 中国联合网络通信集团有限公司 Virtual machine creation method, ARP proxy gateway and VTEP
CN113037883A (en) * 2021-02-23 2021-06-25 中国联合网络通信集团有限公司 Method and device for updating MAC address table entries
CN113254148A (en) * 2021-05-12 2021-08-13 中国联合网络通信集团有限公司 Virtual machine migration method and cloud management platform
CN115297055A (en) * 2022-07-25 2022-11-04 紫光云技术有限公司 Public cloud host migration arp table entry updating method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104935516A (en) * 2015-06-17 2015-09-23 武汉邮电科学研究院 Communication system based on software defined network and communication method
US20150381495A1 (en) * 2014-06-30 2015-12-31 Nicira, Inc. Methods and systems for providing multi-tenancy support for single root i/o virtualization
CN105591925A (en) * 2015-12-10 2016-05-18 杭州华三通信技术有限公司 Message forwarding method and device applied to SDN

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150381495A1 (en) * 2014-06-30 2015-12-31 Nicira, Inc. Methods and systems for providing multi-tenancy support for single root i/o virtualization
CN104935516A (en) * 2015-06-17 2015-09-23 武汉邮电科学研究院 Communication system based on software defined network and communication method
CN105591925A (en) * 2015-12-10 2016-05-18 杭州华三通信技术有限公司 Message forwarding method and device applied to SDN

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110913028A (en) * 2018-09-14 2020-03-24 阿里巴巴集团控股有限公司 Method, device and system for processing virtual address
CN111736958A (en) * 2020-06-29 2020-10-02 中国联合网络通信集团有限公司 Virtual machine migration method, system, computer equipment and storage medium
CN111736958B (en) * 2020-06-29 2023-06-30 中国联合网络通信集团有限公司 Virtual machine migration method, system, computer equipment and storage medium
CN112565476A (en) * 2020-12-01 2021-03-26 中国联合网络通信集团有限公司 Virtual machine creation method, ARP proxy gateway and VTEP
CN113037883A (en) * 2021-02-23 2021-06-25 中国联合网络通信集团有限公司 Method and device for updating MAC address table entries
CN113254148A (en) * 2021-05-12 2021-08-13 中国联合网络通信集团有限公司 Virtual machine migration method and cloud management platform
CN115297055A (en) * 2022-07-25 2022-11-04 紫光云技术有限公司 Public cloud host migration arp table entry updating method
CN115297055B (en) * 2022-07-25 2024-01-23 紫光云技术有限公司 Public cloud host migration arp table item updating method

Also Published As

Publication number Publication date
CN107786677B (en) 2021-06-22

Similar Documents

Publication Publication Date Title
CN107786677A (en) A kind of ARP update method and VTEP equipment
CN104506408B (en) The method and device of data transfer based on SDN
EP2853066B1 (en) Layer-3 overlay gateways
EP2843906B1 (en) Method, apparatus, and system for data transmission
CN107889176A (en) The gateway arrangement of cordless communication network
EP3282667A1 (en) Method, device and system for authorizing service of user
CN107623757B (en) Table entry updating method and device
CN108011754B (en) Transfer control separation system, backup method and device
US20220029915A1 (en) Normalized lookup and forwarding for diverse virtual private networks
CN106850379A (en) Method and system for realizing subnet intercommunication
CN105634901A (en) MAC address information synchronization method and device based on CAS VXLAN
US11310081B2 (en) Packet transmission method and apparatus
EP3661167B1 (en) Ip address allocation system and method
CN110213148A (en) A kind of method, system and device of data transmission
CN105978828B (en) A kind of method and interchanger for realizing the forwarding of virtual machine message
CN104767685A (en) Flow forwarding method and device
CN104917682A (en) Overlay network configuration method and device
CN102420880A (en) Internet protocol (IP) address management method, system and device
CN106255089A (en) A kind of method and apparatus of radio three layer roaming
CN106911547B (en) Message forwarding method and device
WO2020063466A1 (en) Access point management
CN103401954B (en) The implementation method of virtual DHCP
CN107819708A (en) Data processing method, system and equipment based on virtual machine (vm) migration
EP3706373B1 (en) Establishing a vxlan between a wireless access point and a node
US10873478B2 (en) Method, device, and system for determining generic routing encapsulation GRE tunnel identifier

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
GR01 Patent grant
GR01 Patent grant