CN103023827A - Data forwarding method for virtualized data centre and realization equipment of data forwarding method - Google Patents

Data forwarding method for virtualized data centre and realization equipment of data forwarding method Download PDF

Info

Publication number
CN103023827A
CN103023827A CN2012104874087A CN201210487408A CN103023827A CN 103023827 A CN103023827 A CN 103023827A CN 2012104874087 A CN2012104874087 A CN 2012104874087A CN 201210487408 A CN201210487408 A CN 201210487408A CN 103023827 A CN103023827 A CN 103023827A
Authority
CN
China
Prior art keywords
virtual machine
virtual
list item
mac address
arp list
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012104874087A
Other languages
Chinese (zh)
Other versions
CN103023827B (en
Inventor
游君平
郑国良
赵海峰
翟颖颖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201210487408.7A priority Critical patent/CN103023827B/en
Publication of CN103023827A publication Critical patent/CN103023827A/en
Application granted granted Critical
Publication of CN103023827B publication Critical patent/CN103023827B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a data forwarding method for a virtualized data centre and realization equipment of the data forwarding method. The method specifically comprises the following steps of: presetting virtual machine groups, wherein each virtual machine group comprises a plurality of virtual machines and is corresponding to a media access control (MAC) address; receiving the uplink messages from the virtual machines, and looking up virtual ports leading to a three-layer switch according to the virtual local area network (VLAN) and the destination MAC addresses of the uplink messages; replacing the source MAC addresses of the uplink messages by the MAC address of the virtual machine group at which the virtual machines are arranged; and sending the uplink messages to the three-layer switch via the looked-up virtual ports. The method and the realization equipment of the method provided by the invention are used for reducing occupation area of the storage space of hardware entries.

Description

A kind of data forwarding method of Visualized data centre and realization equipment thereof
Technical field
The present invention relates to communication technical field, particularly relate to a kind of technical scheme of data retransmission of Visualized data centre.
Background technology
Along with the continuous growth of enterprise network scale with based on a large amount of deployment of system for cloud computing environment, data center network is more complex significantly also.In data center network, because the quantity sharp increase of required bridge, Intel Virtualization Technology has more increased the complexity of data center network, and has changed the network design mode of data center.
In a station terminal station of data center network, exist software entity, based on this software entity, on a physical server, can allow multi-dummy machine (VM, Virtual Machine) to share same set of hardware system.Each virtual machine links to each other with the physical network card of this physical server by this software entity.Virtual machine can improve the resource utilization of data center network.
Existing virtual machine carries out data interaction by virtual switch (VSwitch, Virtual Switch), and common VSwitch has a plurality of virtual ports (vPort), with the physical network card of difference connecting virtual machine and physical server inside.
At present, VSwitch has realized two layers of function of exchange in physical server inside, particularly, its at internal maintenance the VLAN(VLAN, Virtual Local Area Network)+the transmitting of MAC Address+vPort, wherein, the corresponding vPort of each VM, each VM has medium access control (MAC, Medium Access Control) address separately.
Can realize mutually access between each VM of physical server inside by VSwitch.For example, the implementation procedure of VM1 access VM2 can comprise: VM1 transmission source MAC Address is MAC Address 1, and target MAC (Media Access Control) address is the message of MAC Address 2, and this message can arrive VM2 through two layers of forwarding on VSwitch.
But VM need to be by means of three-tier switch with communicating by letter of external network, and the forwarding of three-tier switch has following characteristics: first packet is transmitted by CPU, sets up simultaneously three layers of list item of exchange chip hardware; Subsequent packet is utilized three layers of list item of hardware to carry out hardware by exchange chip and is transmitted.Three layers of list item of described hardware are for the corresponding relation of network segment address prefix (Prefix) corresponding to the purpose IP address of preserving message, next bar (NextHop), three kinds of list items of address resolution protocol (ARP, Address Resolution Protocol).
With reference to Fig. 1, show a kind of main frame route of prior art three layers of list item of hardware organize schematic diagram, one of them main frame route needs each corresponding Prefix, a Nexthop and ARP list item, the Prefix list item is used for depositing the longest match information of route, indicates route corresponding IP address and mask; The Nexthop list item is used for depositing the corresponding next hop information of route, and Nexthop list item main manifestations on hardware is outbound port and ARP pointer; The ARP list item is mainly used in encapsulating the packaging information of three layers of target MAC (Media Access Control) address that E-Packets (dmac address, destination MAC Address), is generally pointed to by the Nexthop table.
For the communication process of VM and external network is described, with reference to Fig. 2, show the communication link schematic diagram of a kind of VM of prior art and external network, this communication link specifically can comprise VM, VSwitch, physical network card, three-tier switch and external network; The communication process of corresponding VM and external network specifically can comprise:
When VM need to access external network, need to search the upper vPort that leads to three-tier switch of VSwitch according to VLAN and the target MAC (Media Access Control) address of message, message reaches three-tier switch by searching the vPort that obtains through physical network card, by three-tier switch three layers of corresponding messages is forwarded to external network.
When external network need to be accessed certain VM, need to search the three layers of list item of hardware on the three-tier switch, find corresponding ARP list item, one of search procedure is exemplified as: at first find the network address prefix that mates the most with the purpose IP address of message according to longest match principle, find next bar list item by this network address prefix again, find corresponding ARP list item by this next bar list item again; Then forward the packet to VM corresponding to ARP list item, if for example will access VM3, the three layers of list item of hardware that then can search three-tier switch obtain corresponding ARP list item, and the target MAC (Media Access Control) address that encapsulates in this ARP list item is exactly the MAC Address 3 of VM3.
Can find out, in order to realize communicating by letter of VM and external network, need in the prior art three layers of forwarding information of each VM are added into three layers of list item of hardware (Prefix, Nexthop and ARP list item); Use in data center in the situation of a large amount of VM, need especially list item memory space integrated in the exchange chip to add a large amount of hardware table items, this has increased taking of list item memory space undoubtedly, thereby has increased the cost of exchange chip.
Summary of the invention
Technical problem to be solved by this invention provides the communication means of a kind of data processing method for three-tier switch, a kind of data processing method for virtual switch, a kind of three-tier switch, a kind of virtual switch and a kind of virtual machine and external network, to reduce taking of hardware table item memory space.
In order to address the above problem, the invention discloses a kind of data processing method for virtual switch, comprising:
Virtual switch presets virtual machine group; Each virtual machine group comprises a plurality of virtual machines, and the corresponding medium access control MAC Address of each virtual machine group;
Virtual switch receives the uplink message of self virtualizing machine, and searches virtual port towards three-tier switch according to the virtual LAN VLAN of described uplink message and target MAC (Media Access Control) address;
Virtual switch replaces with the source MAC of described uplink message the MAC Address of this virtual machine place virtual machine group;
Virtual switch is sent to three-tier switch by the described virtual port that obtains of searching with described uplink message;
Virtual switch receives the downlink message from three-tier switch;
Virtual switch is searched the corresponding virtual port of purpose virtual machine that obtains described downlink message according to VLAN, target MAC (Media Access Control) address and the purpose IP of described downlink message; Described purpose IP is the IP corresponding to purpose virtual machine of described downlink message;
Virtual switch replaces with the MAC Address of this purpose virtual machine with the target MAC (Media Access Control) address of described downlink message, and described downlink message is sent to the purpose virtual machine of correspondence by searching the virtual port that obtains.
Preferably, obtain as follows MAC Address corresponding to described virtual machine group:
Virtual switch is being when virtual machine disposes MAC Address on the physical server, to reserve several MAC Address;
Virtual switch is selected MAC Address corresponding to described virtual machine group from several MAC Address of described reservation.
On the other hand, the embodiment of the invention also discloses a kind of virtual switch, comprising:
The group preset module is used for presetting virtual machine group; Each virtual machine group comprises a plurality of virtual machines, and the corresponding medium access control MAC Address of each virtual machine group;
First searches module, be used for to receive comes the uplink message of self virtualizing machine, and searches virtual port towards three-tier switch according to the virtual LAN VLAN of described uplink message and target MAC (Media Access Control) address;
Replacement module is for the MAC Address that the source MAC of described uplink message is replaced with this virtual machine place virtual machine group;
The first sending module is used for by the described virtual port that obtains of searching described uplink message being sent to three-tier switch;
Second searches module, is used for when the downlink message that receives from three-tier switch, and VLAN, target MAC (Media Access Control) address and purpose IP according to described downlink message search the corresponding virtual port of purpose virtual machine that obtains described downlink message; Described purpose IP is the IP corresponding to purpose virtual machine of described downlink message;
The second sending module is used for the target MAC (Media Access Control) address of described downlink message is replaced with the MAC Address of this purpose virtual machine, and described downlink message is sent to the purpose virtual machine of correspondence by searching the virtual port that obtains.
Preferably, described virtual switch also comprises: the acquisition module that is used for obtaining MAC Address corresponding to described virtual machine group;
Described acquisition module comprises:
Reserve submodule, being used for is being when virtual machine disposes MAC Address on the physical server, to reserve several MAC Address;
The chooser module is used for several MAC Address from described reservation, selects MAC Address corresponding to described virtual machine group.
On the other hand, the embodiment of the invention also discloses a kind of data processing method for three-tier switch, comprising:
When receiving the message of virtual switch transmission, obtain the ARP list item information by the study of ARP list item information learning process; Include the MAC Address of virtual machine place virtual machine group in the described ARP list item information;
Generating according to described ARP list item information in the process of hardware table item, with the MAC Address of virtual machine place virtual machine group in the described ARP list item information with generated that the ARP list item mates in the hardware table item, if it fails to match, then in the hardware table item that generates, MAC Address encapsulation according to virtual machine place virtual machine group in the described ARP list item information obtains the ARP list item, if the match is successful, then in the hardware table item that generates, share the ARP list item identical with the described hardware table item that the match is successful;
When the downlink message that receives from external network, purpose IP according to described downlink message searches local hardware table item, find ARP list item corresponding to described downlink message, and with the MAC Address of the virtual machine place virtual group that encapsulates in the described ARP list item target MAC (Media Access Control) address as described downlink message, described downlink message is sent to virtual switch.
Preferably, also include outbound port in the described ARP list item information;
Then described method also comprises:
When the match is successful, with outbound port in the described ARP list item information with generated that the NextHop list item mates in the hardware table item, if it fails to match, then in the hardware table item that generates, obtain the NextHop list item according to outbound port encapsulation in the described ARP list item information, if the match is successful, then in the hardware table item that generates, use the NextHop list item identical with the described hardware table item that the match is successful.
On the other hand, the embodiment of the invention also discloses a kind of three-tier switch, comprising:
Study module is used for obtaining the ARP list item information by ARP list item information school procedural learning when receiving the message of virtual switch transmission; Include the MAC Address of virtual machine place virtual machine group in the described ARP list item information;
The hardware table item generation module, be used in the process that generates hardware table item according to described ARP list item information, with the MAC Address of virtual machine place virtual machine group in the described ARP list item information with generated that the ARP list item mates in the hardware table item, if it fails to match, then in the hardware table item that generates, MAC Address encapsulation according to virtual machine place virtual machine group in the described ARP list item information obtains the ARP list item, if the match is successful, then in the hardware table item that generates, share the ARP list item identical with the described hardware table item that the match is successful;
The downlink message processing module, be used for when the downlink message that receives from external network, purpose IP according to described downlink message searches local hardware table item, find ARP list item corresponding to described downlink message, and with the MAC Address of the virtual machine place virtual group that encapsulates in the described ARP list item target MAC (Media Access Control) address as described downlink message, described downlink message is sent to virtual switch.
Preferably, also include outbound port in the described ARP list item information;
Then described hardware generation module also is used for, when the match is successful, with outbound port in the described ARP list item information with generated that the NextHop list item mates in the hardware table item, if it fails to match, then in the hardware table item that generates, obtain the NextHop list item according to outbound port encapsulation in the described ARP list item information, if the match is successful, then in the hardware table item that generates, use the NextHop list item identical with the described hardware table item that the match is successful.
On the other hand, the embodiment of the invention also discloses the communication means of a kind of virtual machine and external network, comprising:
Virtual switch receives the uplink message of self virtualizing machine, and searches virtual port towards three-tier switch according to the virtual LAN VLAN of described uplink message and purpose medium access control MAC Address;
Virtual switch replaces with the source MAC of described uplink message the MAC Address of this virtual machine place virtual machine group;
Virtual switch is sent to three-tier switch by the described virtual port that obtains of searching with described uplink message;
Three-tier switch is forwarded to external network with three layers of described uplink messages.
On the other hand, the embodiment of the invention also discloses the communication means of a kind of virtual machine and external network, comprising:
Three-tier switch receives the downlink message from external network;
Three-tier switch is searched local hardware table item according to the purpose IP of described downlink message, find ARP list item corresponding to described downlink message, and with the MAC Address of the virtual machine place virtual group that encapsulates in the described ARP list item target MAC (Media Access Control) address as described downlink message;
Three-tier switch is sent to virtual switch with described downlink message;
Virtual switch is searched the corresponding virtual port of purpose virtual machine that obtains described downlink message according to VLAN, target MAC (Media Access Control) address and the purpose IP of described downlink message; Described purpose IP is the IP corresponding to purpose virtual machine of described downlink message;
Virtual switch replaces with the MAC Address of this purpose virtual machine with the target MAC (Media Access Control) address of described downlink message, and described downlink message is sent to the purpose virtual machine of correspondence by searching the virtual port that obtains.
Compared with prior art, the present invention has the following advantages:
At first, the present invention is by presetting virtual machine group, obtains the many-one relationship between the MAC Address of virtual machine in the MAC Address of virtual machine group and the virtual machine group, and, reduce taking three-tier switch side ARP resource by improving forwarding process; Simultaneously, by improving the product process of hardware table item, a plurality of virtual machines in the hardware table item of three-tier switch side in the same virtual machine of the realization group share the ARP list item; Therefore, take the memory space of a ARP list item with respect to virtual machine in the prior art, a plurality of virtual machines take the situation of the memory space of many parts of ARP list items, the present invention can realize that a plurality of virtual machines share the memory space of a ARP list item, therefore can reduce the shared list item memory space of ARP list item in the exchange chip; Thereby can reduce the cost of exchange chip.
Secondly, because Nexthop list item main manifestations on hardware is outbound port and ARP pointer or ARP index, and a plurality of virtual machines in the same virtual machine group are physically corresponding to the same outbound port of three-tier switch, and a plurality of virtual machines in same virtual machine group share, and corresponding ARP pointer also is identical in the situation of ARP list item; Like this, in hardware table item, a plurality of virtual machines in the same virtual machine of the present invention group can also share the Nexthop list item; Because a plurality of virtual machines are the memory spaces that take many parts of Nexthop list items in the prior art, therefore, the a plurality of virtual machines of the present invention share the memory space of a Nexthop list item, can reduce the shared list item memory space of Nexthop list item in the exchange chip, further reduce taking of list item memory space, thereby can further reduce the cost of exchange chip.
Description of drawings
Fig. 1 be a kind of main frame route of prior art three layers of list item of hardware organize schematic diagram;
Fig. 2 is the communication link schematic diagram of a kind of VM of prior art and external network;
Fig. 3 is the flow chart of a kind of data processing method embodiment for virtual switch of the present invention;
Fig. 4 is the flow chart of the communication means embodiment 1 of a kind of virtual machine of the present invention and external network;
Fig. 5 is the flow chart of the communication means embodiment 2 of a kind of virtual machine of the present invention and external network;
Fig. 6 is the flow chart of the generation embodiment of the method 1 of a kind of hardware table item of the present invention;
Fig. 7 is the flow chart of the generation embodiment of the method 2 of a kind of hardware table item of the present invention;
Fig. 8 is the flow chart of a kind of data processing method embodiment for three-tier switch of the present invention;
Fig. 9 is the structure chart of a kind of virtual switch embodiment of the present invention;
Figure 10 is the structure chart of a kind of three-tier switch embodiment of the present invention.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
In the prior art, there is one to one relation in the hardware table item between ARP list item and the virtual machine, also be, a virtual machine takies the memory space of a ARP list item, a plurality of virtual machines take the memory space of many parts of ARP list items, mainly comprise the packaging information of three layers of target MAC (Media Access Control) address that E-Packets in the ARP list item.The present invention the virtual switch pusher side by the MAC Address that presets virtual machine group and obtain virtual machine group and virtual machine group in many-one relationship between the MAC Address of virtual machine, and, reduce taking three-tier switch side ARP resource by improving forwarding process; Simultaneously, by improving the product process of hardware table item, a plurality of virtual machines in the hardware table item of three-tier switch side in the same virtual machine of the realization group share the ARP list item; Therefore, take the situation of the memory space of a ARP list item with respect to virtual machine in the prior art, the present invention can realize that a plurality of virtual machines share the memory space of a ARP list item, therefore can reduce the shared list item memory space of ARP list item in the exchange chip; Thereby can reduce the cost of exchange chip.
With reference to Fig. 3, show the flow chart of a kind of data processing method embodiment for virtual switch of the present invention, specifically can comprise:
Step 301, virtual switch preset virtual machine group; Each virtual machine group specifically can comprise a plurality of virtual machines, and the corresponding MAC Address of each virtual machine group;
In specific implementation, the number of virtual machine can be more than or equal to 2 in virtual machine group.Be appreciated that those skilled in the art can arrange the number of virtual machine in the virtual machine group according to actual needs; In addition, can be according to actual needs all virtual machines on the physical server be divided into virtual machine group more than 1 or 1; And when the virtual machine group that exists more than 1, the number of virtual machine can be identical or different in each virtual machine group; The present invention is not limited the concrete number of virtual machine in the concrete number of virtual machine group on the physical server and the virtual machine group.
In actual applications, MAC Address corresponding to described virtual machine group can be obtained by configuration by those skilled in the art.
For example, in a preferred embodiment of the present invention, can be by obtaining as follows MAC Address corresponding to described virtual machine group:
Step S101, being on the physical server during virtual machine configuration MAC Address, reserve several MAC Address;
Step S102, from several MAC Address of described reservation, select MAC Address corresponding to described virtual machine group.
As long as be appreciated that the condition that the MAC Address corresponding to MAC Address and virtual machine group that can satisfy existing virtual machine do not conflicted, the present invention is not limited the concrete grammar of MAC Address corresponding to the described virtual machine of concrete configuration group.
Step 302, virtual switch receive the uplink message of self virtualizing machine, and search virtual port towards three-tier switch according to the VLAN of described uplink message and target MAC (Media Access Control) address;
Step 303, virtual switch replace with the source MAC of described uplink message the MAC Address of this virtual machine place virtual machine group;
Step 304, virtual switch are sent to three-tier switch by the described virtual port that obtains of searching with described uplink message;
Step 305, virtual switch receive the downlink message from three-tier switch;
VLAN, target MAC (Media Access Control) address and the purpose IP of step 306, the described downlink message of virtual switch foundation search the corresponding virtual port of purpose virtual machine that obtains described downlink message; Described purpose IP is the IP corresponding to purpose virtual machine of described downlink message;
Step 307, virtual switch replace with the MAC Address of this purpose virtual machine with the target MAC (Media Access Control) address of described downlink message, and described downlink message are sent to the purpose virtual machine of correspondence by searching the virtual port that obtains.
In the embodiment of the invention, uplink message, downlink message are used for the communication message between expression virtual machine and the external network, wherein, uplink message is used for the message that the expression virtual machine sends to external network, and downlink message is used for the message that the expression external network sends to virtual machine.
The handling process of uplink message when step 302-step 304 is mainly used in VM access external network is described.The present invention is step 303 with respect to one of difference of prior art, the specific implementation process of step 303 can for: VSwitch before sending message to the outside, the MAC Address that the source MAC from the message of VM is replaced with VM place virtual machine group gets final product.The communication process that is appreciated that communication means embodiment 1 shown in Figure 3 can be used as the foundation that study obtains the ARP list item information.
The handling process of downlink message when step 305-step 307 is mainly used in visiting from outside VM is described.The present invention is step 306 and step 307 with respect to one of difference of prior art.
Step 306 is embodied in the search procedure difference of the corresponding virtual port of purpose virtual machine of message.Now step 306 is elaborated:
The corresponding vPort's of purpose VM that searches message according to VLAN and the target MAC (Media Access Control) address of message in the prior art, but, the target MAC (Media Access Control) address of message is the MAC Address of the purpose VM place virtual group of message among the present invention, but not the MAC Address of the purpose VM of message itself, so prior art can't be searched the corresponding vPort of the purpose VM that obtains message according to VLAN and the target MAC (Media Access Control) address of message;
Among the present invention, the concrete different IP address of each VM in the virtual group, namely can come each VM difference in the virtual group in the IP address; So, according to VLAN, target MAC (Media Access Control) address and the purpose IP of described message, search the corresponding virtual port of purpose virtual machine of described message.
Step 307 is embodied in before sending downlink message, this purpose virtual machine the target MAC (Media Access Control) address of described downlink message replaced with the MAC Address of this purpose virtual machine, so that can be issued oneself according to the described downlink messages of validation of information such as purpose IP, purpose MAC of described downlink message.
Need to prove that VLAN can carry in the embodiment of the invention in message, also can dispose on the attribute of port; In addition, source MAC, target MAC (Media Access Control) address, purpose IP can carry in message, and the embodiment of the invention is not limited the obtain manner of concrete VLAN, source MAC, target MAC (Media Access Control) address, purpose IP.
A virtual machine takies a ARP list item in the prior art, and a plurality of virtual machines share a ARP list item among the present invention, and it also is different from the communication plan of external network that the difference of described ARP list item resource occupation causes virtual machine, and the below is described in detail.
With reference to Fig. 4, show the flow chart of the communication means embodiment 1 of a kind of virtual machine of the present invention and external network, specifically can comprise:
Step 401, virtual switch receive the uplink message of self virtualizing machine, and search virtual port towards physical network card according to the VLAN of described uplink message and target MAC (Media Access Control) address;
Step 402, virtual switch replace with the source MAC of described uplink message the MAC Address of this virtual machine place virtual machine group;
Step 403, virtual switch are sent to three-tier switch by the described virtual port that obtains of searching with described uplink message;
Step 404, three-tier switch are forwarded to external network with three layers of described uplink messages.
What communication means embodiment 1 described is the situation of VM access external network, is appreciated that the communication process of communication means embodiment 1 shown in Figure 4 can be used as the foundation that study obtains the ARP list item.
With reference to Fig. 5, show the flow chart of the communication means embodiment 2 of a kind of virtual machine of the present invention and external network, specifically can comprise:
Step 501, three-tier switch receive the downlink message from external network;
The purpose IP of step 502, the described downlink message of three-tier switch searches local hardware table item, find ARP list item corresponding to described downlink message, and with the MAC Address of the virtual machine place virtual group that encapsulates in the described ARP list item target MAC (Media Access Control) address as described message;
Step 503, three-tier switch are sent to virtual switch with described downlink message;
VLAN, target MAC (Media Access Control) address and the purpose IP of step 504, the described downlink message of virtual switch foundation search the corresponding virtual port of purpose virtual machine that obtains described downlink message; Described purpose IP is the IP corresponding to purpose virtual machine of described downlink message;
Step 505, virtual switch replace with the MAC Address of this purpose virtual machine with the target MAC (Media Access Control) address of described downlink message, and described downlink message are sent to the purpose virtual machine of correspondence by searching the virtual port that obtains.
What communication means embodiment 2 described is the situation of visiting from outside VM, and the present invention be step 502 and step 504 with respect to one of difference of prior art, and wherein, the difference of step 502 is embodied in the content difference that encapsulates in the ARP list item; The difference of step 504 is embodied in the search procedure difference of the corresponding virtual port of purpose virtual machine of message.
Take three layers of list item of hardware as example, one of search procedure is exemplified as in the step 502: at first find the network address prefix that mates the most with the purpose IP address of message according to longest match principle, find next bar list item by this network address prefix again, find corresponding ARP list item by this next bar list item again.If for example will access VM3, the three layers of list item of hardware that then can search three-tier switch obtain corresponding ARP list item, and the target MAC (Media Access Control) address that encapsulates in this ARP list item is exactly the MAC Address 3 of VM3.
The communication process that is appreciated that communication means embodiment 2 shown in Figure 5 can be used as the foundation that study obtains the ARP list item.
With reference to Fig. 6, show the flow chart of the generation embodiment of the method 1 of a kind of hardware table item of the present invention, specifically can comprise:
Step 601, when receiving the message that virtual switch sends, obtain the ARP list item information by the study of ARP list item information learning process; Specifically can include the MAC Address of virtual machine place virtual machine group in the described ARP list item information;
Step 602, generating according to described ARP list item information in the process of hardware table item, with the MAC Address of virtual machine place virtual machine group in the described ARP list item information with generated that the ARP list item mates in the hardware table item, if it fails to match, then in the hardware table item that generates, MAC Address encapsulation according to virtual machine place virtual machine group in the described ARP list item information obtains the ARP list item, if the match is successful, then in the hardware table item that generates, share the ARP list item identical with the described hardware table item that the match is successful.
The present invention can be used for the generation of three-tier switch side hardware table item, wherein, hardware table item of the present invention can show as the form (Prefix, Nexthop and ARP list item) of three layers of list item of hardware, also can show as the form (Prefix and Nexthop list item, Nexthop list item are used for preserving Nexthop list item and ARP list item) of two layers of list item of hardware.
Need to prove, following features according to the forwarding of three-tier switch: first packet is transmitted by CPU, set up simultaneously three layers of list item of exchange chip hardware, can learn, ARP list item information of the present invention can obtain according to the first communication process study of VM and external network.Need to prove, because step 402 virtual switch replaces with the MAC Address of this virtual machine place virtual machine group with the source MAC of described uplink message, can include the MAC Address of virtual machine place virtual machine group in the ARP list item information that the present invention's study obtains.Because the first communication process study according to VM and external network obtains the category that the ARP list item information belongs to prior art, and therefore not to repeat here.
The present invention is generating according to described ARP list item information in the process of hardware table item, by the MAC Address of virtual machine place virtual machine group in the ARP list item information and the coupling that generates ARP list item in the hardware table item, share the ARP list item with a plurality of virtual machines in the same virtual machine of the realization group in the hardware table item of three-tier switch side.
Because hardware table item need to be added in the list item memory space integrated in the exchange chip usually, so the present invention can reduce the shared list item memory space of ARP list item in the exchange chip; Thereby can reduce the cost of exchange chip.
Provide the described ARP list item information of a kind of foundation to generate the example of hardware table item at this:
Suppose that three-tier switch receives the uplink message from VM1 and VM2, because VM1 and VM2 belong to same virtual machine group, and virtual switch replaces with the source MAC of uplink message the MAC Address of virtual machine place virtual machine group in repeating process, and the MAC Address from the uplink message of VM1 and VM2 that three-tier switch receives is identical (being assumed to be 00e0-fc01-0003);
With reference to table 1, show the example of the ARP list item information of the VM1 of a kind of generation of the present invention and VM2.
Table 1
The IP address MAC Address VLAN ID Outbound port
192.168.1.1 00e0-fc01-0003 10 Eth1/1
192.168.1.2 00e0-fc01-0003 10 Eth1/1
Then when foundation article one ARP list item information generates hardware table item, at first with MAC Address in article one ARP list item information with generated that the ARP list item mates in the hardware table item, find that it fails to match, so, in the hardware table item that generates, MAC Address encapsulation according to virtual machine place virtual machine group in the described ARP list item information obtains the ARP list item, obtains three layers of list item of following hardware (Prefix, Nexthop and ARP list item):
---192.168.1.1/32 nexthop1 (port=eth1/1, arpindex3)---à 00e0-fc01-0003 (arp3); Here, port represents outbound port, and arpindex3 represents the index of ARP list item;
When foundation second ARP list item information generates hardware table item, at first with MAC Address in the second ARP list item information with generated that the ARP list item mates in the hardware table item, find that the match is successful, so, in the hardware table item that generates, use the ARP list item identical with the described hardware table item that the match is successful, specifically can obtain three layers of list item of following hardware (Prefix, Nexthop and ARP list item):
192.168.1.2/32 ---nexthop2 (port=eth1/1,arpindex3)----à00e0-fc01-0003(arp3)
With reference to table 2, show the example of the hardware table item that a kind of first communication process study according to VM and external network of the present invention obtains, this example relates to VMx(1≤x≤5) MAC Address be 0000-0000-000x, IP is 1.1.1.x, and the MAC Address of virtual machine group is 0000-0000-0006 under the VM1-VM5;
Three layers of list item of virtual machine wherein specifically can comprise: Prefix list item, Nexthop list item and ARP list item, virtual machine one row wherein are in order to identify the sign of three layers of list item of every row virtual machine, and are not understood to the category of three layers of list item of virtual machine;
In the table 2, VM1-VM5 belongs to identical virtual machine group, so share with a ARP list item: Arp-Share(0000-0000-0006), therefore take a ARP list item with respect to virtual machine in the prior art, a plurality of virtual machines take the situation of many parts of ARP list items, a plurality of virtual machines share a ARP list item among the present invention, obviously can reduce the shared list item memory space of ARP list item in the exchange chip; Thereby can reduce the cost of exchange chip.
Table 2
Virtual machine The Prefix list item The Nexthop list item The ARP list item
VM1 1.1.1.1/32 Nexthop1 Arp-Share
VM2 1.1.1.2/32 Nexthop2 Arp-Share
VM3 1.1.1.3/32 Nexthop3 Arp-Share
VM4 1.1.1.4/32 Nexthop4 Arp-Share
VM5 1.1.1.5/32 Nexthop5 Arp-Share
With reference to Fig. 7, show the flow chart of the generation embodiment of the method 2 of a kind of hardware table item of the present invention, specifically can comprise:
Step 701, when receiving the message that virtual switch sends, obtain the ARP list item information by the study of ARP list item information learning process; Specifically can include MAC Address and the outbound port of virtual machine place virtual machine group in the described ARP list item information;
Step 702, generating according to described ARP list item information in the process of hardware table item, with the MAC Address of virtual machine place virtual machine group in the described ARP list item information with generated that the ARP list item mates in the hardware table item, if it fails to match, then in the hardware table item that generates, MAC Address encapsulation according to virtual machine place virtual machine group in the described ARP list item information obtains the ARP list item, if the match is successful, then in the hardware table item that generates, share the ARP list item identical with the described hardware table item that the match is successful, and execution in step 703;
Step 703, when the match is successful, with outbound port in the described ARP list item information with generated that the NextHop list item mates in the hardware table item, if it fails to match, then in the hardware table item that generates, obtain the NextHop list item according to outbound port encapsulation in the described ARP list item information, if the match is successful, then in the hardware table item that generates, use the NextHop list item identical with the described hardware table item that the match is successful.
Nexthop list item main manifestations on hardware is outbound port and ARP pointer (or ARP index), and a plurality of virtual machines in the same virtual machine group are physically corresponding to the same outbound port of three-tier switch, and a plurality of virtual machines in same virtual machine group share, and corresponding ARP pointer also is identical in the situation of ARP list item; Like this, in hardware table item, a plurality of virtual machines in the same virtual machine group can also share the Nexthop list item; Because a virtual machine takies a Nexthop list item in the prior art, a plurality of virtual machines take many parts of Nexthop list items, therefore, the a plurality of virtual machines of the present invention share a Nexthop list item, can reduce the shared list item memory space of Nexthop list item in the exchange chip, further reduce taking of list item memory space, thereby can further reduce the cost of exchange chip.
In actual applications, can be when generating the ARP list item, automatically generate the Nexthop list item that a plurality of virtual machines in the same virtual machine group share in the hardware table item, owing to automatically generating the category that the Nexthop list item belongs to prior art according to the ARP list item, and therefore not to repeat here.
With reference to table 3, show the example of the hardware table item that a kind of first communication process study according to VM and external network of the present invention obtains, this example relates to VMx(1≤x≤5) MAC Address be 0000-0000-000x, IP is 1.1.1.x, the MAC Address of virtual machine group is 0000-0000-0006 under the VM1-VM5, the Nexthop list item of virtual machine group represents with Nexthop-Share under the VM1-VM5, also is that Nexthop-Share is used to a Nexthop list item that represents that VM1-VM5 shares;
Three layers of list item of virtual machine wherein specifically can comprise: Prefix list item, Nexthop list item and ARP list item, virtual machine one row wherein are in order to identify the sign of three layers of list item of every row virtual machine, and are not understood to the category of three layers of list item of virtual machine;
In the table 3, VM1-VM5 belongs to identical virtual machine group, so share a ARP list item: Arp-Share(0000-0000-0006) with Nexthop list item: Nexthop-Share, therefore take the situation of many parts of ARP list items and many parts of Nexthop list items with respect to a plurality of virtual machines in the prior art, a plurality of virtual machines share a ARP list item and Nexthop list item among the present invention, obviously can reduce ARP list item and the shared list item memory space of Nexthop list item in the exchange chip; Thereby can reduce the cost of exchange chip.
Table 3
Virtual machine The Prefix list item The Nexthop list item The Arp list item
VM1 1.1.1.1/32 Nexthop-Share Arp-Share
VM2 1.1.1.2/32 Nexthop-Share Arp-Share
VM3 1.1.1.3/32 Nexthop-Share Arp-Share
VM4 1.1.1.4/32 Nexthop-Share Arp-Share
VM5 1.1.1.5/32 Nexthop-Share Arp-Share
With reference to Fig. 8, show the flow chart of a kind of data processing method embodiment for three-tier switch of the present invention, specifically can comprise:
Step 801, when receiving the message that virtual switch sends, obtain the ARP list item information by the study of ARP list item information learning process; Specifically can include the MAC Address of virtual machine place virtual machine group in the described ARP list item information;
Step 802, generating according to described ARP list item information in the process of hardware table item, with the MAC Address of virtual machine place virtual machine group in the described ARP list item information with generated that the ARP list item mates in the hardware table item, if it fails to match, then in the hardware table item that generates, MAC Address encapsulation according to virtual machine place virtual machine group in the described ARP list item information obtains the ARP list item, if the match is successful, then in the hardware table item that generates, share the ARP list item identical with the described hardware table item that the match is successful;
Step 803, three-tier switch are when the downlink message that receives from external network, purpose IP according to described downlink message searches local hardware table item, find ARP list item corresponding to described downlink message, and with the MAC Address of the virtual machine place virtual group that encapsulates in the described ARP list item target MAC (Media Access Control) address as described downlink message, described downlink message is sent to virtual switch.
The handling process of downlink message when step 803 is mainly used in visiting from outside VM is described.
In a preferred embodiment of the present invention, can also include outbound port in the described ARP list item information;
Then described method can also comprise:
When the match is successful, with outbound port in the described ARP list item information with generated that the NextHop list item mates in the hardware table item, if it fails to match, then in the hardware table item that generates, obtain the NextHop list item according to outbound port encapsulation in the described ARP list item information, if the match is successful, then in the hardware table item that generates, use the NextHop list item identical with the described hardware table item that the match is successful.
With reference to Fig. 9, show the structure chart of a kind of virtual switch embodiment of the present invention, specifically can comprise:
Group preset module 901 is used for presetting virtual machine group; Each virtual machine group specifically can comprise a plurality of virtual machines, and the corresponding MAC Address of each virtual machine group;
First searches module 902, be used for to receive comes the uplink message of self virtualizing machine, and searches virtual port towards three-tier switch according to the VLAN of described uplink message and target MAC (Media Access Control) address;
Replacement module 903 is for the MAC Address that the source MAC of described uplink message is replaced with this virtual machine place virtual machine group;
The first sending module 904 is used for by the described virtual port that obtains of searching described uplink message being sent to three-tier switch;
Second searches module 905, is used for when the downlink message that receives from three-tier switch, and VLAN, target MAC (Media Access Control) address and purpose IP according to described downlink message search the corresponding virtual port of purpose virtual machine that obtains described downlink message; Wherein, described purpose IP is the IP corresponding to purpose virtual machine of described downlink message;
The second sending module 906 is used for the target MAC (Media Access Control) address of described downlink message is replaced with the MAC Address of this purpose virtual machine, and described downlink message is sent to the purpose virtual machine of correspondence by searching the virtual port that obtains.
In a preferred embodiment of the present invention, the number of virtual machine is more than or equal to 2 in the described virtual machine group.
In another kind of preferred embodiment of the present invention, described virtual switch can also comprise: the acquisition module that is used for obtaining MAC Address corresponding to described virtual machine group;
Described acquisition module specifically can comprise:
Reserve submodule, being used for is being when virtual machine disposes MAC Address on the physical server, to reserve several MAC Address;
The chooser module is used for several MAC Address from described reservation, selects MAC Address corresponding to described virtual machine group.
With reference to Figure 10, show the structure chart of a kind of three-tier switch embodiment of the present invention, specifically can comprise:
Study module 1001 is used for obtaining the ARP list item information by ARP list item information school procedural learning when receiving the message of virtual switch transmission; Specifically can include the MAC Address of virtual machine place virtual machine group in the described ARP list item information;
Hardware table item generation module 1002, be used in the process that generates hardware table item according to described ARP list item information, with the MAC Address of virtual machine place virtual machine group in the described ARP list item information with generated that the ARP list item mates in the hardware table item, if it fails to match, then in the hardware table item that generates, MAC Address encapsulation according to virtual machine place virtual machine group in the described ARP list item information obtains the ARP list item, if the match is successful, then in the hardware table item that generates, share the ARP list item identical with the described hardware table item that the match is successful;
Downlink message processing module 1003, be used for when the downlink message that receives from external network, purpose IP according to described downlink message searches local hardware table item, find ARP list item corresponding to described downlink message, and with the MAC Address of the virtual machine place virtual group that encapsulates in the described ARP list item target MAC (Media Access Control) address as described downlink message, described downlink message is sent to virtual switch.
In a preferred embodiment of the present invention, can also include outbound port in the described ARP list item information;
Then described hardware generation module also can be used for, when the match is successful, with outbound port in the described ARP list item information with generated that the NextHop list item mates in the hardware table item, if it fails to match, then in the hardware table item that generates, obtain the NextHop list item according to outbound port encapsulation in the described ARP list item information, if the match is successful, then in the hardware table item that generates, use the NextHop list item identical with the described hardware table item that the match is successful.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed is and the difference of other embodiment that identical similar part is mutually referring to getting final product between each embodiment.For device embodiment because itself and embodiment of the method basic simlarity, so describe fairly simple, relevant part gets final product referring to the part explanation of embodiment of the method.
Those skilled in the art should understand that embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, complete implement software example or in conjunction with the form of the embodiment of software and hardware aspect.And the present invention can adopt the form of the computer program of implementing in one or more computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) that wherein include computer usable program code.
The present invention is that reference is described according to flow chart and/or the block diagram of method, equipment (system) and the computer program of the embodiment of the invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block diagram and/or square frame and flow chart and/or the block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device producing a machine, so that the instruction of carrying out by the processor of computer or other programmable data processing device produces the device of the function that is used for being implemented in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, so that the instruction that is stored in this computer-readable memory produces the manufacture that comprises command device, this command device is implemented in the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded on computer or other programmable data processing device, so that carry out the sequence of operations step producing computer implemented processing at computer or other programmable devices, thereby be provided for being implemented in the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame in the instruction that computer or other programmable devices are carried out.
Although described the preferred embodiments of the present invention, in a single day those skilled in the art get the basic creative concept of cicada, then can make other change and modification to these embodiment.So claims are intended to all changes and the modification that are interpreted as comprising preferred embodiment and fall into the scope of the invention.
More than to the communication means of a kind of data processing method for three-tier switch provided by the present invention, a kind of data processing method for virtual switch, a kind of three-tier switch, a kind of virtual switch and a kind of virtual machine and external network, be described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. a data processing method that is used for virtual switch is characterized in that, comprising:
Virtual switch presets virtual machine group; Each virtual machine group comprises a plurality of virtual machines, and the corresponding medium access control MAC Address of each virtual machine group;
Virtual switch receives the uplink message of self virtualizing machine, and searches virtual port towards three-tier switch according to the virtual LAN VLAN of described uplink message and target MAC (Media Access Control) address;
Virtual switch replaces with the source MAC of described uplink message the MAC Address of this virtual machine place virtual machine group;
Virtual switch is sent to three-tier switch by the described virtual port that obtains of searching with described uplink message;
Virtual switch receives the downlink message from three-tier switch;
Virtual switch is searched the corresponding virtual port of purpose virtual machine that obtains described downlink message according to VLAN, target MAC (Media Access Control) address and the purpose IP of described downlink message; Described purpose IP is the IP corresponding to purpose virtual machine of described downlink message;
Virtual switch replaces with the MAC Address of this purpose virtual machine with the target MAC (Media Access Control) address of described downlink message, and described downlink message is sent to the purpose virtual machine of correspondence by searching the virtual port that obtains.
2. the method for claim 1 is characterized in that, obtains as follows MAC Address corresponding to described virtual machine group:
Virtual switch is being when virtual machine disposes MAC Address on the physical server, to reserve several MAC Address;
Virtual switch is selected MAC Address corresponding to described virtual machine group from several MAC Address of described reservation.
3. a virtual switch is characterized in that, comprising:
The group preset module is used for presetting virtual machine group; Each virtual machine group comprises a plurality of virtual machines, and the corresponding medium access control MAC Address of each virtual machine group;
First searches module, be used for to receive comes the uplink message of self virtualizing machine, and searches virtual port towards three-tier switch according to the virtual LAN VLAN of described uplink message and target MAC (Media Access Control) address;
Replacement module is for the MAC Address that the source MAC of described uplink message is replaced with this virtual machine place virtual machine group;
The first sending module is used for by the described virtual port that obtains of searching described uplink message being sent to three-tier switch;
Second searches module, is used for when the downlink message that receives from three-tier switch, and VLAN, target MAC (Media Access Control) address and purpose IP according to described downlink message search the corresponding virtual port of purpose virtual machine that obtains described downlink message; Described purpose IP is the IP corresponding to purpose virtual machine of described downlink message;
The second sending module is used for the target MAC (Media Access Control) address of described downlink message is replaced with the MAC Address of this purpose virtual machine, and described downlink message is sent to the purpose virtual machine of correspondence by searching the virtual port that obtains.
4. virtual switch as claimed in claim 3 is characterized in that, also comprises: the acquisition module that is used for obtaining MAC Address corresponding to described virtual machine group;
Described acquisition module comprises:
Reserve submodule, being used for is being when virtual machine disposes MAC Address on the physical server, to reserve several MAC Address;
The chooser module is used for several MAC Address from described reservation, selects MAC Address corresponding to described virtual machine group.
5. a data processing method that is used for three-tier switch is characterized in that, comprising:
When receiving the message of virtual switch transmission, obtain the ARP list item information by the study of ARP list item information learning process; Include the MAC Address of virtual machine place virtual machine group in the described ARP list item information;
Generating according to described ARP list item information in the process of hardware table item, with the MAC Address of virtual machine place virtual machine group in the described ARP list item information with generated that the ARP list item mates in the hardware table item, if it fails to match, then in the hardware table item that generates, MAC Address encapsulation according to virtual machine place virtual machine group in the described ARP list item information obtains the ARP list item, if the match is successful, then in the hardware table item that generates, share the ARP list item identical with the described hardware table item that the match is successful;
When the downlink message that receives from external network, purpose IP according to described downlink message searches local hardware table item, find ARP list item corresponding to described downlink message, and with the MAC Address of the virtual machine place virtual group that encapsulates in the described ARP list item target MAC (Media Access Control) address as described downlink message, described downlink message is sent to virtual switch.
6. method as claimed in claim 5 is characterized in that, also includes outbound port in the described ARP list item information;
Then described method also comprises:
When the match is successful, with outbound port in the described ARP list item information with generated that the NextHop list item mates in the hardware table item, if it fails to match, then in the hardware table item that generates, obtain the NextHop list item according to outbound port encapsulation in the described ARP list item information, if the match is successful, then in the hardware table item that generates, use the NextHop list item identical with the described hardware table item that the match is successful.
7. a three-tier switch is characterized in that, comprising:
Study module is used for obtaining the ARP list item information by ARP list item information school procedural learning when receiving the message of virtual switch transmission; Include the MAC Address of virtual machine place virtual machine group in the described ARP list item information;
The hardware table item generation module, be used in the process that generates hardware table item according to described ARP list item information, with the MAC Address of virtual machine place virtual machine group in the described ARP list item information with generated that the ARP list item mates in the hardware table item, if it fails to match, then in the hardware table item that generates, MAC Address encapsulation according to virtual machine place virtual machine group in the described ARP list item information obtains the ARP list item, if the match is successful, then in the hardware table item that generates, share the ARP list item identical with the described hardware table item that the match is successful;
The downlink message processing module, be used for when the downlink message that receives from external network, purpose IP according to described downlink message searches local hardware table item, find ARP list item corresponding to described downlink message, and with the MAC Address of the virtual machine place virtual group that encapsulates in the described ARP list item target MAC (Media Access Control) address as described downlink message, described downlink message is sent to virtual switch.
8. three-tier switch as claimed in claim 7 is characterized in that, also includes outbound port in the described ARP list item information;
Then described hardware generation module also is used for, when the match is successful, with outbound port in the described ARP list item information with generated that the NextHop list item mates in the hardware table item, if it fails to match, then in the hardware table item that generates, obtain the NextHop list item according to outbound port encapsulation in the described ARP list item information, if the match is successful, then in the hardware table item that generates, use the NextHop list item identical with the described hardware table item that the match is successful.
9. the communication means of a virtual machine and external network is characterized in that, comprising:
Virtual switch receives the uplink message of self virtualizing machine, and searches virtual port towards three-tier switch according to the virtual LAN VLAN of described uplink message and purpose medium access control MAC Address;
Virtual switch replaces with the source MAC of described uplink message the MAC Address of this virtual machine place virtual machine group;
Virtual switch is sent to three-tier switch by the described virtual port that obtains of searching with described uplink message;
Three-tier switch is forwarded to external network with three layers of described uplink messages.
10. the communication means of a virtual machine and external network is characterized in that, comprising:
Three-tier switch receives the downlink message from external network;
Three-tier switch is searched local hardware table item according to the purpose IP of described downlink message, find ARP list item corresponding to described downlink message, and with the MAC Address of the virtual machine place virtual group that encapsulates in the described ARP list item target MAC (Media Access Control) address as described downlink message;
Three-tier switch is sent to virtual switch with described downlink message;
Virtual switch is searched the corresponding virtual port of purpose virtual machine that obtains described downlink message according to VLAN, target MAC (Media Access Control) address and the purpose IP of described downlink message; Described purpose IP is the IP corresponding to purpose virtual machine of described downlink message;
Virtual switch replaces with the MAC Address of this purpose virtual machine with the target MAC (Media Access Control) address of described downlink message, and described downlink message is sent to the purpose virtual machine of correspondence by searching the virtual port that obtains.
CN201210487408.7A 2012-11-23 2012-11-23 Data forwarding method for virtualized data centre and realization equipment of data forwarding method Active CN103023827B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210487408.7A CN103023827B (en) 2012-11-23 2012-11-23 Data forwarding method for virtualized data centre and realization equipment of data forwarding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210487408.7A CN103023827B (en) 2012-11-23 2012-11-23 Data forwarding method for virtualized data centre and realization equipment of data forwarding method

Publications (2)

Publication Number Publication Date
CN103023827A true CN103023827A (en) 2013-04-03
CN103023827B CN103023827B (en) 2017-04-19

Family

ID=47971967

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210487408.7A Active CN103023827B (en) 2012-11-23 2012-11-23 Data forwarding method for virtualized data centre and realization equipment of data forwarding method

Country Status (1)

Country Link
CN (1) CN103023827B (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103281406A (en) * 2013-04-24 2013-09-04 杭州华三通信技术有限公司 Message forwarding method for inter-cloud VM (virtual machine) migration, NAT (Network Address Translation) server and network
CN103701822A (en) * 2013-12-31 2014-04-02 曙光云计算技术有限公司 Access control method
WO2015074395A1 (en) * 2013-11-22 2015-05-28 华为技术有限公司 Data packet forwarding method, apparatus and system
WO2015117400A1 (en) * 2014-07-25 2015-08-13 中兴通讯股份有限公司 Packet forwarding and processing method and device, and broadband access device
WO2016000559A1 (en) * 2014-06-30 2016-01-07 华为技术有限公司 Networking method and networking apparatus
CN105577548A (en) * 2014-10-10 2016-05-11 杭州华三通信技术有限公司 Software definition network message processing method and device
CN105812340A (en) * 2014-12-31 2016-07-27 杭州华三通信技术有限公司 Access method and device for virtual network to extranet
WO2016115698A1 (en) * 2015-01-21 2016-07-28 华为技术有限公司 Data packet forwarding method, apparatus and device
CN105939268A (en) * 2015-10-28 2016-09-14 杭州迪普科技有限公司 Layer 2 forwarding table item aggregation method and layer 2 forwarding table item aggregation device
WO2017161938A1 (en) * 2016-03-22 2017-09-28 华为技术有限公司 Packet transmission method and device
CN107645458A (en) * 2017-10-20 2018-01-30 锐捷网络股份有限公司 Three-tier message drainage method and controller
CN107770298A (en) * 2017-09-30 2018-03-06 华为技术有限公司 The method and apparatus for transmitting data
CN107959613A (en) * 2016-10-18 2018-04-24 华为技术有限公司 Message forwarding method and device
CN108092923A (en) * 2016-11-23 2018-05-29 阿里巴巴集团控股有限公司 Message processing method and device based on SR-IOV
CN108512779A (en) * 2017-02-24 2018-09-07 华为技术有限公司 Control information transmitting methods, server and system
CN113676471A (en) * 2021-08-17 2021-11-19 上海道客网络科技有限公司 Cross-node communication method, system, medium and electronic device based on container cloud platform
CN113783910A (en) * 2020-06-09 2021-12-10 阿里巴巴集团控股有限公司 Data forwarding method, device and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1705307A (en) * 2004-06-03 2005-12-07 华为技术有限公司 Method for implementing VLAN based L2VPN
CN101409685A (en) * 2008-12-01 2009-04-15 杭州华三通信技术有限公司 Forwarding method based on virtual LAN mapping and access equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1705307A (en) * 2004-06-03 2005-12-07 华为技术有限公司 Method for implementing VLAN based L2VPN
CN101409685A (en) * 2008-12-01 2009-04-15 杭州华三通信技术有限公司 Forwarding method based on virtual LAN mapping and access equipment

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103281406A (en) * 2013-04-24 2013-09-04 杭州华三通信技术有限公司 Message forwarding method for inter-cloud VM (virtual machine) migration, NAT (Network Address Translation) server and network
CN103281406B (en) * 2013-04-24 2017-12-12 新华三技术有限公司 The message forwarding method and NAT servers and network migrated between VM clouds
WO2015074395A1 (en) * 2013-11-22 2015-05-28 华为技术有限公司 Data packet forwarding method, apparatus and system
CN103701822A (en) * 2013-12-31 2014-04-02 曙光云计算技术有限公司 Access control method
WO2016000559A1 (en) * 2014-06-30 2016-01-07 华为技术有限公司 Networking method and networking apparatus
WO2015117400A1 (en) * 2014-07-25 2015-08-13 中兴通讯股份有限公司 Packet forwarding and processing method and device, and broadband access device
CN105282032A (en) * 2014-07-25 2016-01-27 中兴通讯股份有限公司 Message forwarding processing method, device and broadband access equipment
CN105577548A (en) * 2014-10-10 2016-05-11 杭州华三通信技术有限公司 Software definition network message processing method and device
US10541913B2 (en) 2014-10-10 2020-01-21 Hewlett Packard Enterprise Development Lp Table entry in software defined network
CN105577548B (en) * 2014-10-10 2018-10-09 新华三技术有限公司 Message processing method and device in a kind of software defined network
CN105812340A (en) * 2014-12-31 2016-07-27 杭州华三通信技术有限公司 Access method and device for virtual network to extranet
CN105812340B (en) * 2014-12-31 2019-01-08 新华三技术有限公司 A kind of method and apparatus of virtual network access outer net
WO2016115698A1 (en) * 2015-01-21 2016-07-28 华为技术有限公司 Data packet forwarding method, apparatus and device
CN106031104A (en) * 2015-01-21 2016-10-12 华为技术有限公司 Data packet forwarding method, apparatus and device
CN106031104B (en) * 2015-01-21 2019-07-12 华为技术有限公司 Retransmission method, device and the equipment of data message
CN105939268B (en) * 2015-10-28 2019-11-08 杭州迪普科技股份有限公司 A kind of two-layer retransmitting table item polymerization and device
CN105939268A (en) * 2015-10-28 2016-09-14 杭州迪普科技有限公司 Layer 2 forwarding table item aggregation method and layer 2 forwarding table item aggregation device
WO2017161938A1 (en) * 2016-03-22 2017-09-28 华为技术有限公司 Packet transmission method and device
CN107959613B (en) * 2016-10-18 2020-06-02 华为技术有限公司 Message forwarding method and device
CN107959613A (en) * 2016-10-18 2018-04-24 华为技术有限公司 Message forwarding method and device
CN108092923B (en) * 2016-11-23 2021-06-18 阿里巴巴集团控股有限公司 Message processing method and device based on SR-IOV
CN108092923A (en) * 2016-11-23 2018-05-29 阿里巴巴集团控股有限公司 Message processing method and device based on SR-IOV
CN108512779A (en) * 2017-02-24 2018-09-07 华为技术有限公司 Control information transmitting methods, server and system
CN107770298A (en) * 2017-09-30 2018-03-06 华为技术有限公司 The method and apparatus for transmitting data
CN107645458A (en) * 2017-10-20 2018-01-30 锐捷网络股份有限公司 Three-tier message drainage method and controller
CN107645458B (en) * 2017-10-20 2020-04-24 锐捷网络股份有限公司 Three-layer message drainage method and controller
CN113783910A (en) * 2020-06-09 2021-12-10 阿里巴巴集团控股有限公司 Data forwarding method, device and system
CN113783910B (en) * 2020-06-09 2024-02-13 阿里巴巴集团控股有限公司 Data forwarding method, device and system
CN113676471A (en) * 2021-08-17 2021-11-19 上海道客网络科技有限公司 Cross-node communication method, system, medium and electronic device based on container cloud platform

Also Published As

Publication number Publication date
CN103023827B (en) 2017-04-19

Similar Documents

Publication Publication Date Title
CN103023827A (en) Data forwarding method for virtualized data centre and realization equipment of data forwarding method
CN103166874B (en) A kind of message forwarding method and equipment
JP6087922B2 (en) Communication control method and gateway
CN102801599B (en) A kind of communication means and system
CN103095546B (en) A kind of method, device and data center network processing message
CN108270676B (en) Network data processing method and device based on Intel DPDK
US10333845B2 (en) Forwarding data packets
CN107278359A (en) The method of Message processing, main frame and system in cloud computing system
CN108259346B (en) Equivalent routing table item establishing method and device
US20150334011A1 (en) Traffic interconnection between virtual devices
CN104038425B (en) The method and apparatus for forwarding ether network packet
CN104954218A (en) Distributed virtual switching device and forwarding method
CN104488234A (en) System and method for scaling IPV6 on a three-tier network architecture at a large data center
US10880233B2 (en) Routing management
CN104883302A (en) Method, device and system for forwarding data packet
CN105099950A (en) Resource allocation method, message communication method and devices
CN103475704A (en) Method for virtual node configuration for virtual cluster application
CN104079478A (en) Method and device of packet forwarding
CN115426312B (en) Method and device for managing, optimizing and forwarding identifiers in large-scale multi-modal network
CN103067295A (en) Method and device and system for service transmission
CN102316043A (en) Port virtualization method, switch and communication system
CN110995598A (en) Variable-length message data processing method and scheduling device
CN104301229B (en) Data packet forwarding method, route table generating method and device
CN114143257A (en) Method for generating table entry, method, device and system for sending message
CN106534278A (en) Message forwarding method and switching equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou science and Technology Development Zone, Zhejiang high tech park, No. six and road, No. 310

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address