CN106470155A - A kind of retransmission method of virtual-machine data, SDN controller and SDN system - Google Patents
A kind of retransmission method of virtual-machine data, SDN controller and SDN system Download PDFInfo
- Publication number
- CN106470155A CN106470155A CN201510501925.9A CN201510501925A CN106470155A CN 106470155 A CN106470155 A CN 106470155A CN 201510501925 A CN201510501925 A CN 201510501925A CN 106470155 A CN106470155 A CN 106470155A
- Authority
- CN
- China
- Prior art keywords
- machine
- virtual machine
- target virtual
- physical
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 230000005540 biological transmission Effects 0.000 claims abstract description 8
- 238000007726 management method Methods 0.000 description 18
- 238000004891 communication Methods 0.000 description 8
- 239000011800 void material Substances 0.000 description 8
- 238000010586 diagram Methods 0.000 description 5
- 238000002955 isolation Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 239000003795 chemical substances by application Substances 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000002153 concerted effect Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000013508 migration Methods 0.000 description 1
- 230000005012 migration Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 238000006386 neutralization reaction Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 238000013024 troubleshooting Methods 0.000 description 1
- 230000005641 tunneling Effects 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/14—Routing performance; Theoretical aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of retransmission method of virtual-machine data, SDN controller and SDN system, its method includes:SDN controller receives the virtual-machine data bag of forwarding unit transmission, based on the IP address of target virtual machine, SDN controller judges that whether target virtual machine is the virtual machine in Home Network, if, then obtain the IP address corresponding virtual machine identification code of target virtual machine, and obtain the IP information of the physical machine that target virtual machine corresponding with virtual machine identification code is located;SDN controller is routed according to the IP information of physical machine, and the routing iinformation reaching physical machine is sent to forwarding unit.The retransmission method of the present invention, SDN controller and SDN, IP information based on physical machine selects route, reduce the lookup complexity of route, by collaborative with cloud management platform, calculating, the layout of network, the integrated management of storage resource and resource, the utilization rate of lifting resource and cloud service ability can more efficiently be realized.
Description
Technical field
The present invention relates to technical field of data transmission, more particularly, to a kind of forwarding side of virtual-machine data
Method, SDN controller and SDN system.
Background technology
Software defined network SDN (Software Defined Network) is a kind of new network
Innovation framework.With the extensive application of Intel Virtualization Technology, IT resource will become as that water power is the same to be transported
Battalion infrastructure, cloud data center as the supporting body of important cloud infrastructure, due to virtual
Data center's double layer network demands such as the online migration of machine, virtual machine aware, vlan isolation, multi-tenant
The new automatizatioies such as isolation, the certainly demand such as service, the communication of its virtual machine becomes important research class
Topic, and SDN with its centralized Control, control and forwards the flexible configuration configuration that separation is characterized to manage
Reason, appellation solves one of primary solutions of cloud data center network.
Ask to solve not enough, multi-tenant isolation of big two layers of environment, VLAN that data center faces etc.
Topic, is leading with VMware, VMware and Cisco makes a concerted effort to make release VXLAN technology
(Virtual eXtensible Local Area Network, virtual expansible LAN),
Its Principles of Network is as shown in Figure 1.VXLAN may operate on existing network infrastructure, provides
A kind of method of extension 2 layer networks, is that 2 layer networks on 3 layers cover solution.
The foundation in the encapsulation of VXLAN and tunnel needs by VXLAN tunneling termination (VXLAN Tunnel End
Point, VTEP) entity carries out, and VTEP is packaged to the frame that virtual machine sends, and is allowed to
Transmission, decapsulates to the VXLAN frame being sent to virtual machine in VXLAN network, switch to common with
Too net frame is sent to virtual machine.As shown in Fig. 2 VTEP is directly connected with virtual machine, can perceive
The presence of virtual machine, can be network controlled by one in the upper setting of each end points (as physical machine)
Device directly controls the agency (as vTep) of management, and the network configuration of cloud resource pool has very big spirit
Activity.
In traditional distributed network, router-level topology by every network equipment according to from neighbor learning to
Network topology complete, conventional method includes distance vector Route Selection DVR (Distance
Vector Routing) and Link State route selection LSR (Link State Routing).
After opening for the neutralization of control function collection, user can be participated in route by way of application programming and determine
Plan, puts forward higher requirement it is desirable to can be according to business demand and net to routing calculation module
Network state carries out flexibly quickly route adjustment.Need the cloud of dynamic isolation networking in a large amount of virtual machines
Calculate data center's multi-tenant to carry under environment, router-level topology is increasingly complex, needs to consider industry
Business demand, service-level agreement (Service Level Agreement:) and resource constraint SLA
Situations such as, provide optimal virtual machine network connection scheme.
Based in the virtual machine communication system of SDN, the router-level topology between virtual machine generally has several
The mode of kind, such as carries out Path selection based on VTEP based on traditional routing algorithms, or at centralized Control end
Simple path calculation method (dijkstra's algorithm) is provided, meets basic adaptation link circuit condition
Network optimal path connection requirement, such as great majority are increased income or business OpenFlow controller at present
Solution is all generally this scheme.
Existing have following some problems based on the virtual machine communication mode of SDN:
(1) controller of Openflow switch determines the transmission path of all packets, main
Traditional routing algorithms to be based on carry out Path selection it is difficult to play central controlled advantage, exist low
The problem of efficiency;
(2) Overlay SDN passes through to set up network agent (net on the host that virtual machine is located
Close), set up communication tunnel between virtual machine and communicated, increase management and troubleshooting is complicated
Property, and between network agent, still adopt traditional routing algorithm.
Content of the invention
In view of this, the invention solves the problems that a technical problem be provide a kind of virtual-machine data
Retransmission method, SDN controller and SDN system, the physical machine being located based on target virtual machine
IP information select route.
A kind of retransmission method of virtual-machine data, including:SDN controller receives forwarding unit and sends out
The virtual-machine data bag sending, parses the IP ground of target virtual machine from described virtual-machine data bag
Location;Based on the IP address of described target virtual machine, described SDN controller judges that target virtual machine is
No for the virtual machine in Home Network, if it is, the IP address obtaining described target virtual machine corresponds to
Virtual machine identification code, and obtain corresponding with described virtual machine identification code carrying described destination virtual
The physical machine of machine, and the IP information of described physical machine corresponding with described target virtual machine;Institute
State SDN controller to be routed according to the IP information of described physical machine, and will reach described
The routing iinformation of physical machine is sent to described forwarding unit.
According to one embodiment of present invention, further, described forwarding unit receives described void
During plan machine packet, if it is determined that needing newly-built connection, then described virtual-machine data bag is sent to
Described SDN controller, request route information.
According to one embodiment of present invention, further, storage virtual machine in cloud management platform
IP address and virtual machine identification code corresponding relation, and the corresponding physics of virtual machine identification code
The IP information of machine;The IP address based on described target virtual machine for the described SDN controller is from described cloud
The IP information of the physical machine that described target virtual machine is located is inquired in management platform.
According to one embodiment of present invention, further, when described SDN controller is based on described
The IP address of target virtual machine judge target virtual machine for outer net virtual machine when, then by described void
Plan machine data forwards a packet to gateway device.
According to one embodiment of present invention, further, described SDN controller is according to described thing
The IP information of reason machine be routed including:Described SDN controller carries out path computing, obtains
Get the routing iinformation reaching the physical machine that described target virtual machine is located;Wherein, described SDN adopts
Distance vector route selection algorithm or link state routing algorithm carry out path computing.
According to one embodiment of present invention, further, described forwarding unit is according to described route
Described virtual-machine data is forwarded a packet to the physical machine that described target virtual machine is located by information, by described
Described virtual-machine data bag is distributed to described target virtual machine by physical machine.
According to one embodiment of present invention, further, described forwarding unit is OpenFlow
Switch;Described virtual machine identification code includes virtualizing the MAC Address of type and physical machine.
A kind of SDN controller, including:Packet receiving unit, sends for receiving forwarding unit
Virtual-machine data bag;Target IP resolution unit, for parsing from described virtual-machine data bag
Go out the IP address of target virtual machine;Physical address acquiring unit, for based on described destination virtual
The IP address of machine judges that whether target virtual machine is the virtual machine in Home Network, if it is, obtaining
The IP address corresponding virtual machine identification code of described target virtual machine, and obtain and described virtual machine
Identification code corresponding carry described target virtual machine physical machine, and with described target virtual machine pair
The IP information of the described physical machine answered;Route selection unit, for the IP according to described physical machine
Information is routed;Route sending-down unit, for reaching the routing iinformation of described physical machine
It is sent to described forwarding unit.
According to one embodiment of present invention, further, described physical address acquiring unit, also
Inquire described mesh for the IP address based on described target virtual machine from described cloud management platform
The IP information of the physical machine that mark virtual machine is located;Wherein, storage virtual machine in cloud management platform
IP address and virtual machine identification code corresponding relation, and the corresponding physics of virtual machine identification code
The IP information of machine;
According to one embodiment of present invention, further, data packet forwarding unit, for working as base
In described target virtual machine IP address judge target virtual machine for outer net virtual machine when, then will
Described virtual-machine data forwards a packet to gateway device.
According to one embodiment of present invention, further, described route selection unit, is additionally operable to
Carry out path computing, obtain the routing iinformation reaching the physical machine that described target virtual machine is located;Its
In, described route selection unit adopts distance vector route selection algorithm or Link State route to select
Algorithm carries out path computing.
A kind of SDN system, including:Forwarding unit, SDN controller as above.
According to one embodiment of present invention, further, described forwarding unit receives described void
During plan machine packet, if it is determined that needing newly-built connection, then described virtual-machine data bag is sent to
Described SDN controller, request route information.
According to one embodiment of present invention, further, described forwarding unit is OpenFlow
Switch;Described virtual machine identification code includes virtualizing the MAC Address of type and physical server.
The retransmission method of the virtual-machine data of the present invention, SDN controller and SDN, by virtual machine
The IP information of the physical machine that identification code indirect reference target virtual machine is located, the IP based on physical machine
Information selects route, reduces the lookup complexity of route, and is carried out using the characteristic of cloud computing virtual
The Path selection of machine.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will
The accompanying drawing of required use in embodiment or description of the prior art is briefly described, aobvious and easy
Insight, drawings in the following description are only some embodiments of the present invention, common for this area
For technical staff, without having to pay creative labor, can also be according to these accompanying drawings
Obtain other accompanying drawings.
Fig. 1 is a topological schematic diagram of virtual expansible LAN of the prior art;
Fig. 2 is another topological schematic diagram of virtual expansible LAN of the prior art;
Fig. 3 is that the flow process of an embodiment of the retransmission method of virtual-machine data of the present invention is illustrated
Figure;
Fig. 4 is the application scenarios schematic diagram that existing virtual-machine data forwards;
Fig. 5 is the application scenarios schematic diagram of the forwarding of virtual-machine data of the present invention;
Fig. 6 is the module diagram of an embodiment of the SDN controller according to the present invention.
Specific embodiment
With reference to the accompanying drawings the present invention is described more fully, the example of the present invention is wherein described
Property embodiment.Below in conjunction with the accompanying drawing in the embodiment of the present invention, to the skill in the embodiment of the present invention
Art scheme is clearly and completely described it is clear that described embodiment is only the present invention one
Section Example, rather than whole embodiments.Based on the embodiment in the present invention, this area is general
The every other embodiment that logical technical staff is obtained under the premise of not making creative work, all
Belong to the scope of protection of the invention.With reference to each figure and embodiment to technical scheme
Carry out many descriptions.
Fig. 3 is that the flow process of an embodiment of the retransmission method of virtual-machine data of the present invention is illustrated
Figure, as shown in Figure 3:
Step 101, SDN controller receives the virtual-machine data bag of forwarding unit transmission, from void
The IP address of target virtual machine is parsed in plan machine packet.
Step 102, based on the IP address of target virtual machine, SDN controller judges that target virtual machine is
No for the virtual machine in Home Network, if it is, obtaining the corresponding void of IP address of target virtual machine
Plan machine identification code, and obtain the physical machine that carry target virtual machine corresponding with virtual machine identification code,
And the IP information of physical machine corresponding with target virtual machine.Most of physical machine has throw the net more
Card, that is, physical machine has multiple IP address, and virtual machine generally only binds one of physics
Network interface card, that is, need to obtain the IP information of the physical machine corresponding to target virtual machine.
The information of target virtual machine can be obtained by SDN controller query resource pond, judge target
Whether virtual machine is the virtual machine in Home Network.When the information of target virtual machine is in resource pool, then
Show that target virtual machine is the virtual machine in Home Network, SDN can calculate or obtain the void sending data
Plan machine reaches the routing iinformation of target virtual machine.When the information of target virtual machine is not in resource pool
When, then show the virtual machine that target virtual machine is outer net.
Step 103, SDN controller is routed according to the IP information of physical machine, and will arrive
The routing iinformation reaching physical machine is sent to forwarding unit.
When forwarding unit receives virtual-machine data bag, if it is determined that needing newly-built connection, then by void
Plan machine packet is sent to SDN controller, request route information.Cloud management platform store empty
The IP address of plan machine and the corresponding relation of virtual machine identification code, and virtual machine identification code is corresponding
The IP information of physical machine.The IP address based on target virtual machine for the SDN controller is from cloud management platform
In inquire target virtual machine place physical machine IP information.
The retransmission method of the virtual-machine data in above-described embodiment, by by the IP of virtual machine and cloud
The unique identifier that management platform distributes to virtual machine sets up corresponding relation, and virtual machine identification code
Corresponding relation and physical machine between, the IP communication requirement between virtual machine is transformed into corresponding void
Plan machine, the state of energy combined with virtual machine and management strategy directly formulate communication flow table, raising efficiency.
In the Route Selection of network, by the identification code indirect reference target virtual machine institute of virtual machine
Physical server information, thus reducing the lookup complexity of route.Network controller and cloud pipe
The information synergism of platform, carries out the Path selection of virtual machine using the characteristic of cloud computing.
In one embodiment, when SDN controller judges mesh based on the IP address of target virtual machine
When mark virtual machine is the virtual machine of outer net, then virtual-machine data is forwarded a packet to gateway device.SDN
Controller carries out path computing, obtains the routing iinformation reaching the physical machine that target virtual machine is located.
SDN controller can be entered using distance vector route selection algorithm or link state routing algorithm
Row path computing.
Virtual-machine data is forwarded a packet to the thing at target virtual machine place by forwarding unit according to routing iinformation
Virtual-machine data bag is distributed to target virtual machine by physical machine by reason machine.Forwarding unit is
OpenFlow switch etc., virtual machine identification code includes virtualizing the MAC ground of type and physical machine
Location.
As shown in figure 4, in current cloud resource pool, because network controller is virtual by each
The network interface card (IP address) of machine as an access node, when the packet forwarding does not have in flow table
When finding respective items, forwarding unit (virtual switch, physical switches etc.) is asked to controller
Transmission path, controller is based on IP routing protocol or routing algorithm carries out Path selection, produces new
Network flow table.In the selection in path, because controller is to be route based on IP, selecting effect
Have a greatly reduced quality in rate.
The retransmission method of the virtual-machine data of the present invention, proposes to know using virtual machine in cloud management platform
Other code and the corresponding relation of IP address, when network controller carries out router-level topology, first confirm virtual
Physical machine or the network site of physical server (i.e. host) that machine is located, and it is based on host
Carry out Path selection, the combinations matches item of routing algorithm is greatly decreased.
As shown in figure 5, first, between two virtual machines communication lines to be set up by when, virtual machine
Normally send packet, when forwarding unit receives packet and will be forwarded, due to being newly-built
Connect, need to inquire about forwarding flow table to controller, therefore the packet of virtual machine is transmitted to control
Device.
When SDN controller receives routing inquiry, the packet being primarily based on virtual machine is solved
Analysis, searches Target IP whether in the range of resource pool, if the packet of outer net, then according to just
Normal flow process issues gateway device.When being the discovery that the other virtual machine in resource pool, then exist
In the data base of cloud management platform, virtual machine identification code is found according to target ip address, thus finding
The information of the physical machine that virtual machine is located, according to described physical machine corresponding with described target virtual machine
IP information be routed.
Data is forwarded a packet to corresponding physical machine according to the routing information receiving by forwarding unit,
Because Route Selection is selection forward-path in physical machine list, compare a fairly large number of virtual
Carry out path forwarding in machine, enable more efficient Route Selection.
Generally virtual machine identification code, according to virtualization type and physical server MAC Address layout, has
Beneficial to the retrieval of virtual machine identification code and host position, physical machine can also be set up in management platform
Identification code corresponding relation
In one embodiment, in current cloud resource pool, first, as two virtual machine vm1
And vm6 between communication lines to be set up by when, virtual machine vm1 normally sends packet, works as forwarding unit
When (physical switches, such as conventional openflow switch) receive packet and will be forwarded,
Due to being newly-built connection, need to inquire about forwarding flow table to SDN controller, therefore will be virtual
The packet of machine vm1 is transmitted to controller.
When controller receives routing inquiry, the packet being primarily based on virtual machine vm1 is solved
Analysis, searches Target IP whether in the range of resource pool, if the packet of outer net, then according to just
Normal flow process issues gateway device.If it find that when being the other virtual machine in resource pool, then
The identification code of virtual machine vm6 in the data base of cloud management platform, is found according to target ip address,
Thus finding the information of physical machine B at virtual machine place, it is route according to the IP information of physical machine B
Select.
Data is forwarded a packet to corresponding physical machine according to the routing information receiving by forwarding unit
B, because Route Selection is to select forward-path in physical machine list (i.e. A and B), compares
Carry out path in a fairly large number of virtual machine (vm1, vm2, vm3, vm4, vm5, vm6) to turn
Send out, enable more efficient Route Selection.
In one embodiment, the present invention provides a kind of SDN controller.As shown in fig. 6, data
Bag receiving unit 41 receives the virtual-machine data bag that forwarding unit sends.Target IP resolution unit
42 IP address parsing target virtual machine from virtual-machine data bag.Physical address acquiring unit
Based on the IP address of target virtual machine, 43 judge that whether target virtual machine is the virtual machine in Home Network.
If it is, the IP address that physical address acquiring unit 43 then obtains target virtual machine is corresponding
Virtual machine identification code, and obtain the physical machine that target virtual machine corresponding with virtual machine identification code is located
IP information.Route selection unit 44 is routed according to the IP information of physical machine.Road
The routing iinformation reaching physical machine is sent to by forwarding unit by issuance unit 45.
In one embodiment, the IP address based on target virtual machine for the physical address acquiring unit 43
The IP information of the physical machine at target virtual machine place is inquired from cloud management platform.In cloud management
The corresponding relation of the IP address of storage virtual machine and virtual machine identification code in platform, and virtual machine
The IP information of the corresponding physical machine of identification code.
Based on the IP address of target virtual machine, data packet forwarding unit 46 ought judge that target virtual machine is
During the virtual machine of outer net, then virtual-machine data is forwarded a packet to gateway device.Route selection unit
44 carry out path computing, obtain the routing iinformation reaching the physical machine that target virtual machine is located.Road
Distance vector route selection algorithm or link state routing algorithm etc. are adopted by select unit 44
Carry out path computing.
In one embodiment, the present invention provides a kind of SDN system, including:Forwarding unit, such as
On SDN controller.
The retransmission method of virtual-machine data, SDN controller and SDN system that above-described embodiment provides,
Possesses advantages below:
(1) due to the appearance of server virtualization software, a physical server can be gone out with virtual machine
Dozens of even up to a hundred virtual machines, when controller carries out the router-level topology of virtual machine, can pass through
Router-level topology is reduced tens of or even hundreds times by this method;
(2) by collaborative with cloud management platform, can more efficiently realize calculating, network, deposit
The storage integrated management of resource and the layout of resource, the utilization rate of lifting resource and cloud service ability.
The method of the present invention and system may be achieved in many ways.For example, can pass through soft
Part, hardware, firmware or software, hardware, the side to realize the present invention for any combinations of firmware
Method and system.Said sequence for the step of method merely to illustrating, the present invention's
The step of method is not limited to order described in detail above, unless specifically stated otherwise.
Additionally, in certain embodiments, also the present invention can be embodied as recording journey in the recording medium
Sequence, these programs include the machine readable instructions for realizing the method according to the invention.Cause
And, the present invention also covers storage and is situated between for the record executing the program of the method according to the invention
Matter.
Description of the invention is given for the sake of example and description, and is not exhaustively
Or limit the invention to disclosed form.Many modifications and variations are for the common skill of this area
It is obvious for art personnel.Select and describe the principle that embodiment is in order to the present invention is more preferably described
And practical application, and make those of ordinary skill in the art it will be appreciated that the present invention is thus design is suitable
In the various embodiments with various modifications for the special-purpose.
Claims (14)
1. a kind of retransmission method of virtual-machine data is it is characterised in that include:
SDN controller receives the virtual-machine data bag of forwarding unit transmission, parses the IP address of target virtual machine from described virtual-machine data bag;
Based on the IP address of described target virtual machine, described SDN controller judges that whether target virtual machine is the virtual machine in Home Network, if, then obtain the IP address corresponding virtual machine identification code of described target virtual machine, and obtain the physical machine that carry described target virtual machine corresponding with described virtual machine identification code, and the IP information of described physical machine corresponding with described target virtual machine;
Described SDN controller is routed according to the IP information of described physical machine, and the routing iinformation reaching described physical machine is sent to described forwarding unit.
2. the method for claim 1 is it is characterised in that include:
When described forwarding unit receives described virtual-machine data bag, if it is determined that needing newly-built connection, then described virtual-machine data bag is sent to described SDN controller, request route information.
3. method as claimed in claim 2 it is characterised in that:
The corresponding relation of the IP address of storage virtual machine and virtual machine identification code in cloud management platform, and the IP information of the corresponding physical machine of virtual machine identification code;
The IP address based on described target virtual machine for the described SDN controller inquires the IP information of the physical machine that described target virtual machine is located from described cloud management platform.
4. the method for claim 1 it is characterised in that:
When described SDN controller based on the IP address of described target virtual machine judge target virtual machine for outer net virtual machine when, then described virtual-machine data is forwarded a packet to gateway device.
5. the method for claim 1 it is characterised in that described SDN controller according to the IP information of described physical machine be routed including:
Described SDN controller carries out path computing, obtains the routing iinformation reaching the physical machine that described target virtual machine is located;
Wherein, described SDN carries out path computing using distance vector route selection algorithm or link state routing algorithm.
6. method as claimed in claim 5 it is characterised in that:
Described virtual-machine data is forwarded a packet to the physical machine that described target virtual machine is located according to described routing iinformation by described forwarding unit, by described physical machine, described virtual-machine data bag is distributed to described target virtual machine.
7. the method for claim 1 it is characterised in that:
Described forwarding unit is OpenFlow switch;
Described virtual machine identification code includes virtualizing the MAC Address of type and physical machine.
8. a kind of SDN controller is it is characterised in that include:
Packet receiving unit, for receiving the virtual-machine data bag of forwarding unit transmission;
Target IP resolution unit, for parsing the IP address of target virtual machine from described virtual-machine data bag;
Physical address acquiring unit, for judging that whether target virtual machine is the virtual machine in Home Network based on the IP address of described target virtual machine, if, then obtain the IP address corresponding virtual machine identification code of described target virtual machine, and obtain the physical machine that carry described target virtual machine corresponding with described virtual machine identification code, and the IP information of described physical machine corresponding with described target virtual machine;
Route selection unit, is routed for the IP information according to described physical machine;
Route sending-down unit, for being sent to described forwarding unit by the routing iinformation reaching described physical machine.
9. SDN controller as claimed in claim 8 it is characterised in that:
Described physical address acquiring unit, is additionally operable to the IP information that the IP address based on described target virtual machine inquires the physical machine that described target virtual machine is located from described cloud management platform;
Wherein, in cloud management platform the IP address of storage virtual machine and virtual machine identification code corresponding relation, and the IP information of the corresponding physical machine of virtual machine identification code.
10. SDN controller as claimed in claim 9 is it is characterised in that include:
Data packet forwarding unit, for when based on the IP address of described target virtual machine judge target virtual machine for outer net virtual machine when, then described virtual-machine data is forwarded a packet to gateway device.
11. SDN controllers as claimed in claim 8 it is characterised in that:
Described route selection unit, is additionally operable to carry out path computing, obtains the routing iinformation reaching the physical machine that described target virtual machine is located;
Wherein, described route selection unit carries out path computing using distance vector route selection algorithm or link state routing algorithm.
A kind of 12. SDN systems it is characterised in that:
Including:Forwarding unit, the SDN controller as described in claim 8 to 11 any one.
13. SDN systems as claimed in claim 12 it is characterised in that:
When described forwarding unit receives described virtual-machine data bag, if it is determined that needing newly-built connection, then described virtual-machine data bag is sent to described SDN controller, request route information.
14. SDN systems as claimed in claim 12 it is characterised in that:
Described forwarding unit is OpenFlow switch;
Described virtual machine identification code includes virtualizing the MAC Address of type and physical server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510501925.9A CN106470155B (en) | 2015-08-14 | 2015-08-14 | Virtual machine data forwarding method, SDN controller and SDN system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510501925.9A CN106470155B (en) | 2015-08-14 | 2015-08-14 | Virtual machine data forwarding method, SDN controller and SDN system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106470155A true CN106470155A (en) | 2017-03-01 |
CN106470155B CN106470155B (en) | 2020-03-31 |
Family
ID=58214627
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510501925.9A Active CN106470155B (en) | 2015-08-14 | 2015-08-14 | Virtual machine data forwarding method, SDN controller and SDN system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106470155B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107124411A (en) * | 2017-04-26 | 2017-09-01 | 上海优刻得信息科技有限公司 | Virtual private cloud implementation method, device and system under classic network environment |
CN107147533A (en) * | 2017-05-31 | 2017-09-08 | 郑州云海信息技术有限公司 | A kind of flow table configuration distributing method and system based on SDN frameworks |
CN107547404A (en) * | 2017-07-31 | 2018-01-05 | 新华三技术有限公司 | Flow table generation method and device and message forwarding method and device |
CN109194742A (en) * | 2018-09-04 | 2019-01-11 | 郑州云海信息技术有限公司 | A kind of connection method, device and the storage medium of virtual machine console |
CN110110004A (en) * | 2018-01-30 | 2019-08-09 | 腾讯科技(深圳)有限公司 | A kind of data manipulation method, device and storage medium |
CN111327545A (en) * | 2018-12-14 | 2020-06-23 | 北京金山云网络技术有限公司 | Data sending method and device, network system and switch |
CN114003349A (en) * | 2021-12-30 | 2022-02-01 | 杭州优云科技有限公司 | Virtual machine migration method and equipment |
CN114327748A (en) * | 2021-11-29 | 2022-04-12 | 北京志凌海纳科技有限公司 | Virtual machine interaction method and device, nonvolatile storage medium and processor |
CN114844833A (en) * | 2022-03-30 | 2022-08-02 | 阿里云计算有限公司 | Message processing method and system, storage medium and computer terminal |
CN115913824A (en) * | 2023-02-10 | 2023-04-04 | 中航金网(北京)电子商务有限公司 | VPC-crossing virtual server communication method and system |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101667144A (en) * | 2009-09-29 | 2010-03-10 | 北京航空航天大学 | Virtual machine communication method based on shared memory |
US7941539B2 (en) * | 2008-06-30 | 2011-05-10 | Oracle America, Inc. | Method and system for creating a virtual router in a blade chassis to maintain connectivity |
CN102299929A (en) * | 2011-09-15 | 2011-12-28 | 北京天地云箱科技有限公司 | Access control method, system and device for virtual machine |
US20120207031A1 (en) * | 2011-01-14 | 2012-08-16 | International Business Machines Corporation | Hypervisor routing between networks in a virtual networking environment |
CN103763367A (en) * | 2014-01-17 | 2014-04-30 | 浪潮(北京)电子信息产业有限公司 | Method and system for designing distributed virtual network in cloud calculating data center |
CN104202264A (en) * | 2014-07-31 | 2014-12-10 | 华为技术有限公司 | Carrying resource allocation method for clouded data center network, device and system |
CN104486192A (en) * | 2014-12-05 | 2015-04-01 | 国云科技股份有限公司 | VLAN (Virtual Local Area Network) isolation method |
CN104601428A (en) * | 2014-12-23 | 2015-05-06 | 广州亦云信息技术有限公司 | Communication method of virtual machines |
-
2015
- 2015-08-14 CN CN201510501925.9A patent/CN106470155B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7941539B2 (en) * | 2008-06-30 | 2011-05-10 | Oracle America, Inc. | Method and system for creating a virtual router in a blade chassis to maintain connectivity |
CN101667144A (en) * | 2009-09-29 | 2010-03-10 | 北京航空航天大学 | Virtual machine communication method based on shared memory |
US20120207031A1 (en) * | 2011-01-14 | 2012-08-16 | International Business Machines Corporation | Hypervisor routing between networks in a virtual networking environment |
CN102299929A (en) * | 2011-09-15 | 2011-12-28 | 北京天地云箱科技有限公司 | Access control method, system and device for virtual machine |
CN103763367A (en) * | 2014-01-17 | 2014-04-30 | 浪潮(北京)电子信息产业有限公司 | Method and system for designing distributed virtual network in cloud calculating data center |
CN104202264A (en) * | 2014-07-31 | 2014-12-10 | 华为技术有限公司 | Carrying resource allocation method for clouded data center network, device and system |
CN104486192A (en) * | 2014-12-05 | 2015-04-01 | 国云科技股份有限公司 | VLAN (Virtual Local Area Network) isolation method |
CN104601428A (en) * | 2014-12-23 | 2015-05-06 | 广州亦云信息技术有限公司 | Communication method of virtual machines |
Non-Patent Citations (2)
Title |
---|
MICROSOFT: "Hyper-V:MAC Address allocation and apparent network issues MAC collisions can cause", 《MICROSOFT DOCS》 * |
STANLEY: "服务器虚拟化的MAC地址分配", 《新浪博客》 * |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107124411A (en) * | 2017-04-26 | 2017-09-01 | 上海优刻得信息科技有限公司 | Virtual private cloud implementation method, device and system under classic network environment |
CN107124411B (en) * | 2017-04-26 | 2019-09-06 | 优刻得科技股份有限公司 | Virtual private cloud implementation method, device and system under classic network environment |
CN107147533A (en) * | 2017-05-31 | 2017-09-08 | 郑州云海信息技术有限公司 | A kind of flow table configuration distributing method and system based on SDN frameworks |
CN107547404B (en) * | 2017-07-31 | 2019-11-05 | 新华三技术有限公司 | Flow table generation method and device and message forwarding method and device |
CN107547404A (en) * | 2017-07-31 | 2018-01-05 | 新华三技术有限公司 | Flow table generation method and device and message forwarding method and device |
CN110110004A (en) * | 2018-01-30 | 2019-08-09 | 腾讯科技(深圳)有限公司 | A kind of data manipulation method, device and storage medium |
CN109194742B (en) * | 2018-09-04 | 2021-07-02 | 郑州云海信息技术有限公司 | Virtual machine console connection method and device and storage medium |
CN109194742A (en) * | 2018-09-04 | 2019-01-11 | 郑州云海信息技术有限公司 | A kind of connection method, device and the storage medium of virtual machine console |
CN111327545A (en) * | 2018-12-14 | 2020-06-23 | 北京金山云网络技术有限公司 | Data sending method and device, network system and switch |
CN111327545B (en) * | 2018-12-14 | 2021-10-15 | 北京金山云网络技术有限公司 | Data sending method and device, network system and switch |
CN114327748A (en) * | 2021-11-29 | 2022-04-12 | 北京志凌海纳科技有限公司 | Virtual machine interaction method and device, nonvolatile storage medium and processor |
CN114327748B (en) * | 2021-11-29 | 2022-10-18 | 北京志凌海纳科技有限公司 | Virtual machine interaction method and device, nonvolatile storage medium and processor |
CN114003349A (en) * | 2021-12-30 | 2022-02-01 | 杭州优云科技有限公司 | Virtual machine migration method and equipment |
CN114003349B (en) * | 2021-12-30 | 2022-07-12 | 杭州优云科技有限公司 | Virtual machine migration method and equipment |
CN114844833A (en) * | 2022-03-30 | 2022-08-02 | 阿里云计算有限公司 | Message processing method and system, storage medium and computer terminal |
CN115913824A (en) * | 2023-02-10 | 2023-04-04 | 中航金网(北京)电子商务有限公司 | VPC-crossing virtual server communication method and system |
CN115913824B (en) * | 2023-02-10 | 2023-07-25 | 中航金网(北京)电子商务有限公司 | Virtual server communication method and system crossing VPC |
Also Published As
Publication number | Publication date |
---|---|
CN106470155B (en) | 2020-03-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106470155A (en) | A kind of retransmission method of virtual-machine data, SDN controller and SDN system | |
CN104823405B (en) | The IP multicast services departure process networked for the virtual private cloud based on MPLS | |
CN104584491B (en) | Distributed virtual route and the system and method for exchanging (DVRS) are provided | |
CN105553849B (en) | A kind of traditional IP and SPTN network intercommunication method and system | |
CN104767676B (en) | Data message forwarding method and system in SDN | |
JP5991424B2 (en) | Packet rewriting device, control device, communication system, packet transmission method and program | |
CN105656796B (en) | The method and apparatus for realizing three layers of virtual extended local area network forwarding | |
CN104871483A (en) | IP multicast service join process for MPLS-based virtual private cloud networking | |
CN104348724B (en) | A kind of data forwarding method and device for supporting multi-tenant | |
CN103560967B (en) | The virtual data center mapping method of a kind of business demand perception | |
CN107409066A (en) | For automatic detection and the system and method for configuration server uplink network interface | |
CN105897465A (en) | Equipment configuration method and apparatus | |
CN104350467A (en) | Elastic enforcement layer for cloud security using SDN | |
US20180077048A1 (en) | Controller, control method and program | |
CN103081418A (en) | Computer system and communication method in computer system | |
CN105340224A (en) | Network control method and apparatus | |
CN104468462A (en) | Method and apparatus for forwarding message of distributed virtual switch system | |
CN104092576B (en) | A kind of network topology computational methods and device | |
CN106302320A (en) | For the method that the business of user is authorized, Apparatus and system | |
US20180088972A1 (en) | Controller, control method and program | |
CN104184663A (en) | Communication method and device based on software-defined network and integrated identification network | |
CN104144082A (en) | Method for detecting loop in two-layer network and controller | |
TWI759571B (en) | Data transfer method based on flow table | |
CN104363170A (en) | Data flow forwarding method and device in software defined network (SDN) | |
CN105391635A (en) | Network virtualization method based on software defined network (SDN) |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
EE01 | Entry into force of recordation of patent licensing contract | ||
EE01 | Entry into force of recordation of patent licensing contract |
Application publication date: 20170301 Assignee: Tianyiyun Technology Co.,Ltd. Assignor: CHINA TELECOM Corp.,Ltd. Contract record no.: X2024110000040 Denomination of invention: A method for forwarding virtual machine data, SDN controller, and SDN system Granted publication date: 20200331 License type: Common License Record date: 20240914 |