CN105553866A - Traffic load balancing method and routing equipment - Google Patents

Traffic load balancing method and routing equipment Download PDF

Info

Publication number
CN105553866A
CN105553866A CN201410592207.2A CN201410592207A CN105553866A CN 105553866 A CN105553866 A CN 105553866A CN 201410592207 A CN201410592207 A CN 201410592207A CN 105553866 A CN105553866 A CN 105553866A
Authority
CN
China
Prior art keywords
virtual
routing device
primary
forwarder
virtual forwarder
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.)
Withdrawn
Application number
CN201410592207.2A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201410592207.2A priority Critical patent/CN105553866A/en
Priority to PCT/CN2015/074423 priority patent/WO2016065804A1/en
Publication of CN105553866A publication Critical patent/CN105553866A/en
Withdrawn legal-status Critical Current

Links

Abstract

The invention provides a traffic load balancing method and routing equipment. Each routing equipment of a virtual router is provided with a master virtual forwarder; the virtual router allocates a master virtual forwarder responsible for forwarding user traffic for a user at master routing equipment of a VRRP backup set according to a load balancing strategy; and each routing equipment mutually learns virtual addresses of master virtual forwarders of other routing equipment and establishes a backup virtual forwarder for monitoring according to the learned virtual addresses. Backup routing equipment and the master routing equipment of the same virtual address form a redundancy scheme. After the master virtual forwarder of certain routing equipment has a fault, other routing equipment activates local backup routing equipment corresponding to the master routing equipment with the fault so that user traffic is taken over. According to the scheme, traffic balance of each routing equipment is realized in the same VRRP backup set.

Description

A kind of flow load balance method and routing device
Technical field
The present invention relates to communication technical field, particularly a kind of flow load balance method and routing device.
Background technology
VRRP (VirtualRouterRedundancyProtocol, Virtual Router Redundacy Protocol) is current modal redundancy protocol, for realizing the switching between master-slave back-up route apparatus.When the redundancy scheme of concrete enforcement VRRP, a Master (main routing device) in local area network (LAN) and multiple Backup (alternate routing equipment) are formed a virtual router, and a set of VRRP redundancy protocol is configured to all routing devices of virtual router, form a VRRP backup group.
According to existing VRRP backup group technology, a VRRP backup group only has unique main routing device to forward customer flow.Also just say, the subscriber's main station of local area network (LAN) is all communicated with external network by main routing device, and other alternate routing equipment in backup group does not participate in load balancing, has therefore wasted idle device resource.
For this reason, prior art provides a kind of scheme of load balancing, namely on a virtual router, arranges multiple VRRP backup group, and each routing device in virtual router is all as the main routing device of a VRRP backup group.Thus, the routing device in virtual router can forward a part of customer flow, thus achieves gateway flow load balance.But, often configuring a VRRP group, gateway is a just many IP address, therefore when there is a large number of users, needing for user side configures different gateway ip address, very not convenient.And this load balancing is static realization, effect is undesirable.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of flow load balance method and routing device, can under same VRRP group, the flow load balance of each routing device of dynamic implement.
Embodiments of the invention provide a kind of flow load balance method, be applied to virtual router, the all pre-configured primary Virtual Forwarder of each routing device of described virtual router, the virtual address of the primary Virtual Forwarder of each routing device is all not identical, and described flow load balance method comprises:
According to the first priority of the VRRP backup group that each routing device of virtual router configures respectively, determine a primary route equipment;
After primary route equipment receives multiple Client-initiated address resolution request message, according to load balancing, for each user distributes a primary Virtual Forwarder, and the virtual address of the primary Virtual Forwarder that each user is assigned to is fed back to by address resolution response message, make user can send customer flow according to feeding back the virtual address obtained;
Each routing device of virtual router learns the virtual address of the primary Virtual Forwarder on other routing device, and sets up Virtual Forwarder for subsequent use according to the virtual address learnt; Wherein, the primary Virtual Forwarder of same virtual address and Virtual Forwarder for subsequent use have corresponding relation;
Each routing device of virtual router carries out failure monitoring by its Virtual Forwarder for subsequent use to the primary transponder of correspondence;
After the primary Virtual Forwarder of a certain routing device breaks down, other routing device activates its for subsequent use Virtual Forwarder corresponding with the primary Virtual Forwarder broken down, thus take over break down primary Virtual Forwarder institute be responsible for forwarding customer flow.
Wherein, the primary Virtual Forwarder of same virtual address and Virtual Forwarder for subsequent use have the second respective priority;
After the primary Virtual Forwarder of a certain routing device breaks down, other routing device activates its for subsequent use Virtual Forwarder corresponding with the primary Virtual Forwarder broken down, and comprising:
After the primary Virtual Forwarder of a certain routing device breaks down, other routing device, according to campaigning for corresponding to the second priority of the alternate routing equipment of the primary route equipment broken down separately, determines an adapter routing device;
Adapter routing device activates its alternate routing equipment corresponding to the primary route equipment broken down.
Wherein, primary Virtual Forwarder is activated or Virtual Forwarder for subsequent use is specially:
Send the notification packet of this Virtual Forwarder, the virtual forwarding address of this Virtual Forwarder is noticed away, corresponding switch ports themselves learns this virtual address.
Wherein, if the primary Virtual Forwarder broken down fails to recover in Preset Time, then primary route equipment is according to load balancing, user corresponding to the primary Virtual Forwarder that this breaks down, redistribute the primary Virtual Forwarder of a non-fault, and again fed back to user by address resolution response message.
Wherein, the virtual address that routing device configures its Virtual Forwarder for subsequent use to the switch ports themselves of its correspondence has ageing, and the described ageing duration is more than or equal to described Preset Time.
Another embodiment of the present invention provides a kind of routing device, and described routing device is provided with the different primary Virtual Forwarder of a virtual address in advance, and this routing device multiple forms a virtual router, and described routing device comprises:
First determination module, for the priority of a VRRP backup group configured respectively according to each routing device of virtual router, determines a primary route equipment;
First distribution module, if for described routing device as primary route equipment and after receiving multiple Client-initiated address resolution request message, according to load balancing, for each user distributes a primary Virtual Forwarder, and the virtual address of the primary Virtual Forwarder that each user is assigned to is fed back to by address resolution response message, make user can send customer flow according to feeding back the virtual address obtained;
Study module, the virtual address of the primary Virtual Forwarder on the routing device learning in virtual router other, and according to study to virtual address set up Virtual Forwarder for subsequent use; Wherein, the primary Virtual Forwarder of same virtual address and Virtual Forwarder for subsequent use have corresponding relation;
Monitor module, for carrying out failure monitoring by the Virtual Forwarder for subsequent use of described routing device to the primary transponder of correspondence;
Adapter module, after breaking down for the primary Virtual Forwarder of a certain routing device in described monitoring module determination virtual router, control described active module the activates described routing device for subsequent use Virtual Forwarder corresponding with primary Virtual Forwarder that is that break down, thus take over break down primary Virtual Forwarder institute be responsible for forwarding customer flow.
Wherein, the primary Virtual Forwarder of same virtual address and Virtual Forwarder for subsequent use have the second respective priority;
Described adapter module comprises:
Election contest submodule, for after the primary Virtual Forwarder of a certain routing device in described monitoring module determination virtual router breaks down, according to second priority of described routing device corresponding to the alternate routing equipment of the primary route equipment broken down, be that the routing device broken down is campaigned for primary Virtual Forwarder, determine an adapter routing device;
Control submodule, if be confirmed as adapter routing device for described routing device, then activate its alternate routing equipment corresponding to the primary route equipment broken down.
Wherein, described active module, when activating the primary Virtual Forwarder of described routing device or Virtual Forwarder for subsequent use, configures the primary Virtual Forwarder of described routing device or the virtual address of Virtual Forwarder for subsequent use specifically for the switch ports themselves corresponding to described routing device.
Wherein, described first distribution module also for, if described routing device is as primary route equipment, then when the primary Virtual Forwarder broken down fails to recover in Preset Time, according to load balancing, user corresponding to the primary Virtual Forwarder that this breaks down, is redistributed the primary Virtual Forwarder of a non-fault, and is again fed back to user by address resolution response message.
Wherein, the virtual address that routing device configures its Virtual Forwarder for subsequent use to the switch ports themselves of its correspondence has ageing, and the described ageing duration is more than or equal to described Preset Time.
The beneficial effect of technique scheme of the present invention is as follows:
Compared with prior art, customer flow equilibrium assignment, under same VRRP group, also can forward to each routing device, therefore not need to configure too much gateway address by the solution of the present invention.In addition, the forwarding address of user is distributed to carry out dynamic load balancing adjustment by change, particularly after a certain routing device breaks down, also can continue again according to load balancing as customer flow described in it distributes other forwarding address, namely ensured the normal forwarding of customer flow, the load balancing of flow can also have been realized.
Accompanying drawing explanation
Fig. 1 is the step schematic diagram of flow load balance method of the present invention;
Fig. 2 is the schematic diagram of existing routing device and user networking structure;
Fig. 3-Fig. 5 in the process realizing flow load balance method of the present invention, the annexation schematic diagram of the Virtual Forwarder of routing device and switch ports themselves and user;
Fig. 6 is the structural representation of routing device of the present invention.
Embodiment
For making the technical problem to be solved in the present invention, technical scheme and advantage clearly, be described in detail below in conjunction with the accompanying drawings and the specific embodiments.
The solution of the present invention one is the load balancing getting final product each routing device of dynamic implement in virtual router based on a VRRP backup group; Two is when arbitrary routing device breaks down when forwarding customer flow, also can accomplish rapid pipe connecting.
Wherein, the solution of the present invention a kind of flow load balance method being applied to virtual router is provided, the all pre-configured primary Virtual Forwarder of each routing device of described virtual router, the virtual address of the primary Virtual Forwarder of each routing device is all not identical, as shown in Figure 1, described flow load balance method comprises the steps:
Step 11, according to the first priority of the VRRP backup group that each routing device of virtual router configures respectively, determines a primary route equipment;
Step 12, after primary route equipment receives multiple Client-initiated address resolution request message, according to load balancing, for each user distributes a primary Virtual Forwarder, and the virtual address of the primary Virtual Forwarder that each user is assigned to is fed back to by address resolution response message, make user can send customer flow according to feeding back the virtual address obtained
Step 13, each routing device of virtual router learns the virtual address of the primary Virtual Forwarder on other routing device, and sets up Virtual Forwarder for subsequent use according to the virtual address learnt; Wherein, the primary Virtual Forwarder of same virtual address and Virtual Forwarder for subsequent use have corresponding relation;
Step 14, each routing device of virtual router carries out failure monitoring by its Virtual Forwarder for subsequent use to the primary transponder of correspondence;
Step 15, after the primary Virtual Forwarder of a certain routing device breaks down, other routing device activates its for subsequent use Virtual Forwarder corresponding with the primary Virtual Forwarder broken down, thus take over break down primary Virtual Forwarder institute be responsible for forwarding customer flow.
In the method for the invention, routing device is that pre-configured primary Virtual Forwarder forwards customer flow, making to forward the task of customer flow can be independent on routing device, makes standby router also can forward customer flow in VRRP redundancy protocol situation.Therefore, to forward the angle of customer flow, do not have between each routing device active and standby on difference.In addition, primary route equipment completely can be permanent according to the load office of the current forwarding customer flow of each routing device, and dynamically for user distributes corresponding primary Virtual Forwarder, compared with prior art, portfolio effect is better.
Certainly, in existing arranging net, routing device is connected by switch and user (subscriber's main station PC1, PC2 and PC3).Shown in Fig. 1, be the schematic diagram of existing routing device and user networking structure.In existing VRRP redundancy scheme, routing device Router1,2,3 is to there being a switch ports themselves (port one in figure, port 2, port 3).For Fig. 1, in existing VRRP redundancy scheme, Router1 corresponding ports 1, so port one is only configured with the address of Router1, Router2 and Router3 in like manner.Suppose that Router1 is main routing device, when the non-fault of Router1, port one is opening, port 2 and port 3 closed condition (address of the routing device of closed condition and its configuration of un-activation), be sent to Router1 by the customer flow of PC1, PC2 and PC3 by port one by switch like this.After Router1 breaks down, suppose Router2 adapter Router1, then the port one of switch is closed, and port 2 is opened, and PC1, PC2 and PC3 are sent on Router2 by port 2 by switch.
In conjunction with above-mentioned cloth web frame, in the solution of the present invention, routing device activates primary Virtual Forwarder or Virtual Forwarder for subsequent use is specially: routing device configures the virtual address of its primary Virtual Forwarder or Virtual Forwarder for subsequent use to the switch ports themselves of its correspondence.Namely, routing device is when activating a certain Virtual Forwarder, the virtual address of this Virtual Forwarder can be configured to the switching port of its correspondence, as: the notification packet that the switching port to its correspondence sends this Virtual Forwarder notices Virtual Forwarder information, comprises virtual address.User, when sending customer flow to switch, can will feed back the virtual address that obtains as destination address from primary route equipment.When switch receives customer flow, the switch ports themselves of the destination address being configured with this customer flow can be determined according to prior art, and on primary or Virtual Forwarder for subsequent use corresponding to the routing device this customer flow being sent to the first line of a couplet according to the switch ports themselves determined.
Particularly, the primary Virtual Forwarder of same virtual address and Virtual Forwarder for subsequent use have the second respective priority; Namely the primary Virtual Forwarder of same virtual address and Virtual Forwarder for subsequent use set up the election contest mechanism of active-standby switch by the second priority.
In above-mentioned 17, after the primary Virtual Forwarder of a certain routing device breaks down, other routing device, according to campaigning for corresponding to the second priority of the alternate routing equipment of the primary route equipment broken down separately, determines an adapter routing device; Adapter routing device activates its alternate routing equipment corresponding to the primary route equipment broken down.
Wherein, preferably, second priority of a certain Virtual Forwarder can be that routing device belonging to it goes out numerical value according to the current processing capabilities dynamic quantization of self, to ensure that remaining the many routing devices of process resource activates the Virtual Forwarder for subsequent use of its correspondence to take over the customer flow of the primary route equipment broken down.In the specific implementation, a feasible scheme is, second priority of the standby router that routing device is configured informs other routing device by its heartbeat message, when the second priority of the Virtual Forwarder for subsequent use of this locality configuration is higher than Virtual Forwarder for subsequent use on other routing device of same virtual address, then it is activated.
For Fig. 1, the virtual address supposing the primary Virtual Forwarder 1 that Router1 is pre-configured is VMAC1, the virtual address of the primary Virtual Forwarder 2 that Router2 is pre-configured is the virtual address of the pre-configured primary Virtual Forwarder 3 of VMAC2, Router3 is VMAC3.Then Router1 learns virtual address VMAC2 and VMAC3 respectively according to the heartbeat message from the Router3 of Router2 respectively.
The virtual address of one of them Virtual Forwarder for subsequent use is VMAC2 (virtual address corresponding to the pre-configured primary Virtual Forwarder of Router2), and the virtual address of another Virtual Forwarder for subsequent use is VMAC3 (virtual address corresponding to the pre-configured primary Virtual Forwarder of Router3)
Certainly, if the fault of the primary Virtual Forwarder of a certain routing device cannot be recovered for a long time, so long-time running two Virtual Forwarder are forwarded double flow by adapter router, and do not meet load balancing principle, for this reason, flow equalization method of the present invention also comprises:
Step 18, if the primary Virtual Forwarder broken down fails to recover in Preset Time, then primary route equipment is according to load balancing, user corresponding to the primary Virtual Forwarder that this breaks down, redistribute the primary Virtual Forwarder of a non-fault, and again fed back to user by address resolution response message.
Further, preferably, the virtual address that routing device configures its Virtual Forwarder for subsequent use to the switch ports themselves of its correspondence has ageing, the described ageing duration is more than or equal to described Preset Time, with guarantee the primary Virtual Forwarder that breaks down the customer flow be responsible for can not be lost.
Certainly, in flow equalization method of the present invention, if adapter router is by virtual machine for subsequent use, listens to the primary Virtual Forwarder broken down and recover in Preset Time, then can cancel the configuration of its switch ports themselves, thus complete the switchback of the primary Virtual Forwarder that this breaks down.
Below in conjunction with an implementation, flow load balance method of the present invention is described in detail.
As shown in Figure 3, the virtual router in this implementation comprises the primary route equipment Router1 under a VRRP backup group 1, alternate routing equipment Router2, Router3.
Wherein, the first priority of the VRRP backup group 1 of the upper configuration of Router1 is 200; First priority of Router2 upper configuration VRRP backup group 1 is 180; First priority of the VRRP backup group 1 of the upper configuration of Router3 is 160;
Before not performing flow load balance method of the present invention, the same with prior art, the address of the Router1 that port one configures according to it, is connected with Router1; The address of the Router2 that port 2 configures according to it, is connected with Router2; The address of the Router3 that port 3 configures according to it, is connected with Router3.The unified ID address being configured to VRRP backup group 1 of gateway of user PC1, PC2 and PC3.
What distinguish with prior art is, Router1 this locality is provided with primary Virtual Forwarder Repeater1 in advance, Router2 this locality is provided with primary Virtual Forwarder Repeater2 in advance, Router3 this locality is provided with primary Virtual Forwarder Repeater3 in advance, the virtual earth address of Repeater1 is VMAC1, the virtual earth address of Repeater2 is the virtual earth address of VMAC2, Repeater3 is VMAC3.
When performing flow load balance method of the present invention, comprising:
Router1, Router2 and Router3 determine primary route equipment according to the first priority of each self-corresponding VRRP backup group 1.In this implementation, first priority of Router1 is the highest, as primary route equipment.
According in prior art, primary route equipment Router1 is responsible for receiving the address resolution request message of being initiated by user PC1, PC2 and PC3;
After Repeater1, Repeater2 and Repeater3 have been configured respective virtual earth address, Router1 has sent notification packet to port one, the virtual address VMAC1 of port one configuration Repeater1.In like manner method, the virtual address VMAC2 of the configurable Repeater2 of port 2, port 3 configures the virtual address VMAC3 of Repeater3.After this step completes, port one is connected with Repeater1, and port 2 is connected with Repeater2, and port 3 is connected with Repeater3.
Afterwards, pass through from primary Virtual Forwarder between Router1, Router2 and Router3, regularly mutual heartbeat message.Router1 learns the virtual address of Repeater2 and Repeater3; Router2 learns the virtual address of Repeater1 and Repeater3; Router3 learns the virtual address of Repeater1 and Repeater2.
As shown in Figure 4, Router1, according to the VMAC2 learning to arrive, sets up the Virtual Forwarder Repeater2 ' for subsequent use corresponding to Repeater2, according to the VMAC3 learning to arrive, sets up the Virtual Forwarder Repeater3 ' for subsequent use corresponding to Repeater3; In like manner, Router2 sets up the Virtual Forwarder Repeater1 ' for subsequent use corresponding to Repeater1 and the Virtual Forwarder Repeater3 ' for subsequent use corresponding to Repeater3; Router3 sets up the Virtual Forwarder Repeater1 ' for subsequent use corresponding to Repeater1, and corresponds to the Virtual Forwarder Repeater2 ' for subsequent use of Repeater2.
Afterwards, the assignment of traffic of PC1, according to load balancing, forwards to Repeater1 by Router1, the assignment of traffic of PC2 is forwarded to Repeater2, the assignment of traffic of PC3 is forwarded to Repeater3.And by the corresponding message of address resolution, feed back VMAC1 respectively to PC1, feed back VMAC2 to PC1, feed back VMAC3 to PC3.
PC1, using the destination address of VMAC1 as its flow, sends to switch; PC2, using the destination address of VMAC2 as its flow, sends to switch; PC3, using the destination address of VMAC3 as its flow, sends to switch.Corresponding, switch determines port one according to the VMAC1 in PC1 flow, and uses port one to send PC1 flow to Repeater1, in like manner PC2 flow is sent to Repeater2 by port 2, and PC3 flow is sent to Repeater3 by port 3.
On the other hand, Router1 and Router3 carries out failure monitoring respectively by respective Repeater2 ' to the Repeater2 in Router2; Router2 and Router3 carries out failure monitoring respectively by respective Repeater1 ' to the Repeater1 in Router1; Router1 and Router2 carries out failure monitoring respectively by respective Repeater3 ' to the Repeater3 in Router3.Such as, Router1 monitors its heartbeat message carrying VMAC2 sent from Router2 received by its local Repeater2 ', if Router1 does not receive the heartbeat message carrying VMAC2 that Router2 sends in Preset Time, then determine that Repeater2 breaks down.
Suppose that Router1 breaks down, cause its Repeater1 fault, Router2 and Router3 campaigns for according to respective Repeater1 '.For convenience of understanding, suppose second priority of the first priority as its all Virtual Forwarder of Router2 and Router3 its VRRP group 1 all strong, so Router2 election contest is adapter routing device, and activates the Repeater1 ' of its local configuration.After, VMAC1 is configured on port 2 by Router2, thus as shown in Figure 5, switch is after receiving the flow of PC2, according to the destination address VMAC1 in PC2 flow, determine that port 2 has been configured this virtual address, and PC2 flow is sent to the Repeater1 ' in Router2 by port 2.
Meanwhile, switch non-primary route equipment according to VRRP agreement Router2, be responsible for receiving the follow-up address resolution request message from PC1, PC2 and PC3.
When Router1 fails to recover in Preset Time, Router2 is according to the load balancing of itself and Router3, for PC1 distributes Repeater2 or Repeater3, and fed back to PC1 by address resolution request message, be the gateway address (namely gateway address sends the destination address of its own traffic) that PC1 changes its flow.Afterwards, the VMAC1 of configuration on port 2 lost efficacy, and deleted the configuration information that VMAC1 is relevant.
When Router1 recovers in Preset Time, Router2 monitors according to its Repeater1 ' and recovers normally with the Repeater1 of Router1, then cancel configuration relevant for VMAC1 on port 2.Meanwhile, Router1 and Router2 can carry out switchback based on VRRP agreement.
Above-mentioned implementation is only exemplarily describe flow load balance method of the present invention, and the second priority needed for election contest adapter routing device can be arranged flexibly according to various criterion.In addition, also need to be described, concrete which type of load balancing of use is not technical problem to be solved by this invention, therefore should not limit protection scope of the present invention.
In addition, the solution of the present invention also provides a kind of routing device, and described routing device is provided with the different primary Virtual Forwarder of a virtual address in advance, and this routing device multiple forms a virtual router, and as shown in Figure 6, described routing device comprises:
First determination module, for the priority of a VRRP backup group configured respectively according to each routing device of virtual router, determines a primary route equipment;
First distribution module, if for described routing device as primary route equipment and after receiving multiple Client-initiated address resolution request message, according to load balancing, for each user distributes a primary Virtual Forwarder, and the virtual address of the primary Virtual Forwarder that each user is assigned to is fed back to by address resolution response message, make user can send customer flow according to feeding back the virtual address obtained;
Study module, the virtual address of the primary Virtual Forwarder on the routing device learning in virtual router other, and according to study to virtual address set up Virtual Forwarder for subsequent use; Wherein, the primary Virtual Forwarder of same virtual address and Virtual Forwarder for subsequent use have corresponding relation;
Monitor module, for carrying out failure monitoring by the Virtual Forwarder for subsequent use of described routing device to the primary transponder of correspondence;
Adapter module, after breaking down for the primary Virtual Forwarder of a certain routing device in described monitoring module determination virtual router, control described active module the activates described routing device for subsequent use Virtual Forwarder corresponding with primary Virtual Forwarder that is that break down, thus take over break down primary Virtual Forwarder institute be responsible for forwarding customer flow.
Wherein, the primary Virtual Forwarder of same virtual address and Virtual Forwarder for subsequent use have the second respective priority;
Described adapter module comprises:
Election contest submodule, for after the primary Virtual Forwarder of a certain routing device in described monitoring module determination virtual router breaks down, according to second priority of described routing device corresponding to the alternate routing equipment of the primary route equipment broken down, be that the routing device broken down is campaigned for primary Virtual Forwarder, determine an adapter routing device;
Control submodule, if be confirmed as adapter routing device for described routing device, then activate its alternate routing equipment corresponding to the primary route equipment broken down.
Wherein, described active module, when activating the primary Virtual Forwarder of described routing device or Virtual Forwarder for subsequent use, configures the primary Virtual Forwarder of described routing device or the virtual address of Virtual Forwarder for subsequent use specifically for the switch ports themselves corresponding to described routing device.
Wherein, described first distribution module also for, if described routing device is as primary route equipment, then when the primary Virtual Forwarder broken down fails to recover in Preset Time, according to load balancing, user corresponding to the primary Virtual Forwarder that this breaks down, is redistributed the primary Virtual Forwarder of a non-fault, and is again fed back to user by address resolution response message.
Wherein, the virtual address that routing device configures its Virtual Forwarder for subsequent use to the switch ports themselves of its correspondence has ageing, and the described ageing duration is more than or equal to described Preset Time.
Obviously, the routing device of the present embodiment is corresponding with flow load balance method provided by the present invention, all can realize identical technique effect.
The above is the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the prerequisite not departing from principle of the present invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (10)

1. a flow load balance method, be applied to virtual router, it is characterized in that, all pre-configured primary Virtual Forwarder of each routing device of described virtual router, the virtual address of the primary Virtual Forwarder of each routing device is all not identical, and described flow load balance method comprises:
According to the first priority of the VRRP backup group that each routing device of virtual router configures respectively, determine a primary route equipment;
After primary route equipment receives multiple Client-initiated address resolution request message, according to load balancing, for each user distributes a primary Virtual Forwarder, and the virtual address of the primary Virtual Forwarder that each user is assigned to is fed back to by address resolution response message, make user can send customer flow according to feeding back the virtual address obtained;
Each routing device of virtual router learns the virtual address of the primary Virtual Forwarder on other routing device, and sets up Virtual Forwarder for subsequent use according to the virtual address learnt; Wherein, the primary Virtual Forwarder of same virtual address and Virtual Forwarder for subsequent use have corresponding relation;
Each routing device of virtual router carries out failure monitoring by its Virtual Forwarder for subsequent use to the primary transponder of correspondence;
After the primary Virtual Forwarder of a certain routing device breaks down, other routing device activates its for subsequent use Virtual Forwarder corresponding with the primary Virtual Forwarder broken down, thus take over break down primary Virtual Forwarder institute be responsible for forwarding customer flow.
2. flow load balance method according to claim 1, is characterized in that, the primary Virtual Forwarder of same virtual address and Virtual Forwarder for subsequent use have the second respective priority;
After the primary Virtual Forwarder of a certain routing device breaks down, other routing device activates its for subsequent use Virtual Forwarder corresponding with the primary Virtual Forwarder broken down, and comprising:
After the primary Virtual Forwarder of a certain routing device breaks down, other routing device, according to campaigning for corresponding to the second priority of the alternate routing equipment of the primary route equipment broken down separately, determines an adapter routing device;
Adapter routing device activates its alternate routing equipment corresponding to the primary route equipment broken down.
3. flow load balance method according to claim 1, is characterized in that,
Activate primary Virtual Forwarder or Virtual Forwarder for subsequent use is specially:
Send the notification packet of this Virtual Forwarder, the virtual forwarding address of this Virtual Forwarder is noticed away, corresponding switch ports themselves learns this virtual address.
4. flow load balance method according to claim 3, is characterized in that,
If the primary Virtual Forwarder broken down fails to recover in Preset Time, then primary route equipment is according to load balancing, user corresponding to the primary Virtual Forwarder that this breaks down, redistribute the primary Virtual Forwarder of a non-fault, and again fed back to user by address resolution response message.
5. flow load balance method according to claim 4, it is characterized in that, the virtual address that routing device configures its Virtual Forwarder for subsequent use to the switch ports themselves of its correspondence has ageing, and the described ageing duration is more than or equal to described Preset Time.
6. a routing device, is characterized in that, described routing device is provided with the different primary Virtual Forwarder of a virtual address in advance, and this routing device multiple forms a virtual router, and described routing device comprises:
First determination module, for the priority of a VRRP backup group configured respectively according to each routing device of virtual router, determines a primary route equipment;
First distribution module, if for described routing device as primary route equipment and after receiving multiple Client-initiated address resolution request message, according to load balancing, for each user distributes a primary Virtual Forwarder, and the virtual address of the primary Virtual Forwarder that each user is assigned to is fed back to by address resolution response message, make user can send customer flow according to feeding back the virtual address obtained;
Study module, the virtual address of the primary Virtual Forwarder on the routing device learning in virtual router other, and according to study to virtual address set up Virtual Forwarder for subsequent use; Wherein, the primary Virtual Forwarder of same virtual address and Virtual Forwarder for subsequent use have corresponding relation;
Monitor module, for carrying out failure monitoring by the Virtual Forwarder for subsequent use of described routing device to the primary transponder of correspondence;
Adapter module, after breaking down for the primary Virtual Forwarder of a certain routing device in described monitoring module determination virtual router, control described active module the activates described routing device for subsequent use Virtual Forwarder corresponding with primary Virtual Forwarder that is that break down, thus take over break down primary Virtual Forwarder institute be responsible for forwarding customer flow.
7. routing device according to claim 6, is characterized in that, the primary Virtual Forwarder of same virtual address and Virtual Forwarder for subsequent use have the second respective priority;
Described adapter module comprises:
Election contest submodule, for after the primary Virtual Forwarder of a certain routing device in described monitoring module determination virtual router breaks down, according to second priority of described routing device corresponding to the alternate routing equipment of the primary route equipment broken down, be that the routing device broken down is campaigned for primary Virtual Forwarder, determine an adapter routing device;
Control submodule, if be confirmed as adapter routing device for described routing device, then activate its alternate routing equipment corresponding to the primary route equipment broken down.
8. routing device according to claim 6, is characterized in that,
Described active module, when activating the primary Virtual Forwarder of described routing device or Virtual Forwarder for subsequent use, configures the primary Virtual Forwarder of described routing device or the virtual address of Virtual Forwarder for subsequent use specifically for the switch ports themselves corresponding to described routing device.
9. routing device according to claim 8, is characterized in that,
Described first distribution module also for, if described routing device is as primary route equipment, then when the primary Virtual Forwarder broken down fails to recover in Preset Time, according to load balancing, user corresponding to the primary Virtual Forwarder that this breaks down, redistribute the primary Virtual Forwarder of a non-fault, and again fed back to user by address resolution response message.
10. routing device according to claim 9, is characterized in that, the virtual address that routing device configures its Virtual Forwarder for subsequent use to the switch ports themselves of its correspondence has ageing, and the described ageing duration is more than or equal to described Preset Time.
CN201410592207.2A 2014-10-29 2014-10-29 Traffic load balancing method and routing equipment Withdrawn CN105553866A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410592207.2A CN105553866A (en) 2014-10-29 2014-10-29 Traffic load balancing method and routing equipment
PCT/CN2015/074423 WO2016065804A1 (en) 2014-10-29 2015-03-17 Traffic load balancing method and routing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410592207.2A CN105553866A (en) 2014-10-29 2014-10-29 Traffic load balancing method and routing equipment

Publications (1)

Publication Number Publication Date
CN105553866A true CN105553866A (en) 2016-05-04

Family

ID=55832804

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410592207.2A Withdrawn CN105553866A (en) 2014-10-29 2014-10-29 Traffic load balancing method and routing equipment

Country Status (2)

Country Link
CN (1) CN105553866A (en)
WO (1) WO2016065804A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107454155A (en) * 2017-07-25 2017-12-08 北京三快在线科技有限公司 A kind of fault handling method based on load balancing cluster, device and system
CN108833273A (en) * 2018-06-27 2018-11-16 北京东土军悦科技有限公司 Active-standby switch, electoral machinery, router and medium in VRRP backup group
CN111683009A (en) * 2020-06-15 2020-09-18 哈工大机器人(合肥)国际创新研究院 Control method and device of virtual forwarder

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3342206A1 (en) * 2015-08-24 2018-07-04 Nokia Solutions and Networks Oy Network congestion control via paging procedures
CN107888492B (en) * 2017-10-16 2020-07-24 闽南师范大学 VRRP load balancing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090016215A1 (en) * 2007-07-10 2009-01-15 Stephen Nadas System and method for balancing ip gateway services
CN101404621A (en) * 2008-11-24 2009-04-08 杭州华三通信技术有限公司 Method and routing device for implementing VRRP load balance
CN101707570A (en) * 2009-12-17 2010-05-12 杭州华三通信技术有限公司 Load balancing method and equipment in VRRP scene
CN102123105A (en) * 2011-04-20 2011-07-13 杭州华三通信技术有限公司 Method and equipment for switching between standard VRRP (Virtual Router Redundancy Protocol) and load balancing VRRP
CN102739544A (en) * 2012-06-28 2012-10-17 杭州华三通信技术有限公司 Method and device for switching VRRP (Virtual Router Redundancy Protocol) standard mode to load balancing mode

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090016215A1 (en) * 2007-07-10 2009-01-15 Stephen Nadas System and method for balancing ip gateway services
CN101404621A (en) * 2008-11-24 2009-04-08 杭州华三通信技术有限公司 Method and routing device for implementing VRRP load balance
CN101707570A (en) * 2009-12-17 2010-05-12 杭州华三通信技术有限公司 Load balancing method and equipment in VRRP scene
CN102123105A (en) * 2011-04-20 2011-07-13 杭州华三通信技术有限公司 Method and equipment for switching between standard VRRP (Virtual Router Redundancy Protocol) and load balancing VRRP
CN102739544A (en) * 2012-06-28 2012-10-17 杭州华三通信技术有限公司 Method and device for switching VRRP (Virtual Router Redundancy Protocol) standard mode to load balancing mode

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
关瑞东,孙文胜: "支持动态负载均衡的虚拟路由器冗余技术研究与实现", 《计算机工程与科学》 *
祝伟华,徐强: "基于动态负载均衡的VRRP协议研究", 《重庆理工大学学报(自然科学)》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107454155A (en) * 2017-07-25 2017-12-08 北京三快在线科技有限公司 A kind of fault handling method based on load balancing cluster, device and system
CN108833273A (en) * 2018-06-27 2018-11-16 北京东土军悦科技有限公司 Active-standby switch, electoral machinery, router and medium in VRRP backup group
CN111683009A (en) * 2020-06-15 2020-09-18 哈工大机器人(合肥)国际创新研究院 Control method and device of virtual forwarder

Also Published As

Publication number Publication date
WO2016065804A1 (en) 2016-05-06

Similar Documents

Publication Publication Date Title
TWI724106B (en) Business flow control method, device and system between data centers
CN100456694C (en) Method and apparatus for providing network connector
CN101695043B (en) Method for multiplexing hot backup port and network system
CN102821044B (en) Method and device for configuring server cluster
CN102439903B (en) Method, device and system for realizing disaster-tolerant backup
US9049106B2 (en) Multipath virtual router redundancy
WO2012000234A1 (en) Method, apparatus and system for fast switching between links
CN105553866A (en) Traffic load balancing method and routing equipment
CN104104570A (en) Aggregation processing method in IRF (Intelligent Resilient Framework) system and device
GB2485024A (en) Providing failover for a Point to Point tunnel for Wireless Local Area Network (WLAN) split-plane environments
JP5496371B2 (en) Network relay system and network relay device
CN103873368A (en) Ethernet message forwarding method and access device
CN103338161A (en) Method and equipment for realizing cross-equipment aggregation
CN105024836B (en) Method and device for switching primary Service Router (SR) and standby SR and SR
JP2007208369A (en) Network system and node redundancy method therefor
CN102970231A (en) Multicast flow forwarding implementation method and routing bridge (RB)
CN103731303B (en) A kind of longitudinal fusion architecture interface realizes the method and apparatus of many active entities detections
CN103095573A (en) Method for virtual router redundancy protocol backup set switching and switch
CN102333027A (en) Traffic load sharing realization method based on virtual router redundancy protocol extend (VRRPE) backup group and realization apparatus thereof
CN103259740A (en) Load balancing processing method and device
CN103200117A (en) Method and device of load balancing
CN102238069A (en) Data processing method and device for link switching process
CN103825815A (en) Method, device and system for carrying out redundant backup among network virtual edge devices
CN104243304B (en) The data processing method of non-full-mesh topological structure, equipment and system
CN102651711B (en) A kind of methods, devices and systems set up and use the floating network segment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20160504

WW01 Invention patent application withdrawn after publication