CN1322716C - Key route information monitoring method based on virtual router redundant protocol - Google Patents

Key route information monitoring method based on virtual router redundant protocol Download PDF

Info

Publication number
CN1322716C
CN1322716C CNB031527426A CN03152742A CN1322716C CN 1322716 C CN1322716 C CN 1322716C CN B031527426 A CNB031527426 A CN B031527426A CN 03152742 A CN03152742 A CN 03152742A CN 1322716 C CN1322716 C CN 1322716C
Authority
CN
China
Prior art keywords
vrrp
router
priority
monitoring method
backup
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 - Lifetime
Application number
CNB031527426A
Other languages
Chinese (zh)
Other versions
CN1581821A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB031527426A priority Critical patent/CN1322716C/en
Publication of CN1581821A publication Critical patent/CN1581821A/en
Application granted granted Critical
Publication of CN1322716C publication Critical patent/CN1322716C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Abstract

The present invention discloses a key routing information monitoring method based on a VRRP protocol. The present invention comprises the following steps: setting up a monitoring symbol for key routing information; monitoring the change of the routing information; reporting the change event of the routing information to a router processing module if the change of the routing information happens; regulating the priority of an active router when the module of the active router receives the change event of the key routing information, and informing the modified priority information to a backup router; comparing the priority of the active router with the own priority when the backup router detects the change of the priority of the active router; if the own priority of the backup router is big, the backup router can replace the original active router to become the novel active router; else, the original state can be maintained. The method of the present invention starts the VRRP backup function by monitoring the change of the routing information of the router to be monitored, the backup router provided with the best routing is searched to realize the transshipment of data messages. By using the present invention, the time delay of transmission can be reduced to increase the transmission efficiency.

Description

A kind of critical path based on Virtual Router Redundancy Protocol is by the information monitoring method
Technical field
The present invention relates to the network communications technology, particularly relate to based on Virtual Router Redundancy Protocol (VRRP) critical path is monitored by change in information, and switch the method that the back keeps optimum route at router.
Background technology
VRRP is a kind of redundancy backup agreement, and standard agreement is RFC 2338.VRRP is operated in the local area network (LAN) (for example Ethernet) with multicast or broadcast-capable, can guarantee when the next hop router of main frame in the local area network (LAN) breaks down, can in time substitute by another router, thereby keep communication continuity and reliability between main frame and the router.A virtual router is made up of a primary route device and several backup routers, and the primary route device is realized real forwarding capability.When the primary route device broke down, route stand-by will be taken over former primary route device automatically to be become new primary route device and works on.The operation principle of VRRP is as shown in Figure 1:
Suppose that Router A links to each other with Ethernet by interface A (IP address 10.100.10.2) among Fig. 1, RouterB links to each other with Ethernet by interface B (IP address 10.100.10.3).On behalf of two main frames, Host1, Host2 link to each other with Ethernet by Ethernet interface respectively.Router A and Router B form a virtual router one, and virtual ip address is 10.100.10.1.Main frame Host1 in the local area network (LAN) and the default route of Host2 oneself are set to the virtual address 10.100.10.1 of this virtual router.Like this, the main frame in the local area network (LAN) just comes to communicate with other networks by virtual router.
Existing VRRP technology provides the function to the supervision of router interface, promptly not only monitor the interface at virtual router place, for example, when breaking down, the interface A of Router A starts backup functionality, and can monitor other certain interface on the router Router A, for example when other interfaces of Router A are unavailable, also can use backup functionality.
In the prior art, when interface and other monitoring interfaces at virtual router place are unavailable, just need enable backup functionality.But the disabled situation of interface only reflects router a kind of special state in service, can not reflect the real operation conditions of router fully.For example, in store routing table information in the router, routing table information has determined data and message transmission.If network topology changes, the load of network node fault or forwarding router strengthens, all can cause the renewal with routing table recomputated of network route.Routing iinformation in the routing table after the renewal is compared with former routing iinformation, not necessarily optimum route.Therefore, carry out the network data message forwarding if still continue to use this router, will certainly cause propagation delay time to strengthen, efficiency of transmission reduces, and influences the customer service quality.And optimum route determines that according to routing metric this route optimum of the more little explanation of routing metric, routing metric are subjected to factor affecting such as router load, network transfer delay, bandwidth.
Summary of the invention
Technical problem to be solved by this invention is the continuous increase at network size, network traffic data, user number further increases, the user is for the more and more higher present situation of routing device reliability requirement, proposed a kind of critical path based on the VRRP agreement by the information monitoring method.When the routing iinformation that is monitored router is deleted, the variation of routing metric and when changing, start the VRRP backup functionality, search the backup router that has optimum route in backup group, guarantee that the user data message all is to transmit by optimum route all the time.
The method of the invention comprises the steps;
Step 1 is provided with the VRRP Monitor Flag to crucial routing iinformation;
Step 2 monitors the variation of routing iinformation, changes if routing iinformation takes place, and then reports event of change of route information to give router VRRP processing module;
After step 3, the VRRP module of primary route device are received the incident of crucial routing iinformation change, adjust primary route device priority, with amended precedence information notice backup router;
Step 4, backup router detect primary route device priority and change, relatively the priority of primary route device and the priority of self, if the priority of backup router self is bigger, then take over former primary route device, become new primary route device, otherwise it is constant to maintain the original state.
Aforesaid critical path based on Virtual Router Redundancy Protocol is by the information monitoring method, in the described step 1, VRRP Monitor Flag to crucial routing iinformation is set, be provided with by the mode of control desk by the user, perhaps by webmaster crucial routing iinformation identified by the user with order line.
Aforesaid critical path based on the superfluous She's agreement of virtual router is by the information monitoring method, and the Monitor Flag of VRRP can be provided with a plurality of, promptly many routing iinformation list items is monitored.
Aforesaid critical path based on Virtual Router Redundancy Protocol in the described step 3, is the VRRP module that event of change of route information is reported the primary route device by the information monitoring method.
Aforesaid critical path based on Virtual Router Redundancy Protocol is by the information monitoring method, and described amended precedence information is by the backup router in the VRRP multicast message notice backup group.
Aforesaid critical path based on Virtual Router Redundancy Protocol is also comprised a timer that is used for timed sending VRRP multicast message is set by the information monitoring method.
Timer can be realized by software programming technique, is used to finish the task that needs are periodically carried out.For VRRP multicast message timer, the work of timer is exactly to send the VRRP multicast message at regular intervals.
Aforesaid critical path based on Virtual Router Redundancy Protocol is by the information monitoring method, and described primary route device adopts identical Routing Protocol operation with standby router, and adopts different network insertion paths.
VRRP method for monitoring of the present invention not only can monitor the port status of router, be monitored the change (comprising that deletion, routing metric change) of the routing iinformation of router by supervision, start the VRRP backup functionality, and search the backup router that has optimum route in backup group, taking over former primary route device becomes new primary route device, continues to finish the forwarding of data message.Guarantee that the user data message all is to transmit by optimum route all the time.Thereby the minimizing propagation delay time improves efficiency of transmission.
Description of drawings
Fig. 1 is the operation principle schematic diagram of virtual router redundance backup;
Fig. 2 the present invention is based on the flow chart of the critical path of VRRP agreement by the information monitoring method.
Embodiment
Fig. 1 provides the operation principle of virtual router redundance backup, and the front was introduced, and repeated no more.
Because the continuous increase of network size, network traffic data, user number further increases, the user is more and more higher for the routing device reliability requirement, the quality of the backup functionality of router becomes extremely important, and existing router can not satisfy the needs that real network is used fully based on the monitor port solution of VRRP agreement.Therefore the present invention has expanded the function for monitoring based on the VRRP agreement, proposition based on the critical path of VRRP agreement method by information monitoring.
The method of the invention is based on has stored possible purpose network and the relevant information that how to arrive these networks in the routing table, comprise the IP address part and the routing metric information that are used to carry out Route Selection.The user can be by being provided with the crucial routing iinformation of VRRP Monitor Flag to required supervision, thereby finish the monitoring to crucial routing iinformation.
Following table has provided the signal table that adopts the routing table of VRRP Monitor Flag method of the present invention, and the VRRP Monitor Flag can be provided with by the mode of control desk with order line by the user, also can be identified crucial routing iinformation by webmaster by the user.The Monitor Flag of VRRP can be provided with a plurality of, promptly many routing iinformation list items are monitored, when each is monitored the deleted or routing metric of route table items and changes, all can cause the change of VRRP router priority, the numerical value that priority changes can be determined according to actual conditions by the user.
Destination/Mask Cost Next?hop
Critical path based on the VRRP agreement of the present invention by the flow chart of information monitoring method as shown in Figure 2.
When situations such as network topology changes, network node fault or forwarding router load increase, can cause recomputating of route, after route table items 2 upgrades, when finding that in the routing table the 2nd has the VRRP Monitor Flag, as the sign in list item 2 left sides
Figure C0315274200081
Can initiatively send the VRRP module of event of change of route information to the primary route device.Wherein, above-mentioned sign as
Figure C0315274200082
Multiple method for expressing can be arranged, for example in the route table items structure, increase a call back function pointer, this data item is changed to null pointer during the routing table initialization, when needs are provided with Monitor Flag with the specific call back function of this call back function pointed, work as routing table update, when routing metric changes, check whether this call back function pointer is null pointer, if not, then call this call back function pointer call back function pointed, finish by call back function and notify other modules to carry out the function of respective handling.
Among Fig. 2, the processing procedure of primary route device and backup router and the contact between them have been represented respectively.
In the left side flow chart of Fig. 2, after the primary route device starts, judge whether to receive the Monitor Flag order is set, received critical path then to be set, monitored event of change of route information, after the VRRP module of primary route device is received the incident of crucial routing iinformation change by Monitor Flag, according to the prior priority-level of setting of user, adjust primary route device priority, amended precedence information by the VRRP multicast message, is notified to the backup router in the backup group.
In the right side flow chart of Fig. 2, after backup router is received the VRRP multicast message, whether detect primary route device priority changes, if change, then relatively priority in the VRRP multicast message and the priority of self, if the priority of self is bigger, then can take over former primary route device becomes new primary route device, otherwise it is constant to maintain the original state, and handles by normal flow process then.
It is to be noted, the critical path that the present invention is based on the VRRP agreement in use is during by the information monitoring method, primary route device based on VRRP will move identical Routing Protocol with standby router, have only the both to adopt identical Routing Protocol, its routing metric just has comparativity, raise simultaneously and reduce simultaneously for fear of the routing metric of the crucial routing iinformation of primary and backup router, the path of access network should be different, can guarantee like this routing table information accurately and efficient.
It should be noted last that: above embodiment is the unrestricted technical scheme of the present invention in order to explanation only, although the present invention is had been described in detail with reference to the foregoing description, those of ordinary skill in the art is to be understood that: still can make amendment or be equal to replacement the present invention, and not breaking away from any modification or partial replacement of the spirit and scope of the present invention, it all should be encompassed in the middle of the claim scope of the present invention.

Claims (7)

1, a kind of critical path based on Virtual Router Redundancy Protocol VRRP be is characterized in that by the information monitoring method, comprises the steps:
Step 1 is provided with the VRRP Monitor Flag to crucial routing iinformation;
Step 2 monitors the variation of routing iinformation, changes if routing iinformation takes place, and then reports event of change of route information to give the VRRP module of router;
After step 3, the VRRP module of primary route device are received the incident of crucial routing iinformation change, adjust primary route device priority, with amended precedence information notice backup router;
Step 4, backup router detect primary route device priority and change, relatively the priority of primary route device and the priority of self, if the priority of backup router self is bigger, then take over former primary route device, become new primary route device, otherwise it is constant to maintain the original state.
2, the critical path based on the VRRP agreement according to claim 1 is by the information monitoring method, it is characterized in that, in the described step 1, VRRP Monitor Flag to crucial routing iinformation is set, be provided with by the mode of control desk by the user, perhaps by webmaster crucial routing iinformation identified by the user with order line.
3, the critical path based on the VRRP agreement according to claim 1 is characterized in that by the information monitoring method Monitor Flag of VRRP can be provided with a plurality of, promptly many routing iinformation list items is monitored.
4, according to the arbitrary described critical path based on the VRRP agreement of claim 1-3 by the information monitoring method, it is characterized in that, in the described step 2, be the VRRP module that event of change of route information is reported the primary route device.
5, the critical path based on the VRRP agreement according to claim 1 be is characterized in that by the information monitoring method, and described amended precedence information is by the backup router in the VRRP multicast message notice backup group.
6, the critical path based on the VRRP agreement according to claim 5 be is characterized in that by the information monitoring method, also comprises a timer that is used for sending at regular intervals the VRRP multicast message is set.
7, according to claim 1,2,3,5 or 6 described critical paths based on the VRRP agreement by the information monitoring method, it is characterized in that described primary route device adopts identical Routing Protocol operation with standby router, and adopts different network insertion paths.
CNB031527426A 2003-08-15 2003-08-15 Key route information monitoring method based on virtual router redundant protocol Expired - Lifetime CN1322716C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031527426A CN1322716C (en) 2003-08-15 2003-08-15 Key route information monitoring method based on virtual router redundant protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB031527426A CN1322716C (en) 2003-08-15 2003-08-15 Key route information monitoring method based on virtual router redundant protocol

Publications (2)

Publication Number Publication Date
CN1581821A CN1581821A (en) 2005-02-16
CN1322716C true CN1322716C (en) 2007-06-20

Family

ID=34579886

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031527426A Expired - Lifetime CN1322716C (en) 2003-08-15 2003-08-15 Key route information monitoring method based on virtual router redundant protocol

Country Status (1)

Country Link
CN (1) CN1322716C (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2414624B (en) * 2004-05-29 2007-01-10 Sarian Systems Ltd Method of monitoring a member router in a VRRP group
US7363404B2 (en) * 2005-10-27 2008-04-22 International Business Machines Corporation Creation and management of destination ID routing structures in multi-host PCI topologies
CN1968260B (en) * 2005-11-17 2010-12-01 华为技术有限公司 Method for implementing virtual router redundancy protocol switching between primary/standby devices
CN100396014C (en) * 2006-03-07 2008-06-18 华为技术有限公司 Hot standby maintenance system and hot standby maintenance and failover method
CN100461764C (en) * 2006-06-28 2009-02-11 华为技术有限公司 Method and system for implementing consistency of message forwarding routes
CN100459585C (en) * 2006-08-24 2009-02-04 杭州华三通信技术有限公司 Method for avoiding route equipment frequent switchover state and one type route equipment
CN1949700B (en) * 2006-10-09 2010-10-06 华为技术有限公司 Method and apparatus for mixed network protection
CN100558111C (en) 2007-02-05 2009-11-04 华为技术有限公司 Metro Ethernet provides reliability processing method and the system under the multi-service networking
CN101060533B (en) * 2007-05-14 2010-08-04 华为技术有限公司 A method, system and device for improving the reliability of VGMP protocol
CN101645840B (en) * 2009-08-17 2011-08-03 华为技术有限公司 Method, system and routing equipment for retransmitting message
CN101702681B (en) * 2009-11-26 2012-02-22 福建星网锐捷网络有限公司 Switching method and device of main/standby router in virtual route redundancy protocol
CN101951345B (en) * 2010-10-15 2013-06-05 杭州华三通信技术有限公司 Message transmitting method and equipment
CN112953740B (en) * 2019-12-10 2023-11-03 中盈优创资讯科技有限公司 Method and device for monitoring route information
CN111464438B (en) * 2020-03-04 2023-02-28 邦彦技术股份有限公司 Method and device for managing state of VRRP node, and method and device for improving equipment
CN111683007A (en) * 2020-05-20 2020-09-18 新华三信息安全技术有限公司 Method and system for switching monitoring traffic forwarding path

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5473599A (en) * 1994-04-22 1995-12-05 Cisco Systems, Incorporated Standby router protocol
CN1359213A (en) * 2000-05-24 2002-07-17 阿尔卡塔尔互联网运行公司 Method and equipment for supplying multiple protocol redundant router protocol support
WO2003033109A2 (en) * 2001-09-06 2003-04-24 The Boeing Company Router discovery protocol on a mobile internet protocol based network
JP2003143193A (en) * 2001-10-30 2003-05-16 Furukawa Electric Co Ltd:The Inter-network connecting method, device therefor and inter-network connecting system using device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5473599A (en) * 1994-04-22 1995-12-05 Cisco Systems, Incorporated Standby router protocol
CN1359213A (en) * 2000-05-24 2002-07-17 阿尔卡塔尔互联网运行公司 Method and equipment for supplying multiple protocol redundant router protocol support
WO2003033109A2 (en) * 2001-09-06 2003-04-24 The Boeing Company Router discovery protocol on a mobile internet protocol based network
JP2003143193A (en) * 2001-10-30 2003-05-16 Furukawa Electric Co Ltd:The Inter-network connecting method, device therefor and inter-network connecting system using device

Also Published As

Publication number Publication date
CN1581821A (en) 2005-02-16

Similar Documents

Publication Publication Date Title
CN1322716C (en) Key route information monitoring method based on virtual router redundant protocol
US6983294B2 (en) Redundancy systems and methods in communications systems
US7260066B2 (en) Apparatus for link failure detection on high availability Ethernet backplane
US7155632B2 (en) Method and system for implementing IS-IS protocol redundancy
CN101588304B (en) Implementation method of VRRP and device
US9270524B2 (en) Method and device for LACP link switching and data transmission
US7835265B2 (en) High availability Ethernet backplane architecture
US7864750B2 (en) Load distributing apparatus and load distributing method
CN102148677B (en) Method for updating address resolution protocol table entries and core switch
US6762999B2 (en) Scalable and fault-tolerant link state routing protocol for packet-switched networks
JP5941404B2 (en) Communication system, path switching method, and communication apparatus
CN101060533B (en) A method, system and device for improving the reliability of VGMP protocol
US20070177589A1 (en) Network system and node redundancy method of network system
CN112995041A (en) Network communication method, device, electronic equipment and storage medium
CN106533771B (en) Network equipment and control information transmission method
US7860090B2 (en) Method for processing LMP packets, LMP packet processing unit and LMP packet processing node
CN108199986B (en) Data transmission method, stacking equipment and stacking system
CN102045259B (en) Packet switching equipment and method for managing customer service
CN101645840B (en) Method, system and routing equipment for retransmitting message
CN101262400A (en) A method and system for flexible packet loop redundant protection under bride mode
US20130111259A1 (en) Connection control apparatus, storage system, and control method of connection control apparatus
US11695685B2 (en) Supporting candidate path selection
Cisco Configuring Spanning-Tree Protocol
Cisco Understanding Spanning-Tree Protocol
KR101021278B1 (en) A Device and method for router control plane redundancy by using OSPF

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
CX01 Expiry of patent term

Granted publication date: 20070620

CX01 Expiry of patent term