CN1581821A - 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 PDFInfo
- Publication number
- CN1581821A CN1581821A CN 03152742 CN03152742A CN1581821A CN 1581821 A CN1581821 A CN 1581821A CN 03152742 CN03152742 CN 03152742 CN 03152742 A CN03152742 A CN 03152742A CN 1581821 A CN1581821 A CN 1581821A
- Authority
- CN
- China
- Prior art keywords
- vrrp
- router
- priority
- monitoring method
- route 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
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The method includes following steps: setting up monitoring symbol for key route information; monitoring change of route information, if change of route information happens, reporting event of change of route information to module for processing routers; with the said event being received, module of main router adjusts priority of main router and informs modified information of priority to backup router; backup router detects change of priority of main router and compares the priority of main router with own priority; if being higher than priority of main router, backup router replaces former main router; otherwise, state is kept. The invention reduces transmission time delay and raises transmission efficiency.
Description
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, can be provided with by the mode of control desk by the user, also can identify crucial routing iinformation by webmaster by the user with order line.
Aforesaid critical path based on Virtual Router Redundancy Protocol 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
?1.10.110.0.0/16???????0????10.110.101.102 |
?2.104.23/16???????????1????170.3.2.4 |
?3.101.1/16????????????1????110.33.1.3 |
?4.100.110.20/24???????1????150.46.3.4 |
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
Can initiatively send the VRRP module of event of change of route information to the primary route device.Wherein, above-mentioned sign as
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 primary route device;
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, can be provided with by the mode of control desk by the user, also can identify crucial routing iinformation by webmaster by the user with order line.
3, the critical path of VRRP agreement according to claim 1 be is characterized in that 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.
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.
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 true CN1581821A (en) | 2005-02-16 |
CN1322716C 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) |
Cited By (15)
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 |
CN100396014C (en) * | 2006-03-07 | 2008-06-18 | 华为技术有限公司 | Hot standby maintenance system and hot standby maintenance and failover method |
CN100459585C (en) * | 2006-08-24 | 2009-02-04 | 杭州华三通信技术有限公司 | Method for avoiding route equipment frequent switchover state and one type route equipment |
CN100461764C (en) * | 2006-06-28 | 2009-02-11 | 华为技术有限公司 | Method and system for implementing consistency of message forwarding routes |
CN100488147C (en) * | 2005-10-27 | 2009-05-13 | 国际商业机器公司 | Method and system for managing data route |
CN101060533B (en) * | 2007-05-14 | 2010-08-04 | 华为技术有限公司 | A method, system and device for improving the reliability of VGMP protocol |
CN1949700B (en) * | 2006-10-09 | 2010-10-06 | 华为技术有限公司 | Method and apparatus for mixed network protection |
CN1968260B (en) * | 2005-11-17 | 2010-12-01 | 华为技术有限公司 | Method for implementing virtual router redundancy protocol switching between primary/standby devices |
CN101951345A (en) * | 2010-10-15 | 2011-01-19 | 杭州华三通信技术有限公司 | Message transmitting method and equipment |
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 |
US8320389B2 (en) | 2007-02-05 | 2012-11-27 | Huawei Technologies Co., Ltd. | Reliability processing methods and systems in the networking of metro ethernet network providing multi-service |
CN111464438A (en) * | 2020-03-04 | 2020-07-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 |
CN112953740A (en) * | 2019-12-10 | 2021-06-11 | 中盈优创资讯科技有限公司 | Method and device for monitoring routing information |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5473599A (en) * | 1994-04-22 | 1995-12-05 | Cisco Systems, Incorporated | Standby router protocol |
US20010048661A1 (en) * | 2000-05-24 | 2001-12-06 | David Clear | Method and apparatus for multi-protocol redundant router protocol support |
CN100576815C (en) * | 2001-09-06 | 2009-12-30 | 波音公司 | Based on the router discover method on the network of mobile IP |
JP3824906B2 (en) * | 2001-10-30 | 2006-09-20 | 古河電気工業株式会社 | INTERNET CONNECTION METHOD, ITS DEVICE, AND INTERNET CONNECTION SYSTEM USING THE DEVICE |
-
2003
- 2003-08-15 CN CNB031527426A patent/CN1322716C/en not_active Expired - Lifetime
Cited By (17)
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 |
CN100488147C (en) * | 2005-10-27 | 2009-05-13 | 国际商业机器公司 | Method and system for managing data route |
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 |
US8320389B2 (en) | 2007-02-05 | 2012-11-27 | Huawei Technologies Co., Ltd. | Reliability processing methods and systems in the networking of metro ethernet network providing multi-service |
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 |
CN101951345A (en) * | 2010-10-15 | 2011-01-19 | 杭州华三通信技术有限公司 | Message transmitting method and equipment |
CN101951345B (en) * | 2010-10-15 | 2013-06-05 | 杭州华三通信技术有限公司 | Message transmitting method and equipment |
CN112953740A (en) * | 2019-12-10 | 2021-06-11 | 中盈优创资讯科技有限公司 | Method and device for monitoring routing information |
CN112953740B (en) * | 2019-12-10 | 2023-11-03 | 中盈优创资讯科技有限公司 | Method and device for monitoring route information |
CN111464438A (en) * | 2020-03-04 | 2020-07-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 |
Also Published As
Publication number | Publication date |
---|---|
CN1322716C (en) | 2007-06-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101588304B (en) | Implementation method of VRRP and device | |
CN101635648B (en) | Method for managing and rapidly switching virtual redundant route protocol group | |
US6983294B2 (en) | Redundancy systems and methods in communications systems | |
US7933198B1 (en) | Virtual router failover dampening | |
CN1581821A (en) | Key route information monitoring method based on virtual router redundant protocol | |
US7260066B2 (en) | Apparatus for link failure detection on high availability Ethernet backplane | |
US6917986B2 (en) | Fast failure protection using redundant network edge ports | |
US8233383B2 (en) | Network relay system and control method thereof | |
CN102148677B (en) | Method for updating address resolution protocol table entries and core switch | |
US20070047453A1 (en) | Reliable message transfer over an unreliable network | |
US20040085893A1 (en) | High availability ethernet backplane architecture | |
US6762999B2 (en) | Scalable and fault-tolerant link state routing protocol for packet-switched networks | |
EP1528735B1 (en) | High availability of recources in telecommunications network using synchronized redundancy mechanism | |
EP1323254B1 (en) | Router-level automatic protection switching | |
EP1863222B1 (en) | A disaster recovery system and method of service controlling device in intelligent network | |
CN101068139A (en) | Media gateway upper connection link main spare protecting method | |
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 | |
JP2006333077A (en) | Line redundancy method and relaying device to be used therein | |
CN106533771B (en) | Network equipment and control information transmission method | |
CN1235346C (en) | Method for improving route repeat liability of access server | |
CN102045259B (en) | Packet switching equipment and method for managing customer service | |
US20130111259A1 (en) | Connection control apparatus, storage system, and control method of connection control apparatus | |
CN112929266A (en) | Method for switching VRRP (virtual router redundancy protocol) main and standby according to SSL (secure socket layer) accelerator card state | |
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 |