CN103023827B - 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 PDFInfo
- Publication number
- CN103023827B CN103023827B CN201210487408.7A CN201210487408A CN103023827B CN 103023827 B CN103023827 B CN 103023827B CN 201210487408 A CN201210487408 A CN 201210487408A CN 103023827 B CN103023827 B CN 103023827B
- Authority
- CN
- China
- Prior art keywords
- virtual machine
- virtual
- arp
- switch
- mac address
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
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
Technical field
The present invention relates to communication technical field, more particularly to a kind of technical side of the data forwarding of Visualized data centre
Case.
Background technology
Continuous growth with enterprise network scale and a large amount of deployment based on system for cloud computing environment, data center network
Also significantly become more complicated.In data center network, due to the quantity sharp increase of required bridge, Intel Virtualization Technology
The complexity of data center network is further increased, and changes the network design mode of data center.
In a station terminal station of data center network, software entity is there is, based on the software entity, in a physics
On server, multi-dummy machine can be allowed(VM, Virtual Machine)Share same set of hardware system.Each virtual machine leads to
Cross the software entity to be connected with the physical network card of the physical server.Virtual machine can improve the resource profit of data center network
With rate.
Existing virtual machine carries out data interaction by virtual switch (VSwitch, Virtual Switch), common
VSwitch has multiple virtual ports(vPort), with connecting virtual machine respectively and the physical network card inside physical server.
At present, VSwitch realizes a Layer2 switching function inside physical server, and specifically, which is internally
Maintain VLAN(VLAN, Virtual Local Area Network)The forward table of+MAC Address+vPort, wherein,
Each VM one vPort of correspondence, each VM have respective medium access control(MAC, Medium Access Control)Ground
Location.
By being accessed between each VM that VSwitch can realize inside physical server mutually.For example, VM1 accesses VM2's
The process of realization can include:VM1 sends source MAC for MAC Address 1, message of the target MAC (Media Access Control) address for MAC Address 2, the report
Text bis- layers of forwardings of Jing on VSwitch can reach VM2.
But, the communication of VM and external network is needed by means of three-tier switch, and the forwarding of three-tier switch has following
Feature:First packet is forwarded by CPU, while setting up three layers of list item of exchange chip hardware;Subsequent packet utilizes hardware three by exchange chip
Layer list item carries out hardware forwarding.Three layers of list item of the hardware are used for the corresponding network segment address prefix of purpose IP address for preserving message
(Prefix), next(NextHop), address resolution protocol(ARP, Address Resolution Protocol)Three kinds of tables
The corresponding relation of item.
With reference to Fig. 1, a kind of schematic illustration of tissue of three layers of list item of hardware of Host routes of prior art is shown, therein one
Individual Host routes need each correspondence one Prefix, Nexthop and ARP, Prefix list items to be used to deposit route most long
With information, the corresponding IP address of route and mask are indicated;Nexthop list items are used to deposit route correspondence next hop information,
Nexthop list items are mainly shown as exit port and ARP pointers on hardware;ARP is mainly used in three layers of encapsulation and E-Packets
Target MAC (Media Access Control) address(Dmac address, destination MAC Address)Packaging information, typically pointed to by Nexthop tables.
In order to illustrate the communication process of VM and external network, with reference to Fig. 2, a kind of VM of prior art and external network are shown
Communication link schematic diagram, the communication link can specifically include VM, VSwitch, physical network card, three-tier switch and extranets
Network;Corresponding VM can specifically include with the communication process of external network:
When VM needs to access external network, need to search according to the VLAN and target MAC (Media Access Control) address of message and lead on VSwitch
Toward the vPort of three-tier switch, message reaches three-tier switch by searching the vPort Jing physical network cards for obtaining, and is handed over by three layers
Change planes corresponding message three layers and be forwarded to external network.
When external network needs to access certain VM, the three layers of list item of hardware on three-tier switch are required to look up, it is right to find
The ARP answered, an example of search procedure is:It is first according to longest match principle and finds the purpose IP address with message
The network address prefix for matching the most, then next list item is found by the network address prefix, then by the next table
Item finds corresponding ARP;Then forward the packet to the corresponding VM of ARP, such as to access VM3, then can be with
The three layers of list item of hardware for searching three-tier switch obtain corresponding ARP, and the target MAC (Media Access Control) address encapsulated in the ARP is just
It is the MAC Address 3 of VM3.
As can be seen that the communication in order to realize VM and external network, needs three layers of forwarding letter of each VM in prior art
Breath addition is to three layers of list item of hardware(Prefix, Nexthop and ARP);In the case where data center is using a large amount of VM, more
It is to need to add substantial amounts of hardware table item to list item memory space integrated in exchange chip, it is empty that this undoubtedly increased list item storage
Between occupancy, so as to increased the cost of exchange chip.
The content of the invention
The technical problem to be solved is to provide a kind of data processing method for three-tier switch, Yi Zhongyong
Data processing method, a kind of three-tier switch, a kind of virtual switch and a kind of virtual machine and extranets in virtual switch
The communication means of network, to reduce the occupancy of hardware table item memory space.
In order to solve the above problems, the invention discloses a kind of data processing method for virtual switch, including:
The preset virtual machine group of virtual switch;Each virtual machine group includes multiple virtual machines, and each virtual machine cluster
Group one medium access control MAC Address of correspondence;
Virtual switch receives the uplink message for carrying out self virtualizing machine, and according to the virtual LAN VLAN of the uplink message
The virtual port towards three-tier switch is searched with target MAC (Media Access Control) address;
The source MAC of the uplink message is replaced with virtual switch the MAC of the virtual machine place virtual machine group
Address;
Virtual switch is sent the uplink message to three-tier switch by the virtual port for obtaining of searching;
Virtual switch receives the downlink message from three-tier switch;
Virtual switch obtains described descending according to the VLAN of the downlink message, target MAC (Media Access Control) address and purpose IP, lookup
Virtual port corresponding to the purpose virtual machine of message;Purpose IP is that the purpose virtual machine of the downlink message is corresponding
IP;
The target MAC (Media Access Control) address of the downlink message is replaced with virtual switch the MAC Address of the purpose virtual machine, and is led to
Cross and search the virtual port that obtains and the downlink message is sent to corresponding purpose virtual machine.
Preferably, the corresponding MAC Address of the virtual machine group is obtained as follows:
Virtual switch during virtual machine configuration MAC Address, reserves several MAC Address on for physical server;
Virtual switch selects the corresponding MAC ground of the virtual machine group from described several reserved MAC Address
Location.
On the other hand, the embodiment of the invention also discloses a kind of virtual switch, including:
Group preset module, for preset virtual machine group;Each virtual machine group includes multiple virtual machines, and each is virtual
Group of planes group one medium access control MAC Address of correspondence;
First searching modul, for receiving the uplink message for carrying out self virtualizing machine, and according to the virtual office of the uplink message
VLAN is netted in domain and target MAC (Media Access Control) address searches the virtual port towards three-tier switch;
Replacement module, for the source MAC of the uplink message is replaced with the virtual machine place virtual machine group
MAC Address;
First sending module, for the uplink message being sent to three layers of friendship by the virtual port for obtaining of searching
Change planes;
Second searching modul, for when receiving from the downlink message of three-tier switch, according to the downlink message
VLAN, target MAC (Media Access Control) address and purpose IP, lookup obtains the virtual port corresponding to the purpose virtual machine of the downlink message;
Purpose IP is the corresponding IP of purpose virtual machine of the downlink message;
Second sending module, for the target MAC (Media Access Control) address of the downlink message to be replaced with the MAC ground of the purpose virtual machine
Location, and the downlink message is sent to corresponding purpose virtual machine by searching the virtual port for obtaining.
Preferably, the virtual switch also includes:For obtaining the acquisition of the corresponding MAC Address of the virtual machine group
Module;
The acquisition module includes:
Reserved submodule, reserves several MAC Address on for physical server during virtual machine configuration MAC Address;
Submodule is selected, for, selecting the virtual machine group corresponding from described several reserved MAC Address
MAC Address.
On the other hand, the embodiment of the invention also discloses a kind of data processing method for three-tier switch, including:
When the message of virtual switch transmission is received, by ARP list item information learning process
Acquistion is to ARP information;The MAC Address of virtual machine place virtual machine group is included in the ARP information;
During hardware table item is generated according to the ARP information, by virtual machine institute in the ARP information
Matched with ARP in hardware table item is generated in the MAC Address of virtual machine group, if it fails to match, what is generated
In hardware table item, ARP is obtained according to the MAC Address encapsulation of virtual machine place virtual machine group in the ARP information,
If the match is successful, share and the hardware table item identical ARP that the match is successful in the hardware table item for generating;
When receiving from the downlink message of external network, local hardware is searched according to purpose IP of the downlink message
List item, finds the corresponding ARP of the downlink message, and by the virtual machine place virtual group encapsulated in the ARP
MAC Address as the target MAC (Media Access Control) address of the downlink message, the downlink message is sent to virtual switch.
Preferably, exit port is also included in the ARP information;
Then methods described also includes:
When the match is successful, exit port in the ARP information is entered with NextHop list items in hardware table item are generated
Row matching, if it fails to match, in the hardware table item for generating, obtains according to exit port encapsulation in the ARP information
NextHop list items, if the match is successful, with the hardware table item identical that the match is successful used in the hardware table item for generating
NextHop list items.
On the other hand, the embodiment of the invention also discloses a kind of three-tier switch, including:
Study module, for when the message of virtual switch transmission is received, being believed by ARP list item
Breath school procedural learning obtains ARP information;Virtual machine place virtual machine group is included in the ARP information
MAC Address;
Hardware table item generation module, for according to the ARP information generate hardware table item during, will be described
In ARP information, the MAC Address of virtual machine place virtual machine group is matched with ARP in hardware table item is generated,
If it fails to match, in the hardware table item for generating, according to virtual machine place virtual machine group in the ARP information
MAC Address encapsulation obtains ARP, if the match is successful, is shared with described that the match is successful is hard in the hardware table item for generating
Part list item identical ARP;
Downlink message processing module, for when receiving from the downlink message of external network, according to the downlink message
Purpose IP search local hardware table item, find the corresponding ARP of the downlink message, and will seal in the ARP
Target MAC (Media Access Control) address of the MAC Address of the virtual machine place virtual group of dress as the downlink message, the downlink message is sent out
Deliver to virtual switch.
Preferably, exit port is also included in the ARP information;
Then the hardware generation module is additionally operable to, when the match is successful, by exit port in the ARP information with give birth to
Into in hardware table item, NextHop list items are matched, if it fails to match, in the hardware table item for generating, according to the ARP table
Exit port encapsulation in item information obtains NextHop list items, if the match is successful, with described used in the hardware table item for generating
With successful hardware table item identical NextHop list item.
On the other hand, the embodiment of the invention also discloses the communication means of a kind of virtual machine and external network, including:
Virtual switch receives the uplink message for carrying out self virtualizing machine, and according to the virtual LAN VLAN of the uplink message
The virtual port towards three-tier switch is searched with purpose medium access control MAC Address;
The source MAC of the uplink message is replaced with virtual switch the MAC of the virtual machine place virtual machine group
Address;
Virtual switch is sent the uplink message to three-tier switch by the virtual port for obtaining of searching;
The uplink message is forwarded to external network for three layers by three-tier switch.
On the other hand, the embodiment of the invention also discloses the communication means of a kind of virtual machine and external network, including:
Three-tier switch receives the downlink message from external network;
Three-tier switch searches local hardware table item according to purpose IP of the downlink message, finds the downlink message
Corresponding ARP, and using the MAC Address of the virtual machine place virtual group encapsulated in the ARP as described descending
The target MAC (Media Access Control) address of message;
Three-tier switch sends the downlink message to virtual switch;
Virtual switch obtains described descending according to the VLAN of the downlink message, target MAC (Media Access Control) address and purpose IP, lookup
Virtual port corresponding to the purpose virtual machine of message;Purpose IP is that the purpose virtual machine of the downlink message is corresponding
IP;
The target MAC (Media Access Control) address of the downlink message is replaced with virtual switch the MAC Address of the purpose virtual machine, and is led to
Cross and search the virtual port that obtains and the downlink message is sent to corresponding purpose virtual machine.
Compared with prior art, the present invention has advantages below:
First, the present invention obtains the MAC Address and virtual machine group interior-deficiency of virtual machine group by preset virtual machine group
Many-one relationship between the MAC Address of plan machine, also, reduced to L3 Switching pusher side ARP resources by improving forwarding process
Occupancy;Meanwhile, by the product process for improving hardware table item, realize in the hardware table item of L3 Switching pusher side same virtual
Multiple virtual machines in group of planes group share ARP;A ARP table is taken accordingly, with respect to a virtual machine in prior art
The memory space of item, multiple virtual machines take the situation of the memory space of many parts of ARPs, and the present invention can realize multiple virtual
Machine shares the memory space of portion ARP, therefore, it is possible to reduce the list item storage sky in exchange chip shared by ARP
Between;So as to reduce the cost of exchange chip.
Secondly as Nexthop list items are mainly shown as exit port and ARP pointers or ARP indexes on hardware, and it is same
Multiple virtual machines in virtual machine group same exit port physically corresponding to three-tier switch, and in same virtual machine
In the case that multiple virtual machines in group share ARP, corresponding ARP pointers are also identical;So, in hardware table item
In, the multiple virtual machines in the same virtual machine group of the present invention can also share Nexthop list items;Due to many in prior art
Individual virtual machine is the memory space for taking many parts of Nexthop list items, therefore, multiple virtual machines of the invention share portion
The memory space of Nexthop list items, can reduce the list item memory space shared by Nexthop list items in exchange chip, enter one
Step reduces the occupancy of list item memory space such that it is able to further reduce the cost of exchange chip.
Description of the drawings
Fig. 1 is a kind of schematic illustration of tissue of three layers of list item of hardware of Host routes of prior art;
Fig. 2 is the communication link schematic diagram of a kind of VM of prior art and external network;
Fig. 3 is a kind of flow chart of the data processing method embodiment for virtual switch of the present invention;
Fig. 4 is the flow chart of a kind of virtual machine of the invention and the communication means embodiment 1 of external network;
Fig. 5 is the flow chart of a kind of virtual machine of the invention and the communication means embodiment 2 of external network;
Fig. 6 is a kind of flow chart of the generation method embodiment 1 of hardware table item of the invention;
Fig. 7 is a kind of flow chart of the generation method embodiment 2 of hardware table item of the invention;
Fig. 8 is a kind of flow chart of the data processing method embodiment for three-tier switch of the present invention;
Fig. 9 is a kind of structure chart of virtual switch embodiment of the invention;
Figure 10 is a kind of structure chart of three-tier switch embodiment of the invention.
Specific embodiment
It is understandable to enable the above objects, features and advantages of the present invention to become apparent from, it is below in conjunction with the accompanying drawings and concrete real
The present invention is further detailed explanation to apply mode.
In prior art, in hardware table item, between ARP and virtual machine, there is one-to-one relation, that is, one
Virtual machine takes the memory space of a ARP, and multiple virtual machines take the memory space of many parts of ARPs, in ARP
Mainly include the packaging information of three layers of target MAC (Media Access Control) address for E-Packeting.The present invention is in virtual switch pusher side by preset virtual
Group of planes group obtains the many-one relationship that the MAC Address of virtual machine group and virtual machine group interior-deficiency are intended between the MAC Address of machine, and
And, the occupancy to L3 Switching pusher side ARP resources is reduced by improving forwarding process;Meanwhile, by the life for improving hardware table item
Into flow process, realize that the multiple virtual machines in same virtual machine group share ARP in the hardware table item of L3 Switching pusher side;
Accordingly, with respect to the situation of the memory space of a virtual machine occupancy portion ARP in prior art, the present invention can be realized
Multiple virtual machines share the memory space of portion ARP, therefore, it is possible to reduce the list item in exchange chip shared by ARP
Memory space;So as to reduce the cost of exchange chip.
With reference to Fig. 3, a kind of flow chart of the data processing method embodiment for virtual switch of the present invention, tool are shown
Body can include:
The preset virtual machine group of step 301, virtual switch;Each virtual machine group can specifically include multiple virtual
Machine, and each virtual machine group one MAC Address of correspondence;
In implementing, the number of a virtual machine group interior-deficiency plan machine can be more than or equal to 2.It is appreciated that ability
Field technique personnel can arrange the number that a virtual machine group interior-deficiency intends machine according to actual needs;Furthermore it is possible to according to reality
Need to be divided into all virtual machines on a physical server virtual machine group of 1 or more than 1;Also, have 1
During the virtual machine group of the individual above, each virtual machine group interior-deficiency is intended the number of machine and be may be the same or different;The present invention is taken to physics
On business device, the specific number of the specific number of virtual machine cluster group and a virtual machine group interior-deficiency plan machine is not any limitation as.
In actual applications, the corresponding MAC Address of the virtual machine group can be by those skilled in the art by being arranged to
Arrive.
For example, in one preferred embodiment of the invention, can be by obtaining the virtual machine group pair as follows
The MAC Address answered:
Step S101, on for physical server during virtual machine configuration MAC Address, reserve several MAC Address;
Step S102, from described several reserved MAC Address, select the corresponding MAC Address of the virtual machine group.
As long as it is appreciated that disclosure satisfy that the corresponding MAC Address of MAC Address and virtual machine group of existing virtual machine is not rushed
Prominent condition, the present invention are not limited to the concrete grammar for specifically configuring the corresponding MAC Address of the virtual machine group
System.
Step 302, virtual switch receive come self virtualizing machine uplink message, and the VLAN according to the uplink message and
Target MAC (Media Access Control) address searches the virtual port towards three-tier switch;
The source MAC of the uplink message is replaced with the virtual machine place virtual machine cluster by step 303, virtual switch
The MAC Address of group;
Step 304, virtual switch are sent the uplink message to three layers by the virtual port for obtaining of searching
Switch;
Step 305, virtual switch receive the downlink message from three-tier switch;
Step 306, virtual switch are obtained according to the VLAN of the downlink message, target MAC (Media Access Control) address and purpose IP, lookup
Virtual port corresponding to the purpose virtual machine of the downlink message;Purpose IP is the purpose virtual machine of the downlink message
Corresponding IP;
The target MAC (Media Access Control) address of the downlink message is replaced with the MAC of the purpose virtual machine for step 307, virtual switch
Address, and the downlink message is sent to corresponding purpose virtual machine by searching the virtual port for obtaining.
In the embodiment of the present invention, uplink message, downlink message are used to represent the communication report between virtual machine and external network
Text, wherein, uplink message be used for represent virtual machine external network send message, downlink message be used for represent external network to
The message that virtual machine sends.
The handling process of uplink message when step 302- step 304 is mainly used in illustrating that VM accesses external network.The present invention
One of difference relative to prior art is step 303, and step 303 implements process and can be:VSwitch is to outside
Before sending message, the source MAC of the message from VM is replaced with the MAC Address of VM places virtual machine group.Can be with
Understand, the communication process of communication means embodiment shown in Fig. 31 can obtain the foundation of ARP information as study.
Step 305- step 307 is mainly used in illustrating the handling process of downlink message during visiting from outside VM.The present invention
One of difference relative to prior art is step 306 and step 307.
The search procedure that step 306 is embodied in the virtual port corresponding to the purpose virtual machine of message is different.It is now right
Step 306 is described in detail:
It is that the vPort corresponding to purpose VM of message is searched according to the VLAN and target MAC (Media Access Control) address of message in prior art
, but, MAC Address of the target MAC (Media Access Control) address of message for the purpose VM place virtual group of message in the present invention, rather than message
Purpose VM itself MAC Address, therefore prior art according to message VLAN and target MAC (Media Access Control) address cannot search and obtain message
VPort corresponding to purpose VM;
In the present invention, the concrete different IP address of each VM in a virtual group, i.e. IP address can be by a virtual groups
In group, each VM is distinguished;Then, according to the VLAN of the message, target MAC (Media Access Control) address and purpose IP, search the mesh of the message
Virtual machine corresponding to virtual port.
Step 307 is embodied in before downlink message is sent, and the target MAC (Media Access Control) address of the downlink message is replaced with this
The MAC Address of purpose virtual machine, so that the purpose virtual machine can be believed according to purpose IP of the downlink message, purpose MAC etc.
Breath confirms that the downlink message is intended for oneself.
It should be noted that VLAN can be carried in messages in the embodiment of the present invention, it is also possible to match somebody with somebody on the attribute of port
Put;In addition, source MAC, target MAC (Media Access Control) address, purpose IP can be carried in messages, the embodiment of the present invention is to specific
VLAN, source MAC, target MAC (Media Access Control) address, the acquisition modes of purpose IP are not any limitation as.
In prior art, a virtual machine takes a ARP, and in the present invention, multiple virtual machines share portion ARP table
, it is also different from the communication plan of external network that the difference of the ARP resource occupation causes virtual machine, is carried out below
Detailed description.
With reference to Fig. 4, the flow chart for showing a kind of virtual machine of the invention and the communication means embodiment 1 of external network, tool
Body can include:
Step 401, virtual switch receive come self virtualizing machine uplink message, and the VLAN according to the uplink message and
Target MAC (Media Access Control) address searches the virtual port towards physical network card;
The source MAC of the uplink message is replaced with the virtual machine place virtual machine cluster by step 402, virtual switch
The MAC Address of group;
Step 403, virtual switch are sent the uplink message to three layers by the virtual port for obtaining of searching
Switch;
The uplink message is forwarded to external network for three layers by step 404, three-tier switch.
Communication means embodiment 1 describes the situation that VM accesses external network, it will be understood that communication means shown in Fig. 4
The communication process of embodiment 1 can obtain the foundation of ARP as study.
With reference to Fig. 5, the flow chart for showing a kind of virtual machine of the invention and the communication means embodiment 2 of external network, tool
Body can include:
Step 501, three-tier switch receive the downlink message from external network;
Purpose IP of downlink message described in step 502, three-tier switch searches local hardware table item, finds described descending
The corresponding ARP of message, and using the MAC Address of the virtual machine place virtual group encapsulated in the ARP as described
The target MAC (Media Access Control) address of message;
Step 503, three-tier switch send the downlink message to virtual switch;
Step 504, virtual switch are obtained according to the VLAN of the downlink message, target MAC (Media Access Control) address and purpose IP, lookup
Virtual port corresponding to the purpose virtual machine of the downlink message;Purpose IP is the purpose virtual machine of the downlink message
Corresponding IP;
The target MAC (Media Access Control) address of the downlink message is replaced with the MAC of the purpose virtual machine for step 505, virtual switch
Address, and the downlink message is sent to corresponding purpose virtual machine by searching the virtual port for obtaining.
Communication means embodiment 2 describes the situation of visiting from outside VM, area of the present invention relative to prior art
One of it is not step 502 and step 504, wherein, the content that the difference of step 502 is encapsulated in being embodied in ARP is different;
The search procedure that the difference of step 504 is embodied in the virtual port corresponding to the purpose virtual machine of message is different.
By taking three layers of list item of hardware as an example, in step 502, an example of search procedure is:It is first according to longest match principle
The network address prefix for being matched with the purpose IP address of message the most is found, then is found by the network address prefix next
Bar list item, then by the next entry lookup to corresponding ARP.For example to access VM3, then three layers of friendship can be searched
Three layers of list item of the hardware changed planes obtain corresponding ARP, and the target MAC (Media Access Control) address encapsulated in the ARP is exactly the MAC of VM3
Address 3.
It is appreciated that the communication process of communication means embodiment shown in Fig. 52 can obtain the foundation of ARP as study.
With reference to Fig. 6, the flow chart for showing a kind of generation method embodiment 1 of hardware table item of the invention can specifically be wrapped
Include:
Step 601, receive virtual switch transmission message when, obtained by ARP information learning procedural learning
To ARP information;The MAC Address of virtual machine place virtual machine group can be specifically included in the ARP information;
Step 602, according to the ARP information generate hardware table item during, by the ARP information
The MAC Address of virtual machine place virtual machine group is matched with ARP in hardware table item is generated, if it fails to match,
In the hardware table item for generating, obtain according to the MAC Address encapsulation of virtual machine place virtual machine group in the ARP information
ARP, if the match is successful, shares and hardware table item identical ARP that the match is successful in the hardware table item for generating
List item.
The present invention can be used for the generation of L3 Switching pusher side hardware table item, wherein, the hardware table item of the present invention can be showed
For the form of three layers of list item of hardware(Prefix, Nexthop and ARP), it is also possible to show as the form of two layers of list item of hardware
(Prefix and Nexthop list items, Nexthop list items are used to preserve Nexthop list items and ARP).
It should be noted that the following features of the forwarding according to three-tier switch:First packet is forwarded by CPU, while setting up
Three layers of list item of exchange chip hardware, it is known that the ARP information of the present invention can be according to the communication first of VM and external network
Procedural learning is obtained.It should be noted that as the source MAC of the uplink message is replaced by step 402 virtual switch
For the MAC Address of the virtual machine place virtual machine group, therefore void can be included in the ARP information that obtains of present invention study
The MAC Address of plan machine place virtual machine group.Due to ARP being obtained with the study of communication process first of external network according to VM
Information belongs to the category of prior art, and and therefore not to repeat here.
The present invention during hardware table item is generated according to the ARP information, by virtual in ARP information
The MAC Address of machine place virtual machine group with generate matching for ARP in hardware table item, with the hard of L3 Switching pusher side
Realize in part list item that the multiple virtual machines in same virtual machine group share ARP.
As usual hardware table item needs to be added in list item memory space integrated in exchange chip, therefore energy of the present invention
List item memory space enough in reduction exchange chip shared by ARP;So as to reduce the cost of exchange chip.
Here provides a kind of example that hardware table item is generated according to the ARP information:
Assume that three-tier switch receives the uplink message from VM1 and VM2, as VM1 and VM2 belong to same virtual
Group of planes group, and the source MAC of uplink message is replaced with virtual machine place virtual machine cluster in repeating process by virtual switch
The MAC Address of group, the MAC Address of the uplink message from VM1 and VM2 that three-tier switch is received is identical(It is assumed to be
00e0-fc01-0003);
With reference to table 1, the example of the ARP information of the VM1 and VM2 of a kind of generation of the invention is shown.
Table 1
IP address | MAC Address | VLAN ID | Exit port |
192.168.1.1 | 00e0-fc01-0003 | 10 | Eth1/1 |
192.168.1.2 | 00e0-fc01-0003 | 10 | Eth1/1 |
Then when hardware table item is generated according to first ARP information, first by MAC in first ARP information
Address is matched with ARP in hardware table item is generated, it is found that it fails to match, then, in the hardware table item for generating, according to
ARP is obtained according to the MAC Address encapsulation of virtual machine place virtual machine group in the ARP information, following hardware is obtained
Three layers of list item(Prefix, Nexthop and ARP):
192.168.1.1/32 ---nexthop1 (port=eth1/1,arpindex3)---à00e0-fc01-0003
(arp3);Here, port represents exit port, and arpindex3 represents the index of ARP;
When hardware table item is generated according to Article 2 ARP information, first by MAC ground in Article 2 ARP information
Location is matched with ARP in hardware table item is generated, it is found that the match is successful, then, used in the hardware table item for generating
With the hardware table item identical ARP that the match is successful, three layers of list item of following hardware can be specifically obtained(Prefix、
Nexthop and ARP):
192.168.1.2/32 ---nexthop2 (port=eth1/1,arpindex3)----à00e0-fc01-0003
(arp3)
With reference to table 2, the hardware that a kind of study of communication process first according to VM and external network of the present invention is obtained is shown
The example of list item, the example are related to VMx(1≤x≤5)MAC Address be 0000-0000-000x, IP is 1.1.1.x, VM1-
The MAC Address of the affiliated virtual machine groups of VM5 is 0000-0000-0006;
Three layers of list item of virtual machine therein can specifically include:Prefix list items, Nexthop list items and ARP, wherein
Virtual machine string be, for the mark for identifying often three layers of list item of row virtual machine, and to be not understood to the model of three layers of list item of virtual machine
Farmland;
In table 2, VM1-VM5 belongs to identical virtual machine group, therefore shares with portion ARP:Arp-Share(0000-
0000-0006), therefore a ARP is taken relative to a virtual machine in prior art, multiple virtual machines take many parts
The situation of ARP, in the present invention, multiple virtual machines share portion ARP, it is clear that can reduce ARP in exchange chip
Shared list item memory space;So as to reduce the cost of exchange chip.
Table 2
Virtual machine | Prefix list items | Nexthop list items | ARP |
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, the flow chart for showing a kind of generation method embodiment 2 of hardware table item of the invention can specifically be wrapped
Include:
Step 701, receive virtual switch transmission message when, obtained by ARP information learning procedural learning
To ARP information;Can specifically include in the ARP information virtual machine place virtual machine group MAC Address and
Exit port;
Step 702, according to the ARP information generate hardware table item during, by the ARP information
The MAC Address of virtual machine place virtual machine group is matched with ARP in hardware table item is generated, if it fails to match,
In the hardware table item for generating, obtain according to the MAC Address encapsulation of virtual machine place virtual machine group in the ARP information
ARP, if the match is successful, shares and hardware table item identical ARP that the match is successful in the hardware table item for generating
List item, and execution step 703;
Step 703, when the match is successful, by exit port in the ARP information with generated in hardware table item
NextHop list items are matched, if it fails to match, in the hardware table item for generating, go out to hold according in the ARP information
Mouth encapsulation obtains NextHop list items, if the match is successful, with the hardware that the match is successful used in the hardware table item for generating
List item identical NextHop list item.
Nexthop list items are mainly shown as exit port and ARP pointers on hardware(Or ARP indexes), and same virtual machine
Multiple virtual machines in group same exit port physically corresponding to three-tier switch, and in same virtual machine group
Multiple virtual machines share ARP in the case of corresponding ARP pointers be also identical;So, it is in hardware table item, same
Multiple virtual machines in virtual machine group can also share Nexthop list items;As in prior art, a virtual machine takes one
Part Nexthop list items, multiple virtual machines take many parts of Nexthop list items, therefore, multiple virtual machines of the invention share portion
Nexthop list items, can reduce the list item memory space shared by Nexthop list items in exchange chip, further reduce list item
The occupancy of memory space such that it is able to further reduce the cost of exchange chip.
In actual applications, can automatically generate many in same virtual machine group in hardware table item when ARP is generated
The Nexthop list items that individual virtual machine is shared, due to automatically generating the model that Nexthop list items belong to prior art according to ARP
Farmland, and therefore not to repeat here.
With reference to table 3, the hardware that a kind of study of communication process first according to VM and external network of the present invention is obtained is shown
The example of list item, the example are related to VMx(1≤x≤5)MAC Address be 0000-0000-000x, IP is 1.1.1.x, VM1-
The MAC Address of the affiliated virtual machine groups of VM5 be 0000-0000-0006, the Nexthop list items of the affiliated virtual machine groups of VM1-VM5
Represented with Nexthop-Share, namely Nexthop-Share is used to represent a Nexthop list items that VM1-VM5 is shared;
Three layers of list item of virtual machine therein can specifically include:Prefix list items, Nexthop list items and ARP, wherein
Virtual machine string be, for the mark for identifying often three layers of list item of row virtual machine, and to be not understood to the model of three layers of list item of virtual machine
Farmland;
In table 3, VM1-VM5 belongs to identical virtual machine group, therefore shares portion ARP:Arp-Share(0000-
0000-0006)With Nexthop list items:Nexthop-Share, therefore many parts are taken relative to multiple virtual machines in prior art
The situation of ARP and many parts of Nexthop list items, in the present invention, multiple virtual machines share portion ARP and Nexthop tables
, it is clear that the list item memory space shared by ARP and Nexthop list items in exchange chip can be reduced;So as to drop
The cost of low exchange chip.
Table 3
Virtual machine | Prefix list items | Nexthop list items | Arp list items |
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, a kind of flow chart of the data processing method embodiment for three-tier switch of the present invention, tool are shown
Body can include:
Step 801, receive virtual switch transmission message when, obtained by ARP information learning procedural learning
To ARP information;The MAC Address of virtual machine place virtual machine group can be specifically included in the ARP information;
Step 802, according to the ARP information generate hardware table item during, by the ARP information
The MAC Address of virtual machine place virtual machine group is matched with ARP in hardware table item is generated, if it fails to match,
In the hardware table item for generating, obtain according to the MAC Address encapsulation of virtual machine place virtual machine group in the ARP information
ARP, if the match is successful, shares and hardware table item identical ARP that the match is successful in the hardware table item for generating
List item;
Step 803, three-tier switch receive from the downlink message of external network when, according to the mesh of the downlink message
IP search local hardware table item, find the corresponding ARP of the downlink message, and will encapsulate in the ARP
Target MAC (Media Access Control) address of the MAC Address of virtual machine place virtual group as the downlink message, by the downlink message send to
Virtual switch.
Step 803 is mainly used in illustrating the handling process of downlink message during visiting from outside VM.
In one preferred embodiment of the invention, exit port can also be included in the ARP information;
Then methods described can also include:
When the match is successful, exit port in the ARP information is entered with NextHop list items in hardware table item are generated
Row matching, if it fails to match, in the hardware table item for generating, obtains according to exit port encapsulation in the ARP information
NextHop list items, if the match is successful, with the hardware table item identical that the match is successful used in the hardware table item for generating
NextHop list items.
With reference to Fig. 9, a kind of structure chart of virtual switch embodiment of the invention is shown, can specifically be included:
Group preset module 901, for preset virtual machine group;Each virtual machine group can specifically include multiple virtual
Machine, and each virtual machine group one MAC Address of correspondence;
First searching modul 902, for receiving the uplink message for carrying out self virtualizing machine, and according to the VLAN of the uplink message
The virtual port towards three-tier switch is searched with target MAC (Media Access Control) address;
Replacement module 903, for the source MAC of the uplink message is replaced with the virtual machine place virtual machine group
MAC Address;
First sending module 904, for the uplink message being sent to three by the virtual port for obtaining of searching
Layer switch;
Second searching modul 905, for when receiving from the downlink message of three-tier switch, according to the descending report
The VLAN of text, target MAC (Media Access Control) address and purpose IP, lookup obtain the virtual terminal corresponding to the purpose virtual machine of the downlink message
Mouthful;Wherein, purpose IP is the corresponding IP of purpose virtual machine of the downlink message;
Second sending module 906, for the target MAC (Media Access Control) address of the downlink message is replaced with the purpose virtual machine
MAC Address, and the downlink message is sent to corresponding purpose virtual machine by searching the virtual port for obtaining.
In one preferred embodiment of the invention, virtual machine group interior-deficiency intends the number of machine more than or equal to 2.
In another preferred embodiment of the invention, the virtual switch can also include:For obtaining the void
Intend the acquisition module of the corresponding MAC Address of group of planes group;
The acquisition module can specifically include:
Reserved submodule, reserves several MAC Address on for physical server during virtual machine configuration MAC Address;
Submodule is selected, for, selecting the virtual machine group corresponding from described several reserved MAC Address
MAC Address.
With reference to Figure 10, a kind of structure chart of three-tier switch embodiment of the invention is shown, can specifically be included:
Study module 1001, for when the message of virtual switch transmission is received, by ARP table
Item information school procedural learning obtains ARP information;Void that virtual machine is located can be specifically included in the ARP information
Intend the MAC Address of group of planes group;
Hardware table item generation module 1002, for, during hardware table item is generated according to the ARP information, inciting somebody to action
In the ARP information MAC Address of virtual machine place virtual machine group with generate ARP in hardware table item and carry out
Match somebody with somebody, if it fails to match, in the hardware table item for generating, according to virtual machine place virtual machine group in the ARP information
MAC Address encapsulation obtain ARP, if the match is successful, share in the hardware table item for generating with described the match is successful
Hardware table item identical ARP;
Downlink message processing module 1003, for when receiving from the downlink message of external network, according to described descending
Purpose IP of message searches local hardware table item, finds the corresponding ARP of the downlink message, and by the ARP
Target MAC (Media Access Control) address of the MAC Address of the virtual machine place virtual group of middle encapsulation as the downlink message, by the descending report
Text is sent to virtual switch.
In one preferred embodiment of the invention, exit port can also be included in the ARP information;
Then the hardware generation module can be additionally used in, when the match is successful, by exit port in the ARP information and
In generating hardware table item, NextHop list items are matched, if it fails to match, in the hardware table item for generating, according to the ARP
In list item information exit port encapsulation obtain NextHop list items, if the match is successful, generate hardware table item used in it is described
The hardware table item identical NextHop list item that the match is successful.
Each embodiment in this specification is described by the way of progressive, what each embodiment was stressed be with
The difference of other embodiment, between each embodiment identical similar part mutually referring to.For device embodiment
For, due to itself and embodiment of the method basic simlarity, so description is fairly simple, portion of the related part referring to embodiment of the method
Defend oneself bright.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can adopt complete hardware embodiment, complete software embodiment or with reference to the reality in terms of software and hardware
Apply the form of example.And, the present invention can be using the computer for wherein including computer usable program code at one or more
Usable storage medium(Including but not limited to disk memory, CD-ROM, optical memory etc.)The computer program of upper enforcement is produced
The form of product.
The present invention is with reference to method according to embodiments of the present invention, equipment(System), and computer program flow process
Figure and/or block diagram are describing.It should be understood that can be by computer program instructions flowchart and/or each stream in block diagram
The combination of journey and/or square frame and flow chart and/or flow process and/or square frame in block diagram.These computer programs can be provided
The processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced for reality by the instruction of computer or the computing device of other programmable data processing devices
The device of the function of specifying in present one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in and can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory is produced to be included referring to
Make the manufacture of device, the command device realize in one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or
The function of specifying in multiple square frames.
These computer program instructions can be also loaded in computer or other programmable data processing devices so that in meter
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented process, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow process of flow chart or multiple flow processs and/or block diagram one
The step of function of specifying in individual square frame or multiple square frames.
, but those skilled in the art once know basic creation although preferred embodiments of the present invention have been described
Property concept, then can make other change and modification to these embodiments.So, claims are intended to be construed to include excellent
Select embodiment and fall into the had altered of the scope of the invention and change.
Above to a kind of data processing method for three-tier switch provided by the present invention, a kind of be used for virtual switch
The data processing method of machine, a kind of three-tier switch, the communication party of a kind of virtual switch and a kind of virtual machine and external network
Method, is described in detail, and specific case used herein is set forth to the principle and embodiment of the present invention, the above
The explanation of embodiment is only intended to help and understands the method for the present invention and its core concept;Simultaneously for the general skill of this area
Art personnel, according to the thought of the present invention, will change in specific embodiments and applications, in sum, this
Description should not be construed as limiting the invention.
Claims (10)
1. a kind of data processing method for virtual switch, it is characterised in that include:
The preset virtual machine group of virtual switch;Each virtual machine group includes multiple virtual machines, and each virtual machine group pair
Answer a medium access control MAC Address;
Virtual switch receives the uplink message for carrying out self virtualizing machine, and according to the virtual LAN VLAN and mesh of the uplink message
MAC Address search towards three-tier switch virtual port;
The source MAC of the uplink message is replaced with virtual switch the MAC Address of the virtual machine place virtual machine group;
Virtual switch is sent the uplink message to three-tier switch by the virtual port for obtaining of searching;
Virtual switch receives the downlink message from three-tier switch;
Virtual switch obtains the downlink message according to the VLAN of the downlink message, target MAC (Media Access Control) address and purpose IP, lookup
Purpose virtual machine corresponding to virtual port;Purpose IP is the corresponding IP of purpose virtual machine of the downlink message;
The target MAC (Media Access Control) address of the downlink message is replaced with virtual switch the MAC Address of the purpose virtual machine, and by looking into
The virtual port found sends the downlink message to corresponding purpose virtual machine.
2. the method for claim 1, it is characterised in that obtain the virtual machine group as follows corresponding
MAC Address:
Virtual switch during virtual machine configuration MAC Address, reserves several MAC Address on for physical server;
Virtual switch selects the corresponding MAC Address of the virtual machine group from described several reserved MAC Address.
3. a kind of virtual switch, it is characterised in that include:
Group preset module, for preset virtual machine group;Each virtual machine group includes multiple virtual machines, and each virtual machine cluster
Group one medium access control MAC Address of correspondence;
First searching modul, for receiving the uplink message for carrying out self virtualizing machine, and according to the VLAN of the uplink message
VLAN and target MAC (Media Access Control) address search the virtual port towards three-tier switch;
Replacement module, for the source MAC of the uplink message to be replaced with the MAC ground of the virtual machine place virtual machine group
Location;
First sending module, for the uplink message being sent to L3 Switching by the virtual port for obtaining of searching
Machine;
Second searching modul, for when receiving from the downlink message of three-tier switch, according to the downlink message
VLAN, target MAC (Media Access Control) address and purpose IP, lookup obtain the virtual port corresponding to the purpose virtual machine of the downlink message;Institute
State the corresponding IP of purpose virtual machine that purpose IP is the downlink message;
Second sending module, for the target MAC (Media Access Control) address of the downlink message to be replaced with the MAC Address of the purpose virtual machine,
And the downlink message is sent to corresponding purpose virtual machine by searching the virtual port for obtaining.
4. virtual switch as claimed in claim 3, it is characterised in that also include:For obtaining the virtual machine group pair
The acquisition module of the MAC Address answered;
The acquisition module includes:
Reserved submodule, reserves several MAC Address on for physical server during virtual machine configuration MAC Address;
Submodule is selected, for from described several reserved MAC Address, selecting the corresponding MAC ground of the virtual machine group
Location.
5. a kind of data processing method for three-tier switch, it is characterised in that include:
When the message of virtual switch transmission is received, learnt by ARP list item information learning process
To ARP information;The MAC Address of virtual machine place virtual machine group is included in the ARP information;
During hardware table item is generated according to the ARP information, virtual machine in the ARP information is located empty
The MAC Address for intending group of planes group is matched with ARP in hardware table item is generated, if it fails to match, in the hardware for generating
In list item, ARP is obtained according to the MAC Address encapsulation of virtual machine place virtual machine group in the ARP information, if
With success, then share and the hardware table item identical ARP that the match is successful in the hardware table item for generating;
When receiving from the downlink message of external network, local hardware list is searched according to purpose IP of the downlink message
, find the corresponding ARP of the downlink message, and by the virtual machine place virtual machine group encapsulated in the ARP
MAC Address as the target MAC (Media Access Control) address of the downlink message, the downlink message is sent to virtual switch.
6. method as claimed in claim 5, it is characterised in that also include exit port in the ARP information;
Then methods described also includes:
When the match is successful, by exit port in the ARP information with generate NextHop list items in hardware table item and carry out
Match somebody with somebody, if it fails to match, in the hardware table item for generating, NextHop is obtained according to exit port encapsulation in the ARP information
List item, if the match is successful, with hardware table item identical NextHop that the match is successful used in the hardware table item for generating
List item.
7. a kind of three-tier switch, it is characterised in that include:
Study module, for when the message of virtual switch transmission is received, by ARP list item information
Practise procedural learning and obtain ARP information;The MAC ground of virtual machine place virtual machine group is included in the ARP information
Location;
Hardware table item generation module, for during hardware table item is generated according to the ARP information, by the ARP
In list item information, the MAC Address of virtual machine place virtual machine group is matched with ARP in hardware table item is generated, if
With failure, then in the hardware table item for generating, according to the MAC ground of virtual machine place virtual machine group in the ARP information
Location encapsulation obtains ARP, if the match is successful, shares and the hardware table item that the match is successful in the hardware table item for generating
Identical ARP;
Downlink message processing module, for when receiving from the downlink message of external network, according to the mesh of the downlink message
IP search local hardware table item, find the corresponding ARP of the downlink message, and will encapsulate in the ARP
Target MAC (Media Access Control) address of the MAC Address of virtual machine place virtual machine group as the downlink message, the downlink message is sent
To virtual switch.
8. three-tier switch as claimed in claim 7, it is characterised in that also include exit port in the ARP information;
Then the hardware generation module is additionally operable to, when the match is successful, by exit port in the ARP information with generate it is hard
In part list item, NextHop list items are matched, if it fails to match, in the hardware table item for generating, are believed according to the ARP
Exit port encapsulation in breath obtains NextHop list items, if the match is successful, matches into described used in the hardware table item for generating
The hardware table item identical NextHop list item of work(.
9. the communication means of a kind of virtual machine and external network, it is characterised in that include:
The preset virtual machine group of virtual switch;Each virtual machine group includes multiple virtual machines, and each virtual machine group pair
Answer a medium access control MAC Address;
Virtual switch receives the uplink message for carrying out self virtualizing machine, and according to the virtual LAN VLAN and mesh of the uplink message
Medium access control MAC Address search towards three-tier switch virtual port;
The source MAC of the uplink message is replaced with virtual switch the MAC Address of the virtual machine place virtual machine group;
Virtual switch is sent the uplink message to three-tier switch by the virtual port for obtaining of searching;
The uplink message is forwarded to external network for three layers by three-tier switch.
10. the communication means of a kind of virtual machine and external network, it is characterised in that include:
Three-tier switch receives the downlink message from external network;
Three-tier switch searches local hardware table item according to purpose IP of the downlink message, finds the downlink message correspondence
ARP, and using the MAC Address of the virtual machine place virtual machine group encapsulated in the ARP as the descending report
The target MAC (Media Access Control) address of text;Wherein, the virtual machine group is obtained for virtual switch is preset;Each virtual machine group includes many
Individual virtual machine, and each virtual machine group one medium access control MAC Address of correspondence;
Three-tier switch sends the downlink message to virtual switch;
Virtual switch obtains the downlink message according to the VLAN of the downlink message, target MAC (Media Access Control) address and purpose IP, lookup
Purpose virtual machine corresponding to virtual port;Purpose IP is the corresponding IP of purpose virtual machine of the downlink message;
The target MAC (Media Access Control) address of the downlink message is replaced with virtual switch the MAC Address of the purpose virtual machine, and by looking into
The virtual port found sends the downlink message to corresponding purpose virtual machine.
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 CN103023827A (en) | 2013-04-03 |
CN103023827B true 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) |
Families Citing this family (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103281406B (en) * | 2013-04-24 | 2017-12-12 | 新华三技术有限公司 | The message forwarding method and NAT servers and network migrated between VM clouds |
CN104660506B (en) * | 2013-11-22 | 2018-12-25 | 华为技术有限公司 | A kind of method, apparatus and system of data packet forwarding |
CN103701822A (en) * | 2013-12-31 | 2014-04-02 | 曙光云计算技术有限公司 | Access control method |
CN104065554B (en) * | 2014-06-30 | 2017-09-05 | 华为技术有限公司 | A kind of network-building method and network device |
CN105282032A (en) * | 2014-07-25 | 2016-01-27 | 中兴通讯股份有限公司 | Message forwarding processing method, device and broadband access equipment |
CN105577548B (en) | 2014-10-10 | 2018-10-09 | 新华三技术有限公司 | Message processing method and device in a kind of software defined network |
CN105812340B (en) * | 2014-12-31 | 2019-01-08 | 新华三技术有限公司 | A kind of method and apparatus of virtual network access outer net |
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 |
CN105847142B (en) * | 2016-03-22 | 2019-03-01 | 华为技术有限公司 | A kind of message transmitting method and device |
CN107959613B (en) * | 2016-10-18 | 2020-06-02 | 华为技术有限公司 | Message forwarding method and device |
CN108092923B (en) * | 2016-11-23 | 2021-06-18 | 阿里巴巴集团控股有限公司 | Message processing method and device based on SR-IOV |
CN108512779B (en) * | 2017-02-24 | 2020-11-27 | 华为技术有限公司 | Control information transmission method, server and system |
CN107770298B (en) * | 2017-09-30 | 2020-07-28 | 华为技术有限公司 | Method and device for transmitting data |
CN107645458B (en) * | 2017-10-20 | 2020-04-24 | 锐捷网络股份有限公司 | Three-layer message drainage method and controller |
CN113783910B (en) * | 2020-06-09 | 2024-02-13 | 阿里巴巴集团控股有限公司 | Data forwarding method, device and system |
CN113676471B (en) * | 2021-08-17 | 2023-04-07 | 上海道客网络科技有限公司 | Cross-node communication method, system, medium and electronic device based on container cloud platform |
Citations (2)
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 |
-
2012
- 2012-11-23 CN CN201210487408.7A patent/CN103023827B/en active Active
Patent Citations (2)
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 |
Also Published As
Publication number | Publication date |
---|---|
CN103023827A (en) | 2013-04-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103023827B (en) | Data forwarding method for virtualized data centre and realization equipment of data forwarding method | |
CN104954218B (en) | Distributed virtual switch and retransmission method | |
CN102857414B (en) | A kind of forwarding table write-in, message forwarding method and device | |
CN104350467B (en) | Elasticity for the cloud security using SDN carries out layer | |
CN103491010B (en) | The methods, devices and systems of message are sent in virtual network | |
CN103259725B (en) | Messaging method and network equipment | |
CN104780088A (en) | Service message transmission method and equipment | |
CN105577723B (en) | Virtualize the method and apparatus that load balancing is realized in network | |
CN104521198A (en) | System and method for virtual ethernet interface binding | |
CN103812777B (en) | Efficient data transmission system and method in overlay virtualized network | |
CN107710159A (en) | System and method for the efficient virtualization in lossless network | |
CN106209638B (en) | From virtual LAN to the message forwarding method and equipment of virtual expansible local area network | |
CN101924699B (en) | Message forwarding method, system and provider edge equipment | |
CN108259346A (en) | A kind of equivalent route item establishing method and device | |
CN106453023B (en) | It is a kind of for physical equipment and the communication means of virtual network, equipment and system | |
CN105791145B (en) | Message transmitting method and device based on equal cost multipath ECMP | |
US10382391B2 (en) | Systems and methods for managing network address information | |
CN106533889A (en) | Method of BPE cross-port extension device to realize link aggregation in chip | |
CN107360096A (en) | A kind of retransmission method and system of VXLAN messages | |
CN108206785A (en) | Optimizing routing and/or next hop related information for multicast traffic | |
CN106331206A (en) | Domain name management method and device | |
CN104079478A (en) | Method and device of packet forwarding | |
CN104219159B (en) | Virtual interface based on VLAN carries out link aggregation method and device | |
CN105991438A (en) | Method and device for processing data packet in virtual two-layer network | |
CN102752199B (en) | Method and system for constructing data forwarding plane of virtual router |
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 | ||
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. |