[go: up one dir, main page]

CN102711234B - The method and VRRP equipment of active and standby VRRP equipment rooms synchronization ARP table - Google Patents

The method and VRRP equipment of active and standby VRRP equipment rooms synchronization ARP table Download PDF

Info

Publication number
CN102711234B
CN102711234B CN201210160413.7A CN201210160413A CN102711234B CN 102711234 B CN102711234 B CN 102711234B CN 201210160413 A CN201210160413 A CN 201210160413A CN 102711234 B CN102711234 B CN 102711234B
Authority
CN
China
Prior art keywords
arp table
vrrp
equipment
message
arp
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.)
Active
Application number
CN201210160413.7A
Other languages
Chinese (zh)
Other versions
CN102711234A (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.)
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 CN201210160413.7A priority Critical patent/CN102711234B/en
Publication of CN102711234A publication Critical patent/CN102711234A/en
Application granted granted Critical
Publication of CN102711234B publication Critical patent/CN102711234B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of method of active and standby Virtual Router Redundancy Protocol (VRRP) equipment room synchronizing address analysis protocol (ARP) table and VRRB equipment, methods described to include:After three layers of example corresponding to the VRRP protection groups or the ARP table in three-layer virtual special network (L3VPN) are encapsulated into message by VRRP main equipments, VRRP is sent to in equipment;The VRRP is parsed for the message that equipment interconnection receives, and the ARP table wherein carried is loaded into ARP table corresponding to local.The VRRB equipment includes:ARP table message generation module, ARP table message sending module, ARP table packet parsing module and ARP table load-on module.After the present invention, the ARP table that active and standby VRRP equipment rooms are carried out by ARP table infomational message is synchronous, it is only necessary to is supported in active and standby VRRP equipment, to access ring apparatus without extra demand.

Description

The method and VRRP equipment of active and standby VRRP equipment rooms synchronization ARP table
Technical field
The present invention relates to data fields, more particularly to a kind of active and standby VRRP (Virtual Router Redundancy Protocol, Virtual Router Redundancy Protocol) equipment room synchronization ARP (Address Resolution Protocol, address solution Analyse agreement) table synchronous method and VRRP equipment.
Background technology
With the development of the technologies such as LTE (Long Term Evolution, Long Term Evolution), in the convergence of mobile retransmission net Layer introduces three-layer VPN (Virtual Private Network, VPN) technology, and can continue to adopt in Access Layer With L2VPN (two-layer VPN) technology.In order to ensure MPLS (Multi-Protocol Label Switching, the multi-protocols of whole process Tag switching) label forwarding, it is necessary in convergence-level equipment open two or three layers of bridging functionality;Meanwhile can in order to improve network By property VRRP functions are used, it is necessary to be bridged at two on point device.But after VRRP is switched, set because VRRP is standby For standby no ARP table, it is necessary to relearn ARP, this will cause the packet loss of long period, can not meet switching for carrier class 50ms It is required that.
Two ways can be typically taken to solve this problem at present:
One is access layer equipment enables the double hair functions of ARP, while ARP information is sent to active and standby VRRP equipment, so as to reach The purpose synchronous to the ARP table in active and standby VRRP equipment, but this method requires that all access layer equipments will support that ARP is double Function is sent out, if access layer equipment can not make in this way without supporting this function;
The second is by the way of static configuration ARP table synchronizes, PTN (Packet are typically can apply to Transport Network, Packet Transport Network) static L3VPN (three-layer VPN) situation is used under environment.But work as Access Layer , it is necessary to modify by hand, workload is bigger, may be only available for the ring that topological structure is basically unchanged when thering is the equipment to change Border.
The content of the invention
The technical problems to be solved by the invention are to provide a kind of method and VRRP of active and standby VRRP equipment rooms synchronization ARP table Equipment, to overcome existing ARP table synchronously to need access layer equipment to support the double hairs of ARP or need pure manual static configuration to enter The defects of row is synchronous.
To solve the above problems, the invention provides a kind of active and standby Virtual Router Redundancy Protocol (VRRP) equipment room is synchronous The method of address resolution protocol (ARP) table, including:
VRRP main equipments are by three layers of example corresponding to the VRRP protection groups or three-layer virtual special network (L3VPN) After ARP table is encapsulated into message, VRRP is sent to in equipment;
The VRRP is parsed for the message that equipment interconnection receives, and the ARP table wherein carried is loaded into local In corresponding ARP table.
Further,
The VRRP that is sent to specifically includes in equipment:
The VRRP is periodically sent to in equipment.
Further,
The VRRP that is sent to specifically includes in equipment:
The VRRP is sent to in equipment by VRRP heart-beat protocol forwarding channel.
Further,
It is described that ARP table is encapsulated into message, specifically include:
The ARP table is packaged into one or more of messages by way of label length value (TLV).
Further,
The ARP table is packaged into one or more of messages by way of TLV, specifically included:
The size information of the APR tables is encapsulated in the heading of the message;For each in the ARP table List item, IP address information therein and corresponding MAC Address are encoded with TLV mode.
Correspondingly, present invention also offers a kind of Virtual Router Redundancy Protocol (VRRP) equipment, including:
Address resolution protocol (ARP) table message generation module, for when the equipment is as VRRP main equipments, by this Three layers of example corresponding to VRRP protection groups or the ARP table in three-layer virtual special network (L3VPN) are encapsulated into message;
ARP table message sending module, the message for the ARP table message generation module to be generated are sent to VRRP Standby equipment;
ARP table packet parsing module, in the equipment as VRRP for equipment when, the message received is solved Analysis, the ARP table that parsing obtains is sent to ARP load-on modules;
The ARP table load-on module, add for the ARP table that the ARP table packet parsing module sends will to be received It is downloaded in ARP table corresponding to local.
Further,
The ARP table message sending module is used to send the messages to VRRP for equipment, specifically includes:
The ARP table message sending module is used to the message being periodically sent to the VRRP for equipment.
Further,
The ARP table message sending module is used to send the messages to VRRP for equipment, specifically includes:
The ARP table message sending module is used to send the messages to institute by VRRP heart-beat protocol forwarding channel VRRP is stated in equipment.
Further,
The ARP table message generation module is used to ARP table being encapsulated into message, specifically includes:
The ARP table message generation module is used to the ARP table being packaged into one by way of label length value (TLV) Bar or a plurality of message.
Further,
The ARP table message generation module is used to the ARP table being packaged into one or more of reports by way of TLV Text, specifically include:
The ARP table message generation module is used to for the size information of the APR tables to be encapsulated in the message in the message In head;It is additionally operable to for each list item in the ARP table, with TLV mode to IP address information therein and corresponding MAC Address is encoded.
The present invention has the advantages that:
(1) ARP table that active and standby VRRP equipment rooms are carried out by ARP table infomational message is synchronous, it is only necessary to is set in active and standby VRRP Standby upper support, to access ring apparatus without extra demand;
(2) by regularly synchronous so that VRRP works as generation for having the ARP on VRRP main equipments in equipment After VRRP masterslave switchover, due to ARP table information need not be relearned, the packet loss time can be effectively reduced, is using BFD In the case of the quick detections such as (Bidirectional Forwarding Detection, two-way converting detection) for VRRP, Protection switching time can be decreased below 50ms.
Brief description of the drawings
Fig. 1 is the method flow diagram of active and standby VRRP equipment rooms synchronization ARP table in the embodiment of the present invention;
Fig. 2 is ARP table synchronizer networking diagram in the embodiment of the present invention;
Fig. 3 is main equipment workflow diagram in ARP table synchronizing process in the embodiment of the present invention;
Fig. 4 is standby equipment workflow diagram in ARP table synchronizing process in the embodiment of the present invention.
Embodiment
For the object, technical solutions and advantages of the present invention are more clearly understood, below in conjunction with accompanying drawing to the present invention Embodiment be described in detail.It should be noted that in the case where not conflicting, in the embodiment and embodiment in the application Feature can mutually be combined.
A kind of method of active and standby VRRP equipment rooms synchronization ARP table, as shown in figure 1, including:
Step 10:Three layers of example corresponding to the VRRP protection groups or the ARP table in L3VPN are encapsulated into by VRRP main equipments After in message, VRRP is sent to in equipment;Wherein, the attribute of active and standby VRRP equipment is with the change of the attribute of VRRP equipment and more Change;
In specific implementation, the process for sending message can be periodic, such as be sent once every one minute.In addition, The transmission of message can be transmitted by VRRP heart-beat protocol forwarding channel.
When carrying out message encapsulation, ARP table can be passed through TLV (label-Length-Value, label length by VRRP main equipments Angle value) mode, be packaged into one or more of messages.Wherein:In heading, include the size information of ARP table, i.e., The list item quantity of ARP table;For each list item in ARP table, it is only necessary to extraction wherein IP address information and corresponding MAC Location, encoded with TLV modes, to IP address, it is 4 bytes that tag values, which can use 00, length, and value is the two of IP address to enter Numerical value processed, to MAC Address, it is 6 bytes that tag values, which can use 01, length, and value is the binary numeral of MAC Address.It is each Each ARP is programmed into message by the corresponding ARP of group, the ARP table large and small cycles in heading.
Step 20:VRRP is parsed for the above-mentioned message that equipment interconnection receives, and the ARP table wherein carried is loaded into this In ARP table corresponding to ground, so as to reach the synchronous purpose of two-shipper ARP table.
Further detailed description is done to the present invention with specific embodiment below in conjunction with the accompanying drawings.
In the present invention, the ARP table of two-shipper is synchronous, mainly by configuring active and standby ARP table synchronizer after, VRRP master sets It is standby by the way that the ARP table of itself periodically is packaged into ARP information message after, borrow heartbeat passage and be sent to VRRP in equipment, by VPPR will be loaded into the ARP table of itself for equipment after packet parsing, so as to reach the synchronous purpose of two-shipper ARP table.
As described in Figure 2, it is used in the present invention that active and standby two-shipper ARP table synchronization is carried out by ARP information table message mode Method, it can apply and be configured with two three-layer VPNs bridge joint, and be configured with VRRP two bridge joint point devices.This method is only Two bridge joint point devices are needed to support.
The synchronous implementation of active and standby two-shipper ARP table mainly includes the following steps that:
Step 1, in the bridging nodes for being configured with two or three layers of bridge joint and VRRP, the synchronous master/slave device of configuration ARP table, its Activestandby state follows the change of VRRP activestandby states and changed;
Step 2, VRRP main equipments can be regularly by three layers of examples (including L3VPN) where VRRP in this equipment ARP table, one or more of ARP table infomational messages are packaged into by way of TLV, and borrow the heart-beat protocol forwarding of heartbeat The ARP table infomational message of correlation is sent to VRRP in equipment by passage;
Step 3, the ARP table infomational message received is parsed in equipment in VRRP, and the ARP table that will be parsed It is loaded into local ARP table and is updated.
As shown in Figure 3, the workflow of VRRP main equipments, including:
201st, in three layers of example (including L3VPN examples) corresponding to VRRP, VRRP main equipments periodically (can typically can be set Put one minute, the time is less than the ageing time of ARP addresses) the ARP table information in this example is sealed according to TLV form Dress, is packaged into one or more of ARP table infomational messages;
202nd, VRRP main equipments can borrow VRRP heartbeat, ARP table infomational message is sent after the completion of message encapsulation Go out.
As shown in Figure 4, VRRP for equipment workflow, including:
301st, receive ARP table infomational message then to be parsed, obtain ARP table information;
302nd, the ARP table information obtained will be parsed, the normal flow learnt according to ARP, is loaded into ARP table synchronization slave node Three layers of example (including L3VPN) of correspondence in.
VRRB equipment synchronous a kind of active and standby two-shipper ARP is included with lower module:
ARP table message generation module, ARP table message sending module, ARP table packet parsing module and ARP table load-on module;
The ARP table message generation module, for by VRRP main equipments, corresponding three layers of example (including L3VPN is real Example) in ARP table information, by TLV modes, be packaged into one or more of ARP table messages;
The ARP table message sending module, in VRRP main equipments, by the ARP table message of generation, borrowing VRRP's Heartbeat, it is sent on standby VRRP nodes.
The ARP table packet parsing module, for the ARP table message received being parsed in equipment in VRRP, Obtain the ARP information on the main equipment included in message.
The ARP load-on modules, in VRRP for equipment, the ARP table information that will be resolved to from ARP table message, It is synchronized in three layers of corresponding example (including L3VPN) examples of the VRRP.
It is preferred that
The ARP table message sending module is used to send the messages to VRRP for equipment, specifically includes:
The ARP table message sending module is used to the message being periodically sent to the VRRP for equipment.
It is preferred that
The ARP table message sending module is used to send the messages to VRRP for equipment, specifically includes:
The ARP table message sending module is used to send the messages to institute by VRRP heart-beat protocol forwarding channel VRRP is stated in equipment.
It is preferred that
The ARP table message generation module is used to ARP table being encapsulated into message, specifically includes:
The ARP table message generation module is used to the ARP table being packaged into one by way of label length value (TLV) Bar or a plurality of message.
It is preferred that
The ARP table message generation module is used to the ARP table being packaged into one or more of reports by way of TLV Text, specifically include:
The ARP table message generation module is used to for the size information of the APR tables to be encapsulated in the message in the message In head;It is additionally operable to for each list item in the ARP table, with TLV mode to IP address information therein and corresponding MAC Address is encoded.
One of ordinary skill in the art will appreciate that all or part of step in the above method can be instructed by program Related hardware is completed, and described program can be stored in computer-readable recording medium, such as read-only storage, disk or CD Deng.Alternatively, all or part of step of above-described embodiment can also be realized using one or more integrated circuits.Accordingly Ground, each module/unit in above-described embodiment can be realized in the form of hardware, can also use the shape of software function module Formula is realized.The present invention is not restricted to the combination of the hardware and software of any particular form.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the scope of the present invention.According to The content of the invention of the present invention, can also there is other various embodiments, in the case of without departing substantially from spirit of the invention and its essence, be familiar with Those skilled in the art works as can make various corresponding changes and deformation according to the present invention, all in the spirit and principles in the present invention Within, any modification, equivalent substitution and improvements made etc., it should be included in the scope of the protection.

Claims (8)

1. a kind of method of active and standby Virtual Router Redundancy Protocol VRRP equipment rooms synchronizing address analysis protocol ARP table, including:
VRRP main equipments are by three layers of example corresponding to the VRRP protection groups or the ARP table in three-layer virtual special network L3VPN After being encapsulated into message, VRRP is sent to in equipment;
The VRRP is parsed for the message that equipment interconnection receives, and the ARP table wherein carried is loaded into local correspondence ARP table in;
The VRRP that is sent to specifically includes in equipment:
The VRRP is sent to in equipment by VRRP heart-beat protocol forwarding channel.
2. the method as described in claim 1, it is characterised in that:
The VRRP that is sent to specifically includes in equipment:
The VRRP is periodically sent to in equipment.
3. the method as described in claim 1, it is characterised in that:
It is described that ARP table is encapsulated into message, specifically include:
The ARP table is packaged into one or more of messages by way of label length value TLV.
4. method as claimed in claim 3, it is characterised in that:
The ARP table is packaged into one or more of messages by way of TLV, specifically included:
The size information of the ARP table is encapsulated in the heading of the message;For each table in the ARP table , IP address information therein and corresponding MAC Address are encoded with TLV mode.
5. a kind of Virtual Router Redundancy Protocol VRRP equipment, including:
ARP table message generation module, for when the equipment is as VRRP main equipments, the VRRP to be protected Three layers of example corresponding to group or the ARP table in three-layer virtual special network L3VPN are encapsulated into message;
ARP table message sending module, the message for the ARP table message generation module to be generated are sent to VRRP for setting It is standby;
ARP table packet parsing module, in the equipment as VRRP for equipment when, the message received is parsed, The ARP table that parsing obtains is sent to ARP load-on modules;
The ARP table load-on module, it is loaded into for the ARP table that the ARP table packet parsing module sends will to be received In ARP table corresponding to local;
The ARP table message sending module is used to send the messages to VRRP for equipment, specifically includes:
The ARP table message sending module is described for being sent the messages to by VRRP heart-beat protocol forwarding channel VRRP is in equipment.
6. equipment as claimed in claim 5, it is characterised in that:
The ARP table message sending module is used to send the messages to VRRP for equipment, specifically includes:
The ARP table message sending module is used to the message being periodically sent to the VRRP for equipment.
7. equipment as claimed in claim 5, it is characterised in that:
The ARP table message generation module is used to ARP table being encapsulated into message, specifically includes:
The ARP table message generation module be used to the ARP table being packaged into by way of label length value TLV one or A plurality of message.
8. equipment as claimed in claim 7, it is characterised in that:
The ARP table message generation module is used to the ARP table being packaged into one or more of messages by way of TLV, Specifically include:
The ARP table message generation module is used to the size information of the ARP table being encapsulated in the heading of the message; It is additionally operable to for each list item in the ARP table, with TLV mode to IP address information therein and corresponding MAC Address Encoded.
CN201210160413.7A 2012-05-22 2012-05-22 The method and VRRP equipment of active and standby VRRP equipment rooms synchronization ARP table Active CN102711234B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210160413.7A CN102711234B (en) 2012-05-22 2012-05-22 The method and VRRP equipment of active and standby VRRP equipment rooms synchronization ARP table

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210160413.7A CN102711234B (en) 2012-05-22 2012-05-22 The method and VRRP equipment of active and standby VRRP equipment rooms synchronization ARP table

Publications (2)

Publication Number Publication Date
CN102711234A CN102711234A (en) 2012-10-03
CN102711234B true CN102711234B (en) 2018-03-27

Family

ID=46903744

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210160413.7A Active CN102711234B (en) 2012-05-22 2012-05-22 The method and VRRP equipment of active and standby VRRP equipment rooms synchronization ARP table

Country Status (1)

Country Link
CN (1) CN102711234B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103152262B (en) * 2013-02-25 2016-08-03 华为技术有限公司 A kind of method and apparatus of connection establishment
US9191271B2 (en) 2013-04-29 2015-11-17 Telefonaktiebolaget L M Ericsson (Publ) Fast traffic recovery in VRRP based routers
CN105306358A (en) * 2014-07-08 2016-02-03 中兴通讯股份有限公司 Main and spare routing equipment, backup and switch method between equipment and routing system
CN105323135A (en) * 2014-07-23 2016-02-10 中兴通讯股份有限公司 Address resolution protocol (ARP) table synchronizing method, device and system
CN104270231B (en) * 2014-09-05 2018-02-16 烽火通信科技股份有限公司 A kind of system and method for realizing binode interconnection pseudo-wire
CN105991792A (en) * 2015-05-18 2016-10-05 杭州迪普科技有限公司 ARP (address resolution protocol) table item backup method, ARP (address resolution protocol) table item backup device and network device
TWI581594B (en) * 2015-11-20 2017-05-01 四零四科技股份有限公司 Backup system based on vrrp protocol and method thereof
CN106789618B (en) * 2015-11-23 2019-11-12 四零四科技股份有限公司 Backup system and method based on virtual router backup protocol
EP3691207A1 (en) * 2019-01-31 2020-08-05 Siemens Aktiengesellschaft Method for operating a communication system with redundant routers and router
CN110572317B (en) * 2019-07-16 2022-04-08 烽火通信科技股份有限公司 Method and system for realizing dynamic ARP hot backup in telecommunication network
CN114070781B (en) * 2020-08-05 2023-08-08 北京威努特技术有限公司 Data communication method, device, system and computer equipment
CN113794684B (en) * 2021-08-10 2023-07-18 新华三信息安全技术有限公司 Message processing method and device
CN117377020A (en) * 2022-06-30 2024-01-09 中兴通讯股份有限公司 Route issuing method, electronic device, and computer-readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009303090A (en) * 2008-06-17 2009-12-24 Fujitsu Ltd Load distribution server, network load distribution method and congestion avoidance method
JP2010062618A (en) * 2008-09-01 2010-03-18 Nippon Telegr & Teleph Corp <Ntt> Gateway device, routing control method, and its program
CN102413046A (en) * 2011-11-24 2012-04-11 杭州华三通信技术有限公司 Method for forwarding flow by means of virtual router redundancy protocol backup set and equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009303090A (en) * 2008-06-17 2009-12-24 Fujitsu Ltd Load distribution server, network load distribution method and congestion avoidance method
JP2010062618A (en) * 2008-09-01 2010-03-18 Nippon Telegr & Teleph Corp <Ntt> Gateway device, routing control method, and its program
CN102413046A (en) * 2011-11-24 2012-04-11 杭州华三通信技术有限公司 Method for forwarding flow by means of virtual router redundancy protocol backup set and equipment

Also Published As

Publication number Publication date
CN102711234A (en) 2012-10-03

Similar Documents

Publication Publication Date Title
CN102711234B (en) The method and VRRP equipment of active and standby VRRP equipment rooms synchronization ARP table
CN104243318B (en) MAC address learning method and device in VXLAN networks
ES2565827T3 (en) Layer 3 routing, device and virtual private network system control method
CN104243630B (en) MAC address learning method and device in VXLAN networks
CN102098231B (en) Method and equipment for fast switching flow in H-VPLS (H-virtual private lan service)
CN107948041B (en) Method and equipment for constructing VXLAN centralized multi-active gateway
EP2860918B1 (en) Message processing method and system in multi-homing access overlay network
CN110519075B (en) SDN-based communication system and method for physical host and virtual cloud host
CN103631652B (en) The realization method and system of virtual machine (vm) migration
CN104104570A (en) Aggregation processing method in IRF (Intelligent Resilient Framework) system and device
CN102970231B (en) Multicast data flow forwards implementation method and route-bridge(RB)
EP2928133B1 (en) Method and apparatus for accessing shortest-route bridge network in multi-homed manner
CN106899478B (en) Method for realizing resource elastic expansion of power test service through cloud platform
WO2018171529A1 (en) Method, device and computer storage medium for implementing double control plane
CN105634901B (en) Mac address information synchronous method and device based on CAS VXLAN
CN108199963A (en) Message forwarding method and device
CN109039888A (en) Message loop removing method and distributed elastic DR equipment
CN108075969A (en) Message forwarding method and device
WO2011160517A1 (en) Tunnel switching method and system for multi-protocol label switching services
CN112422398A (en) Message transmission method and communication device
CN105763439B (en) The interconnected method and device of data center in a kind of multilink transparent internet
CN101345686B (en) Processing method, apparatus and system of virtual special local area network service loop
CN101631060B (en) Method and device for managing edge port
CN107896188A (en) Data forwarding method and device
CN115277305B (en) A network management method, device, equipment and machine-readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant