CN103888386B - The transmission method and device, system of expansible virtual local area network packet - Google Patents

The transmission method and device, system of expansible virtual local area network packet Download PDF

Info

Publication number
CN103888386B
CN103888386B CN201210564482.4A CN201210564482A CN103888386B CN 103888386 B CN103888386 B CN 103888386B CN 201210564482 A CN201210564482 A CN 201210564482A CN 103888386 B CN103888386 B CN 103888386B
Authority
CN
China
Prior art keywords
message
flow
item
open flows
occurrence
Prior art date
Application number
CN201210564482.4A
Other languages
Chinese (zh)
Other versions
CN103888386A (en
Inventor
朱旭琪
冯江平
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201210564482.4A priority Critical patent/CN103888386B/en
Publication of CN103888386A publication Critical patent/CN103888386A/en
Application granted granted Critical
Publication of CN103888386B publication Critical patent/CN103888386B/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/64Hybrid switching systems
    • H04L12/6418Hybrid transport

Abstract

The invention discloses the transmission method of expansible virtual local area network packet and device, system, applied in open flow network, when open flows switch receive the first message of the first virtual machine transmission being located in open flows network, the occurrence of the first message according to the information architecture of first message;According to the occurrence of first message, the first flow table item corresponding with the occurrence of first message is obtained;Expansible VLAN VXLAN encapsulation is sealed up first message according to first flow table item, the first message after the encapsulation is sent to the second virtual machine;First virtual machine is located in different open flows switch or different physical machines from second virtual machine;The problem of solving in existing OpenFlow procotols not to VXLAN complete support.

Description

The transmission method and device, system of expansible virtual local area network packet

Technical field

The present embodiments relate to network technique field, more particularly to a kind of transmission side of expansible virtual local area network packet Method and device, system.

Background technology

Open flows(OpenFlow)Technology can be realized more advanced by network insertion interchanger or the Forwarding plane of router Traffic management, especially in virtualized environment.OpenFlow core concept is by originally completely by interchanger or route The packet repeating process of device control, is converted into by open flows switch(OpenFlow Switch)And open flows controller (OpenFlow Controller)The self-contained process being respectively completed.

Expansible VLAN(Virtual Extensible Local Area Network, abbreviation VXLAN)It is one The technology for being packaged two layer message with three layer protocols is planted, double layer network can be extended in three layers of scope, is made virtual Machine can be migrated in the range of the three-layer network interconnected, without changing Internet protocol(Internet Protocol, abbreviation IP)Address and medium access control(Medium Access Control, abbreviation MAC)Address, it is ensured that industry The continuity of business.

At present, due to the support in OpenFlow procotols not to VXLAN, therefore, it is unfavorable for VXLAN and exists Deployment in OpenFlow networks, VXLAN application field is limited.

The content of the invention

The embodiment of the present invention provides the transmission method and device, system of a kind of expansible virtual local area network packet, is applied to In OpenFlow networks, to solve the complete support in existing OpenFlow procotols not to VXLAN, it is unfavorable to cause In deployment of the VXLAN in OpenFlow networks, the problem of VXLAN application field is limited.

In a first aspect, the present invention provides a kind of transmission method of expansible virtual local area network packet, applied to open drift net In network, including:

Open flows switch receive the first message that the first virtual machine being located in open flows network is sent, according to described the The occurrence of first message described in the information architecture of one message;

According to the occurrence of first message, the first flow table item corresponding with the occurrence of first message is obtained;

Expansible VLAN VXLAN encapsulation is sealed up first message according to first flow table item, will be described The first message after encapsulation is sent to positioned at the second virtual machine;

First virtual machine is located in different open flows switch or different physical machines from second virtual machine.

Based in a first aspect, in the first implementation, according to the occurrence of first message, obtain and described the Corresponding first flow table item of occurrence of one message, including:

The open flows switch inquire about the flow table of the open flows switch, however, it is determined that preserved in the flow table and institute Corresponding first flow table item of occurrence of the first message is stated, then first flow table item is obtained from the flow table, otherwise by institute The occurrence for stating the first message and first message is sent to open flows controller, so that the open flows controller is to described Open flows switch send the first flow table item corresponding with the occurrence of first message.

The first implementation based on first aspect and first aspect, in second of implementation, described first Wrapped in the type of action that the instruction of flow table item includes plus VXLAN is encapsulated, the structure of the type of action of described plus VXLAN encapsulation Include the IP address of the VXLAN endpoint of a tunnels VTEP where second virtual machine;Or

The type of action that the instruction of first flow table item includes plus VXLAN is encapsulated, the matching of first flow table item Item includes the IP address of the VXLAN endpoint of a tunnels VTEP where second virtual machine.

Second aspect, the present invention provides a kind of transmission method of expansible virtual local area network packet, applied to open drift net In network, including:

Open flows switch receive the second message that the second virtual machine is sent, according to the information architecture institute of second message State the occurrence of the second message;

According to the occurrence of second message, the second flow table item corresponding with the occurrence of second message is obtained;

Expansible VLAN VXLAN is unsealed according to second flow table item to second message to encapsulate, will be described The second message that solution is honored as a queen is sent to the first virtual machine in the open flow network;

First virtual machine is located in different open flows switch or different physical machines from second virtual machine.

Based on second aspect, in second of implementation, according to the occurrence of second message, obtain and described the Corresponding second flow table item of occurrence of two messages, including:

The open flows switch inquire about the flow table of the open flows switch, however, it is determined that preserved in the flow table and institute Corresponding second flow table item of occurrence of the second message is stated, then second flow table item is obtained from the flow table, otherwise by institute The occurrence for stating the second message and second message is sent to open flows controller, so that the open flows controller is to described Open flows switch send the second flow table item corresponding with the occurrence of second message, in the instruction of second flow table item Including the type of action for going VXLAN to encapsulate.

The third aspect, the present invention provides a kind of transmission method of expansible virtual local area network packet, applied to open drift net In network, including:

Open flows controller receives the first message of open flows switch transmission and the occurrence of first message, described First message is that the open flows switch receive the message that the first virtual machine being located in open flows network is sent, described first The occurrence of message is the open flows switch according to the information architecture of first message;

According to the occurrence of first message, the first flow table item corresponding with the occurrence of first message is obtained;

First flow table item is sent to the open flows switch, so that the open flows switch are according to described One flow table item seals up first message expansible VLAN VXLAN encapsulation, and the first message after the encapsulation is sent out Give the second virtual machine;

First virtual machine is located in different open flows switch or different physical machines from second virtual machine.

Based on the third aspect, in the first implementation, according to the occurrence of first message, obtain and described the Corresponding first flow table item of occurrence of one message, including:

The open flows controller inquires about the flow table of the open flows controller, if being matched in the presence of with first message Corresponding first flow table item of item, then obtain first flow table item from the flow table;If in the absence of with first message Corresponding first flow table item of occurrence, then build first flow table item.

The first implementation based on the third aspect, in second of implementation, the instruction of first flow table item Include adding the type of action of VXLAN encapsulation, the structure of the type of action of described plus VXLAN encapsulation includes second void The IP address of VXLAN endpoint of a tunnels VTEP where plan machine;Or

The type of action that the instruction of first flow table item includes plus VXLAN is encapsulated, the matching of first flow table item Item includes the IP address of the VXLAN endpoint of a tunnels VTEP where second virtual machine.

First, second kind of implementation based on the third aspect and the third aspect, in the third implementation, according to After the occurrence of first message, acquisition the first flow table item corresponding with the occurrence of first message, including:

The open flows controller seals up expansible VLAN according to first flow table item to first message VXLAN is encapsulated, and the first message after the encapsulation is sent into the second virtual machine.

Fourth aspect, the present invention provides a kind of transmission method of expansible virtual local area network packet, applied to open drift net In network, including:

Open flows controller receives the second message of open flows switch transmission and the occurrence of second message, described Second message is that the open flows switch receive the message that the second virtual machine is sent, and the occurrence of second message is described Open flows switch are according to the information architecture of second message;

According to the occurrence of second message, the second flow table item corresponding with the occurrence of second message is obtained;

Second flow table item is sent to the open flows switch, so that the open flows switch are according to described Two flow table items unseal expansible VLAN VXLAN to second message and encapsulated, and the second message that the solution is honored as a queen is sent out Give the first virtual machine in the open flow network;

First virtual machine is located in different open flows switch or different physical machines from second virtual machine.

Based on fourth aspect, in the first implementation, according to the occurrence of second message, obtain and described the Corresponding second flow table item of occurrence of two messages, including:

The open flows controller inquires about the flow table of the open flows controller, if being matched in the presence of with second message Corresponding second flow table item of item, then obtain second flow table item from the flow table;If in the absence of with second message Corresponding second flow table item of occurrence, then build second flow table item, and the instruction of second flow table item includes VXLAN The type of action of encapsulation.

The first implementation based on fourth aspect and fourth aspect, in second of implementation, according to described After the occurrence of second message, acquisition the second flow table item corresponding with the occurrence of second message, including:

The open flows controller unseals the VXLAN to second message according to second flow table item and encapsulated, will The second message that the solution is honored as a queen is sent to the open flows switch, so that the solution of stating is honored as a queen by the open flows switch The second message be sent to first virtual machine.

Based on fourth aspect, in the third implementation, the open flows controller receives the open flows switch After the second message and the occurrence of second message that send, including:

The MAC Address for the second virtual machine that the open flows controller is included in the information according to second message and institute The IP address of the VTEP where the second virtual machine is stated, the MAC Address of second virtual machine and the second virtual machine institute is set up VTEP IP address between corresponding relation.

5th aspect, the present invention provides a kind of transmitting device of expansible virtual local area network packet, is exchanged positioned at open flows Pusher side, applied in open flow network, including:

Module is built, the first message that the first virtual machine being located at for receiving in open flows network is sent, according to described The occurrence of first message described in the information architecture of first message;

Acquisition module, for the occurrence of the first message according to the structure module construction, is obtained and the described first report Corresponding first flow table item of occurrence of text;

Package module, the first flow table item for being obtained according to the acquisition module seals up expansible to first message VLAN VXLAN is encapsulated, and the first message after the encapsulation is sent into the second virtual machine;

First virtual machine is located in different open flows switch or different physical machines from second virtual machine.

Based on the 5th aspect, in the first implementation, the acquisition module is handed over specifically for inquiring about the open flows The flow table changed planes, however, it is determined that the first flow table item corresponding with the occurrence of first message is preserved in the flow table, then from First flow table item is obtained in the flow table, otherwise the occurrence of first message and first message is sent to out Controller is released, so that the open flows controller sends the occurrence pair with first message to the open flows switch The first flow table item answered.

The first implementation based on the 5th aspect and the 5th aspect, in second of implementation, described first Wrapped in the type of action that the instruction of flow table item includes plus VXLAN is encapsulated, the structure of the type of action of described plus VXLAN encapsulation Include the IP address of the VXLAN endpoint of a tunnels VTEP where second virtual machine;Or

The type of action that the instruction of first flow table item includes plus VXLAN is encapsulated, the matching of first flow table item Item includes the IP address of the VXLAN endpoint of a tunnels VTEP where second virtual machine.

6th aspect, the present invention provides a kind of transmitting device of expansible virtual local area network packet, is exchanged positioned at open flows Pusher side, applied in open flow network, including:

Module is built, for receiving the second message that the second virtual machine is sent, according to the information architecture of second message The occurrence of second message;

Acquisition module, for the occurrence according to second message, is obtained corresponding with the occurrence of second message The second flow table item;

Module is unsealed, for unsealing expansible VLAN to second message according to second flow table item VXLAN is encapsulated, and the second message that the solution is honored as a queen is sent into the first virtual machine in the open flow network;

First virtual machine is located in different open flows switch or different physical machines from second virtual machine.

Based on the 6th aspect, in the first implementation, the acquisition module is handed over specifically for inquiring about the open flows The flow table changed planes, however, it is determined that the second flow table item corresponding with the occurrence of second message is preserved in the flow table, then from Second flow table item is obtained in the flow table, otherwise the occurrence of second message and second message is sent to out Controller is released, so that the open flows controller sends the occurrence pair with second message to the open flows switch The second flow table item answered, the instruction of second flow table item includes the type of action of VXLAN encapsulation.

7th aspect, the present invention provides a kind of transmitting device of expansible virtual local area network packet, positioned at open flow control Device side, applied in open flow network, including:

Receiving module, for receiving the first message of open flows switch transmission and the occurrence of first message, institute State the first message and the message that the first virtual machine being located in open flows network is sent, described the are received for the open flows switch The occurrence of one message is the open flows switch according to the information architecture of first message;

Acquisition module, for the occurrence according to first message, is obtained corresponding with the occurrence of first message The first flow table item;

Sending module, for first flow table item to be sent into the open flows switch, so that the open flows are handed over Change planes and expansible VLAN VXLAN encapsulation is sealed up first message according to first flow table item, by the encapsulation The first message afterwards is sent to the second virtual machine;

First virtual machine is located in different open flows switch or different physical machines from second virtual machine.

Based on the 7th aspect, in the first implementation, the acquisition module, specifically for inquiring about the open flows control The flow table of device processed, if in the presence of the first flow table item corresponding with the occurrence of first message, institute is obtained from the flow table State the first flow table item;If in the absence of the first flow table item corresponding with the occurrence of first message, building described first-class List item.

The first implementation based on the 7th aspect and the 7th aspect, in second of implementation, described first Wrapped in the type of action that the instruction of flow table item includes plus VXLAN is encapsulated, the structure of the type of action of described plus VXLAN encapsulation Include the IP address of the VXLAN endpoint of a tunnels VTEP where second virtual machine;Or

The type of action that the instruction of first flow table item includes plus VXLAN is encapsulated, the matching of first flow table item Item includes the IP address of the VXLAN endpoint of a tunnels VTEP where second virtual machine.

First, second kind of implementation based on the 7th aspect and the 7th aspect, it is described in the third implementation Device also includes:

Package module, for sealing up expansible VLAN to first message according to first flow table item VXLAN is encapsulated, and the first message after the encapsulation is sent into the second virtual machine.

Eighth aspect, the present invention provides a kind of transmitting device of expansible virtual local area network packet, positioned at open flow control Device side, applied in open flow network, including:

Receiving module, for receiving the second message of open flows switch transmission and the occurrence of second message, institute State the second message and receive the message that the second virtual machine is sent for the open flows switch, the occurrence of second message is institute Open flows switch are stated according to the information architecture of second message;

Acquisition module, for the occurrence according to second message, is obtained corresponding with the occurrence of second message The second flow table item;

Sending module, for second flow table item to be sent into the open flows switch, so that the open flows are handed over Change planes and expansible VLAN VXLAN encapsulation is unsealed to second message according to second flow table item, by the deblocking The second message afterwards is sent to the first virtual machine in the open flow network;

First virtual machine is located in different open flows switch or different physical machines from second virtual machine.

Based on eighth aspect, in the first implementation, the acquisition module, specifically for inquiring about the open flows control The flow table of device processed, if in the presence of the second flow table item corresponding with the occurrence of second message, institute is obtained from the flow table State the second flow table item;If in the absence of the second flow table item corresponding with the occurrence of second message, building the second List item, the instruction of second flow table item includes the type of action of VXLAN encapsulation.

The first implementation based on eighth aspect and eighth aspect, in second of implementation, described device Also include:

Module is unsealed, is encapsulated for unsealing the VXLAN to second message according to second flow table item, will be described The second message that solution is honored as a queen is sent to the open flows switch.

Based on eighth aspect, in the third implementation, described device also includes:

Set up module, for the MAC Address of the second virtual machine that is included in the information according to second message with it is described The IP address of VTEP where second virtual machine, sets up MAC Address and second virtual machine place of second virtual machine VTEP IP address between corresponding relation.

9th aspect, the present invention provides a kind of Transmission system of expansible virtual local area network packet, applied to open drift net In network, including:Open flows switch and open flows controller;

Open flows switch include the 5th aspect and the transmission dress of the expansible virtual local area network packet described in the 6th aspect Put;

Open flows controller includes the 7th aspect and the transmission dress of the expansible virtual local area network packet described in eighth aspect Put.

The embodiment of the present invention is used on the basis of Action type specified in existing OpenFlow agreements, is increased newly New type of action(Plus VXLAN encapsulation)Or the technological means of new occurrence, so that open flows switch receive local Virtual machine to the distal end virtual machine for belonging to VXLAN together send message when, the occurrence built according to message information is got pair The flow table item answered, further, seals up message VXLAN encapsulation, and the message after encapsulation is sent into distal end void according to flow table item Plan machine, can solve support not to VXLAN in existing OpenFlow procotols, and the caused VXLAN that is unfavorable for exists Deployment in OpenFlow networks, the problem of VXLAN application field is limited;Existing OpenFlow agreements can be made full use of Advantage, keep unified mechanism on the premise of, complete supports of the OpenFlow realized to VXLAN reduces VXLAN and existed The difficulty disposed in OpenFlow networks, has opened up VXLAN application field, enriches OpenFlow agreements, is conducive to agreement Further development.

Brief description of the drawings

In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are this hairs Some bright embodiments, for those of ordinary skill in the art, without having to pay creative labor, can be with Other accompanying drawings are obtained according to these accompanying drawings.

The schematic flow sheet of the transmission method for the expansible virtual local area network packet that Fig. 1 provides for one embodiment of the invention;

Fig. 2 is the structural representation of flow table item as defined in OpenFlow agreements;

The flow signal of the transmission method for the expansible virtual local area network packet that Fig. 3 provides for another embodiment of the present invention Figure;

The flow signal of the transmission method for the expansible virtual local area network packet that Fig. 4 provides for another embodiment of the present invention Figure;

The flow signal of the transmission method for the expansible virtual local area network packet that Fig. 5 provides for another embodiment of the present invention Figure;

The signaling diagram of the transmission method for the expansible virtual local area network packet that Fig. 6 provides for another embodiment of the present invention;

The system architecture that Fig. 7 applies for the transmission method of expansible virtual local area network packet provided in an embodiment of the present invention Figure;

The structural representation of the transmitting device for the expansible virtual local area network packet that Fig. 8 provides for another embodiment of the present invention Figure;

The structural representation of the transmitting device for the expansible virtual local area network packet that Fig. 9 provides for another embodiment of the present invention Figure;

The structural representation of the transmitting device for the expansible virtual local area network packet that Figure 10 provides for another embodiment of the present invention Figure;

The structural representation of the transmitting device for the expansible virtual local area network packet that Figure 11 provides for another embodiment of the present invention Figure;

The structural representation of the Transmission system for the expansible virtual local area network packet that Figure 12 provides for another embodiment of the present invention Figure.

Embodiment

To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.

The first virtual machine is located at different open flows from second virtual machine and handed over described in the following embodiment of the present invention Change planes or different physical machines on, wherein, the first virtual machine is connected with the open flows switch described in the present embodiment, and second is virtual Machine is not connected to the open flows switch described in the present embodiment, and physical machine can be common computer, work station or specialty clothes Business device etc., is not limited thereto.

Below to various embodiments of the present invention apply system architecture illustrate, Fig. 7 for it is provided in an embodiment of the present invention can The system architecture diagram of the transmission method application of virtual local area network packet is extended, as shown in fig. 7, OpenFlow network systems include opening Release interchanger, open flows controller and the OpenFlow associations for being communicated between open flows switch and open flows controller View.Wherein, VXLAN endpoint of a tunnels are deployed with open flows controller(VXLAN Tunnel End Point, abbreviation VTEP) Control plane(VTEP Control Plane), VTEP data planes are deployed with open flows switch(VTEP Data Plane).

Applied in various embodiments of the present invention plus VXLAN encapsulation and the type of action for going VXLAN to encapsulate are said below Bright, table 1 is applied in various embodiments of the present invention plus VXLAN encapsulation and the structure for the type of action for going VXLAN encapsulation, such as table Shown in 1:

Plus the type of action of VXLAN encapsulation is OFPAT_PUSH_VXLAN, corresponding structure is ofp_action_ Push_vxlan or ofp_action_push, IP address and the outside that VTEP where distal end is added in structure is empty Intend LAN(Virtual Local Area Network, abbreviation VLAN)VLAN identifies two parameters of ID, and VXLAN is corresponded to respectively Outside purpose IP address and outside VLAN fields in encapsulation.Wherein, outside purpose IP address be table 1 in plus VXLAN encapsulation Outer_ip parameters in the structure of type of action;Outside VLAN fields be table 1 in plus VXLAN encapsulation type of action knot Outer_vlan_id parameters in structure body;When that need not set outside VLAN, outside VLANID parameters can be saved Slightly.

The type of action for going VXLAN to encapsulate is OFPAT_POP_VXLAN, and corresponding structure is exactly Action structure heads Ofp_action_header, wherein, ofp_action_header is a kind of type of action defined in openflow agreements Structure head;Go in the structure for the type of action that VXLAN encapsulates without any extraneous information.

It should be noted that in the structure of type of action of VXLAN encapsulation is added, increase only outside purpose IP address (outer_ip)With outside VLAN ID(outer_vlan_id), it is because the information needed for other VXLAN are encapsulated can lead to Cross and the mode such as configure, table look-up, calculating and obtain, this is not limited by the present invention.

Table 1:

Wherein, struct represents structure, and type represents type, and Length represents length, and ethertype represents Ethernet class Type, outer_ip represents outside purpose IP address, and outer_vlan_id represents that outside VLAN mark ID, pad represents filling Position, OFP_ASSERT (sizeof (struct ofp_action_push_vxlan)==16 expression structure shared by byte number be 16 bytes.OFP_ASSERT (sizeof (struct ofp_action_header)==8 represent structure shared by byte number be 8 Byte.

The schematic flow sheet of the transmission method for the expansible virtual local area network packet that Fig. 1 provides for one embodiment of the invention, Applied in OpenFlow networks, as shown in figure 1, the transmission method of the expansible virtual local area network packet of the present embodiment can be wrapped Include:

101st, open flows switch receive the first message that the first virtual machine being located in open flows network is sent, according to institute State the occurrence of the first message described in the information architecture of the first message;

Wherein, source MAC, source IP, target MAC (Media Access Control) address and purpose IP are included but is not limited in the information of the first message, First message can be broadcasting packet, multicast message, unknown unicast message or known unicast message.

Assuming that the first virtual machine knows the MAC Address of the second virtual machine, then the first message that the first virtual machine is sent is Know unicast message, the information of the first message is with including the first virtual machine MAC Address, the first virtual machine IP, the second virtual machine MAC Location and the second virtual machine IP;Assuming that the first virtual machine does not know the MAC Address of the second virtual machine, then the first virtual machine send the One message is broadcasting packet, is specifically as follows address resolution protocol(Address Resolution Protocol, abbreviation ARP) Request message, the information of the first message includes the first virtual machine MAC Address, the first virtual machine IP, broadcast MAC address and second Virtual machine IP.

In the present embodiment, the information of the first message, further, described first are included in the occurrence of first message Also enter to hold port information including the first message in the occurrence of message.

102nd, according to the occurrence of first message, the first flow table corresponding with the occurrence of first message is obtained ;

For example, flow table is preset with open flows switch, for preserving the flow table item do not exceeded the time limit, Fig. 2 is The structural representation of flow table item as defined in OpenFlow agreements, as shown in Fig. 2 generally, flow table item includes occurrence, preferential Level, counter, instruction and time-out, wherein, occurrence includes message information, for matching corresponding flow table item.Priority list Show the matching priority of flow table item.Counters count matches the message number of the flow table item.Instruction includes action or behavior aggregate (English:Action or Action Set), further, the information such as the flow table that next stage is inquired about can also be included in instruction.It is super When represent expired time of the flow table item in open flows switch.Generally, most important in a flow table item is exactly occurrence And instruction, it is also to realize the key normally E-Packeted in OpenFlow networks.

Further, open flows switch according to the occurrence of the first message, can inquire about the flow table of open flows switch, If it is determined that preserving the first flow table item corresponding with the occurrence of first message in flow table, then institute is obtained from the flow table The first flow table item is stated, the occurrence of first message and first message is otherwise sent to open flows controller, so that The open flows controller sends the first flow table item corresponding with the occurrence of first message to the open flows switch.

103rd, expansible VLAN VXLAN is sealed up first message according to first flow table item to encapsulate, will The first message after the encapsulation is sent to the second virtual machine.

Because the first virtual machine is located in open flow network, the first message that the first virtual machine is sent is not to be sealed with VXLAN is encapsulated, in order to which the first message to be smoothly sent to the second virtual machine of distal end, when implementing:

For example, on the basis of Action type specified in existing OpenFlow agreements, adding new Action Type, wherein, newly-increased Action type includes plus VXLAN encapsulation, plus VXLAN is encapsulated as OFPAT_PUSH_VXLAN, wherein, Plus the IP address and outside VLAN of the VTEP in the structure of the type of action of VXLAN encapsulation including but not limited to where distal end are marked Know two parameters of ID, outside purpose IP and outside VLAN fields in VXLAN encapsulation are corresponded to respectively.For outside need not be set VLAN situation, outside VLAN ID parameters can be omitted.

Therefore, the type of action in the instruction of the first flow table item is adds VXLAN to encapsulate, the structure of described plus VXLAN encapsulation Body includes the IP address of the VTEP where second virtual machine.Accordingly, open flows switch are according to the first flow table item Type of action in instruction(Plus VXLAN encapsulation)VXLAN encapsulation is sealed up the first message, the first message after encapsulation is sent to Second virtual machine.

In another example, on the basis of Action type specified in existing OpenFlow agreements, add new Action type and new occurrence, wherein, newly-increased Action type includes plus VXLAN encapsulation, wherein, plus VXLAN encapsulation Type of action structure can use existing OpenFlow agreements it is existing be used for plus head universal architecture body ofp_ action_push.Wherein, VTEPs of the new occurrence OXM_OF_OUTER_IP where for representing distal end IP address.

Therefore, the instruction of the first flow table item includes plus VXLAN encapsulation, and the occurrence of first flow table item includes institute State the IP address of the VTEP where the second virtual machine.Accordingly, open flows switch include according to the instruction of the first flow table item Type of action(Plus VXLAN encapsulation)And first flow table item the second virtual machine for including of occurrence where VTEP IP Address, seals up first message VXLAN encapsulation, the first message after the encapsulation is sent into the second virtual machine.

The embodiment of the present invention is used on the basis of Action type specified in existing OpenFlow agreements, is increased newly New type of action(Plus VXLAN encapsulation)Or the technological means of new occurrence, so that open flows switch receive local When virtual machine is to distal end virtual machine transmission message, the occurrence built according to message information gets corresponding flow table item, enters one Step, VXLAN encapsulation is sealed up message according to flow table item, and the message after encapsulation is sent into distal end virtual machine, can be solved existing Support in some OpenFlow procotols not to VXLAN, the caused portion for being unfavorable for VXLAN in OpenFlow networks Administration, the problem of VXLAN application field is limited;The advantage of existing OpenFlow agreements can be made full use of, is keeping unified On the premise of mechanism, complete supports of the OpenFlow realized to VXLAN reduces VXLAN in the middle part of OpenFlow networks The difficulty of administration, has opened up VXLAN application field, enriches OpenFlow agreements, is conducive to the further development of agreement.

The flow signal of the transmission method for the expansible virtual local area network packet that Fig. 3 provides for another embodiment of the present invention Figure, applied in OpenFlow networks, as shown in figure 3, including:

301st, open flows switch receive the second message that the second virtual machine is sent, according to the information structure of second message Build the occurrence of second message;

Wherein, source MAC, source IP, target MAC (Media Access Control) address and purpose IP are included but is not limited in the information of the second message, Second message can be broadcasting packet, multicast message, unknown unicast message or known unicast message.

Assuming that the second virtual machine knows the MAC Address of the first virtual machine, the second virtual machine sent to the first virtual machine Source MAC, source IP, purpose MAC and purpose IP that the information of two messages includes;Wherein, source MAC is the second virtual machine MAC Address, source IP are that the second virtual machine IP, target MAC (Media Access Control) address are that the first virtual machine MAC Address, purpose IP are the first virtual machine IP.

In the present embodiment, the information of the second message, further, described second are included in the occurrence of second message Also enter to hold port information including the second message in the occurrence of message.

302nd, according to the occurrence of second message, the second flow table corresponding with the occurrence of second message is obtained ;

Specifically, open flows switch according to the occurrence of the second message, can inquire about the flow table of open flows switch, if Determine to preserve the second flow table item corresponding with the occurrence of second message in flow table, then obtain described from the flow table Second flow table item, is otherwise sent to open flows controller by the occurrence of second message and second message, so that institute State open flows controller and send the second flow table item corresponding with the occurrence of second message to the open flows switch.

303rd, expansible VLAN VXLAN is unsealed to second message according to second flow table item to encapsulate, will The second message that the solution is honored as a queen is sent to the first virtual machine in the open flow network;

Because the second message that the second virtual machine is sent is sealed with VXLAN encapsulation, in order to which smoothly the second message is sent out The first virtual machine positioned at open flows network-external is given, when implementing:

For example, on the basis of Action type specified in existing OpenFlow agreements, adding new Action Type, wherein, newly-increased Action type includes going VXLAN to encapsulate OFPAT_POP_VXLAN, wherein, go the dynamic of VXLAN encapsulation Make that any information can not be included in the structure of type, moreover, going the structure of the type of action of VXLAN encapsulation to be existing There is Action structures head as defined in OpenFlow agreements.

Therefore, the type of action in the instruction of the second flow table item is goes VXLAN to encapsulate, accordingly, open flows switch root According to the type of action in the instruction of the second flow table item(VXLAN is gone to encapsulate)To the deblocking VXLAN encapsulation of the second message, solution is honored as a queen Second message is sent to the first virtual machine in the open flow network.

The embodiment of the present invention is used on the basis of Action type specified in existing OpenFlow agreements, is increased newly The technological means for the type of action that VXLAN encapsulates is gone, so that open flows switch are receiving distal end virtual machine to local When what virtual machine was sent is sealed with the message of VXLAN encapsulation, the occurrence built according to message information obtains corresponding flow table , further, go VXLAN encapsulation to unseal the VXLAN encapsulation to the message in flow table item, afterwards, open flows are handed over The virtual machine that the message that solution is honored as a queen of changing planes is sent in OpenFlow networks;Existing OpenFlow networks can be solved Complete support in agreement not to VXLAN, the caused deployment for being unfavorable for VXLAN in OpenFlow networks, VXLAN's should The problem of being limited with field;The advantage of existing OpenFlow agreements can be made full use of, on the premise of unified mechanism is kept, Complete supports of the OpenFlow realized to VXLAN, reduces the difficulty that VXLAN is disposed in OpenFlow networks, developing VXLAN application field, enriches OpenFlow agreements, is conducive to the further development of agreement.

The flow signal of the transmission method for the expansible virtual local area network packet that Fig. 4 provides for another embodiment of the present invention Figure, applied in OpenFlow networks, as shown in figure 4, including:

401st, open flows controller receives the first message of open flows switch transmission and the occurrence of first message.

Wherein, first message is that the open flows switch receive be located locally in open flow network first virtual The message that machine is sent, the occurrence of first message is information architecture of the open flows switch according to first message 's.

402nd, according to the occurrence of first message, the first flow table corresponding with the occurrence of first message is obtained ;

Specifically, it is assumed that open flows controller is preset with the flow table item for preserving and not exceeding the time limit in flow table, flow table, open flow control Device inquires about flow table, if in the presence of corresponding first-class with the occurrence of first message according to the occurrence of first message List item, then obtain first flow table item from the flow table;If in the absence of corresponding with the occurrence of first message One flow table item, then build first flow table item.When implementing:

For example, open flows controller does not complete the address learning to VXLAN, the mark address of the second virtual machine is not set up During corresponding relation between the IP address of the VTEP where the second virtual machine, as shown in fig. 7, being disposed in open flows controller Have and VXLAN VNI- multicast address corresponding tables be preset with VTEP control planes, VTEP control planes, open flows controller according to The MAC Address and IP address of the first virtual machine included in the information of first message, by searching VXLAN VNI- multicast address Corresponding table, obtains the corresponding multicast address of the affiliated VXLAN of the first virtual machine, regard the multicast address of acquisition as the second virtual machine institute VTEP IP address;The mark address of wherein described second virtual machine includes the MAC Address and IP of second virtual machine Address.

In another example, open flows controller has completed the address learning to VXLAN, and with setting up the mark of the second virtual machine During corresponding relation between the IP address of the VTEP where location and the second virtual machine, open flows controller is directly virtual according to second The IP address of VTEP where MAC Address the second virtual machine of acquisition of machine;The mark address of wherein described second virtual machine includes The MAC Address and IP address of second virtual machine.

Because the first virtual machine is located at, open flows switch are local, and the first message that the first virtual machine is sent is not to be sealed with VXLAN is encapsulated, in order to which the first message to be smoothly sent to the second virtual machine of distal end, in a kind of optional embodiment In, on the basis of Action type specified in existing OpenFlow agreements, new Action type is added, wherein, Newly-increased Action type includes plus VXLAN encapsulation OFPAT_PUSH_VXLAN, wherein, plus wrapped in the structure of VXLAN encapsulation The IP address and outside VLAN for the VTEP for including but being not limited to where distal end identify two parameters of ID, correspond to respectively during VXLAN encapsulates Outside purpose IP and outside VLAN fields.When that need not set outside VLAN, outside VLAN ID parameters can be saved Slightly.Therefore, the type of action in the instruction for the first flow table item that open flows controller is built for plus VXLAN encapsulation, and by second In outer_ip parameters in the structure that the IP address of VTEP where virtual machine is added to plus VXLAN is encapsulated, outer_ip Represent outside purpose IP.

In another optional embodiment, on the basis of Action type specified in existing OpenFlow agreements On, new Action type and new occurrence are added, wherein, newly-increased Action type includes plus VXLAN encapsulation, its In, plus VXLAN encapsulation structure can with existing OpenFlow agreements it is existing be used for add head universal architecture body, its In, OpenFlow agreements are existing to be used to add the universal architecture body of head for ofp_action_push.Wherein, new occurrence VTEPs of the OXM_OF_OUTER_IP where for representing distal end IP address.Therefore, the first flow table that open flows controller is built The instruction of item includes plus VXLAN encapsulation, and the IP address of the VTEP where the second virtual machine is added to of the first flow table item With in item.

403rd, first flow table item is sent to the open flows switch.

Accordingly, open flows switch seal up expansible virtual local area according to first flow table item to first message VXLAN encapsulation is netted, the first message after the encapsulation is sent to the second virtual machine.

Alternatively, open flows controller seals up expansible virtual local area according to first flow table item to first message VXLAN encapsulation is netted, the first message after the encapsulation is sent to the second virtual machine.

The embodiment of the present invention is used on the basis of Action type specified in existing OpenFlow agreements, is increased newly Plus the type of action and the technological means of new occurrence of VXLAN encapsulation so that open flows controller is according to open flows switch The message and its occurrence of transmission, build or determine flow table item corresponding with the occurrence, and flow table item is sent into opening Flow interchanger so that it is dynamic that included in the flow table item that open flows switch are sent according to open flows controller plus VXLAN is encapsulated Make type, seal up message VXLAN encapsulation, the message after encapsulation is sent to the virtual machine of distal end;It can solve existing Complete support in OpenFlow procotols not to VXLAN, the caused portion for being unfavorable for VXLAN in OpenFlow networks Administration, the problem of VXLAN application field is limited;The advantage of existing OpenFlow agreements can be made full use of, is keeping unified On the premise of mechanism, complete supports of the OpenFlow realized to VXLAN reduces VXLAN in the middle part of OpenFlow networks The difficulty of administration, has opened up VXLAN application field, enriches OpenFlow agreements, is conducive to the further development of agreement.

The flow signal of the transmission method for the expansible virtual local area network packet that Fig. 5 provides for another embodiment of the present invention Figure;Applied in OpenFlow networks, as shown in figure 5, including:

501st, open flows controller receives the matching of the second message and second message that open flows hand over interchanger to send .

Wherein, second message is that the open flows switch receive the message that the second virtual machine is sent, described second The occurrence of message is the open flows switch according to the information architecture of second message.Because the second message is to be located at What the second virtual machine of distal end was sent, the second message is sealed with VXLAN encapsulation.

Alternatively, open flows controller can be encapsulated according to the VXLAN of the second message, where the second virtual machine of acquisition VTEP IP address, according to the MAC Address of the virtual machine of acquisition of information second of the second message, sets up the mark of second virtual machine Corresponding relation between the IP address of VTEP where knowledge address and second virtual machine, so that the address for completing VXLAN is learned Habit process;The mark address of wherein described second virtual machine includes the MAC Address and IP address of second virtual machine.

502nd, according to the occurrence of second message, the second flow table corresponding with the occurrence of second message is obtained ;

Open flows controller inquires about the flow table of the open flows controller, if in the presence of the occurrence pair with second message The second flow table item answered, then obtain second flow table item from the flow table;

If in the absence of the second flow table item corresponding with the occurrence of second message, building second flow table item. When implementing:

The second message that second virtual machine is sent is to be sealed with VXLAN encapsulation, in order to smoothly send the second message To positioned at the first local virtual machine of open flows switch, in a kind of optional embodiment, in existing OpenFlow associations On the basis of Action type specified in view, new Action type is added, wherein, newly-increased Action type includes going VXLAN is encapsulated, and goes that any information can not be included in the corresponding structure of type of action of VXLAN encapsulation, moreover, removing VXLAN The structure of encapsulation can be Action structure heads as defined in existing OpenFlow agreements.Therefore, open flows controller is built The second flow table item instruction in type of action to go VXLAN to encapsulate.

503rd, second flow table item is sent to the open flows switch.

Accordingly, open flows switch unseal expansible virtual local area according to second flow table item to second message VXLAN encapsulation is netted, the second message that the solution is honored as a queen is sent to the first virtual machine in the open flow network.

Alternatively, the type of action included in the second flow table item that open flows controller can be obtained according to step 502 is gone VXLAN is encapsulated, and to second message deblocking VXLAN encapsulation, the second message that the solution is honored as a queen is sent into open flows and exchanged Machine so that the second message that solution is honored as a queen is sent to the first virtual machine by open flows switch.

The embodiment of the present invention is used on the basis of Action type specified in existing OpenFlow agreements, is increased newly Go the technological means of the type of action of VXLAN encapsulation so that the occurrence that open flows controller is sent according to open flows switch Build or determine flow table item corresponding with the occurrence, and flow table item is sent to open flows switch so that open flows are handed over What is included in the flow table item sent according to open flows controller of changing planes goes VXLAN to encapsulate, to message deblocking VXLAN encapsulation, And the message that solution is honored as a queen is sent to the virtual machine being located locally;No pair can be solved in existing OpenFlow procotols VXLAN complete support, the caused deployment for being unfavorable for VXLAN in OpenFlow networks, VXLAN application field is limited Problem;The advantage of existing OpenFlow agreements can be made full use of, on the premise of unified mechanism is kept, is realized Complete supports of the OpenFlow to VXLAN, reduces the difficulty that VXLAN is disposed in OpenFlow networks, has opened up VXLAN's Application field, enriches OpenFlow agreements, is conducive to the further development of agreement.

The signaling diagram of the transmission method for the expansible virtual local area network packet that Fig. 6 provides for another embodiment of the present invention;Should For in OpenFlow networks, Fig. 7 to be the transmission method application of expansible virtual local area network packet provided in an embodiment of the present invention System architecture diagram;As shown in Figure 6 and Figure 7, including:

601st, open flows switch receive the ARP request message that virtual machine VM-1 is sent.

As shown in fig. 7, OpenFlow network systems include open flows switch, open flows controller and for open flows The OpenFlow agreements communicated between interchanger and open flows controller.Wherein, VTEP controls are deployed with open flows controller Aspect, is deployed with VTEP data planes in open flows switch;VM-1 and virtual machine VM-3 belongs to same VXLAN;VM-1 Affiliated VTEP is different from the VTEP belonging to VM-3.

Generally, before VM-1 communicates with VM-3, if VM-1 does not know VM-3 MAC Address, VM-1 needs please by ARP Message is asked to go to obtain VM-3 MAC Address.Now, VM-1 broadcast ARP requests message, the ARP request message includes transmitting terminal MAC Address and IP address, and purpose IP address, wherein, purpose IP address is VM-3 IP address, and transmitting terminal MAC Address is VM-1 MAC Address, transmitting terminal IP address is VM-1 IP address.

602nd, the occurrence of ARP request message and ARP request message is sent to open flow control by open flows switch Device.

Open flows switch inquire about local flow table according to the occurrence of the information architecture ARP request message of ARP request message Determine that flow table item corresponding with the occurrence is not present in the flow table item of middle caching, then by ARP request message and ARP request The occurrence of message is sent to open flows controller.

603rd, open flows controller builds flow table item corresponding with the occurrence of ARP request message.

Open flows controller is received after the occurrence of ARP request message and ARP request message, in open flows controller Matched again in flow table.The flow table item of matching can not be generally also found, now, open flows controller is built and ARP request message The corresponding flow table item of occurrence.When implementing:

Open flows controller is transmission ARP from local VM-1 to distal end VM-3 it can be seen from the occurrence of ARP request message Request message, therefore, the Action that the instruction of the flow table item of structure includes is OFPAT_PUSH_VXLAN and OFPAT_ OUTPUT.As shown in fig. 7, being deployed with VTEP control planes in open flows controller, VXLAN is preset with VTEP control planes VNI- multicast address corresponding tables, therefore, open flows controller obtain VM-1 by searching VXLAN VNI- multicast address corresponding tables The corresponding multicast address of affiliated VXLAN is used as the opposite end in OFPAT_PUSH_VXLAN structures(VM-3)Affiliated VTEP IP Address, and the VTEP IP address belonging to VM-3 is added in OFPAT_PUSH_VXLAN structures.

604th, the flow table item of structure is sent to open flows switch by open flows controller.

Alternatively, the instruction that open flows controller can be directly in the flow table item of structure is sealed up ARP request message VXLAN is encapsulated, and afterwards, the ARP request message after this is encapsulated is sent.

605th, the instruction in the flow table item that open flows switch are sent according to open flows controller is sealed up ARP request message VXLAN encapsulation is transmitted.

Alternatively, the flow table item that open flows controller is sent can be cached to open flows switch by open flows switch In flow table.

606th, open flows switch receive the arp reply message for being sealed with VXLAN encapsulation returned from VM-3.

When the VM-3 of distal end receives the ARP request message of VM-1 broadcast, determine that VM-1 needs to be communicated with VM-3, Now, VM-3 can return to an arp reply message to VM-1, wherein, arp reply message is sealed with VXLAN encapsulation.

607th, open flows switch send out the occurrence of the arp reply message and arp reply message that are sealed with VXLAN encapsulation To open flows controller.

After open flows switch are received from the arp reply message for being sealed with VXLAN encapsulation that VM-3 is beamed back, extract The occurrence of the information architecture arp reply message of arp reply message inside VXLAN encapsulation, and pass through open flows switch The flow table item cached in flow table, however, it is determined that in the absence of flow table item corresponding with the occurrence of arp reply message, then will be sealed with The arp reply message of VXLAN encapsulation and the occurrence of arp reply message issue open flows controller.

608th, open flows controller builds flow table item corresponding with the occurrence of arp reply message.

The Action that the instruction for the flow table item that open flows controller is built according to the occurrence of arp reply message includes is OFPAT_POP_VXLAN and OFPAT_OUTPUT.

Alternatively, during the MAC Address for the VM-3 that open flows controller includes according to arp reply message is encapsulated with VXLAN Including VM-3 belonging to VTEP IP address, between the IP address for setting up the VTEP belonging to VM-3 MAC Address and VM-3 Corresponding relation, and the corresponding relation between the IP address of the VTEP belonging to VM-3 MAC Address and VM-3 is saved in VMMAC- In VTEP IP corresponding tables, VXLAN address learning process is completed.

609th, the flow table item of structure is sent to open flows switch by open flows controller.

610th, the instruction in the flow table item that open flows switch are sent according to open flows controller is unsealed to arp reply message VXLAN is encapsulated, and the arp reply message that solution is honored as a queen is sent into VM-1.

Specifically, open flows switch receive the flow table item that open flows controller is sent, wherein, in the instruction of the flow table item Including Action be not any in OFPAT_POP_VXLAN and OFPAT_OUTPUT, OFPAT_POP_VXLAN structure Information.Open flows switch are encapsulated according to the OFPAT_POP_VXLAN VXLAN for unsealing arp reply message, according to OFPAT_ OUTPUT structure, VM-1 is sent to by the arp reply message that solution is honored as a queen.

Alternatively, open flows switch receive the flow table item that open flows controller is sent, and can be cached to the flow table item In the flow table of open flows switch.

611st, open flows switch receive the unicast message that VM-1 is sent.

When VM-1 receives the arp reply message of VM-3 returns, VM-3 MAC Address can be obtained, afterwards, VM-1 can be with Unicast message is sent to VM-3.

612nd, the occurrence of unicast message and unicast message is issued open flows controller by open flows switch.

When open flows switch receive VM-1 and are sent to VM-3 unicast message, according to the information architecture unicast report of unicast message With the presence or absence of the flow table item of matching in the flow table item cached in the occurrence of text, inquiry open flows switch flow table, it is assumed that delayed The flow table item time-out for the matching deposited, it is impossible to it is determined that the flow table item of matching.Open flows switch can be by unicast message and unicast report The occurrence of text issues open flows controller.

613rd, open flows controller builds flow table item according to the occurrence of unicast message.

The occurrence for the unicast message that open flows controller is sent according to open flows switch, inquiry open flows controller It whether there is corresponding flow table item in flow table, if in the presence of the flow table item is transmitted directly into open flows switch;If being not present Corresponding flow table item, then build flow table item corresponding with the occurrence of unicast message, is specially:

Open flows controller is transmission unicast report from local VM-1 to distal end VM-3 it can be seen from the occurrence of unicast message Text, therefore, the Action that the instruction of the flow table item of structure includes is OFPAT_PUSH_VXLAN and OFPAT_OUTPUT.Pass through The VM MAC-VTEP IP corresponding tables that open flows controller is set up are searched, the IP address of the VTEP belonging to VM-3 are obtained, by VM-3 Affiliated VTEP IP address is filled up in the outer_ip parameters of OFPAT_PUSH_VXLAN structures.

614th, the flow table item of structure is sent to open flows switch by open flows controller.

615th, the instruction in the flow table item that open flows switch are sent according to open flows controller is sealed up unicast message VXLAN is encapsulated, and the unicast message after encapsulation is sent into VM-3.

Alternatively, the flow table item that open flows controller is sent can be cached in flow table by open flows switch.

Further, when open flows switch receive the unicast report for being sealed with VXLAN encapsulation that VM-3 is sent to VM-1 Wen Shi, according to the corresponding occurrence of information architecture for the unicast message for being sealed with VXLAN encapsulation.First in open flows switch stream The flow table item matching cached in table whether there is corresponding flow table item, if being not present, and will be sealed with the unicast report of VXLAN encapsulation Literary and its corresponding occurrence issues open flows controller.

Open flows controller searches open flows according to the unicast message and its corresponding occurrence that are sealed with VXLAN encapsulation It whether there is corresponding flow table item in the flow table of controller, if in the presence of direct that the flow table item of matching is sent into open flows friendship Change planes;If being not present, build new flow table item, the Action that new flow table item includes be OFPAT_POP_VXLAN and OFPAT_OUTPUT, and newly-built flow table item is sent to open flows switch.

Open flows switch can cache the newly-built flow table item, and the Action deblockings in the newly-built flow table item are single The VXLAN encapsulation of text is reported, and the unicast message that solution is honored as a queen is sent to VM-1.

By embodiment illustrated in fig. 6, to the unicast communication between VM-1 and VM-3, corresponding flow table item is had been set up, and Cached in open flows switch.If between VM-1 and VM-3 again unicast communication when, open flows switch are received not When sealing up VXLAN encapsulation or having sealed up the message of VXLAN encapsulation, you can the flow table item cached in the flow table of open flows switch In find the flow table item of matching, and message is carried out sealing up VXLAN encapsulation or unsealed according to Action in the flow table item of matching VXLAN is encapsulated and forwarded.

The embodiment of the present invention is used on the basis of Action type specified in existing OpenFlow agreements, is increased newly Type of action(Plus VXLAN is encapsulated and is gone VXLAN to encapsulate)Technological means so that open flows controller is according to open flows switch The occurrence of transmission is built or determines flow table item corresponding with the occurrence, and flow table item is sent into open flows switch, So that the instruction in the flow table item that open flows switch are sent according to open flows controller the message is sealed up VXLAN encapsulation or Person deblocking VXLAN encapsulation, and send seal up VXLAN encapsulation or deblocking VXLAN encapsulation after message to distal end virtual machine or Native virtual machine;Complete support not to VXLAN in existing OpenFlow procotols can be solved, it is caused to be unfavorable for Deployment of the VXLAN in OpenFlow networks, the problem of VXLAN application field is limited;It can make full use of existing The advantage of OpenFlow agreements, on the premise of unified mechanism is kept, complete supports of the OpenFlow realized to VXLAN, The difficulty that VXLAN is disposed in OpenFlow networks is reduced, VXLAN application field has been opened up, OpenFlow associations are enriched View, is conducive to the further development of agreement.

The structural representation of the transmitting device for the expansible virtual local area network packet that Fig. 8 provides for another embodiment of the present invention Figure;Positioned at open flows switch side, applied in open flow network, as shown in figure 8, specifically including:

Module 81 is built, for receiving the first message that the first virtual machine is sent, according to the information structure of first message Build the occurrence of first message;

Acquisition module 82, for the occurrence of the first message according to the structure module construction, is obtained and described first Corresponding first flow table item of occurrence of message;

Package module 83, the first flow table item for being obtained according to the acquisition module is sealed up and can expanded to first message VLAN VXLAN encapsulation is opened up, the first message after the encapsulation is sent to the second virtual machine;

For example, acquisition module 82, the flow table specifically for inquiring about the open flows switch, however, it is determined that the flow table In preserve the first flow table item corresponding with the occurrence of first message, then first flow table is obtained from the flow table , the occurrence of first message and first message is otherwise sent to open flows controller, so that the open flows Controller sends the first flow table item corresponding with the occurrence of first message to the open flows switch.

Wherein, the type of action that the instruction of first flow table item includes plus VXLAN is encapsulated, described plus VXLAN encapsulation The structure of type of action include the IP address of the VXLAN endpoint of a tunnels VTEP where second virtual machine;Or

The type of action that the instruction of first flow table item includes plus VXLAN is encapsulated, the matching of first flow table item Item includes the IP address of the VXLAN endpoint of a tunnels VTEP where second virtual machine.

In further example, module 81 is built, is additionally operable to receive the second message that the second virtual machine is sent, according to described The occurrence of second message described in the information architecture of second message;

Acquisition module 82, is additionally operable to the occurrence according to second message, obtains the occurrence with second message Corresponding second flow table item;

Described device also includes:

Module 84 is unsealed, for unsealing expansible VLAN to second message according to second flow table item VXLAN is encapsulated, and the second message that the solution is honored as a queen is sent into the first virtual machine;

For example, acquisition module 82, are specifically additionally operable to inquire about the flow table of the open flows switch, however, it is determined that the stream The second flow table item corresponding with the occurrence of second message is preserved in table, then the second is obtained from the flow table List item, is otherwise sent to open flows controller by the occurrence of second message and second message, so that the opening Stream controller sends the second flow table item corresponding with the occurrence of second message to the open flows switch.

Wherein, the instruction of second flow table item includes the type of action of VXLAN encapsulation.

The embodiment of the present invention is used on the basis of Action type specified in existing OpenFlow agreements, is increased newly Type of action(Plus VXLAN is encapsulated and is gone VXLAN to encapsulate)Or the technological means of new occurrence so that open flows switch according to The message information received builds occurrence, obtains corresponding flow table item according to occurrence, further the finger in flow table item VXLAN encapsulation or deblocking VXLAN encapsulation are sealed up the message in order, and VXLAN encapsulation or deblocking VXLAN encapsulation are sealed up in transmission Message afterwards is to distal end virtual machine or native virtual machine;No pair can be solved in existing OpenFlow procotols VXLAN complete support, the caused deployment for being unfavorable for VXLAN in OpenFlow networks, VXLAN application field is limited Problem;The advantage of existing OpenFlow agreements can be made full use of, on the premise of unified mechanism is kept, is realized Complete supports of the OpenFlow to VXLAN, reduces the difficulty that VXLAN is disposed in OpenFlow networks, has opened up VXLAN's Application field, enriches OpenFlow agreements, is conducive to the further development of agreement.

The structural representation of the transmitting device for the expansible virtual local area network packet that Fig. 9 provides for another embodiment of the present invention Figure;Positioned at open flows controller side, applied in open flow network, as shown in figure 9, specifically including:

Receiving module 91, for receiving the first message of open flows switch transmission and the occurrence of first message, First message is that the open flows switch receive the message that the first virtual machine is sent, and the occurrence of first message is The open flows switch are according to the information architecture of first message;

Acquisition module 92, for the occurrence according to first message, obtains the occurrence pair with first message The first flow table item answered;

Sending module 93, for first flow table item to be sent into the open flows switch, so that the open flows Interchanger is sealed up first message expansible VLAN VXLAN according to first flow table item and encapsulated, by the envelope The first message after dress is sent to the second virtual machine;

For example, acquisition module 92, the flow table specifically for inquiring about the open flows controller, if in the presence of with described the Corresponding first flow table item of occurrence of one message, then obtain first flow table item from the flow table;If being not present and institute Corresponding first flow table item of occurrence of the first message is stated, then builds first flow table item.

Wherein, the type of action that the instruction of first flow table item includes plus VXLAN is encapsulated, described plus VXLAN encapsulation The structure of type of action include the IP address of the VXLAN endpoint of a tunnels VTEP where second virtual machine;Or

The type of action that the instruction of first flow table item includes plus VXLAN is encapsulated, the matching of first flow table item Item includes the IP address of the VXLAN endpoint of a tunnels VTEP where second virtual machine.

Described device also includes:

Package module 94, for sealing up expansible VLAN to first message according to first flow table item VXLAN is encapsulated, and the first message after the encapsulation is sent into the second virtual machine.

In further example, receiving module 91, are additionally operable to receive the second message and described that open flows switch are sent The occurrence of second message, second message is that the open flows switch receive the message that the second virtual machine is sent, described The occurrence of second message is the open flows switch according to the information architecture of second message;

Acquisition module 92, for the occurrence according to second message, obtains the occurrence pair with second message The second flow table item answered;

Sending module 93, for second flow table item to be sent into the open flows switch, so that the open flows Interchanger unseals expansible VLAN VXLAN to second message according to second flow table item and encapsulated, by the solution The second message being honored as a queen is sent to the first virtual machine;

Wherein, acquisition module 92, are specifically additionally operable to inquire about the flow table of the open flows controller, if in the presence of with described second Corresponding second flow table item of occurrence of message, then obtain second flow table item from the flow table;If in the absence of with it is described Corresponding second flow table item of occurrence of second message, then build second flow table item.

Wherein, the instruction of second flow table item includes the type of action of VXLAN encapsulation.

For example, described device also includes:Module 95 is unsealed, for being reported according to second flow table item to described second The text deblocking VXLAN encapsulation, the open flows switch are sent to by the second message that the solution is honored as a queen.

For example, described device also includes:Module 96 is set up, for second report received according to receiving module 91 The IP address of the MAC Address of the second virtual machine included in the information of text and the VTEP where second virtual machine, sets up institute State the corresponding relation between the IP address of the VTEP where the MAC Address and second virtual machine of the second virtual machine.

The embodiment of the present invention is used on the basis of Action type specified in existing OpenFlow agreements, is increased newly Type of action(Plus VXLAN is encapsulated and is gone VXLAN to encapsulate)Or the technological means of new occurrence so that open flows controller root The occurrence sent according to open flows switch is built or determines flow table item corresponding with the occurrence, and flow table item is sent to Open flows switch so that the instruction in the flow table item that open flows switch are sent according to open flows controller adds to the message VXLAN encapsulation or deblocking VXLAN encapsulation are sealed, and transmission seals up the message after VXLAN encapsulation or deblocking VXLAN encapsulation to distal end Virtual machine or native virtual machine;Complete support not to VXLAN in existing OpenFlow procotols can be solved, The caused deployment for being unfavorable for VXLAN in OpenFlow networks, the problem of VXLAN application field is limited;Can be fully sharp With the advantage of existing OpenFlow agreements, on the premise of unified mechanism is kept, the OpenFlow realized is to the complete of VXLAN It is complete to support, the difficulty that VXLAN is disposed in OpenFlow networks is reduced, VXLAN application field has been opened up, has enriched OpenFlow agreements, are conducive to the further development of agreement.The expansible virtual office that Figure 10 provides for another embodiment of the present invention The structural representation of the transmitting device of domain network packet;It is specifically as follows open flows switch, applied in open flow network, such as schemes Shown in 10, open flows switch are specifically included:Processor, memory and communication bus, processor pass through communication bus and storage Device is connected, and the instruction for the transmission method for realizing expansible virtual local area network packet is preserved in memory, further, and open flows are handed over Change planes specific also including communication interface, pass through communication interface and other network element devices(Such as open flows controller)Communication.

When processor transfers the instruction in memory, following steps are performed:

Receive the first message of the first virtual machine transmission, the first message according to the information architecture of first message Occurrence;

According to the occurrence of the first message of the structure module construction, obtain corresponding with the occurrence of first message The first flow table item;

Expansible VLAN is sealed up to first message according to the first flow table item that the acquisition module is obtained VXLAN is encapsulated, and the first message after the encapsulation is sent into the second virtual machine;

For example, according to the occurrence of the first message of the structure module construction, obtain and first message Corresponding first flow table item of occurrence, including:

Inquire about the flow table of the open flows switch, however, it is determined that preserve and matched with first message in the flow table Corresponding first flow table item, then obtain first flow table item from the flow table, otherwise by first message and described The occurrence of first message is sent to open flows controller, so that the open flows controller is sent to the open flows switch The first flow table item corresponding with the occurrence of first message.

Wherein, the type of action that the instruction of first flow table item includes plus VXLAN is encapsulated, described plus VXLAN encapsulation The structure of type of action include the IP address of the VXLAN endpoint of a tunnels VTEP where second virtual machine;Or

The type of action that the instruction of first flow table item includes plus VXLAN is encapsulated, the matching of first flow table item Item includes the IP address of the VXLAN endpoint of a tunnels VTEP where second virtual machine.

When processor transfers the instruction in memory, also execute the following steps:

Receive the second message of the second virtual machine transmission, the second message according to the information architecture of second message Occurrence;

According to the occurrence of second message, the second flow table item corresponding with the occurrence of second message is obtained;

Expansible VLAN VXLAN is unsealed according to second flow table item to second message to encapsulate, will be described The second message that solution is honored as a queen is sent to the first virtual machine;

For example, according to the occurrence of the second message of the structure module construction, obtain and second message Corresponding second flow table item of occurrence, including:

Inquire about the flow table of the open flows switch, however, it is determined that preserve and matched with second message in the flow table Corresponding second flow table item, then obtain second flow table item from the flow table, otherwise by second message and described The occurrence of second message is sent to open flows controller, so that the open flows controller is sent to the open flows switch The second flow table item corresponding with the occurrence of second message.

Wherein, the instruction of second flow table item includes the type of action of VXLAN encapsulation.

The embodiment of the present invention is used on the basis of Action type specified in existing OpenFlow agreements, is increased newly Type of action(Plus VXLAN is encapsulated and is gone VXLAN to encapsulate)Or the technological means of new occurrence so that open flows switch root Occurrence is built according to the message information received, corresponding flow table item is obtained according to occurrence, further according in flow table item VXLAN encapsulation or deblocking VXLAN encapsulation are sealed up the message in instruction, and VXLAN encapsulation or deblocking VXLAN envelopes are sealed up in transmission The virtual machine or native virtual machine of message remote after dress;No pair can be solved in existing OpenFlow procotols VXLAN complete support, the caused deployment for being unfavorable for VXLAN in OpenFlow networks, VXLAN application field is limited Problem;The advantage of existing OpenFlow agreements can be made full use of, on the premise of unified mechanism is kept, is realized Complete supports of the OpenFlow to VXLAN, reduces the difficulty that VXLAN is disposed in OpenFlow networks, has opened up VXLAN's Application field, enriches OpenFlow agreements, is conducive to the further development of agreement.

The structural representation of the transmitting device for the expansible virtual local area network packet that Figure 11 provides for another embodiment of the present invention Figure;It is specifically as follows open flows controller, applied in open flow network, as shown in figure 11, open flows controller is specifically included: Processor, memory and communication bus, processor are connected by communication bus with memory, and realization is preserved in memory to expand The instruction of the transmission method of virtual local area network packet is opened up, further, open flows controller specifically also includes communication interface, by logical Believe interface and other network element devices(Such as open flows switch)Communication.

When processor transfers the instruction in memory, following steps are performed:

The first message of open flows switch transmission and the occurrence of first message are received, first message is institute State open flows switch and receive the message that the first virtual machine is sent, the occurrence of first message is the open flows switch According to the information architecture of first message;

According to the occurrence of first message, the first flow table item corresponding with the occurrence of first message is obtained;

First flow table item is sent to the open flows switch, so that the open flows switch are according to described One flow table item seals up first message expansible VLAN VXLAN encapsulation, and the first message after the encapsulation is sent out Give the second virtual machine;

For example, according to the occurrence of first message, corresponding with the occurrence of first message the is obtained One flow table item, including:

The flow table of the open flows controller is inquired about, if in the presence of the first flow table corresponding with the occurrence of first message , then first flow table item is obtained from the flow table;If in the absence of the occurrence corresponding first with first message Flow table item, then build first flow table item.

Wherein, the type of action that the instruction of first flow table item includes plus VXLAN is encapsulated, described plus VXLAN encapsulation The structure of type of action include the IP address of the VXLAN endpoint of a tunnels VTEP where second virtual machine;Or

The type of action that the instruction of first flow table item includes plus VXLAN is encapsulated, the matching of first flow table item Item includes the IP address of the VXLAN endpoint of a tunnels VTEP where second virtual machine.

In further example, according to the occurrence of first message, the occurrence pair with first message is obtained After the first flow table item answered, including:

Expansible VLAN VXLAN encapsulation is sealed up first message according to first flow table item, will be described The first message after encapsulation is sent to the second virtual machine.

In further example, when processor transfers the instruction in memory, following steps are performed:

The second message of open flows switch transmission and the occurrence of second message are received, second message is institute State open flows switch and receive the message that the second virtual machine is sent, the occurrence of second message is the open flows switch According to the information architecture of second message;

According to the occurrence of second message, the second flow table item corresponding with the occurrence of second message is obtained;

Second flow table item is sent to the open flows switch, so that the open flows switch are according to described Two flow table items unseal expansible VLAN VXLAN to second message and encapsulated, and the second message that the solution is honored as a queen is sent out Give the first virtual machine in the open flow network;

Wherein, according to the occurrence of second message, second corresponding with the occurrence of second message is obtained List item, including:

The flow table of the open flows controller is inquired about, if in the presence of the second flow table corresponding with the occurrence of second message , then second flow table item is obtained from the flow table;If in the absence of the occurrence corresponding second with second message Flow table item, then build second flow table item.

Wherein, the instruction of second flow table item includes the type of action of VXLAN encapsulation.

For example, according to the occurrence of second message, corresponding with the occurrence of second message the is obtained After two flow table items, including:

The VXLAN is unsealed according to second flow table item to second message to encapsulate, second that the solution is honored as a queen Message is sent to the open flows switch.

For example, receive after the second message of open flows switch transmission and the occurrence of second message, wrap Include:

According to where the MAC Address of the second virtual machine included in the information of second message and second virtual machine VTEP IP address, set up the IP address of the MAC Address of second virtual machine and the VTEP where second virtual machine Between corresponding relation.

The embodiment of the present invention is used on the basis of Action type specified in existing OpenFlow agreements, is increased newly Type of action(Plus VXLAN is encapsulated and is gone VXLAN to encapsulate)Or the technological means of new occurrence so that open flows controller root The occurrence sent according to open flows switch is built or determines flow table item corresponding with the occurrence, and flow table item is sent to Open flows switch so that the instruction in the flow table item that open flows switch are sent according to open flows controller adds to the message VXLAN encapsulation or deblocking VXLAN encapsulation are sealed, and transmission seals up the message after VXLAN encapsulation or deblocking VXLAN encapsulation to distal end Virtual machine or native virtual machine;Complete support not to VXLAN in existing OpenFlow procotols can be solved, The caused deployment for being unfavorable for VXLAN in OpenFlow networks, the problem of VXLAN application field is limited;Can be fully sharp With the advantage of existing OpenFlow agreements, on the premise of unified mechanism is kept, the OpenFlow realized is to the complete of VXLAN It is complete to support, the difficulty that VXLAN is disposed in OpenFlow networks is reduced, VXLAN application field has been opened up, has enriched OpenFlow agreements, are conducive to the further development of agreement.

The structural representation of the Transmission system for the expansible virtual local area network packet that Figure 12 provides for another embodiment of the present invention Figure, as shown in figure 12, including:Open flows switch 121 and open flows controller 122;

Open flows switch 121 are the transmitting device of the expansible virtual local area network packet as described in Fig. 8 or Figure 10, in detail Associated description in the transmitting device of expansible virtual local area network packet of the content with reference to described in Fig. 8 or Figure 10;

Open flows controller 122 is the transmitting device of the expansible virtual local area network packet as described in Fig. 9 or Figure 11, in detail Associated description in the transmitting device of expansible virtual local area network packet of the content with reference to described in Fig. 9 or Figure 11.

It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.

The specific descriptions of above example are in the same network segment and same VXLAN based on the first virtual machine and the second virtual machine Situation, for other situations the present invention be still applicable.For example, if the first virtual machine and the second virtual machine are in different segment, Then the first virtual machine will not directly pass through the MAC Address of the virtual machine of ARP request Receive message second, it will obtain first first empty The MAC Address of the IP gateway of plan machine, and the second virtual machine of the present invention is used as using the MAC Address of the IP gateway of the first virtual machine MAC Address.If the first virtual machine is located in non-VXLAN from the second virtual machine in different VXLAN or the second virtual machine, VTEP IP address where the open flows switch and controller will not also directly obtain the second virtual machine, but obtain The IP address of VXLAN gateways, and VTEP IP where using the IP address of VXLAN gateways as the second virtual machine of the present invention Location.In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be by it Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only Only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component 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 Coupling each other or direct-coupling or communication connection can be the INDIRECT COUPLINGs or logical of device or unit by some interfaces Letter connection, can be electrical, machinery or other forms.

The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit 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 invention can be integrated in a processing unit, can also That unit is individually physically present, 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, it would however also be possible to employ hardware adds the form of SFU software functional unit to realize.

The above-mentioned integrated unit realized in the form of SFU software functional unit, can be stored in an embodied on computer readable and deposit In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are to cause a computer Equipment(Can be personal computer, server, or network equipment etc.)Perform the portion of each embodiment methods described of the invention Step by step.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage(Read-Only Memory, referred to as ROM), random access memory(Random Access Memory, abbreviation RAM), magnetic disc or CD etc. are various to store The medium of program code.

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 transmission method of expansible virtual local area network packet, applied in open flow network, it is characterised in that including:
Open flows switch receive the first message that the first virtual machine being located in open flows network is sent, according to the described first report The occurrence of first message described in the information architecture of text;
According to the occurrence of first message, the first flow table item corresponding with the occurrence of first message is obtained;
Expansible VLAN VXLAN encapsulation is sealed up first message according to first flow table item, by the encapsulation The first message afterwards is sent to the second virtual machine;
First virtual machine is located in different open flows switch or different physical machines from second virtual machine;
The type of action that the instruction of first flow table item includes plus VXLAN is encapsulated, the type of action of described plus VXLAN encapsulation Structure include the IP address of the VXLAN endpoint of a tunnels VTEP where second virtual machine;Or
In the type of action that the instruction of first flow table item includes plus VXLAN is encapsulated, the occurrence of first flow table item Include the IP address of the VXLAN endpoint of a tunnels VTEP where second virtual machine.
2. according to the method described in claim 1, it is characterised in that according to the occurrence of first message, obtain with it is described Corresponding first flow table item of occurrence of first message, including:
The open flows switch inquire about the flow table of the open flows switch, however, it is determined that preserved in the flow table and described the Corresponding first flow table item of occurrence of one message, then obtain first flow table item from the flow table, otherwise by described The occurrence of one message and first message is sent to open flows controller, so that the open flows controller is opened to described Flow interchanger and send the first flow table item corresponding with the occurrence of first message.
3. a kind of transmission method of expansible virtual local area network packet, applied in open flow network, it is characterised in that including:
Open flows controller receives the first message of open flows switch transmission and the occurrence of first message, described first Message is that the open flows switch receive the message that the first virtual machine being located in open flows network is sent, first message Occurrence for the open flows switch according to the information architecture of first message;
According to the occurrence of first message, the first flow table item corresponding with the occurrence of first message is obtained;
First flow table item is sent to the open flows switch, so that the open flows switch are according to described first-class List item seals up first message expansible VLAN VXLAN encapsulation, and the first message after the encapsulation is sent to Second virtual machine;
First virtual machine is located in different open flows switch or different physical machines from second virtual machine;
According to the occurrence of first message, the first flow table item corresponding with the occurrence of first message is obtained, including:
The open flows controller inquires about the flow table of the open flows controller, if in the presence of the occurrence pair with first message The first flow table item answered, then obtain first flow table item from the flow table;If being matched in the absence of with first message Corresponding first flow table item of item, then build first flow table item;
The type of action that the instruction of first flow table item includes plus VXLAN is encapsulated, the type of action of described plus VXLAN encapsulation Structure include the IP address of the VXLAN endpoint of a tunnels VTEP where second virtual machine;Or
In the type of action that the instruction of first flow table item includes plus VXLAN is encapsulated, the occurrence of first flow table item Include the IP address of the VXLAN endpoint of a tunnels VTEP where second virtual machine.
4. method according to claim 3, it is characterised in that according to the occurrence of first message, obtain with it is described After corresponding first flow table item of occurrence of first message, including:
The open flows controller seals up expansible VLAN VXLAN according to first flow table item to first message Encapsulation, the second virtual machine is sent to by the first message after the encapsulation.
5. a kind of transmitting device of expansible virtual local area network packet, positioned at open flows switch side, applied to open flow network In, it is characterised in that including:
Module is built, the first message that the first virtual machine being located at for receiving in open flows network is sent, according to described first The occurrence of first message described in the information architecture of message;
Acquisition module, for the occurrence of the first message according to the structure module construction, is obtained and first message Corresponding first flow table item of occurrence;
Package module, the first flow table item for being obtained according to the acquisition module is sealed up first message expansible virtual LAN VXLAN is encapsulated, and the first message after the encapsulation is sent into the second virtual machine;
First virtual machine is located in different open flows switch or different physical machines from second virtual machine;
The type of action that the instruction of first flow table item includes plus VXLAN is encapsulated, the type of action of described plus VXLAN encapsulation Structure include the IP address of the VXLAN endpoint of a tunnels VTEP where second virtual machine;Or
In the type of action that the instruction of first flow table item includes plus VXLAN is encapsulated, the occurrence of first flow table item Include the IP address of the VXLAN endpoint of a tunnels VTEP where second virtual machine.
6. device according to claim 5, it is characterised in that the acquisition module, specifically for inquiring about the open flows The flow table of interchanger, however, it is determined that the first flow table item corresponding with the occurrence of first message is preserved in the flow table, then First flow table item is obtained from the flow table, otherwise the occurrence of first message and first message is sent to Open flows controller, so that the open flows controller sends the occurrence with first message to the open flows switch Corresponding first flow table item.
7. a kind of transmitting device of expansible virtual local area network packet, positioned at open flows controller side, applied to open flow network In, it is characterised in that including:
Receiving module, for receiving the first message of open flows switch transmission and the occurrence of first message, described the One message is that the open flows switch receive the message that the first virtual machine being located in open flows network is sent, first report The occurrence of text is the open flows switch according to the information architecture of first message;
Acquisition module, for the occurrence according to first message, obtains corresponding with the occurrence of first message the One flow table item;
Sending module, for first flow table item to be sent into the open flows switch, so that the open flows switch Expansible VLAN VXLAN encapsulation is sealed up first message according to first flow table item, after the encapsulation First message is sent to the second virtual machine;
First virtual machine is located in different open flows switch or different physical machines from second virtual machine;
The type of action that the instruction of first flow table item includes plus VXLAN is encapsulated, the type of action of described plus VXLAN encapsulation Structure include the IP address of the VXLAN endpoint of a tunnels VTEP where second virtual machine;Or
In the type of action that the instruction of first flow table item includes plus VXLAN is encapsulated, the occurrence of first flow table item Include the IP address of the VXLAN endpoint of a tunnels VTEP where second virtual machine.
8. device according to claim 7, it is characterised in that the acquisition module, specifically for inquiring about the open flows The flow table of controller, if in the presence of the first flow table item corresponding with the occurrence of first message, being obtained from the flow table First flow table item;If in the absence of the first flow table item corresponding with the occurrence of first message, building described first Flow table item.
9. the device according to claim 7 or 8, it is characterised in that also include:
Package module, is sealed for sealing up first message expansible VLAN VXLAN according to first flow table item Dress, the second virtual machine is sent to by the first message after the encapsulation.
10. a kind of Transmission system of expansible virtual local area network packet, applied in open flow network, it is characterised in that including: Open flows switch and open flows controller;
Open flows switch include the transmitting device of the expansible virtual local area network packet as described in claim 5 or 6;
Open flows controller includes the transmitting device of the expansible virtual local area network packet as described in claim any one of 7-9.
CN201210564482.4A 2012-12-24 2012-12-24 The transmission method and device, system of expansible virtual local area network packet CN103888386B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210564482.4A CN103888386B (en) 2012-12-24 2012-12-24 The transmission method and device, system of expansible virtual local area network packet

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210564482.4A CN103888386B (en) 2012-12-24 2012-12-24 The transmission method and device, system of expansible virtual local area network packet
PCT/CN2013/079564 WO2014101394A1 (en) 2012-12-24 2013-07-18 Method, device and system for transmitting message in virtual extensible local area network

Publications (2)

Publication Number Publication Date
CN103888386A CN103888386A (en) 2014-06-25
CN103888386B true CN103888386B (en) 2017-10-17

Family

ID=50957110

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210564482.4A CN103888386B (en) 2012-12-24 2012-12-24 The transmission method and device, system of expansible virtual local area network packet

Country Status (2)

Country Link
CN (1) CN103888386B (en)
WO (1) WO2014101394A1 (en)

Families Citing this family (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104301446B (en) * 2014-08-08 2019-04-09 新华三技术有限公司 A kind of message processing method, switch device and system
CN104158718B (en) * 2014-08-25 2017-06-13 新华三技术有限公司 A kind of message processing method and device
CN104219149B (en) * 2014-08-26 2018-07-13 新华三技术有限公司 A kind of message transmitting method and equipment based on virtual connections
CN104243265B (en) * 2014-09-05 2018-01-05 华为技术有限公司 A kind of gateway control method, apparatus and system based on virtual machine (vm) migration
CN105515992B (en) * 2014-09-26 2019-01-11 新华三技术有限公司 Flow entry processing method and processing device in VXLAN network
CN104320340A (en) * 2014-10-21 2015-01-28 杭州华三通信技术有限公司 Method and device for defining study source MAC address in network by software
CN104283785B (en) * 2014-10-29 2018-11-27 新华三技术有限公司 A kind of method and apparatus of quick processing flow table
CN104486246B (en) * 2014-12-23 2018-05-01 上海斐讯数据通信技术有限公司 A kind of QoS mechanism implementation methods of VXLAN based on SDN frameworks
CN104601409B (en) * 2015-01-30 2018-01-09 新华三技术有限公司 A kind of MTU detection methods and device
CN105991438B (en) * 2015-01-30 2019-10-15 华为技术有限公司 Treating method and apparatus based on data packet in virtual double layer network
CN105991389B (en) * 2015-02-11 2019-04-12 新华三技术有限公司 A kind of retransmission method and device of virtual expansible local network packet
CN106210157B (en) * 2015-04-30 2019-07-23 中国电信股份有限公司 Inhibit method and system, the controller of address resolution protocol message
CN106209636B (en) 2015-05-04 2019-08-02 新华三技术有限公司 Multicast data packet forwarding method and apparatus from VLAN to VXLAN
CN106209648B (en) 2015-05-04 2019-06-14 新华三技术有限公司 Multicast data packet forwarding method and apparatus across virtual expansible local area network
CN106209689B (en) 2015-05-04 2019-06-14 新华三技术有限公司 Multicast data packet forwarding method and apparatus from VXLAN to VLAN
CN105591955B (en) * 2015-10-30 2019-07-09 新华三技术有限公司 A kind of method and apparatus of message transmissions
WO2017080610A1 (en) * 2015-11-13 2017-05-18 Huawei Technologies Co., Ltd. Openflow compliant network with flow expiry extension
CN105471756B (en) * 2015-11-17 2018-11-16 浪潮(北京)电子信息产业有限公司 A kind of data package processing method and device
CN106817316B (en) * 2015-12-02 2020-02-21 华为技术有限公司 Method, device and system for detecting path MTU
CN107404436A (en) * 2016-05-19 2017-11-28 华为技术有限公司 Communication means and device for virtual expansible LAN
CN105939296B (en) * 2016-06-24 2019-11-12 杭州迪普科技股份有限公司 The processing method and processing device of message
CN107566262A (en) * 2016-06-30 2018-01-09 中兴通讯股份有限公司 Message forwarding method and device in virtual expansible LAN VXLAN
CN106888144B (en) * 2017-01-16 2019-11-12 新华三技术有限公司 A kind of message forwarding method and device
CN107517151B (en) * 2017-09-30 2019-06-28 中国联合网络通信集团有限公司 User access method, CPE, OLT, interchanger, vBNG, SDN controller and Metropolitan Area Network (MAN)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102301663A (en) * 2011-07-06 2011-12-28 华为技术有限公司 Message processing method and associated devices
CA2810486A1 (en) * 2010-09-08 2012-03-15 Nec Corporation Switching system, switching control system, and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10623314B2 (en) * 2010-10-15 2020-04-14 Nec Corporation Switch system, and monitoring centralized control method
CN103460666B (en) * 2011-03-29 2017-02-15 日本电气株式会社 Network system and method for acquiring VLAN tag information
CN102594697B (en) * 2012-02-21 2015-07-22 华为技术有限公司 Load balancing method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2810486A1 (en) * 2010-09-08 2012-03-15 Nec Corporation Switching system, switching control system, and storage medium
CN102301663A (en) * 2011-07-06 2011-12-28 华为技术有限公司 Message processing method and associated devices

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
A Management Method of IP Multicast in Overlay Networks using OpenFlow;Yukihiro Nakagawa等;《HotSCN’12 Proceedings of the first workshop on Hot topics in software defined networks》;ACM;20120813;第3.1节第2-3段、第3.2节、第4.1节第1段、第4.3节第1-3段,图2、3、7 *
Network Virtualization Technology to Support Cloud Services;Hideo Kitazume, Takaaki Koyama;《IEICE TRANSACTIONS on Communication》;IEICE;20120801;第E95-B卷(第8期);2530-2536 *

Also Published As

Publication number Publication date
WO2014101394A1 (en) 2014-07-03
CN103888386A (en) 2014-06-25

Similar Documents

Publication Publication Date Title
US10225179B2 (en) Virtual port channel bounce in overlay network
US10116559B2 (en) Operations, administration and management (OAM) in overlay data center environments
US10439843B2 (en) Method and system for virtual and physical network integration
US10142127B2 (en) Methods and systems to offload overlay network packet encapsulation to hardware
US9444642B2 (en) LAN multiplexing apparatus
US10430373B2 (en) Methods and systems to achieve multi-tenancy in RDMA over converged ethernet
US9942095B2 (en) Methods and apparatus for selecting a master virtual processor within a switch fabric element
EP3044914B1 (en) Enhanced network virtualization using metadata in encapsulation header
CN104243318B (en) MAC address learning method and device in VXLAN networks
US9419897B2 (en) Methods and systems for providing multi-tenancy support for Single Root I/O Virtualization
US9300600B2 (en) Virtualized application acceleration infrastructure
US8819267B2 (en) Network virtualization without gateway function
CN105577417B (en) Message forwarding method and device based on VXLAN network
CN103200069B (en) A kind of method and apparatus of Message processing
JP5991424B2 (en) Packet rewriting device, control device, communication system, packet transmission method and program
WO2015062529A1 (en) Packet forwarding in data center network
CN104518940B (en) Realize the method and apparatus to be communicated between NVO3 networks and MPLS network
US8903942B2 (en) Methods and apparatus for forwarding-state transport in a distributed control plane
US9237124B2 (en) Scaling of virtual machine addresses in datacenters
CN105791463B (en) A kind of method and apparatus for realizing virtual machine communication
CN1625176B (en) Realization method of edge to edge pseudo-line simulation protocol
CN105706400B (en) The method and apparatus of grouping are forwarded on network
CN103391256B (en) A kind of base station user face data processing optimization method based on linux system
US8068442B1 (en) Spanning tree protocol synchronization within virtual private networks
CN104380658B (en) Flow classifier, business route flip-flop, the method and system of Message processing

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
GR01 Patent grant
GR01 Patent grant