CN101729425A - 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
CN101729425A
CN101729425A CN200910259482A CN200910259482A CN101729425A CN 101729425 A CN101729425 A CN 101729425A CN 200910259482 A CN200910259482 A CN 200910259482A CN 200910259482 A CN200910259482 A CN 200910259482A CN 101729425 A CN101729425 A CN 101729425A
Authority
CN
China
Prior art keywords
mac address
bandwidth
arp
list item
access device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN200910259482A
Other languages
Chinese (zh)
Other versions
CN101729425B (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 comprises convergence-level equipment, access layer equipment and front end encoding device (encoder) as shown in Figure 1.Wherein, usually enable VRRP (VirtualRouter Redundancy Protocol above the convergence-level equipment, Virtual Router Redundancy Protocol) load balancing, 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 by modes such as Hash operation, and this gateway address is sent to access layer equipment.Access device is by the convergence-level gateway transmitted traffic of this distribution.For example, convergence-level device A among Fig. 1 can be distributed different gateways respectively with c for access layer equipment a, b with the VRRP group that B constitutes, make access layer equipment a, b and c respectively by 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, may 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 by terminal b when the convergence-level device A sends a large amount of flow, with link congestion or the packet loss that causes 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 invention provides the method that flow sends in a kind of Virtual Router Redundancy Protocol VRRP networking, the VRRP group in the described VRRP networking comprises a plurality of convergence-level equipment, and each convergence-level equipment has different separately MAC Address; This method further comprises:
Access device sends the ARP request message to described VRRP group, receives the arp reply message of the expansion of described VRRP group transmission, and the arp reply message of described expansion carries a plurality of MAC Address;
Described access device is set up the ARP list item according to the arp reply message of described expansion, stores described a plurality of MAC Address, and writes down each self-corresponding bandwidth use value of described a plurality of MAC Address;
When described access device need be to described VRRP group transmitted traffic, search described ARP list item, the MAC Address of selecting dedicated bandwidth minimum or remaining bandwidth maximum is as gateway MAC Address and transmitted traffic.
Described access device is set up the ARP list item according to the arp reply message of described expansion, stores described a plurality of MAC Address, and writes down each self-corresponding bandwidth use value of described a plurality of MAC Address and comprise:
Described access device obtains the IP address of described VRRP group and a plurality of MAC Address of described IP address correspondence according to the arp reply message of described expansion;
Described access device is set up a plurality of MAC Address that the ARP list item is stored described IP address and described IP address correspondence, also comprise dedicated bandwidth or remaining bandwidth field in the described ARP list item, be used to write down the dedicated bandwidth or the remaining bandwidth of each MAC Address correspondence.
Described access device writes down each self-corresponding bandwidth use value of described a plurality of MAC Address and comprises:
When described access device during to described VRRP group transmitted traffic, described access device obtains the bandwidth that described flow takies, in described ARP list item, increase described flow target MAC (Media Access Control) address dedicated bandwidth or reduce the remaining bandwidth of described MAC Address;
When described access device stops to send described flow, described access device in described ARP list item, reduce described flow target MAC (Media Access Control) address dedicated bandwidth or increase the remaining bandwidth of described MAC Address.
Described access device obtains the bandwidth that described flow takies, and increases the dedicated bandwidth of target MAC (Media Access Control) address of described flow or the remaining bandwidth that reduces described MAC Address and comprise in described ARP list item:
The initial value of the dedicated bandwidth of all MAC Address in the described ARP list item of described access device is set to 0, bandwidth that described flow is taken and described dedicated bandwidth and as new dedicated bandwidth;
Perhaps
The initial value of the remaining bandwidth of all MAC Address in the described ARP list item of described access device is set to identical maximum bandwidth, and the difference of the bandwidth that described remaining bandwidth and described flow are taken is as new remaining bandwidth.
A plurality of MAC Address of carrying in the ARP message of described expansion comprise main with MAC Address and available MAC Address, and when described access device was not supported the ARP message of described expansion, described access device was according to the described main MAC Address transmitted traffic of using.
The 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 described VRRP networking comprises a plurality of convergence-level equipment, and each convergence-level equipment has different separately MAC Address; This equipment further comprises:
The message receiving element is used for sending the ARP request message to described VRRP group, receives the arp reply message of the expansion of described VRRP group transmission, and the arp reply message of described expansion carries a plurality of MAC Address;
List item is set up the unit, is used for setting up the ARP list item according to the arp reply message of described expansion, stores described a plurality of MAC Address;
The bandwidth record cell is used to write down each self-corresponding bandwidth use value of described a plurality of MAC Address;
The flow transmitting element is used for and need searches described ARP list item when described VRRP group transmitted traffic, and the MAC Address of selecting dedicated bandwidth minimum or remaining bandwidth maximum is as gateway MAC Address and transmitted traffic.
Described list item is set up the unit and also is used for:
Arp reply message according to described expansion obtains the IP address of described VRRP group and a plurality of MAC Address of described IP address correspondence;
Set up the ARP list item and store a plurality of MAC Address of described IP address and described IP address correspondence, also comprise dedicated bandwidth or remaining bandwidth field in the described ARP list item, be used to write down the dedicated bandwidth or the remaining bandwidth of each MAC Address correspondence.
Described bandwidth record cell also is used for:
When described access device during to described VRRP group transmitted traffic, obtain the bandwidth that described flow takies, in described ARP list item, increase described flow target MAC (Media Access Control) address dedicated bandwidth or reduce the remaining bandwidth of described MAC Address;
When described access device stops to send described flow, in described ARP list item, reduce described flow target MAC (Media Access Control) address dedicated bandwidth or increase the remaining bandwidth of described MAC Address.
Described bandwidth record cell also is used for:
The initial value of the dedicated bandwidth of all MAC Address in the described ARP list item is set to 0, bandwidth that described flow is taken and described dedicated bandwidth and as new dedicated bandwidth;
Perhaps
The initial value of the remaining bandwidth of all MAC Address in the described ARP list item is set to identical maximum bandwidth, and the difference of the bandwidth that described remaining bandwidth and described flow are taken is as new remaining bandwidth.
A plurality of MAC Address of carrying in the ARP message of described expansion comprise main with MAC Address and available MAC Address;
Described flow transmitting element also is used for: when described access device is not supported the ARP message of described expansion, according to the described 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 Address, and the bandwidth use value of record MAC Address correspondence, the MAC Address of selecting dedicated bandwidth minimum or remaining bandwidth maximum realizes balanced flow load sharing as gateway MAC Address transmitted traffic.
Description of drawings
Fig. 1 is the networking access way schematic diagram 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 schematic diagram of the supervisory control system that provides of application scenarios of the present invention;
Fig. 5 is the method flow schematic diagram 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.Dispose the ARP message of expansion, in the ARP message of expansion, add optional MAC Address field, 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 bandwidth use value of alternative MAC Address of record and MAC Address correspondence in this ARP list item, the MAC Address of selecting dedicated bandwidth minimum or remaining bandwidth maximum is as the gateway MAC Address, thereby realizes the load balancing access way based on bandwidth.
The invention provides the method that flow sends in a kind of VRRP networking, the VRRP group in the described VRRP networking comprises a plurality of convergence-level equipment, and each convergence-level equipment has different separately MAC Address; As shown in Figure 2, this method further comprises:
Step 201, access device sends the ARP request message to described VRRP group, receives the arp reply message of the expansion of described VRRP group transmission, and the arp reply message of described expansion carries a plurality of MAC Address;
Step 202, described access device is set up the ARP list item according to the arp reply message of described expansion, stores described a plurality of MAC Address, and writes down each self-corresponding bandwidth use value of described a plurality of MAC Address;
Step 203 when described access device need be to described VRRP group transmitted traffic, be searched described ARP list item, and the MAC Address of selecting dedicated bandwidth minimum or remaining bandwidth maximum is 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 G2009102594821D0000061
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 G2009102594821D0000062
In the message of arp reply shown in the table 1, transmitting terminal MAC Address and transmitting terminal IP address are respectively the IP address of the MAC Address and the VRRP group of the convergence-level equipment that sends the arp reply message, 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 of carrying 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, comprise optional MAC Address again, for the access device of the ARP message of supporting expansion, can obtain the main MAC Address and the optional MAC Address used of wherein carrying; For the access device of the ARP message of not supporting to expand, 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 sends 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 to select one as master control from groups of routers, 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 Address that this group is interior are added 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 Address.
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 of carrying 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 represents requested IP address, i.e. the IP address of VRRP group; Physical Address represents physical address, and Type represents the mode of this list item study, represents to use the stream bandwidth of this MAC Address as the gateway MAC Address with data stream bandwidth.
Should be with in the scene, also can be to use other forms that can identify the bandwidth value of MAC Address correspondence with data stream bandwidth in the table 3, for example can use the remaining bandwidth value to replace.
When step 304, access device send new flow to VRRP group, search the ARP list item, the MAC Address of selecting dedicated bandwidth minimum or remaining bandwidth maximum is 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, this MAC Address correspondence of record with data stream bandwidth or remaining bandwidth value in the ARP list item.
After receiving the ARP message that VRRP group sends, access device is searched the MAC Address of dedicated bandwidth minimum or remaining bandwidth maximum in the ARP list item, use this MAC Address as gateway MAC Address transmitted traffic.
Should be with 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 the dedicated bandwidth or the remaining bandwidth value of MAC Address correspondence 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, VRRP group send 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 of dedicated bandwidth minimum or remaining bandwidth 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, each MAC Address correspondence all be 0 with data stream bandwidth, then insert multimedia equipment and can select first MAC Address according to default rule, as gateway MAC, and use data stream bandwidth according to what the bandwidth that this newly-built media stream takies write down this gateway in the ARP list item, for example add 1 *The code stream bandwidth.In software, write down the gateway MAC Address that this stream uses 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.
By 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 Address, and the bandwidth use value of record MAC Address correspondence, the MAC Address of selecting dedicated bandwidth minimum or remaining bandwidth maximum realizes balanced flow load sharing as gateway MAC Address transmitted traffic.
The invention provides the equipment that flow sends in a kind of VRRP networking, be applied to the VRRP networking as access device, the VRRP group in the described VRRP networking comprises a plurality of convergence-level equipment, and each convergence-level equipment has different separately MAC Address; As shown in Figure 6, this equipment further comprises:
Message receiving element 11 is used for sending the ARP request message to described VRRP group, receives the arp reply message of the expansion of described VRRP group transmission, and the arp reply message of described expansion carries a plurality of MAC Address;
List item is set up unit 12, is connected with described message receiving element 11, is used for setting up the ARP list item according to the arp reply message of described expansion, stores described a plurality of MAC Address;
Bandwidth record cell 13 is set up unit 12 with described list item and is connected, and is used in each self-corresponding bandwidth use value of the described a plurality of MAC Address of described ARP list item record;
Flow transmitting element 14 is set up unit 12 with described list item and is connected, and is used for searching described ARP list item when described VRRP group transmitted traffic, and the MAC Address of selecting dedicated bandwidth minimum or remaining bandwidth maximum is as gateway MAC Address and transmitted traffic.
Described list item is set up unit 12 and also is used for:
Arp reply message according to described expansion obtains the IP address of described VRRP group and a plurality of MAC Address of described IP address correspondence;
Set up the ARP list item and store a plurality of MAC Address of described IP address and described IP address correspondence, also comprise dedicated bandwidth or remaining bandwidth field in the described ARP list item, be used to write down the dedicated bandwidth or the remaining bandwidth of each MAC Address correspondence.
Described bandwidth record cell 13 also is used for:
When described access device during to described VRRP group transmitted traffic, obtain the bandwidth that described flow takies, in described ARP list item, increase described flow target MAC (Media Access Control) address dedicated bandwidth or reduce the remaining bandwidth of described MAC Address;
When described access device stops to send described flow, in described ARP list item, reduce described flow target MAC (Media Access Control) address dedicated bandwidth or increase the remaining bandwidth of described MAC Address.
Described bandwidth record cell 13 also is used for:
The initial value of the dedicated bandwidth of all MAC Address in the described ARP list item is set to 0, bandwidth that described flow is taken and described dedicated bandwidth and as new dedicated bandwidth;
Perhaps
The initial value of the remaining bandwidth of all MAC Address in the described ARP list item is set to identical maximum bandwidth, and the difference of the bandwidth that described remaining bandwidth and described flow are taken is as new remaining bandwidth.
A plurality of MAC Address of carrying in the ARP message of described expansion comprise main with MAC Address and available MAC Address; Described flow transmitting element 14 also is used for: when described access device is not supported the ARP message of described expansion, according to the described main MAC Address transmitted traffic of using.
By 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 Address, and the bandwidth use value of record MAC Address correspondence, the MAC Address of selecting dedicated bandwidth minimum or remaining bandwidth maximum realizes balanced flow load sharing as gateway MAC Address transmitted traffic.
Through the above description of the embodiments, 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 embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a computer equipment (can be a 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 schematic diagram of a preferred embodiment, module in the accompanying drawing or flow process might not be that enforcement 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 disclosed only be 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 (10)

1. the method that flow sends in the Virtual Router Redundancy Protocol VRRP networking is characterized in that, the VRRP group in the described VRRP networking comprises a plurality of convergence-level equipment, and each convergence-level equipment has different separately MAC Address; This method further comprises:
Access device sends the ARP request message to described VRRP group, receives the arp reply message of the expansion of described VRRP group transmission, and the arp reply message of described expansion carries a plurality of MAC Address;
Described access device is set up the ARP list item according to the arp reply message of described expansion, stores described a plurality of MAC Address, and writes down each self-corresponding bandwidth use value of described a plurality of MAC Address;
When described access device need be to described VRRP group transmitted traffic, search described ARP list item, the MAC Address of selecting dedicated bandwidth minimum or remaining bandwidth maximum is as gateway MAC Address and transmitted traffic.
2. the method for claim 1 is characterized in that, described access device is set up the ARP list item according to the arp reply message of described expansion, stores described a plurality of MAC Address, and writes down each self-corresponding bandwidth use value of described a plurality of MAC Address and comprise:
Described access device obtains the IP address of described VRRP group and a plurality of MAC Address of described IP address correspondence according to the arp reply message of described expansion;
Described access device is set up a plurality of MAC Address that the ARP list item is stored described IP address and described IP address correspondence, also comprise dedicated bandwidth or remaining bandwidth field in the described ARP list item, be used to write down the dedicated bandwidth or the remaining bandwidth of each MAC Address correspondence.
3. the method for claim 1 is characterized in that, described access device writes down each self-corresponding bandwidth use value of described a plurality of MAC Address and comprises:
When described access device during to described VRRP group transmitted traffic, described access device obtains the bandwidth that described flow takies, in described ARP list item, increase described flow target MAC (Media Access Control) address dedicated bandwidth or reduce the remaining bandwidth of described MAC Address;
When described access device stops to send described flow, described access device in described ARP list item, reduce described flow target MAC (Media Access Control) address dedicated bandwidth or increase the remaining bandwidth of described MAC Address.
4. method as claimed in claim 3 is characterized in that described access device obtains the bandwidth that described flow takies, and increases the dedicated bandwidth of target MAC (Media Access Control) address of described flow or the remaining bandwidth that reduces described MAC Address and comprise in described ARP list item:
The initial value of the dedicated bandwidth of all MAC Address in the described ARP list item of described access device is set to 0, bandwidth that described flow is taken and described dedicated bandwidth and as new dedicated bandwidth;
Perhaps
The initial value of the remaining bandwidth of all MAC Address in the described ARP list item of described access device is set to identical maximum bandwidth, and the difference of the bandwidth that described remaining bandwidth and described flow are taken is as new remaining bandwidth.
5. the method for claim 1, it is characterized in that, a plurality of MAC Address of carrying in the ARP message of described expansion comprise main with MAC Address and available MAC Address, when described access device was not supported the ARP message of described expansion, described access device was according to the described main MAC Address transmitted traffic of using.
6. 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 described VRRP networking comprises a plurality of convergence-level equipment, and each convergence-level equipment has different separately MAC Address; This equipment further comprises:
The message receiving element is used for sending the ARP request message to described VRRP group, receives the arp reply message of the expansion of described VRRP group transmission, and the arp reply message of described expansion carries a plurality of MAC Address;
List item is set up the unit, is connected with described message receiving element, is used for setting up the ARP list item according to the arp reply message of described expansion, stores described a plurality of MAC Address;
The bandwidth record cell is set up the unit with described list item and is connected, and is used in each self-corresponding bandwidth use value of the described a plurality of MAC Address of described ARP list item record;
The flow transmitting element is set up the unit with described list item and is connected, and is used for searching described ARP list item when described VRRP group transmitted traffic, and the MAC Address of selecting dedicated bandwidth minimum or remaining bandwidth maximum is as gateway MAC Address and transmitted traffic.
7. equipment as claimed in claim 6 is characterized in that, described list item is set up the unit and also is used for:
Arp reply message according to described expansion obtains the IP address of described VRRP group and a plurality of MAC Address of described IP address correspondence;
Set up the ARP list item and store a plurality of MAC Address of described IP address and described IP address correspondence, also comprise dedicated bandwidth or remaining bandwidth field in the described ARP list item, be used to write down the dedicated bandwidth or the remaining bandwidth of each MAC Address correspondence.
8. equipment as claimed in claim 6 is characterized in that, described bandwidth record cell also is used for:
When described access device during to described VRRP group transmitted traffic, obtain the bandwidth that described flow takies, in described ARP list item, increase described flow target MAC (Media Access Control) address dedicated bandwidth or reduce the remaining bandwidth of described MAC Address;
When described access device stops to send described flow, in described ARP list item, reduce described flow target MAC (Media Access Control) address dedicated bandwidth or increase the remaining bandwidth of described MAC Address.
9. equipment as claimed in claim 8 is characterized in that, described bandwidth record cell also is used for:
The initial value of the dedicated bandwidth of all MAC Address in the described ARP list item is set to 0, bandwidth that described flow is taken and described dedicated bandwidth and as new dedicated bandwidth;
Perhaps
The initial value of the remaining bandwidth of all MAC Address in the described ARP list item is set to identical maximum bandwidth, and the difference of the bandwidth that described remaining bandwidth and described flow are taken is as new remaining bandwidth.
10. equipment as claimed in claim 6 is characterized in that, a plurality of MAC Address of carrying in the ARP message of described expansion comprise main with MAC Address and available MAC Address;
Described flow transmitting element also is used for: when described access device is not supported the ARP message of described expansion, according to the described 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 true CN101729425A (en) 2010-06-09
CN101729425B 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)

Cited By (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
CN102187627A (en) * 2011-04-25 2011-09-14 华为技术有限公司 Method, device and broadband access server system for load share
CN102231712A (en) * 2011-07-22 2011-11-02 杭州华三通信技术有限公司 Method for load sharing on encoder and encoder
WO2014000399A1 (en) * 2012-06-28 2014-01-03 华为技术有限公司 Link selection method and device
CN103581014A (en) * 2012-07-20 2014-02-12 中兴通讯股份有限公司 Method and device for dynamically adjusting VRRP routers
CN104079486A (en) * 2013-03-28 2014-10-01 国际商业机器公司 Gateway and method of transmitting data through gateway
CN104618243A (en) * 2015-02-28 2015-05-13 华为技术有限公司 Routing method, device and system, and gateway scheduling method and device
CN106161272A (en) * 2016-08-31 2016-11-23 迈普通信技术股份有限公司 Realize method and the routing device of VRRP load balancing
CN108924052A (en) * 2018-07-17 2018-11-30 迈普通信技术股份有限公司 Message forwarding method, aggregation gateway, access gateway and system
CN111835589A (en) * 2020-06-30 2020-10-27 新华三信息安全技术有限公司 Link quality detection method, path selection method and device

Family Cites Families (3)

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

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9258247B2 (en) 2011-03-21 2016-02-09 Huawei Technologies Co., Ltd. Method and apparatus for load sharing
CN102137018A (en) * 2011-03-21 2011-07-27 华为技术有限公司 Load sharing method and device thereof
CN102187627A (en) * 2011-04-25 2011-09-14 华为技术有限公司 Method, device and broadband access server system for load share
WO2011110134A2 (en) * 2011-04-25 2011-09-15 华为技术有限公司 Method, device and broadband access server system for load share
WO2011110134A3 (en) * 2011-04-25 2012-03-29 华为技术有限公司 Method and device for load sharing and broadband access server system
CN102187627B (en) * 2011-04-25 2013-08-28 华为技术有限公司 Method, device and broadband access server system for load share
CN102231712A (en) * 2011-07-22 2011-11-02 杭州华三通信技术有限公司 Method for load sharing on encoder and encoder
CN102231712B (en) * 2011-07-22 2014-04-23 浙江宇视科技有限公司 Method for load sharing on encoder and encoder
WO2014000399A1 (en) * 2012-06-28 2014-01-03 华为技术有限公司 Link selection method and device
CN103581014A (en) * 2012-07-20 2014-02-12 中兴通讯股份有限公司 Method and device for dynamically adjusting VRRP routers
CN103581014B (en) * 2012-07-20 2018-02-06 中兴通讯股份有限公司 VRRP routers dynamic adjusting method and device
US9887905B2 (en) 2013-03-28 2018-02-06 International Business Machines Corporation Transferring data in a gateway
CN104079486A (en) * 2013-03-28 2014-10-01 国际商业机器公司 Gateway and method of transmitting data through gateway
US10129137B2 (en) 2013-03-28 2018-11-13 International Business Machines Corporation Transferring data in a gateway
US10135717B2 (en) 2013-03-28 2018-11-20 International Business Machines Corporation Transferring data in a gateway
WO2016134624A1 (en) * 2015-02-28 2016-09-01 华为技术有限公司 Routing method, device and system, and gateway dispatching method and device
CN104618243B (en) * 2015-02-28 2017-11-17 华为技术有限公司 Method for routing, apparatus and system, Scheduling of Gateway method and device
CN104618243A (en) * 2015-02-28 2015-05-13 华为技术有限公司 Routing method, device and system, and gateway scheduling method and device
CN106161272A (en) * 2016-08-31 2016-11-23 迈普通信技术股份有限公司 Realize method and the routing device of VRRP load balancing
CN106161272B (en) * 2016-08-31 2019-06-18 迈普通信技术股份有限公司 Realize the method and routing device of VRRP load balancing
CN108924052A (en) * 2018-07-17 2018-11-30 迈普通信技术股份有限公司 Message forwarding method, aggregation gateway, access gateway and system
CN111835589A (en) * 2020-06-30 2020-10-27 新华三信息安全技术有限公司 Link quality detection method, path selection method and device

Also Published As

Publication number Publication date
CN101729425B (en) 2012-07-11

Similar Documents

Publication Publication Date Title
CN101729425B (en) Method and equipment for flow sending in VRRP networking
US9385949B2 (en) Routing controlled by subnet managers
RU2464722C2 (en) Method, device and system for distribution of messages
CN105262667A (en) Method and device for controlling multicast transmission in Overlay network
CN102025630A (en) Load balancing method and load balancing system
CN104509073A (en) Discovering ip multicast group memberships in software defined networks
CN104272708A (en) Two level packet distribution with stateless first level packet distribution to a group of servers and stateful second level packet distribution to a server within the group
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
CN102946356A (en) CB-PE (controlling bridge-port extender) network-based multicast message transmitting method and device
CN112887229B (en) Session information synchronization method and device
CN107547346B (en) Message transmission method and device
CN101635731A (en) Method and equipment for defending MAC address deception attack
CN102594668A (en) Message forwarding method, device and exchange equipment
CN101651626B (en) Traffic-forwarding method and device
CN107580079A (en) A kind of message transmitting method and device
CN107070790B (en) Route learning method and routing equipment
CN101827039A (en) Method and equipment for load sharing
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
CN113382065A (en) File downloading method, device, system, equipment and storage medium
CN106790502B (en) Load balancing system of IPv4 terminal and IPv6 service intercommunication service based on NAT64 prefix
CN101924698A (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