VRRP load-balancing methods and deviceTechnical field
The application is related to communication technical field, more particularly to a kind of VRRP load-balancing methods and device.
Background technology
Can be by office based on VRRP (Virtual Router Redundancy Protocol, Virtual Router Redundacy Protocol)The set of router of domain net is virtually a VRRP backup group, equivalent to one virtual router.Main frame in LAN is only neededIts default gateway is set to the virtual ip address of the virtual router, you can regard the virtual router as gateway and localNet external network is communicated.But in VRRP backup groups, the flow of the main frame generally only in host apparatus local area network entersRow forwarding, and stand-by equipment is then in idle state, cannot participate in flow forwarding, causes device resource to waste, VRRP backup groupsForward efficiency it is relatively low.
The content of the invention
In view of this, the application provides a kind of VRRP load-balancing methods and device, is provided with solving equipment in correlation techniqueSource is wasted, the problem of forward efficiency of VRRP backup groups is relatively low.
Specifically, the application is achieved by the following technical solution:
In a first aspect, the application provides a kind of VRRP load-balancing methods, methods described is applied in VRRP backup groupsHost apparatus, methods described includes:
Be according to default allocation rule member device in the VRRP backup groups with distributing mutually different Virtual MACLocation;
If receiving the ARP request message that the main frame in LAN is sent, choose one and distributed to member deviceVirtual mac address;
Arp reply message is constructed based on the virtual mac address, and the arp reply message is returned to the main frame, withThe member device for being assigned to the virtual mac address is set to forward the flow of the main frame.
Second aspect, the application provides a kind of VRRP load balancing apparatus, and described device is applied in VRRP backup groupsHost apparatus, described device includes:
Allocation unit, for being that the member device in the VRRP backup groups distributes mutually not phase according to default allocation ruleSame virtual mac address;
Unit is chosen, for when receiving the ARP request message of the transmission of the main frame in LAN, choosing one and having distributedVirtual mac address to member device;
Structural unit, for constructing arp reply message based on the virtual mac address, and it is described to main frame returnArp reply message, so that the member device for being assigned to the virtual mac address is forwarded to the flow of the main frame.
Analyze above-mentioned technical proposal to understand, the host apparatus in VRRP backup groups can be all in the VRRP backup groupsMember device distributes mutually different virtual mac address, while host apparatus is receiving the ARP of the transmission of the main frame in LANDuring request message, the virtual mac address for being also based on distributing for member device constructs arp reply message and returns to the masterMachine, so that being assigned to the member device of the virtual mac address can forward to the flow of the main frame.Using such sideFormula, can increase the number of devices that flow forwarding is participated in the VRRP backup groups, reduce device resource and waste, and improve VRRP backupsThe forward efficiency of group.
Brief description of the drawings
Fig. 1 is a kind of VRRP group-network constructions figure;
Fig. 2 is a kind of flow chart of VRRP load-balancing methods shown in the exemplary embodiment of the application one;
Fig. 3 is a kind of hardware configuration of VRRP load balancing apparatus place equipment shown in the exemplary embodiment of the application oneFigure;
Fig. 4 is a kind of block diagram of VRRP load balancing apparatus shown in the exemplary embodiment of the application one.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related toDuring accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodimentDescribed in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appendedThe example of the consistent apparatus and method of some aspects be described in detail in claims, the application.
It is the purpose only merely for description specific embodiment in term used in this application, and is not intended to be limiting the application." one kind ", " described " and "the" of singulative used in the application and appended claims are also intended to including majorityForm, unless context clearly shows that other implications.It is also understood that term "and/or" used herein refers to and wrappedIt may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the applicationA little information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, not departing fromIn the case of the application scope, the first information can also be referred to as the second information, similarly, and the second information can also be referred to asOne information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ...When " or " in response to determining ".
Fig. 1 is refer to, is a kind of VRRP group-network constructions figure., can be by office based on VRRP in the group-network construction shown in Fig. 1The set of router of domain net is virtually a VRRP backup group, equivalent to one virtual router, the route in VRRP backup groupsDevice shares a virtual ip address and a virtual mac address.Main frame 1, main frame 2 and main frame 3 in LAN can be lackedSave gateway and be set to the virtual ip address, you can the virtual router is communicated as gateway with LAN external network.
Host apparatus in VRRP backup groups receive the transmission of the main frame in LAN for the virtual ip addressDuring ARP request message, the main frame in LAN can be returned to based on virtual mac address construction arp reply message.It is follow-up mainWith equipment receive the main frame in LAN send target MAC (Media Access Control) address be the virtual mac address message when, can forwardThe message, i.e. host apparatus can be forwarded with the flow of the main frame in local area network.
In correlation technique, the flow of the main frame in host apparatus local area network generally only in VRRP backup groups is turnedHair, and the stand-by equipment in VRRP backup groups is then in idle state, cannot participate in flow forwarding, causes device resource to waste,The forward efficiency of VRRP backup groups is relatively low.
The application provides a kind of VRRP load-balancing methods and device, to reduce device resource waste, improves VRRP backupsThe forward efficiency of group.
Fig. 2 is refer to, is a kind of flow chart of VRRP load-balancing methods shown in the exemplary embodiment of the application one.ShouldThe host apparatus that method can apply in VRRP backup groups, comprises the following steps:
Step 201:It is mutually different for the member device distribution in the VRRP backup groups according to default allocation ruleVirtual mac address.
Step 202:If receiving the ARP request message that the main frame in LAN is sent, choose one and distributed toThe virtual mac address of member device.
Step 203:Arp reply message is constructed based on the virtual mac address, and the ARP is returned to the main frame and is answeredMessage is answered, so that the member device for being assigned to the virtual mac address is forwarded to the flow of the main frame.
In the present embodiment, the host apparatus in VRRP backup groups, which can be generated first, includes the void of multiple virtual mac addressThe virtual mac address quantity intended in MAC Address group, the virtual mac address group can be with the member device in the VRRP backup groups(including host apparatus and stand-by equipment) quantity is identical, can also be different from the member device quantity in the VRRP backup groups.ItsIn, what host apparatus can be sent based on the stand-by equipment in the VRRP backup groups received is used to notice the logical of VRRP statesMessage is accused, the member device quantity in the VRRP backup groups is obtained.
Specifically, for the ease of being made a distinction to virtual mac address, host apparatus can generate void as shown in table 1 belowIntend MAC Address:
Table 1
Wherein, VRID can be considered as the mark of VRRP backup groups, can voluntarily be configured by user.Sequence number can then be considered as voidIntend the mark of MAC Address, can one by one increase since 1.
By taking the VRRP group-network constructions shown in Fig. 1 as an example, the VRRP backup groups shown in Fig. 1 include host apparatus, standby setStandby 1 and 2 three member devices of stand-by equipment.With reference to virtual mac address as listed in Table 1, the Virtual MAC of host apparatus generationIt is virtual that group of addresses can include 00-00-5E-00-01-01,00-00-5E-00-02-01 and 00-00-5E-00-03-01 tri-MAC Address.
In the present embodiment, host apparatus is after the virtual mac address group is generated, point that can be pre-set according to userWith rule, mutually different virtual mac address is distributed for the member device in the VRRP backup groups.Host apparatus can be according to thisAllocation rule is that this equipment distributes virtual mac address, can also directly or the stand-by equipment in the VRRP backup groups are receivedIt is that the stand-by equipment distributes virtual mac address according to the allocation rule during MAC Address distribution request of transmission.Wherein, distribution ruleIt can then include:The minimum virtual mac address of sequence number numerical value is distributed to the host apparatus in the VRRP backup groups;Based on sequence numberThe size order of numerical value and the size order of stand-by equipment priority, it is virtual for the stand-by equipment distribution in the VRRP backup groupsMAC Address etc..
Continue by taking the VRRP group-network constructions shown in Fig. 1 as an example, host apparatus generation include 00-00-5E-00-01-01,Can be this after the virtual mac address group of tri- virtual mac address of 00-00-5E-00-02-01 and 00-00-5E-00-03-01Equipment distribution virtual mac address 00-00-5E-00-01-01.Assuming that the priority of stand-by equipment 1 is preferential higher than stand-by equipment 2Level, host apparatus can distribute virtual mac address 00-00-5E-00-02-01 for stand-by equipment 1, and be distributed for stand-by equipment 2Virtual mac address 00-00-5E-00-03-01.
In actual applications, the virtual mac address quantity in the virtual mac address group of host apparatus generation, generally with thisMember device quantity in VRRP backup groups is equal, can so ensure that each member device in the VRRP backup groups is distributedThere is a virtual mac address.
In the present embodiment, member of the host apparatus in a certain virtual mac address to be distributed to the VRRP backup groups setsAfter standby, the virtual mac address can be labeled as having distributed.Host apparatus is receiving being directed to for the transmission of the main frame in LANDuring the ARP request message of the virtual ip address of the VRRP backup groups, a Virtual MAC for having distributed to member device can be chosenAddress, that is, it is virtual mac address to choose a mark.Host apparatus, can be with after the virtual mac address is selectedArp reply message is constructed based on the virtual mac address, and the arp reply message is returned to the main frame.Subsequently, can be by distributingTurned to the target MAC (Media Access Control) address that the member device of the virtual mac address is sent to the main frame for the message of the virtual mac addressHair, i.e., forward to the flow of the main frame.
Host apparatus can randomly select the virtual mac address for having distributed to a member device construction arp reply message.However, participating in the member device quantity that flow is forwarded to increase, the effect of VRRP load balancing is lifted, host apparatus can beEach virtual mac address is set using mark, and this is defaulted as being not used using mark.Host apparatus is based on a certain Virtual MACAfter address architecture arp reply message, the use mark of the virtual mac address can be revised as having used.Host apparatus is connecingWhen receiving the ARP request message that main frame in LAN is sent, can preferentially choose a use be designated it is untapped virtualMAC Address constructs arp reply message and returns to the main frame, so that being assigned to the member device of the virtual mac address to thisThe flow of main frame is forwarded.On the other hand, exist it is multiple using be designated untapped virtual mac address when, it is primary to setIt is standby to choose the minimum virtual mac address construction arp reply message of sequence number numerical value.
Continue by taking the VRRP group-network constructions shown in Fig. 1 as an example, host apparatus receive main frame 1 transmission be directed to the VRRPDuring the ARP request message of the virtual ip address of backup group, due to now 00-00-5E-00-01-01,00-00-5E-00-02-01Use mark with tri- virtual mac address of 00-00-5E-00-03-01 is unused, therefore host apparatus can choose sequenceThe minimum virtual mac address 00-00-5E-00-01-01 construction arp reply messages of number value, and the ARP should to the return of main frame 1Message is answered, while virtual mac address 00-00-5E-00-01-01 use mark can be revised as having used by host apparatus.Because the member device for being assigned to virtual mac address 00-00-5E-00-01-01 is host apparatus, therefore subsequently can be by primaryPair the target MAC (Media Access Control) address that equipment is sent to main frame 1 forwards for virtual mac address 00-00-5E-00-01-01 message, i.e.,The flow of main frame 1 is forwarded.
Similarly, ARP request of the host apparatus in the virtual ip address for the VRRP backup groups for receiving the transmission of main frame 2During message, due to the use mark of now two virtual mac address of 00-00-5E-00-02-01 and 00-00-5E-00-03-01Still it is unused, therefore host apparatus can choose the minimum virtual mac address of sequence number numerical value from the two virtual mac address00-00-5E-00-02-01 constructs arp reply message, and returns to the response message to main frame 2.Due to being assigned to Virtual MACLocation 00-00-5E-00-02-01 member device is stand-by equipment 1, therefore subsequently can be by flow of the stand-by equipment 1 to main frame 2Forwarded.
As seen from the above-described embodiment, the host apparatus in VRRP backup groups can be all members in the VRRP backup groupsEquipment distributes mutually different virtual mac address, while host apparatus is receiving the ARP request of the transmission of the main frame in LANDuring message, the virtual mac address for being also based on distributing for member device constructs arp reply message and returns to the main frame, fromAnd the member device for being assigned to the virtual mac address is forwarded the flow of the main frame.Adopt in such a way, canTo increase the number of devices that flow forwarding is participated in the VRRP backup groups, reduce device resource and waste, improve VRRP backup groupsForward efficiency.
In order to ensure the stability of customer service, it can introduce virtual in above-mentioned VRRP load-balancing methodsTransponder mechanism.Specifically, host apparatus, can be with base after according to above-mentioned allocation rule for this equipment distribution virtual mac addressActive Virtual Forwarder is created in the virtual mac address being assigned to.On the other hand, stand-by equipment exists in above-mentioned VRRP backup groupsDetect when not yet creating Active Virtual Forwarder in this equipment, MAC Address distribution request can be sent to host apparatus.It is primaryEquipment can distribute virtual mac address when receiving the MAC Address distribution request for the stand-by equipment.The stand-by equipment existsAfter the virtual mac address for receiving host apparatus distribution, animated virtual can be created based on the virtual mac address being assigned to and turnedSend out device.
In the present embodiment, the member device in the VRRP backup groups is creating work based on the virtual mac address being assigned toAfter dynamic Virtual Forwarder, virtual mac address notification packet, the void can be sent to other member devices in the VRRP backup groupsIntend carrying virtual used in its virtual mac address being assigned to, the i.e. Active Virtual Forwarder in MAC Address notification packetMAC Address, other member devices in the VRRP backup groups are advertised to by the virtual mac address of the Active Virtual Forwarder.In another example, the member device can change the above-mentioned source MAC for being used to notice the notification packet of VRRP statesFor the virtual mac address, virtual mac address notification packet and other member devices for being sent in the VRRP backup groups are used as.
The Virtual MAC that correspondingly, other member devices of the member device in the VRRP backup groups are received are sentDuring the notification packet of location, it can create based on the virtual mac address carried in the virtual mac address notification packet and monitor virtual turnDevice is sent out, the monitoring Virtual Forwarder can be to monitoring using the Active Virtual Forwarder of the virtual mac address.
Continue by taking the VRRP group-network constructions shown in Fig. 1 as an example, host apparatus can be based on the virtual mac address being assigned to00-00-5E-00-01-01 creates Active Virtual Forwarder 1, and sends carrying Virtual MAC to stand-by equipment 1 and stand-by equipment 2Address 00-00-5E-00-01-01 virtual mac address notification packet.Stand-by equipment 1 can be based on the Virtual MAC being assigned toLocation 00-00-5E-00-02-01 creates Active Virtual Forwarder 2, and sends carrying Virtual MAC to host apparatus and stand-by equipment 2Address 00-00-5E-00-02-01 virtual mac address notification packet.Stand-by equipment 2 can be based on the Virtual MAC being assigned toLocation 00-00-5E-00-03-01 creates Active Virtual Forwarder 3, and sends carrying Virtual MAC to host apparatus and stand-by equipment 1Address 00-00-5E-00-03-01 virtual mac address notification packet.
Host apparatus can be based on Virtual MAC when receiving the virtual mac address notification packet of the transmission of stand-by equipment 1Address 00-00-5E-00-02-01, which is created, monitors Virtual Forwarder 2;Lead in the virtual mac address for receiving the transmission of stand-by equipment 2When accusing message, it can be created based on virtual mac address 00-00-5E-00-03-01 and monitor Virtual Forwarder 3.Stand-by equipment 1 existsWhen receiving the virtual mac address notification packet of host apparatus transmission, virtual mac address 00-00-5E-00-01- can be based on01 creates monitoring Virtual Forwarder 1;, can be based on void when receiving the virtual mac address notification packet of the transmission of stand-by equipment 2Intend MAC Address 00-00-5E-00-03-01 and create monitoring Virtual Forwarder 3.Stand-by equipment 2 is receiving host apparatus transmissionDuring virtual mac address notification packet, it can be created based on virtual mac address 00-00-5E-00-01-01 and monitor Virtual Forwarder1;When receiving the virtual mac address notification packet of the transmission of stand-by equipment 1, virtual mac address 00-00-5E- can be based on00-02-01, which is created, monitors Virtual Forwarder 2.
In general, the Virtual Forwarder created in host apparatus is as shown in table 2 below, and what is created in stand-by equipment 1 is virtualTransponder is as shown in table 3 below, and the Virtual Forwarder created in stand-by equipment 2 is as shown in table 4 below:
Table 2
Table 3
Table 4
Wherein, monitoring transponder can monitor virtual mac address identical Active Virtual Forwarder.Citing comesSay, the monitoring Virtual Forwarder 1 in Active Virtual Forwarder 1 and stand-by equipment 1 and stand-by equipment 2 in host apparatus is usedVirtual mac address be 00-00-5E-00-01-01, i.e. monitoring Virtual Forwarder 1 in stand-by equipment 1 and stand-by equipment 2Active Virtual Forwarder 1 in host apparatus can be monitored, for example:Track work(can be utilized by monitoring Virtual ForwarderThe state of energy monitoring activity Virtual Forwarder, to find Active Virtual Forwarder failure in time.
In the present embodiment, when monitoring Virtual Forwarder listens to the event of virtual mac address identical Active Virtual ForwarderDuring barrier, it can be determined that this monitoring Virtual Forwarder virtual mac address identical in the VRRP backup groups is monitored in transponderPriority whether highest.If the highest priority of this monitoring Virtual Forwarder, this monitoring Virtual Forwarder can be upgradedFor Active Virtual Forwarder.Subsequently, the flow of the main frame can be entered as the member device where this monitoring Virtual ForwarderRow forwarding.
Continue by taking the VRRP group-network constructions shown in Fig. 1 as an example, when the monitoring in stand-by equipment 1 and stand-by equipment 2 virtually turnsWhen hair device 1 listens to 1 failure of Active Virtual Forwarder in host apparatus, the two can enter between monitoring Virtual Forwarder 1Row role is elected, and the monitoring Virtual Forwarder 1 of the highest priority elected is upgraded into Active Virtual Forwarder 1.Assuming thatThe priority of monitoring Virtual Forwarder 1 in stand-by equipment 1, it is preferential higher than the monitoring Virtual Forwarder 1 in stand-by equipment 2Level, then the monitoring Virtual Forwarder 1 in stand-by equipment 1 can be upgraded to Active Virtual Forwarder 1.Now, stand-by equipment 1In Virtual Forwarder it is as shown in table 5 below:
Table 5
Subsequently, stand-by equipment 1 can be not only virtual mac address 00-00-5E- to the target MAC (Media Access Control) address that main frame 1 is sent00-01-01 message is forwarded, and can also be virtual mac address 00-00-5E- to the target MAC (Media Access Control) address that main frame 2 is sent00-02-01 message is forwarded, i.e., stand-by equipment 1 can be forwarded to the flow of main frame 1 and main frame 2 simultaneously.
In the present embodiment, virtual mac address identical Active Virtual Forwarder and monitoring are virtual in the VRRP backup groupsPrecedence information can be exchanged periodically between transponder.Virtual mac address identical activity is detected when monitoring Virtual ForwarderWhen the priority of Virtual Forwarder is less than the priority of this monitoring Virtual Forwarder, this monitoring Virtual Forwarder can be set toActive Virtual Forwarder, is forwarded with the flow to the main frame, and the Active Virtual Forwarder can then be converted to monitoring voidIntend transponder.
Member device in the VRRP backup groups is creating Active Virtual Forwarder based on the virtual mac address being assigned toAfterwards, the priority of the Active Virtual Forwarder can be set to limit priority, for example:The priority value of Virtual Forwarder0-255 is generally in the range of, the member device, can be with after Active Virtual Forwarder is created based on the virtual mac address being assigned toThe priority of the Active Virtual Forwarder is set to 255, to ensure the Active Virtual Forwarder in virtual mac address identicalHighest priority in Active Virtual Forwarder and monitoring Virtual Forwarder.Assuming that the Active Virtual Forwarder (is referred to as former activityVirtual Forwarder) failure, and it is identical and monitoring Virtual Forwarder of highest priority (is referred to as New activity empty by virtual mac addressIntend transponder) take over its work, then it is preferential due to former Active Virtual Forwarder after former Active Virtual Forwarder fault recoveryLevel highest, therefore former Active Virtual Forwarder can also revert to actual Active Virtual Forwarder, and New activity is virtually forwardedDevice can then revert to monitoring Virtual Forwarder, and former Active Virtual Forwarder is monitored.
Continue by taking the VRRP group-network constructions shown in Fig. 1 as an example, the fault recovery of Active Virtual Forwarder 1 in host apparatusAfterwards, the Active Virtual Forwarder 1 being higher than due to the priority of the Active Virtual Forwarder 1 in host apparatus in stand-by equipment 1 is (formerMonitor Virtual Forwarder 1) and stand-by equipment 2 in monitoring Virtual Forwarder 1, therefore the Active Virtual Forwarder in host apparatus1 can revert to actual Active Virtual Forwarder 1, i.e., the flow of main frame 1 can subsequently be forwarded by host apparatus.AndActive Virtual Forwarder 1 in stand-by equipment 1 can then revert to monitoring Virtual Forwarder 1, and to the activity in host apparatusVirtual Forwarder 1 is monitored, i.e., follow-up stand-by equipment 1 can still be forwarded to the flow of main frame 2, but not again to main frame1 flow is forwarded.
Embodiment with foregoing VRRP load-balancing methods is corresponding, and present invention also provides VRRP load balancing apparatusEmbodiment.
The embodiment of the application VRRP load balancing apparatus can be applied on the host apparatus in VRRP backup groups.DeviceEmbodiment can be realized by software, can also be realized by way of hardware or software and hardware combining.Exemplified by implemented in software,It is to be calculated by the processor of equipment where it by corresponding in nonvolatile memory as the device on a logical meaningMachine programmed instruction reads what operation in internal memory was formed.For hardware view, as shown in figure 3, equal for the application VRRP loadsA kind of hardware structure diagram of host apparatus in VRRP backup groups where weighing apparatus device, except the processor shown in Fig. 3, internal memory, netOutside network interface and nonvolatile memory, the usual root of host apparatus in the VRRP backup groups in embodiment where deviceAccording to the actual functional capability of the VRRP load balancing, other hardware can also be included, this is repeated no more.
Fig. 4 is refer to, is a kind of block diagram of VRRP load balancing apparatus shown in the exemplary embodiment of the application one.The dressPut on 400 host apparatus that can be applied in the VRRP backup groups shown in Fig. 3, including:
Allocation unit 401, for being that the member device in the VRRP backup groups distributes mutual according to default allocation ruleThe virtual mac address differed;
Unit 402 is chosen, for when receiving the ARP request message of the transmission of the main frame in LAN, having chosen oneDistribute to the virtual mac address of member device;
Structural unit 403, for constructing arp reply message based on the virtual mac address, and returns to institute to the main frameArp reply message is stated, so that the member device for being assigned to the virtual mac address is forwarded to the flow of the main frame.
In an optional embodiment, the allocation unit 401 can include:
First distribution subelement 4011, for being that this equipment distributes virtual mac address according to the default allocation rule,And Active Virtual Forwarder is created based on the virtual mac address being assigned to;
Second distribution subelement 4012, the MAC sent for the stand-by equipment in the VRRP backup groups are receivedIt is the stand-by equipment distribution virtual mac address, so that the stand-by equipment is virtual based on what is be assigned to during the distribution request of locationMAC Address create Active Virtual Forwarder, the MAC Address distribution request by the stand-by equipment in this equipment is detected notSent when creating Active Virtual Forwarder.
In another optional embodiment, described device 400 can also include:
Transmitting element 404, for after the Active Virtual Forwarder is created, into the VRRP backup groups other intoMember's equipment sends virtual mac address notification packet, and be assigned to described virtual is carried in the virtual mac address notification packetMAC Address;
Creating unit 405, the Virtual MAC sent for other member devices in the VRRP backup groups are receivedDuring the notification packet of location, based on the virtual mac address carried in the virtual mac address notification packet, create and monitor virtual forwardingDevice, to monitor the Active Virtual Forwarder using the virtual mac address.
In another optional embodiment, described device 400 can also include:
Judging unit 406, for listening to virtual mac address identical Active Virtual Forwarder when monitoring Virtual ForwarderDuring failure, judge that this monitoring Virtual Forwarder virtual mac address identical in the VRRP backup groups monitors Virtual ForwarderIn priority whether highest;
First setting unit 407, during for highest priority in this monitoring Virtual Forwarder, this monitoring is virtually forwardedDevice is set to Active Virtual Forwarder, is forwarded with the flow to the main frame.
In another optional embodiment, described device 400 can also include:
Second setting unit 408, for turning when monitoring Virtual Forwarder detects virtual mac address identical animated virtualWhen the priority for sending out device is less than the priority of this monitoring Virtual Forwarder, this monitoring Virtual Forwarder is set to animated virtual and turnedDevice is sent out, is forwarded with the flow to the main frame.
The function of unit and the implementation process of effect specifically refer to correspondence step in the above method in said apparatusImplementation process, will not be repeated here.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is real referring to methodApply the part explanation of example.Device embodiment described above is only schematical, wherein described be used as separating componentThe unit of explanation can be or may not be physically separate, and the part shown as unit can be or can alsoIt is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to realitySelection some or all of module therein is needed to realize the purpose of application scheme.Those of ordinary skill in the art are not payingIn the case of going out creative work, you can to understand and implement.
The preferred embodiment of the application is the foregoing is only, not to limit the application, all essences in the applicationGod is with principle, and any modification, equivalent substitution and improvements done etc. should be included within the scope of the application protection.