CN101729425B - Method and equipment for flow sending in VRRP networking - Google Patents

Method and equipment for flow sending in VRRP networking Download PDF

Info

Publication number
CN101729425B
CN101729425B CN2009102594821A CN200910259482A CN101729425B CN 101729425 B CN101729425 B CN 101729425B CN 2009102594821 A CN2009102594821 A CN 2009102594821A CN 200910259482 A CN200910259482 A CN 200910259482A CN 101729425 B CN101729425 B CN 101729425B
Authority
CN
China
Prior art keywords
bandwidth
arp
mac
list item
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2009102594821A
Other languages
Chinese (zh)
Other versions
CN101729425A (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN2009102594821A priority Critical patent/CN101729425B/en
Publication of CN101729425A publication Critical patent/CN101729425A/en
Application granted granted Critical
Publication of CN101729425B publication Critical patent/CN101729425B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and equipment for flow sending in VRRP networking, wherein the method comprises the following steps of: sending an ARP request message to a VRRP group by access equipment and receiving an expanded ARP answer message sent by the VRRP group, wherein the expanded ARP answer message carries a plurality of MAC addresses; establishing an ARP list item by the access equipment according to the expanded ARP answer message, storing the MAC addresses and recording each corresponding bandwidth use value of the MAC addresses; and when the access equipment needs to send flows to the VRRP group, searching the ARP list item, selecting the MAC address with the minimum used bandwidth or the maximum remaining bandwidth as a gateway MAC address and sending the flows. The invention realizes the load sharing of a convergence level based on the flows.

Description

The method and apparatus that flow sends in the VRRP networking
Technical field
The present invention relates to the communications field, relate in particular to the method and apparatus that a kind of multimedia terminal is inserted.
Background technology
The networking access way of existing supervisory control system is as shown in Figure 1, comprises convergence-level equipment, access layer equipment and front end encoding device (encoder).Wherein, Usually launch VRRP (VirtualRouter Redundancy Protocol, Virtual Router Redundancy Protocol) load balancing above the convergence-level equipment, convergence-level equipment constitutes the VRRP group; Receive ARP (the Address Resolution Protocol that access device sends; Address resolution protocol) behind the message, is that access device is selected the convergence-level gateway through modes such as Hash operation, and this gateway address is sent to access layer equipment.Access device is through the convergence-level gateway transmitted traffic of this distribution.For example; The VRRP group that convergence-level device A among Fig. 1 and B constitute can be distributed different gateways respectively for access layer equipment a, b and c; Make access layer equipment a, b and c respectively through convergence-level device A and B transmitted traffic, promptly this VRRP load balancing is a kind of load balancing based on equipment.
Under the little situation of access device flow, each convergence-level equipment can be handled separately the flow of the access device of extension down respectively according to existing load balancing mode, and flow is transmitted normal.But, when the flow of certain access device of hanging down when convergence-level equipment is very big suddenly, possibly cause link congestion even packet loss between access device and this convergence-level equipment.For example multimedia inserts in the networking, because the strenuous exercise of a lot of users' live program request or monitored picture will cause the multimedia terminal access device to increase to the code stream bandwidth of convergence-level equipment, it is big that flow becomes suddenly.As shown in Figure 1, the encoder that hangs over multimedia terminal b (switch) instantly through terminal b when the convergence-level device A is sent a large amount of flow, with the link congestion or the packet loss that cause between multimedia terminal b and the convergence-level device A.
Therefore, the shortcoming of prior art is:
The convergence-level equipment disposition is based on the VRRP load balancing mechanism of multimedia terminal, the convergence-level equipment that different multimedia terminals is corresponding different.When the flow of multimedia terminal is very big, will cause that flow blocks even packet loss between multimedia terminal and the corresponding convergence-level equipment.
Summary of the invention
The invention provides the method and apparatus that flow sends in a kind of VRRP networking, realize flow load sharing balanced in the VRRP networking.
The present invention provides the method that flow sends in a kind of Virtual Router Redundancy Protocol VRRP networking, and the VRRP group in the said VRRP networking comprises a plurality of convergence-level equipment, and each convergence-level equipment has different separately MAC Addresss; This method further comprises:
Access device sends the ARP request message to said VRRP group, receives the arp reply message of the expansion of said VRRP group transmission, and the arp reply message of said expansion carries a plurality of MAC Addresss;
Said access device is set up the ARP list item according to the arp reply message of said expansion, stores said a plurality of MAC Address, and writes down each self-corresponding bandwidth use value of said a plurality of MAC Address;
When said access device need be to said VRRP group transmitted traffic, search said ARP list item, select dedicated bandwidth is minimum or remaining bandwidth is maximum MAC Address as gateway MAC Address and transmitted traffic.
Said access device is set up the ARP list item according to the arp reply message of said expansion, stores said a plurality of MAC Address, and writes down each self-corresponding bandwidth use value of said a plurality of MAC Address and comprise:
Said access device obtains the corresponding a plurality of MAC Addresss in IP address and said IP address of said VRRP group according to the arp reply message of said expansion;
Said access device is set up the ARP list item and is stored the corresponding a plurality of MAC Addresss in said IP address and said IP address; Also comprise dedicated bandwidth or remaining bandwidth field in the said ARP list item, be used to write down each MAC Address corresponding dedicated bandwidth or remaining bandwidth.
Said access device writes down each self-corresponding bandwidth use value of said a plurality of MAC Address and comprises:
When said access device during to said VRRP group transmitted traffic, said access device obtains the bandwidth that said flow takies, in said ARP list item, increase said flow target MAC (Media Access Control) address dedicated bandwidth or reduce the remaining bandwidth of said MAC Address;
When said access device stops to send said flow, said access device in said ARP list item, reduce said flow target MAC (Media Access Control) address dedicated bandwidth or increase the remaining bandwidth of said MAC Address.
Said access device obtains the bandwidth that said flow takies, and the dedicated bandwidth or the remaining bandwidth that reduces said MAC Address that in said ARP list item, increase the target MAC (Media Access Control) address of said flow comprise:
The initial value of the dedicated bandwidth of all MAC Addresss in the said ARP list item of said access device is set to 0, bandwidth that said flow is taken and said dedicated bandwidth and as new dedicated bandwidth;
Perhaps
The initial value of the remaining bandwidth of all MAC Addresss in the said ARP list item of said access device is set to identical maximum bandwidth, and the difference of the bandwidth that said remaining bandwidth and said flow are taken is as new remaining bandwidth.
The a plurality of MAC Addresss that carry in the ARP message of said expansion comprise main with MAC Address and available MAC Address, and when said access device was not supported the ARP message of said expansion, said access device was according to the said main MAC Address transmitted traffic of using.
The present invention provides the equipment that flow sends in a kind of Virtual Router Redundancy Protocol VRRP networking; Be applied to the VRRP networking as access device; VRRP group in the said VRRP networking comprises a plurality of convergence-level equipment, and each convergence-level equipment has different separately MAC Addresss; This equipment further comprises:
The message receiving element is used for sending the ARP request message to said VRRP group, receives the arp reply message of the expansion of said VRRP group transmission, and the arp reply message of said expansion carries a plurality of MAC Addresss;
List item is set up the unit, is used for setting up the ARP list item according to the arp reply message of said expansion, stores said a plurality of MAC Address;
The bandwidth record cell is used to write down each self-corresponding bandwidth use value of said a plurality of MAC Address;
The flow transmitting element is used for and need when said VRRP group transmitted traffic, searches said ARP list item, selects dedicated bandwidth is minimum or remaining bandwidth is maximum MAC Address as gateway MAC Address and transmitted traffic.
Said list item is set up the unit and also is used for:
Obtain the corresponding a plurality of MAC Addresss in IP address and said IP address of said VRRP group according to the arp reply message of said expansion;
Set up the ARP list item and store the corresponding a plurality of MAC Addresss in said IP address and said IP address, also comprise dedicated bandwidth or remaining bandwidth field in the said ARP list item, be used to write down each MAC Address corresponding dedicated bandwidth or remaining bandwidth.
Said bandwidth record cell also is used for:
When said access device during to said VRRP group transmitted traffic, obtain the bandwidth that said flow takies, in said ARP list item, increase said flow target MAC (Media Access Control) address dedicated bandwidth or reduce the remaining bandwidth of said MAC Address;
When said access device stopped to send said flow, the dedicated bandwidth that in said ARP list item, reduces the target MAC (Media Access Control) address of said flow perhaps increased the remaining bandwidth of said MAC Address.
Said bandwidth record cell also is used for:
The initial value of the dedicated bandwidth of all MAC Addresss in the said ARP list item is set to 0, bandwidth that said flow is taken and said dedicated bandwidth and as new dedicated bandwidth;
Perhaps
The initial value of the remaining bandwidth of all MAC Addresss in the said ARP list item is set to identical maximum bandwidth, and the difference of the bandwidth that said remaining bandwidth and said flow are taken is as new remaining bandwidth.
The a plurality of MAC Addresss that carry in the ARP message of said expansion comprise main with MAC Address and available MAC Address;
Said flow transmitting element also is used for: when said access device is not supported the ARP message of said expansion, according to the said main MAC Address transmitted traffic of using.
Compared with prior art, the present invention has the following advantages at least:
Among the present invention; Access device receives the ARP message of the expansion of VRRP group transmission; Set up the ARP list item according to this message, store a plurality of MAC Addresss, and the corresponding bandwidth use value of record MAC Address; Select dedicated bandwidth is minimum or remaining bandwidth is maximum MAC Address as gateway MAC Address transmitted traffic, realize balanced flow load sharing.
Description of drawings
Fig. 1 is the networking access way sketch map of prior art supervisory control system;
Fig. 2 is the schematic flow sheet of the method that flow sends in the VRRP networking provided by the invention;
Fig. 3 is the schematic flow sheet of the method that flow sends in the VRRP networking that provides of application scenarios of the present invention;
Fig. 4 is the networking access way sketch map of the supervisory control system that provides of application scenarios of the present invention;
Fig. 5 is the method flow sketch map that flow sends in the VRRP networking under the concrete application scenarios of the present invention;
Fig. 6 is the structural representation of the equipment that flow sends in the VRRP networking provided by the invention.
Embodiment
Core concept of the present invention is: in the VRRP networking, configuration is based on the load balancing mode of flow bandwidth.The ARP message of configuration expansion adds optional MAC Address field in the ARP message of expansion, be used to carry the MAC Address of the convergence-level equipment that can supply the access device access.Access device is set up the ARP list item according to the ARP message of expansion; The corresponding bandwidth use value of alternative MAC Address of record and MAC Address in this ARP list item; Select dedicated bandwidth is minimum or remaining bandwidth is maximum MAC Address as the gateway MAC Address, thereby realize load balancing access way based on bandwidth.
The present invention provides the method that flow sends in a kind of VRRP networking, and the VRRP group in the said VRRP networking comprises a plurality of convergence-level equipment, and each convergence-level equipment has different separately MAC Addresss; As shown in Figure 2, this method further comprises:
Step 201, access device sends the ARP request message to said VRRP group, receives the arp reply message of the expansion of said VRRP group transmission, and the arp reply message of said expansion carries a plurality of MAC Addresss;
Step 202, said access device is set up the ARP list item according to the arp reply message of said expansion, stores said a plurality of MAC Address, and writes down each self-corresponding bandwidth use value of said a plurality of MAC Address;
Step 203 when said access device need be to said VRRP group transmitted traffic, searched said ARP list item, selects dedicated bandwidth is minimum or remaining bandwidth is maximum MAC Address as gateway MAC Address and transmitted traffic.
Introduce the method that flow sends in the VRRP networking provided by the invention in detail below in conjunction with concrete application scenarios.
In the application scenarios of the present invention, dispose a kind of arp reply message of expansion, the form of existing arp reply message is as shown in table 1:
Table 1
Figure G2009102594821D00061
Wherein, the form of the arp reply message that provides of application scenarios of the present invention is as shown in table 2:
Table 2
Figure G2009102594821D00062
In the message of arp reply shown in the table 1; Transmitting terminal MAC Address and transmitting terminal IP address are respectively the MAC Address of the convergence-level equipment that sends the arp reply message and the IP address of VRRP group, and destination-mac address and target ip address are respectively the MAC Address and the IP address of access device.
Different with table 1 is, in the ARP message of the expansion shown in the table 2 that should provide with scene, has increased optional MAC Address field, in order to carry except that main with can also be as the optional MAC Address of gateway MAC Address the MAC Address (transmitting terminal MAC Address).Can also increase optional MAC digital section in the table 2, the number of the optional MAC Address that carries in the ARP message in order to the sign expansion.
In the ARP message of the expansion shown in the table 2 that should provide with scene, the OP field can also be added message identification, and for example 8, in order to identify the ARP message of this message for expansion.
Because in the ARP message of the expansion shown in the table 2 that should provide with scene, both comprised and mainly use MAC Address that comprise optional MAC Address again, the access device for the ARP message of support expanded can obtain leading with MAC Address and optional MAC Address of wherein carrying; For the access device of the ARP message of support expanded not, can obtain the master who wherein carries and use MAC Address.
Concrete, the method that flow sends in the VRRP networking that application scenarios of the present invention provides, as shown in Figure 3, may further comprise the steps:
Step 301, access device sends the ARP request to the VRRP group.
Step 302, the VRRP group is sent the ARP message of expansion to access device.
In the VRRP agreement, two groups of important notions are arranged: VRRP router and virtual router, master control router and backup router.The VRRP router is meant the router of operation VRRP, is physical entity, and virtual router is meant what the VRRP agreement was created, is logical concept.The collaborative work of one group of VRRP router constitutes a virtual router jointly.This virtual router externally shows as a router logic with unique fixed ip address.Be in the role that router in the same VRRP group has two kinds of mutual exclusions: master control router and backup router, there is and has only a router that is in the master control role in the VRRP group, can there be one or more to be in backup role's router.The VRRP agreement uses selection strategy from groups of routers, to select one as master control, is responsible for the corresponding and forwarding IP packet of ARP, and other router in the group is ready as the role of backup.When the master control router breaks down for a certain reason, backup router can several seconds the time delay and upgrade to active router.
In the application scenarios of the present invention, receive the ARP request that access device sends after, VRRP group a plurality of or all MAC Addresss that this group is interior add in the ARP message of expansion, and the ARP message that will expand sends to access device.
Step 303, access device receive the ARP message of the expansion of VRRP group transmission, set up the ARP list item and store a plurality of available MAC Addresss.
Concrete, after access device receives the ARP message of the expansion that the VRRP group sends, set up ARP list item as shown in table 3 according to the transmitting terminal MAC Address that carries in this message and available MAC Address and transmitting terminal IP address:
Table 3
Internet?Address Physical?Address Type Used data stream bandwidth
x.x.x.x The transmitting terminal MAC Address dynamic a
Optional MAC Address 1 dynamic b
Optional MAC Address 2 dynamic c
Wherein, Internet address representes requested IP address, i.e. the IP address of VRRP group; Physical Address representes physical address, and Type representes the mode of this list item study, representes to use the stream bandwidth of this MAC Address as the gateway MAC Address with data stream bandwidth.
Should use in the scene, also can be to use other forms that can identify the corresponding bandwidth value of MAC Address with data stream bandwidth in the table 3, for example can use the remaining bandwidth value to replace.
When step 304, access device are sent new flow to VRRP group, search the ARP list item, select dedicated bandwidth is minimum or remaining bandwidth is maximum MAC Address as the gateway MAC Address, to VRRP group transmitted traffic.
When access device used MAC Address in the ARP list item as the gateway MAC Address, access device was also according to the bandwidth of the flow that sends to the VRRP group, in the ARP list item this MAC Address of record corresponding with data stream bandwidth or remaining bandwidth value.
After receiving the ARP message of VRRP group transmission, access device is searched the MAC Address that dedicated bandwidth is minimum or remaining bandwidth is maximum in the ARP list item, use this MAC Address as gateway MAC Address transmitted traffic.
Should use in the scene, access device when promptly VRRP organizes transmitted traffic, need be known the bandwidth that this flow takies to convergence-level equipment, revises corresponding dedicated bandwidth or the remaining bandwidth value of MAC Address in the ARP list item according to the bandwidth of flow.The acquiescence total bandwidth value of each MAC Address is identical.
Introduce the method that flow sends in the VRRP networking provided by the invention below in conjunction with another concrete application scenarios.Wherein, access device is that example is introduced with the multimedia terminal.
With networking shown in Figure 4 is example, and wherein, the IP address of gateway VRRP is 1.1.1.1, has two convergence-level equipment, and its MAC Address is respectively 0000-0000-0001 and 0000-0000-0002; The IP address and the MAC Address that insert multimedia equipment are respectively:
IP:1.1.1.2, MAC Address 0000-0000-1111.
As shown in Figure 5, the method that flow sends in the VRRP networking under this concrete application scenarios may further comprise the steps:
Step 501 inserts multimedia equipment and sends common ARP request to the VRRP group.
Step 502, the VRRP group is sent the ARP message of expansion to the VRRP group.
The form of the ARP message of this expansion is as shown in table 4:
Table 4
OP 8
The transmitting terminal MAC Address 0000-0000-0001
Transmitting terminal IP address 1.1.1.1
Destination-mac address 0000-0000-1111
Target ip address 1.1.1.2
Optional MAC number 1
Optional MAC Address 0000-0000-0002
Step 503 inserts the ARP message that multimedia equipment receives expansion, sets up the ARP list item.
Concrete, this ARP list item is as shown in table 5:
Table 5
Internet?Address Physical?Address Type Used data stream bandwidth (K)
1.1.1.1 0000-0000-0001 dynamic 0
0000-0000-0002 dynamic 0
Step 504 inserts the newly-built media stream of multimedia equipment, searches the ARP list item, selects the MAC Address that dedicated bandwidth is minimum or remaining bandwidth is maximum to send media stream as the gateway MAC Address.
Concrete, if there is the user need watch live telecast, then inserting the newly-built media stream of meeting on the multimedia equipment, this stream inserts multimedia equipment and searches the ARP list item when sending.When initial; The use data stream bandwidth that each MAC Address is corresponding all is 0; Then insert multimedia equipment and can select first MAC Address according to preset rule; As gateway MAC, and use data stream bandwidth, for example add 1* code stream bandwidth according to what the bandwidth that this newly-built media stream takies write down this gateway in the ARP list item.The gateway MAC Address that this stream of record uses in software simultaneously; Promptly in existing stream list item, increase a MAC value variable; When increasing this stream; The MAC Address of selecting is deposited in this variable, and follow-up message to this flow all uses the target MAC (Media Access Control) address in this variable to encapsulate.
Through adopting method provided by the invention; Access device receives the ARP message of the expansion of VRRP group transmission; Set up the ARP list item according to this message, store a plurality of MAC Addresss, and the corresponding bandwidth use value of record MAC Address; Select dedicated bandwidth is minimum or remaining bandwidth is maximum MAC Address as gateway MAC Address transmitted traffic, realize balanced flow load sharing.
The present invention provides the equipment that flow sends in a kind of VRRP networking, is applied to the VRRP networking as access device, and the VRRP group in the said VRRP networking comprises a plurality of convergence-level equipment, and each convergence-level equipment has different separately MAC Addresss; As shown in Figure 6, this equipment further comprises:
Message receiving element 11 is used for sending the ARP request message to said VRRP group, receives the arp reply message of the expansion of said VRRP group transmission, and the arp reply message of said expansion carries a plurality of MAC Addresss;
List item is set up unit 12, is connected with said message receiving element 11, is used for setting up the ARP list item according to the arp reply message of said expansion, stores said a plurality of MAC Address;
Bandwidth record cell 13 is set up unit 12 with said list item and is connected, and is used in each self-corresponding bandwidth use value of the said a plurality of MAC Addresss of said ARP list item record;
Flow transmitting element 14 is set up unit 12 with said list item and is connected, and is used for when said VRRP group transmitted traffic, searching said ARP list item, selects dedicated bandwidth is minimum or remaining bandwidth is maximum MAC Address as gateway MAC Address and transmitted traffic.
Said list item is set up unit 12 and also is used for:
Obtain the corresponding a plurality of MAC Addresss in IP address and said IP address of said VRRP group according to the arp reply message of said expansion;
Set up the ARP list item and store the corresponding a plurality of MAC Addresss in said IP address and said IP address, also comprise dedicated bandwidth or remaining bandwidth field in the said ARP list item, be used to write down each MAC Address corresponding dedicated bandwidth or remaining bandwidth.
Said bandwidth record cell 13 also is used for:
When said access device during to said VRRP group transmitted traffic, obtain the bandwidth that said flow takies, in said ARP list item, increase said flow target MAC (Media Access Control) address dedicated bandwidth or reduce the remaining bandwidth of said MAC Address;
When said access device stopped to send said flow, the dedicated bandwidth that in said ARP list item, reduces the target MAC (Media Access Control) address of said flow perhaps increased the remaining bandwidth of said MAC Address.
Said bandwidth record cell 13 also is used for:
The initial value of the dedicated bandwidth of all MAC Addresss in the said ARP list item is set to 0, bandwidth that said flow is taken and said dedicated bandwidth and as new dedicated bandwidth;
Perhaps
The initial value of the remaining bandwidth of all MAC Addresss in the said ARP list item is set to identical maximum bandwidth, and the difference of the bandwidth that said remaining bandwidth and said flow are taken is as new remaining bandwidth.
The a plurality of MAC Addresss that carry in the ARP message of said expansion comprise main with MAC Address and available MAC Address; Said flow transmitting element 14 also is used for: when said access device is not supported the ARP message of said expansion, according to the said main MAC Address transmitted traffic of using.
Through adopting equipment provided by the invention; Access device receives the ARP message of the expansion of VRRP group transmission; Set up the ARP list item according to this message, store a plurality of MAC Addresss, and the corresponding bandwidth use value of record MAC Address; Select dedicated bandwidth is minimum or remaining bandwidth is maximum MAC Address as gateway MAC Address transmitted traffic, realize balanced flow load sharing.
Through the description of above execution mode, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode under a lot of situation.Based on such understanding; The part that technical scheme of the present invention contributes to prior art in essence in other words can be come out with the embodied of software product; This computer software product is stored in the storage medium; Comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the sketch map of a preferred embodiment, module in the accompanying drawing or flow process might not be that embodiment of the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
The invention described above embodiment sequence number is not represented the quality of embodiment just to description.
More than disclosedly be merely several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.

Claims (8)

1. the method that flow sends in the Virtual Router Redundancy Protocol VRRP networking is characterized in that, the VRRP group in the said VRRP networking comprises a plurality of convergence-level equipment, and each convergence-level equipment has different separately MAC Addresss; This method further comprises:
Access device sends the ARP request message to said VRRP group, receives the arp reply message of the expansion of said VRRP group transmission, and the arp reply message of said expansion carries a plurality of MAC Addresss;
Said access device is set up the ARP list item according to the arp reply message of said expansion, stores said a plurality of MAC Address, and writes down each self-corresponding bandwidth use value of said a plurality of MAC Address;
When said access device need be to said VRRP group transmitted traffic, search said ARP list item, select dedicated bandwidth is minimum or remaining bandwidth is maximum MAC Address as gateway MAC Address and transmitted traffic;
Wherein, when said access device during to said VRRP group transmitted traffic, said access device obtains the bandwidth that said flow takies, in said ARP list item, increase said flow target MAC (Media Access Control) address dedicated bandwidth or reduce the remaining bandwidth of said MAC Address; When said access device stops to send said flow, said access device in said ARP list item, reduce said flow target MAC (Media Access Control) address dedicated bandwidth or increase the remaining bandwidth of said MAC Address.
2. the method for claim 1 is characterized in that, said access device is set up the ARP list item according to the arp reply message of said expansion, stores said a plurality of MAC Address, and writes down each self-corresponding bandwidth use value of said a plurality of MAC Address and comprise:
Said access device obtains the corresponding a plurality of MAC Addresss in IP address and said IP address of said VRRP group according to the arp reply message of said expansion;
Said access device is set up the ARP list item and is stored the corresponding a plurality of MAC Addresss in said IP address and said IP address; Also comprise dedicated bandwidth or remaining bandwidth field in the said ARP list item, be used to write down each MAC Address corresponding dedicated bandwidth or remaining bandwidth.
3. the method for claim 1 is characterized in that, said access device obtains the bandwidth that said flow takies, and the dedicated bandwidth or the remaining bandwidth that reduces said MAC Address that in said ARP list item, increase the target MAC (Media Access Control) address of said flow comprise:
The initial value of the dedicated bandwidth of all MAC Addresss in the said ARP list item of said access device is set to 0, bandwidth that said flow is taken and said dedicated bandwidth and as new dedicated bandwidth;
Perhaps
The initial value of the remaining bandwidth of all MAC Addresss in the said ARP list item of said access device is set to identical maximum bandwidth, and the difference of the bandwidth that said remaining bandwidth and said flow are taken is as new remaining bandwidth.
4. the method for claim 1; It is characterized in that; The a plurality of MAC Addresss that carry in the ARP message of said expansion comprise main with MAC Address and available MAC Address; When said access device was not supported the ARP message of said expansion, said access device was according to the said main MAC Address transmitted traffic of using.
5. the equipment that flow sends in the Virtual Router Redundancy Protocol VRRP networking; It is characterized in that; Be applied to the VRRP networking as access device, the VRRP group in the said VRRP networking comprises a plurality of convergence-level equipment, and each convergence-level equipment has different separately MAC Addresss; This equipment further comprises:
The message receiving element is used for sending the ARP request message to said VRRP group, receives the arp reply message of the expansion of said VRRP group transmission, and the arp reply message of said expansion carries a plurality of MAC Addresss;
List item is set up the unit, is connected with said message receiving element, is used for setting up the ARP list item according to the arp reply message of said expansion, stores said a plurality of MAC Address;
The bandwidth record cell is set up the unit with said list item and is connected, and is used in each self-corresponding bandwidth use value of the said a plurality of MAC Addresss of said ARP list item record; Wherein,, obtain the bandwidth that said flow takies when said access device during to said VRRP group transmitted traffic, in said ARP list item, increase said flow target MAC (Media Access Control) address dedicated bandwidth or reduce the remaining bandwidth of said MAC Address; When said access device stopped to send said flow, the dedicated bandwidth that in said ARP list item, reduces the target MAC (Media Access Control) address of said flow perhaps increased the remaining bandwidth of said MAC Address;
The flow transmitting element is set up the unit with said list item and is connected, and is used for when said VRRP group transmitted traffic, searching said ARP list item, selects dedicated bandwidth is minimum or remaining bandwidth is maximum MAC Address as gateway MAC Address and transmitted traffic.
6. equipment as claimed in claim 5 is characterized in that, said list item is set up the unit and also is used for:
Obtain the corresponding a plurality of MAC Addresss in IP address and said IP address of said VRRP group according to the arp reply message of said expansion;
Set up the ARP list item and store the corresponding a plurality of MAC Addresss in said IP address and said IP address, also comprise dedicated bandwidth or remaining bandwidth field in the said ARP list item, be used to write down each MAC Address corresponding dedicated bandwidth or remaining bandwidth.
7. equipment as claimed in claim 5 is characterized in that, said bandwidth record cell also is used for:
The initial value of the dedicated bandwidth of all MAC Addresss in the said ARP list item is set to 0, bandwidth that said flow is taken and said dedicated bandwidth and as new dedicated bandwidth;
Perhaps
The initial value of the remaining bandwidth of all MAC Addresss in the said ARP list item is set to identical maximum bandwidth, and the difference of the bandwidth that said remaining bandwidth and said flow are taken is as new remaining bandwidth.
8. equipment as claimed in claim 5 is characterized in that, a plurality of MAC Addresss that carry in the ARP message of said expansion comprise main with MAC Address and available MAC Address;
Said flow transmitting element also is used for: when said access device is not supported the ARP message of said expansion, according to the said main MAC Address transmitted traffic of using.
CN2009102594821A 2009-12-22 2009-12-22 Method and equipment for flow sending in VRRP networking Expired - Fee Related CN101729425B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009102594821A CN101729425B (en) 2009-12-22 2009-12-22 Method and equipment for flow sending in VRRP networking

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009102594821A CN101729425B (en) 2009-12-22 2009-12-22 Method and equipment for flow sending in VRRP networking

Publications (2)

Publication Number Publication Date
CN101729425A CN101729425A (en) 2010-06-09
CN101729425B true CN101729425B (en) 2012-07-11

Family

ID=42449666

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102594821A Expired - Fee Related CN101729425B (en) 2009-12-22 2009-12-22 Method and equipment for flow sending in VRRP networking

Country Status (1)

Country Link
CN (1) CN101729425B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102137018A (en) * 2011-03-21 2011-07-27 华为技术有限公司 Load sharing method and device thereof
CN102187627B (en) * 2011-04-25 2013-08-28 华为技术有限公司 Method, device and broadband access server system for load share
CN102231712B (en) * 2011-07-22 2014-04-23 浙江宇视科技有限公司 Method for load sharing on encoder and encoder
CN102761479B (en) * 2012-06-28 2015-09-09 华为技术有限公司 Link selecting method and device
CN103581014B (en) * 2012-07-20 2018-02-06 中兴通讯股份有限公司 VRRP routers dynamic adjusting method and device
CN104079486A (en) 2013-03-28 2014-10-01 国际商业机器公司 Gateway and method of transmitting data through gateway
CN104618243B (en) * 2015-02-28 2017-11-17 华为技术有限公司 Method for routing, apparatus and system, Scheduling of Gateway method and device
CN106161272B (en) * 2016-08-31 2019-06-18 迈普通信技术股份有限公司 Realize the method and routing device of VRRP load balancing
CN108924052B (en) * 2018-07-17 2021-07-06 迈普通信技术股份有限公司 Message forwarding method, convergence gateway, access gateway and system
CN111835589B (en) * 2020-06-30 2022-07-12 新华三信息安全技术有限公司 Link quality detection method, path selection method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100359875C (en) * 2004-07-31 2008-01-02 华为技术有限公司 Method for realizing backup and load shared equally based on proxy of address resolution protocol
CN101127770A (en) * 2004-07-31 2008-02-20 华为技术有限公司 Backup method based on address parsing protocol proxy
CN101404621A (en) * 2008-11-24 2009-04-08 杭州华三通信技术有限公司 Method and routing device for implementing VRRP load balance

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100359875C (en) * 2004-07-31 2008-01-02 华为技术有限公司 Method for realizing backup and load shared equally based on proxy of address resolution protocol
CN101127770A (en) * 2004-07-31 2008-02-20 华为技术有限公司 Backup method based on address parsing protocol proxy
CN101404621A (en) * 2008-11-24 2009-04-08 杭州华三通信技术有限公司 Method and routing device for implementing VRRP load balance

Also Published As

Publication number Publication date
CN101729425A (en) 2010-06-09

Similar Documents

Publication Publication Date Title
CN101729425B (en) Method and equipment for flow sending in VRRP networking
CN102217253B (en) Message forwarding method, equipment and network device
US20140177639A1 (en) Routing controlled by subnet managers
CN108718278B (en) Message transmission method and device
RU2464722C2 (en) Method, device and system for distribution of messages
CN105262667A (en) Method and device for controlling multicast transmission in Overlay network
CN101635731B (en) Method and equipment for defending MAC address deception attack
CN104509073A (en) Discovering ip multicast group memberships in software defined networks
CN104780088A (en) Service message transmission method and equipment
CN103747083B (en) A kind of content delivery method based on CCN
CN101243653A (en) Information communication system, information communication method, node device included in information communication system, and recording medium having information processing program recorded on it
US20150088995A1 (en) Method and apparatus for sharing contents using information of group change in content oriented network environment
CN102946356A (en) CB-PE (controlling bridge-port extender) network-based multicast message transmitting method and device
CN101651626B (en) Traffic-forwarding method and device
CN112887229B (en) Session information synchronization method and device
CN102594668A (en) Message forwarding method, device and exchange equipment
CN107580079A (en) A kind of message transmitting method and device
CN107070790A (en) A kind of route learning method and routing device
CN102857547B (en) The method and apparatus of distributed caching
US20120166657A1 (en) Gateway system, gateway device, and load distribution method
JP5828952B2 (en) Communication system, node, flow control network, and communication control method
CN107483628B (en) DPDK-based one-way proxy method and system
CN101924698B (en) Method, system and equipment for balancing two-layer domain load based on IP unicast route
EP3468286A1 (en) Method, device and system for data transmission, physical residential gateway and access node
CN106209634B (en) Learning method and device of address mapping relation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120711

Termination date: 20191222