CN103647692A - Network processing method, device and system - Google Patents

Network processing method, device and system Download PDF

Info

Publication number
CN103647692A
CN103647692A CN201310538573.5A CN201310538573A CN103647692A CN 103647692 A CN103647692 A CN 103647692A CN 201310538573 A CN201310538573 A CN 201310538573A CN 103647692 A CN103647692 A CN 103647692A
Authority
CN
China
Prior art keywords
physical machine
virtual machine
interface card
network interface
vlan
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310538573.5A
Other languages
Chinese (zh)
Other versions
CN103647692B (en
Inventor
齐路
张玉放
唐会军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201310538573.5A priority Critical patent/CN103647692B/en
Publication of CN103647692A publication Critical patent/CN103647692A/en
Application granted granted Critical
Publication of CN103647692B publication Critical patent/CN103647692B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention provides a network processing method, device and system. The network processing method comprises the following steps: a port which is connected with the network card of a physical machine is set to the relay trunk mode through a switchboard, wherein the physical machine and a virtual machine can access to a plurality of virtual local area network vlans by setting the port to the trunk mode; after the port is set to the trunk mode, a network bridge device trunk_bridge is arranged on the physical machine, and the network card of the physical machine and the network card of the virtual machine are hanged through the set trunk_bridge; and vlan configuration is performed in the virtual machine. By adopting the embodiments of the invention, the system complexity of the virtual machine when the virtual machine is used to support a plurality of vlans, and the overhead of the system itself can be reduced.

Description

Network processing method, equipment and system
Technical field
The present invention relates to internet, applications field, particularly relate to a kind of network processing method, equipment and system.
Background technology
In virtual, virtual machine accesses network has various ways, for example open source code virtual machine monitor xen.Xen, without special hardware support, just can reach high performance virtual.In virtualized environment, the network that bridge (hereinafter to be referred as bridge), network address translation (Network Address Translation, hereinafter to be referred as nat) and three kinds of modes of circuit (hereinafter to be referred as route) are carried out configuring virtual machine can be set.The most frequently used is bridge mode.By bridge mode, virtual machine and physical machine itself can both be passed through procotol (Internet Protocol, hereinafter to be referred as the IP) accesses network of oneself.
When virtual machine need to be accessed a plurality of subnets, and and these subnet double layer intercommunications, this just needs virtual machine to support a plurality of VLANs (Virtual Local Area Network, hereinafter to be referred as vlan).Fig. 1 shows according to the structural representation of the network processing system of background technology.As shown in Figure 1, when the vlan quantity that need to support when virtual machine is more, need to set up with the bridge of vlan equivalent amount and the network interface card that adds equivalent amount, make when virtual machine need to be supported a plurality of vlan, have the excessive problem of the complicated expense loaded down with trivial details and system itself of network system.
Summary of the invention
In view of the above problems, the present invention has been proposed to a kind of a kind of network processing method, equipment and system that overcomes the problems referred to above or address the above problem is at least in part provided.
According to one aspect of the present invention, a kind of network processing system is provided, comprise switch, physical machine and virtual machine: described switch, the port that is configured to be connected with the network interface card of physical machine is set to trunk pattern, wherein, being set to trunk pattern makes described physical machine and described virtual machine can access a plurality of vlan; Described physical machine, be configured to be connected by port with described switch, until the described port of described switch, be set to, after trunk pattern, bridge equipment trunk_bridge is set, and utilize the trunk_bridge arranging to hang the network interface card of described physical machine and the network interface card of described virtual machine; Described virtual machine, is configured to carry out the configuration of vlan in described virtual machine inside.
Alternatively, the network interface card of described physical machine does not carry out the configuration of vlan in described physical machine.
Alternatively, the vlan of described virtual machine internal configurations is a plurality of.
According to another aspect of the present invention, a kind of physical machine is also provided, comprising: the network interface card of physical machine, is configured to be connected by port with switch; Network equipment trunk_bridge, is configured to hang the network interface card of described physical machine and the network interface card of the virtual machine corresponding with described physical machine.
Alternatively, the network interface card of described physical machine is also configured to be connected with the port of described switch by trunk pattern, wherein, is set to trunk pattern and makes described physical machine can access a plurality of vlan.
Alternatively, the network interface card of described physical machine does not carry out the configuration of vlan in described physical machine.
According to another aspect of the present invention, a kind of virtual machine is also provided, comprising: the network interface card of virtual machine, is configured to be suspended on the bridge equipment trunk_bridge of physical machine setting; Network configurator, is configured to carry out the configuration of vlan in described virtual machine inside.
Alternatively, described network configurator is also configured to carry out the configuration of a plurality of vlan in described virtual machine inside.
According to another aspect of the present invention, a kind of network processing method is also provided, comprise: the port that utilizes switch to be connected with the network interface card of physical machine is set to trunk pattern, wherein, be set to trunk pattern and make described physical machine and described virtual machine can access a plurality of vlan; Described port is set to, after trunk pattern, bridge equipment trunk_bridge is set in described physical machine, and utilizes the trunk_bridge arranging to hang the network interface card of described physical machine and the network interface card of described virtual machine; In described virtual machine inside, carry out the configuration of vlan.
Alternatively, the network interface card of described physical machine does not carry out the configuration of vlan in described physical machine.
Alternatively, in described virtual machine inside, carry out the configuration of a plurality of vlan.
According to the embodiment of the present invention, switch is connected by being set to the port of trunk pattern with physical machine, bridge equipment trunk_bridge is set in physical machine, and the network interface card of the network interface card of physical machine and virtual machine is hung on bridge equipment trunk_bridge, in virtual machine inside, carry out the configuration of vlan, the problem of the system configuration complexity that a plurality of vlan of solution virtual machine internal support cause, thereby the expense of minimizing system itself.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to better understand technological means of the present invention, and can be implemented according to the content of specification, and for above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
According to the detailed description to the specific embodiment of the invention by reference to the accompanying drawings below, those skilled in the art will understand above-mentioned and other objects, advantage and feature of the present invention more.
Accompanying drawing explanation
By reading below detailed description of the preferred embodiment, various other advantage and benefits will become cheer and bright for those of ordinary skills.Accompanying drawing is only for the object of preferred implementation is shown, and do not think limitation of the present invention.And in whole accompanying drawing, by identical reference symbol, represent identical parts.In the accompanying drawings:
Fig. 1 shows according to the structural representation of the network processing system of background technology;
Fig. 2 shows the process chart of network processing method according to an embodiment of the invention;
Fig. 3 shows the structural representation of network processing system according to an embodiment of the invention;
Fig. 4 shows the structural representation of physical machine according to an embodiment of the invention;
Fig. 5 shows the structural representation of virtual machine according to an embodiment of the invention; And
Fig. 6 shows the structural representation of network processing system in accordance with a preferred embodiment of the present invention.
Embodiment
The algorithm providing at this is intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with demonstration.Various general-purpose systems also can with based on using together with this teaching.According to description above, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also for any certain programmed language.It should be understood that and can utilize various programming languages to realize content of the present invention described here, and the description of above language-specific being done is in order to disclose preferred forms of the present invention.
In correlation technique, mention, when the vlan quantity that need to support when virtual machine is more, need to set up with the bridge of vlan equivalent amount and the network interface card that adds equivalent amount, make network system complexity loaded down with trivial details, and cause the expense of system itself excessive.
For solving the problems of the technologies described above, the embodiment of the present invention provides a kind of network processing method.Fig. 2 shows the process chart of network processing method according to an embodiment of the invention.Referring to Fig. 2, first perform step S202, the port that utilizes switch to be connected with the network interface card of physical machine is set to repeater mode (hereinafter to be referred as trunk pattern), and this port is set to after trunk pattern, and physical machine and virtual machine can be accessed a plurality of vlan.The port being connected with the network interface card of physical machine is set to after trunk pattern, referring to the step S204 in Fig. 2, bridge equipment trunk_bridge is set in physical machine, and utilizes the trunk_bridge arranging to hang the network interface card of physical machine and the network interface card of virtual machine.After bridge equipment trunk_bridge is set in step S204 completes, the step S206 in execution graph 2, carries out the configuration of vlan in virtual machine inside.
According to the embodiment of the present invention, switch is connected by being set to the port of trunk pattern with physical machine, bridge equipment trunk_bridge is set in physical machine, and the network interface card of the network interface card of physical machine and virtual machine is hung on bridge equipment trunk_bridge, in virtual machine inside, carry out the configuration of vlan, the problem of the system configuration complexity that a plurality of vlan of solution virtual machine internal support cause, thereby the expense of minimizing system itself.
In the embodiment of the present invention, after bridge equipment trunk_bridge is set in physical machine, on bridge equipment, hang the network interface card of physical machine, and the network interface card of this physical machine does not carry out the configuration of vlan in physical machine, and in virtual machine inside, carry out vlan configuration, reduce the complexity configuring in physical machine, thereby reduce the expense of physical machine.
In addition, in the embodiment of the present invention, the vlan that carries out in virtual machine inside configuration can be for configuring a vlan, can also be for configuring a plurality of vlan.When the vlan of virtual machine internal configurations increases, owing to not configured vlan in the network interface card of physical machine, without set up the bridge with vlan equivalent amount in physical machine, more without the network interface card that adds equivalent amount in virtual machine, thereby reduce the complexity of system, the expense of minimizing system itself.
Network processing method based on above each preferred embodiment provides, based on same inventive concept, the embodiment of the present invention provides a kind of network processing system.
Fig. 3 shows the structural representation of network processing system according to an embodiment of the invention.Referring to Fig. 3, the network processing system 300 of the embodiment of the present invention at least comprises: switch 310, physical machine 320 and virtual machine 330.
Now introduce each device of network processing system 300 or the function of composition and the annexation between each several part of the embodiment of the present invention.As shown in Figure 3, switch 310 is set to trunk pattern with the port that the network interface card of physical machine 320 is connected.The port being connected with the network interface card of physical machine 320 is set to trunk pattern and makes physical machine 320 and virtual machine 330 can access a plurality of vlan.
Physical machine 320 is connected with switch 310 by port.Switch 310 these ports are set to after trunk pattern, and physical machine 320 arranges bridge equipment trunk_bridge, and utilize the trunk_bridge arranging to hang the network interface card of physical machine 320 and the network interface card of virtual machine 330.The equipment of the network interface card of virtual machine 330 correspondence in physical machine 320 carries out the configuration of vlan in virtual machine 330 inside after hanging on trunk_bridge.
According to the embodiment of the present invention, switch 310 is connected by being set to the port of trunk pattern with physical machine 320, at the interior bridge equipment trunk_bridge that arranges of physical machine 320, and the network interface card of the network interface card of physical machine 320 and virtual machine 330 is hung on bridge equipment trunk_bridge, in virtual machine 330 inside, carry out the configuration of vlan, the problem of the system configuration complexity that a plurality of vlan of solution virtual machine 330 internal support cause, thereby the expense of minimizing system itself.
In the embodiment of the present invention, after bridge equipment trunk_bridge is set in physical machine 320, on bridge equipment, hang the network interface card of physical machine 320, and the network interface card of this physical machine 320 does not carry out the configuration of vlan in physical machine 320, and in virtual machine 330 inside, carry out vlan configuration, reduce the complexity of configuration in physical machine 320.
In addition, in the embodiment of the present invention, the vlan that carries out in virtual machine 330 inside configuration can be for configuring a vlan, can also be for configuring a plurality of vlan.When the vlan of virtual machine 330 internal configurations increases, owing to not configured vlan in physical machine 320, without the bridge with vlan equivalent amount in the interior foundation of physical machine 320, more without the network interface card in the interior interpolation equivalent amount of virtual machine 330, the complexity of reduction system, the expense of minimizing system itself.
Network processing system based on above each preferred embodiment provides, based on same inventive concept, the embodiment of the present invention provides a kind of physical machine, for realizing above-mentioned network processing method, and network enabled treatment system.
Fig. 4 shows the structural representation of physical machine according to an embodiment of the invention.Referring to Fig. 4, the physical machine 320 of the embodiment of the present invention at least comprises network interface card 321 and bridge equipment 322.Now introduce each device of physical machine 320 or the function of composition and the annexation between each several part of the embodiment of the present invention.As shown in Figure 4, the network interface card 321 of physical machine 320 is connected by port with switch.In addition, in physical machine 320, bridge equipment 322 is set, and the bridge equipment 322 utilize arranging hangs the network interface card 321 of physical machine 320 and the network interface card of the virtual machine corresponding with physical machine 320.
According to the embodiment of the present invention, switch is connected by being set to the port of trunk pattern with physical machine 320, at the interior bridge equipment trunk_bridge322 that arranges of physical machine 320, and the network interface card of physical machine 320 321 and the network interface card of virtual machine are hung on bridge equipment trunk_bridge322, in virtual machine inside, carry out the configuration of vlan, the problem of the system configuration complexity that a plurality of vlan of solution virtual machine internal support cause, thereby the expense of minimizing system itself.
In the embodiment of the present invention, the network interface card 321 of physical machine 320 is connected with the port of switch by trunk pattern, and the port that network interface card 321 is connected with switch is set to trunk pattern and makes physical machine 320 can access a plurality of vlan.
In addition, in the embodiment of the present invention, after bridge equipment trunk_bridge322 is set in physical machine 320, on bridge equipment 322, hang the network interface card 321 of physical machine 320, and the network interface card 321 of this physical machine 320 does not carry out the configuration of vlan in physical machine 320, and in virtual machine inside, carry out vlan configuration, reduce the complexity of configuration in physical machine 320.
Network processing system based on above each preferred embodiment provides, based on same inventive concept, the embodiment of the present invention provides a kind of virtual machine, for realizing above-mentioned network processing method, and network enabled treatment system.
Fig. 5 shows the structural representation of virtual machine according to an embodiment of the invention.Referring to Fig. 5, the virtual machine 330 of the embodiment of the present invention at least comprises network interface card 331 and network configurator 332.Now introduce each device of virtual machine 330 or the function of composition and the annexation between each several part of the embodiment of the present invention.As shown in Figure 5, the network interface card 331 of the virtual machine 330 of the embodiment of the present invention is suspended on the bridge equipment trunk_bridge of physical machine setting.Network configurator 332 carries out the configuration of vlan in virtual machine 330 inside.
According to the embodiment of the present invention, switch is connected by being set to the port of trunk pattern with physical machine, bridge equipment trunk_bridge is set in physical machine, and the network interface card 331 of the network interface card of physical machine and virtual machine 330 is hung on bridge equipment trunk_bridge, in virtual machine 330 inside, carry out the configuration of vlan, the problem of the system configuration complexity that a plurality of vlan of solution virtual machine 330 internal support cause, thereby the expense of minimizing system itself.
In the embodiment of the present invention, the vlan that carries out in virtual machine 330 inside configuration can be for configuring a vlan, can also be for configuring a plurality of vlan.When the vlan of virtual machine 330 internal configurations increases, owing to not configured vlan in physical machine, without set up the bridge with vlan equivalent amount in physical machine, more without the network interface card in the interior interpolation equivalent amount of virtual machine 330, thereby reduce the complexity of system, the expense of minimizing system itself.
Embodiment mono-
Fig. 6 shows the structural representation of network processing system in accordance with a preferred embodiment of the present invention, be used for supporting above-mentioned any one network processing method, equipment and network processing system, above-mentioned network processing method, equipment and network processing system are set forth clearlyer.
In this preferred embodiment, the network interface card that network interface card 1 is physical machine, peth0 is the corresponding device to network interface card 1 in bridge equipment trunk_bridge, hangs on the network interface card of the physical machine on bridge equipment trunk_bridge.The network interface card that network interface card 2 is virtual machine, the corresponding device of the network interface card that Vif1.0 and Vif2.0 are respectively virtual machine 1 and virtual machine 2 on bridge equipment trunk_bridge, hang with bridge equipment trunk_bridge on the network interface card of virtual machine.
Referring to Fig. 6, the port that this preferred embodiment utilizes switch to be connected with network interface card 1 is set to trunk pattern, so that physical machine and virtual machine can be accessed a plurality of vlan.Physical machine utilizes network interface card 1 to be connected with switch by port.Machine port to be exchanged is set to after trunk pattern, and physical machine arranges bridge equipment trunk_bridge, and utilizes the bridge equipment trunk_bridge arranging to hang the network interface card of physical machine and the network interface card of virtual machine.
Treat that network interface card 1 hangs on bridge equipment trunk_bridge, on bridge equipment trunk_bridge as shown in Figure 6, be hung with the network interface card peth0 of physical machine, and network interface card 2 hangs on bridge equipment trunk_bridge, on bridge equipment trunk_bridge as shown in Figure 6, be hung with the network interface card Vif1.0 of virtual machine 1 and the network interface card Vif2.0 of virtual machine 2.By network architecture as shown in Figure 6, can carry out the configuration of a plurality of vlan at virtual machine 1 and virtual machine 2 inside.In this preferred embodiment, in virtual machine 1 and virtual machine 2, carry out respectively the configuration of vlan1 and vlan2.In this preferred embodiment, in virtual machine, can carry out the configuration of two vlan, can also carry out the vlan configuration more than two, but the structure of the bridge equipment trunk_bridge of physical machine setting can not change, be that virtual machine is while supporting a plurality of vlan, the complexity of reduction system, the expense of minimizing system.
According to the combination of above-mentioned any one preferred embodiment or a plurality of preferred embodiments, the embodiment of the present invention can reach following beneficial effect:
According to the embodiment of the present invention, switch is connected by being set to the port of trunk pattern with physical machine, bridge equipment trunk_bridge is set in physical machine, and the network interface card of the network interface card of physical machine and virtual machine is hung on bridge equipment trunk_bridge, in virtual machine inside, carry out the configuration of vlan, the problem of the system configuration complexity that a plurality of vlan of solution virtual machine internal support cause, thereby the expense of minimizing system itself.
The embodiment of the invention also discloses A1. network processing system, comprise switch, physical machine and virtual machine:
Described switch, the port that is configured to be connected with the network interface card of physical machine is set to relaying trunk pattern, wherein, is set to trunk pattern and makes described physical machine and described virtual machine can access a plurality of VLAN vlan;
Described physical machine, be configured to be connected by port with described switch, until the described port of described switch, be set to, after trunk pattern, bridge equipment trunk_bridge is set, and utilize the trunk_bridge arranging to hang the network interface card of described physical machine and the network interface card of described virtual machine;
Described virtual machine, is configured to carry out the configuration of vlan in described virtual machine inside.
A2. according to the system described in claim A1, wherein, the network interface card of described physical machine does not carry out the configuration of vlan in described physical machine.
A3. according to the system described in claim A1 or A2, wherein, the vlan of described virtual machine internal configurations is a plurality of.
The embodiment of the invention also discloses B4. physical machine, comprising:
The network interface card of physical machine, is configured to be connected by port with switch;
Bridge equipment trunk_bridge, is configured to hang the network interface card of described physical machine and the network interface card of the virtual machine corresponding with described physical machine.
B5. according to the physical machine described in claim B4, wherein, the network interface card of described physical machine is also configured to be connected with the port of described switch by trunk pattern, wherein, is set to trunk pattern and makes described physical machine can access a plurality of vlan.
B6. according to the physical machine described in claim B4 or B5, wherein, the network interface card of described physical machine does not carry out the configuration of vlan in described physical machine.
The embodiment of the invention also discloses C7. virtual machine, comprising:
The network interface card of virtual machine, is configured to be suspended on the bridge equipment trunk_bridge of physical machine setting;
Network configurator, is configured to carry out the configuration of vlan in described virtual machine inside.
C8. according to the virtual machine described in claim C7, wherein, described network configurator is also configured to carry out the configuration of a plurality of vlan in described virtual machine inside.
The embodiment of the invention also discloses D9. network processing method, comprising:
The port that utilizes switch to be connected with the network interface card of physical machine is set to trunk pattern, wherein, is set to trunk pattern and makes described physical machine and described virtual machine can access a plurality of vlan;
Described port is set to, after trunk pattern, bridge equipment trunk_bridge is set in described physical machine, and utilizes the trunk_bridge arranging to hang the network interface card of described physical machine and the network interface card of described virtual machine;
In described virtual machine inside, carry out the configuration of vlan.
D10. according to the method described in claim D9, wherein, the network interface card of described physical machine does not carry out the configuration of vlan in described physical machine.
D11. according to the method described in claim D9 or D10, wherein, in described virtual machine inside, carry out the configuration of a plurality of vlan.
In the specification that provided herein, a large amount of details have been described.Yet, can understand, embodiments of the invention can not put into practice in the situation that there is no these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand one or more in each inventive aspect, in the above in the description of exemplary embodiment of the present invention, each feature of the present invention is grouped together into single embodiment, figure or sometimes in its description.Yet, the method for the disclosure should be construed to the following intention of reflection: the present invention for required protection requires than the more feature of feature of clearly recording in each claim.Or rather, as reflected in claims below, inventive aspect is to be less than all features of disclosed single embodiment above.Therefore, claims of following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can the module in the equipment in embodiment are adaptively changed and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and can put them into a plurality of submodules or subelement or sub-component in addition.At least some in such feature and/or process or unit are mutually repelling, and can adopt any combination to combine all processes or the unit of disclosed all features in this specification (comprising claim, summary and the accompanying drawing followed) and disclosed any method like this or equipment.Unless clearly statement in addition, in this specification (comprising claim, summary and the accompanying drawing followed) disclosed each feature can be by providing identical, be equal to or the alternative features of similar object replaces.
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature rather than further feature included in other embodiment, the combination of the feature of different embodiment means within scope of the present invention and forms different embodiment.For example, in claims, the one of any of embodiment required for protection can be used with compound mode arbitrarily.
All parts embodiment of the present invention can realize with hardware, or realizes with the software module moved on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that and can use in practice microprocessor or digital signal processor (DSP) to realize according to the some or all functions of the some or all parts in the network processes equipment of the embodiment of the present invention.The present invention for example can also be embodied as, for carrying out part or all equipment or device program (, computer program and computer program) of method as described herein.Realizing program of the present invention and can be stored on computer-readable medium like this, or can there is the form of one or more signal.Such signal can be downloaded and obtain from internet website, or provides on carrier signal, or provides with any other form.
It should be noted above-described embodiment the present invention will be described rather than limit the invention, and those skilled in the art can design alternative embodiment in the situation that do not depart from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and is not listed as element or step in the claims.Being positioned at word " " before element or " one " does not get rid of and has a plurality of such elements.The present invention can be by means of including the hardware of some different elements and realizing by means of the computer of suitably programming.In having enumerated the unit claim of some devices, several in these devices can be to carry out imbody by same hardware branch.The use of word first, second and C grade does not represent any order.Can be title by these word explanations.
So far, those skilled in the art will recognize that, although detailed, illustrate and described a plurality of exemplary embodiment of the present invention herein, but, without departing from the spirit and scope of the present invention, still can directly determine or derive many other modification or the modification that meets the principle of the invention according to content disclosed by the invention.Therefore, scope of the present invention should be understood and regard as and cover all these other modification or modifications.

Claims (10)

1. a network processing system, comprises switch, physical machine and virtual machine:
Described switch, the port that is configured to be connected with the network interface card of physical machine is set to relaying trunk pattern, wherein, is set to trunk pattern and makes described physical machine and described virtual machine can access a plurality of VLAN vlan;
Described physical machine, be configured to be connected by port with described switch, until the described port of described switch, be set to, after trunk pattern, bridge equipment trunk_bridge is set, and utilize the trunk_bridge arranging to hang the network interface card of described physical machine and the network interface card of described virtual machine;
Described virtual machine, is configured to carry out the configuration of vlan in described virtual machine inside.
2. system according to claim 1, wherein, the network interface card of described physical machine does not carry out the configuration of vlan in described physical machine.
3. system according to claim 1 and 2, wherein, the vlan of described virtual machine internal configurations is a plurality of.
4. a physical machine, comprising:
The network interface card of physical machine, is configured to be connected by port with switch;
Bridge equipment trunk_bridge, is configured to hang the network interface card of described physical machine and the network interface card of the virtual machine corresponding with described physical machine.
5. physical machine according to claim 4, wherein, the network interface card of described physical machine is also configured to be connected with the port of described switch by trunk pattern, wherein, is set to trunk pattern and makes described physical machine can access a plurality of vlan.
6. according to the physical machine described in claim 4 or 5, wherein, the network interface card of described physical machine does not carry out the configuration of vlan in described physical machine.
7. a virtual machine, comprising:
The network interface card of virtual machine, is configured to be suspended on the bridge equipment trunk_bridge of physical machine setting;
Network configurator, is configured to carry out the configuration of vlan in described virtual machine inside.
8. virtual machine according to claim 7, wherein, described network configurator is also configured to carry out the configuration of a plurality of vlan in described virtual machine inside.
9. a network processing method, comprising:
The port that utilizes switch to be connected with the network interface card of physical machine is set to trunk pattern, wherein, is set to trunk pattern and makes described physical machine and described virtual machine can access a plurality of vlan;
Described port is set to, after trunk pattern, bridge equipment trunk_bridge is set in described physical machine, and utilizes the trunk_bridge arranging to hang the network interface card of described physical machine and the network interface card of described virtual machine;
In described virtual machine inside, carry out the configuration of vlan.
10. method according to claim 9, wherein, the network interface card of described physical machine does not carry out the configuration of vlan in described physical machine.
CN201310538573.5A 2013-11-04 2013-11-04 Network processing method, equipment and system Active CN103647692B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310538573.5A CN103647692B (en) 2013-11-04 2013-11-04 Network processing method, equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310538573.5A CN103647692B (en) 2013-11-04 2013-11-04 Network processing method, equipment and system

Publications (2)

Publication Number Publication Date
CN103647692A true CN103647692A (en) 2014-03-19
CN103647692B CN103647692B (en) 2017-06-06

Family

ID=50252853

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310538573.5A Active CN103647692B (en) 2013-11-04 2013-11-04 Network processing method, equipment and system

Country Status (1)

Country Link
CN (1) CN103647692B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104660479A (en) * 2015-02-13 2015-05-27 南京华讯方舟通信设备有限公司 Networking method and network system
CN105490910A (en) * 2014-09-19 2016-04-13 北京奇虎科技有限公司 Network communication method and client
CN108494607A (en) * 2018-04-19 2018-09-04 云家园网络技术有限公司 The design method and system of big double layer network framework based on container
CN111934971A (en) * 2020-08-12 2020-11-13 杭州默安科技有限公司 Method and device for local network access from mapping service spanning three-layer network to multiple VLANs and multiple IPs

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040042416A1 (en) * 2002-08-27 2004-03-04 Ngo Chuong Ngoc Virtual Local Area Network auto-discovery methods
CN101699792A (en) * 2009-10-13 2010-04-28 清华大学 Federal model-based network experimental method
CN102469004A (en) * 2010-10-29 2012-05-23 中国科学院计算技术研究所 Virtual machine network system and creation method thereof
CN102932229A (en) * 2012-11-20 2013-02-13 成都卫士通信息产业股份有限公司 Method for carrying out encryption and decryption processing on data packet
CN103023942A (en) * 2011-09-27 2013-04-03 奇智软件(北京)有限公司 Load balancing method, device and system of server
CN103067225A (en) * 2013-01-05 2013-04-24 上海斐讯数据通信技术有限公司 Test system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040042416A1 (en) * 2002-08-27 2004-03-04 Ngo Chuong Ngoc Virtual Local Area Network auto-discovery methods
CN101699792A (en) * 2009-10-13 2010-04-28 清华大学 Federal model-based network experimental method
CN102469004A (en) * 2010-10-29 2012-05-23 中国科学院计算技术研究所 Virtual machine network system and creation method thereof
CN103023942A (en) * 2011-09-27 2013-04-03 奇智软件(北京)有限公司 Load balancing method, device and system of server
CN102932229A (en) * 2012-11-20 2013-02-13 成都卫士通信息产业股份有限公司 Method for carrying out encryption and decryption processing on data packet
CN103067225A (en) * 2013-01-05 2013-04-24 上海斐讯数据通信技术有限公司 Test system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105490910A (en) * 2014-09-19 2016-04-13 北京奇虎科技有限公司 Network communication method and client
CN105490910B (en) * 2014-09-19 2020-02-07 北京奇虎科技有限公司 Network communication method and client
CN104660479A (en) * 2015-02-13 2015-05-27 南京华讯方舟通信设备有限公司 Networking method and network system
CN108494607A (en) * 2018-04-19 2018-09-04 云家园网络技术有限公司 The design method and system of big double layer network framework based on container
CN108494607B (en) * 2018-04-19 2021-11-02 云家园网络技术有限公司 Container-based design method and system for large two-layer network architecture
CN111934971A (en) * 2020-08-12 2020-11-13 杭州默安科技有限公司 Method and device for local network access from mapping service spanning three-layer network to multiple VLANs and multiple IPs

Also Published As

Publication number Publication date
CN103647692B (en) 2017-06-06

Similar Documents

Publication Publication Date Title
US9686153B2 (en) Placing a virtual edge gateway appliance on a host computing system
CN115291964B (en) Mechanism for reducing start-up delay of server-less function
EP2911347B1 (en) Providing policy information
EP3001616B1 (en) Techniques for routing service chain flow packets between virtual machines
CN103647692A (en) Network processing method, device and system
US20150172156A1 (en) Detecting end hosts in a distributed network environment
US20180115585A1 (en) Automated security policy
US9560016B2 (en) Supporting IP address overlapping among different virtual networks
US20190097879A1 (en) Sharing a java virtual machine
US10091062B2 (en) Multiple mobility domains with VLAN translation in a multi-tenant network environment
US10284473B1 (en) Multifunctional network switch
CN105490910B (en) Network communication method and client
US10091112B1 (en) Highly-scalable virtual IP addresses in a load balancing switch
EP3432550B1 (en) Acceleration proxy device, acceleration proxy method and content management system
CN105939356B (en) A kind of virtual firewall division methods and device
EP3198808B1 (en) Local packet switching at a satellite device
CN108809838B (en) Service discovery processing method and device based on tree structure
CN103152268A (en) Data package processing method and device
CN108664325B (en) Handle the method and electronic equipment of data
CN104572194B (en) A kind of module loading method and apparatus
CN104065554A (en) Networking method and networking apparatus
CN103530180A (en) Method and device for switching storage space of application programs
CN113438101B (en) URPF configuration method, computer program product and frame type equipment
US20190044808A1 (en) Configuration templates based switch
US9985894B1 (en) Exclude filter for load balancing switch

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220728

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right