CN1874320A - Method and system for implementing consistency of message forwarding routes - Google Patents

Method and system for implementing consistency of message forwarding routes Download PDF

Info

Publication number
CN1874320A
CN1874320A CNA2006100905220A CN200610090522A CN1874320A CN 1874320 A CN1874320 A CN 1874320A CN A2006100905220 A CNA2006100905220 A CN A2006100905220A CN 200610090522 A CN200610090522 A CN 200610090522A CN 1874320 A CN1874320 A CN 1874320A
Authority
CN
China
Prior art keywords
router
vrrp
routing
route
upper strata
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
CNA2006100905220A
Other languages
Chinese (zh)
Other versions
CN100461764C (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.)
Shan Fenfen
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 CNB2006100905220A priority Critical patent/CN100461764C/en
Publication of CN1874320A publication Critical patent/CN1874320A/en
Application granted granted Critical
Publication of CN100461764C publication Critical patent/CN100461764C/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 improves the path inconsistency between sending message and receiving message caused by adopting a virtual routing protocol. Through an improvement for routing table by virtual router and upper layer router, the path consistency of message forwarding is implemented at either occupied mode or non-occupied mode so as to avoid the loss of message caused by different routing.

Description

Realize the method and system of consistency of message forwarding routes
Technical field
The present invention relates to communication technique field, particularly a kind of method and system of realizing consistency of message forwarding routes.
Background technology
In TCP (Transmission Control Protocol, transmission control protocol)/IP (Internet Protocol, Internet protocol) network, the network equipment determines next forward-path by searching route table items.Route table items generation method commonly used at present has two kinds: a kind of is the configuring static route; Another kind is by the Routing Protocol dynamic learning, for example comes dynamic learning by RIP (Routing Information Protocol, interior routing protocol) and OSPF (Open Shortest Path First, Open Shortest Path First).Realizing all that at each terminal equipment the dynamic learning of Routing Protocol is unpractical, so generally adopt the method to the terminal equipment configuration static routing in the prior art, generally is to specify one or more default gateway to terminal equipment.
The method of configuring static route had both been simplified the complexity of network management, alleviated the communication-cost of terminal equipment again, but it has a shortcoming: if damage as the router of default gateway, all use this default gateway must interrupt for next communication of jumping main frame.Even disposed a plurality of default gateways,, communication can not be switched to new default gateway if do not restart terminal equipment.Adopt VRRP (Virtual Router Redundancy Protocol, Virtual Router Redundancy Protocol) can well avoid this defective.
VRRP is a kind of protocol for error tolerance, if the router more than two or two is arranged in the local area network (LAN), the main frame in the local area network (LAN) can pass through wherein any router and other network communication.Use VRRP to guarantee, when the next hop router of main frame in the local area network (LAN) breaks down, can replace by another router in time, thus continuity of keeping in communication and reliability.The network manager gives identical virtual router group number and the virtual Internet protocol address of different configuration of routers in the same network segment, makes them form a virtual router.Virtual router is made up of an active router and some backup routers, and wherein active router is realized the real function that E-Packets.When active router breaks down, one of them backup router will be taken over its work, become new active router.
Be illustrated in figure 1 as the route schematic diagram that adopts above-mentioned VRRP method to carry out networking.In same local area network (LAN), terminal PC 1 is connected with router two with router one respectively by switch with terminal PC 2, and router one is connected with external network by router three again with router two, and PC3 is a terminal of external network.Wherein the IP address of router one is 10.100.10.2, and the IP address of router two is 10.100.10.3, and the virtual ip address of the virtual router of being made up of router one and router two is set to 10.100.10.1.Terminal PC 1 in the local area network (LAN) and PC2 are when carrying out communication with external network, need not to know the real ip address of router one and the real ip address of router two, as long as the default route of oneself is set to the virtual ip address 10.100.10.1 of this virtual router.This moment, virtual router carried out following work:
1. select active router according to the size of priority, the router of priority maximum becomes active router; When priority was identical, the router that the interface primary ip address is big became active router; The service of message forwarding is provided by active router.
2. other router is monitored the state of active router at any time as backup router, and carries out as required being switched by the state of backup router to active router.Concrete handoff procedure is as follows: when the active router operate as normal, it can send a VRRP multicast message at set intervals, is in normal operating conditions with active router this moment of the backup router in the group of notifications.If the backup router in the group does not receive the message from active router for a long time, then oneself is become active router.
When in the group many backup routers being arranged, might produce a plurality of active routers.At this moment priority in each active router VRRP message that will relatively receive and the priority of oneself: if the priority of oneself is less than the priority in the VRRP message, perhaps the priority in priority of oneself and the VRRP message equate but the interface primary ip address of oneself less than the source address of VRRP message, then oneself is become backup router, otherwise keep the state of oneself constant.By such process, the new active router of the router of priority maximum will being hanked is finished the backup procedure of VRRP.
Two kinds of mode of operations are arranged: contention mode and non-contention mode when adopting the VRRP method to carry out virtual route.Under non-contention mode,,,, can not become active router even other backup router is configured higher priority subsequently as long as it does not break down in case certain router becomes active router yet.Under contention mode, backup router receives from comparing priority behind the message of active router, in case find the priority height of the active router that the priority ratio of oneself is current, will become new active router automatically, correspondingly original active router will become backup router.No matter under which kind of pattern,, oneself will be become active router as long as backup router does not receive the message from active router for a long time.
When using the VRRP method to carry out communication,, will replace its work by an other router automatically, might occur the message inconsistent situation of route back and forth like this if a router in the local area network (LAN) breaks down.With Fig. 1 is example, router one is an active router, during VOIP application program on the terminal PC 3 of the VOIP on terminal PC 1 (Voice over IP, IP-based voice) application access external network, 3 message uses path 1 Fig. 1 from terminal PC 1 to terminal PC; When 1 response message arrives router three from terminal PC 3 to terminal PC, have two routes to select: next jumping of a route is a router one, next jumping of an other route is a router two, suppose that it is the route of router two that router three is selected next jumping this moment, promptly adopt path 2 among Fig. 1, the inconsistent phenomenon of forward-path that message sends and receives then occurs.
In order to address this problem, the path that prior art generally adopts the mode of configured in advance VRRP agreement and Routing Protocol to guarantee that message transmits back and forth is consistent, and referring to Fig. 2, concrete collocation method is as follows:
1. configuration VRRP agreement makes the VRRP priority of router one be higher than the VRRP priority of router two;
2. configuration VRRP agreement monitors upstream Interface 1 (interface that links to each other with router three on the router one) and interface 3 (interface that links to each other with router three on the router two), make when interface 1 disconnects connection, the VRRP priority of router one can reduce a number automatically, when interface 3 disconnected connection, the VRRP priority of router two can reduce a number automatically;
3. the configuration Routing Protocol makes the route priority of " next is jumped and is the route of router one " be higher than " next is jumped and is the route of router two " on router three.
After adopting above-mentioned collocation method, router one and router two exchange route with router three respectively, router one and router two can be distributed to router three with interface route separately before starting working, generally comprise VRRP virtual interface route and other interface route, the route content of issue comprises network number and subnet mask and next jumping route; Dispose as interface 1 and interface 2 usefulness Routing Protocols when router one, interface 2 also disposes with the VRRP agreement, then router one can be distributed to router three to the route " next jumping of 10.100.10.1/24/ is router one " of route of interface 1 " next jumping of 10.100.1.0/24/ is router one " and interface 2, this moment, the route of interface 1 was conventional interface route, and the route of interface 2 is the virtual interface route.
When disconnect to connect owing to interface or router break down etc. reason cause router one and router three between the Routing Protocol interruption time, router three can monitor this situation and the route of learning from router one in the routing table is all deleted, therefore externally uses that route of " next jumping is router two " when access to netwoks PC1 or PC2, this moment, router two was an active router, and it is consistent with the path that receives therefore to have guaranteed that message sends.After router one or its interface recover from fault, router one restarts work, it can be issued route again and give router three, router three can add this route in routing table, because the priority height of router one can become active router under contention mode, router three also can be selected the high route of priority i.e. " next is jumped and is router one " according to agreement, and can keep consistency of message forwarding routes this moment.
But also there are some shortcomings in above-mentioned prior art, just differs when router three can not monitor interface variation or under the non-contention mode under the contention mode promptly that it is consistent with the path that receives to guarantee that surely message sends, and is exemplified below:
1. configuration VRRP is a contention mode, when the interface 2 of router one and switch break down when but physical layer is connection status, router one is not known this situation, router three also can't monitor this situation, stipulate according to agreement, router one still remains on the active router state, and regularly send a VRRP message to router two, but router two does not receive this message, when the stand-by period of router two surpasses the timer official hour, router two carries out the VRRP election again, and making oneself becomes active router.Timeout mechanism according to switch, when surpassing official hour (as 300 seconds) switch and not receiving the message that router one sends (because interface 2 disconnects), will fall the MAC Address of the router one of having learnt clearly, and from the message that router two is sent, learn the MAC Address of router two, so this moment, message was visited external network by router two, because the route table items on the router three is constant, the message of external network is returned by router one, message this moment path back and forth is inconsistent, and the message of external network can be lost by interface 2 forwardings.
2. configuration VRRP is non-contention mode, when interface 1 and interface 5 disconnects when being connected, the VRRP priority of router one descends, Routing Protocol between router one and the router three interrupts, and router three can automatically switch and be routed to " next is jumped and be the route of router two " and get on, and router two can not become main VRRP router at this moment, message sends through router two, send through router one, not only the path is inconsistent, and can lose owing to interface disconnects message.
3. configuration VRRP is non-contention mode, when router one breaks down, router two will become active router, router three carries out normal route and switches, be the Routing Protocol interruption between router one and the router three, the router three automatic switchover is routed to " next is jumped and is the route of router two " and gets on; When having crossed a period of time router one and recovering from fault, issue route again and give router three, router three reverts to router one with next jumping of route, but router two still is an active router.This moment will occur terminal PC 1 and PC2 through router two visit external network, external network is through router one access terminal PC1 and PC2, the inconsistent phenomenon in the path that message is transmitted back and forth.
When router is learnt two or many routes, the pattern that can adopt routing overhead to share under the bigger situation of data traffic E-Packets, promptly enable many routes simultaneously, share data traffic jointly, sharing with modal two routing overheads is example, and first message is gone out by article one routing forwarding, second message gone out by the second routing forwarding, so circulation, two routes message that hockets is transmitted, and finishes the task that message is transmitted jointly.When routing overhead is shared when adopting simultaneously with two kinds of technology of VRRP,, the situation that message forwarding path is inconsistent even lose message can might be caused if router is out of order or interface disconnects and connecting.
The Qos in different paths (Quality of Service, service quality) characteristic has some differences, particularly delay character wherein and delay variation characteristic, different Qos characteristics can impact some application again, for example: speech business is just very sensitive to time delay and delay variation, when the time delay shake is big, when answering voice, the user will can not hear clearly.
Summary of the invention
After overcoming available technology adopting VRRP agreement, may cause the inconsistent defective of message forwarding path, the object of the present invention is to provide a kind of method and system of realizing consistency of message forwarding routes, can realize the path unanimity that message is transmitted, the situation of the message dropping of avoiding the variation of the Qos characteristic brought because of different routes and might taking place, thus influence that application is caused avoided.Described technical scheme is as follows:
A kind of method that realizes consistency of message forwarding routes, its concrete steps are as follows:
Steps A: the VRRP router judges whether that according to the type of current working state and current route needs are not issued the upper strata router that current routing iinformation is given described VRRP router, if then do not issue described routing iinformation and give described upper strata router and end; Otherwise carry out conventional processing, and judge whether the processing of described routine is to issue current routing iinformation to described upper strata router, if execution in step B then, if not then finishing;
Step B: after described upper strata router receives described routing iinformation, judge whether described routing iinformation is the virtual interface route, if not then carrying out conventional treatment, if then in routing table, upgrade described routing iinformation.
Described steps A can for:
If the VRRP router is backup router and current route is the virtual interface route, then do not issue upper strata router and end that this route is given the VRRP router.
Described steps A can also for:
If the VRRP router is backup router and current route is not the virtual interface route, then carry out conventional treatment, whether the processing of judging described routine then is to issue current routing iinformation to the upper strata of VRRP router router, if execution in step B then, otherwise finish.
Described steps A can also for:
If the VRRP router is not a backup router, then carry out conventional treatment, judge then whether the processing of described routine is to issue current routing iinformation to the upper strata of VRRP router router, if execution in step B then, otherwise finish.
Updating steps is specially among the described step B:
Judge whether described routing iinformation exists in routing table,, otherwise in routing table, add described routing iinformation if exist then in routing table, former routing iinformation is replaced to described routing iinformation.
The present invention also provides a kind of system that realizes consistency of message forwarding routes, and it comprises VRRP router and upper strata router;
Described VRRP router is used for judging whether that according to the type of the operating state of VRRP router and current route needs are not issued current routing iinformation to described upper strata router, also is used for carrying out conventional processing according to judged result;
Described upper strata router is used for receiving the next current routing iinformation of described VRRP router issue and upgrades described current routing iinformation in the routing table of described upper strata router.
Described VRRP router comprises VRRP module and Routing Protocol module;
Described VRRP module is used to judge the operating state of VRRP router and judged result is sent to described Routing Protocol module;
Described Routing Protocol module is used to receive the operating state of the VRRP router that described VRRP module sends and judges whether the type of current route is the virtual interface route, also is used for issuing current routing iinformation according to the type of the operating state of VRRP router and current route and gives described upper strata router.
Described upper strata router comprises Routing Protocol module and routing module;
Described Routing Protocol module is used to receive the routing iinformation of described VRRP router issue, is used for also judging whether the routing table of described upper strata router exists described routing iinformation and judged result is sent to described routing module;
Described routing module is used to receive the judged result that described Routing Protocol module is sent, and also is used for upgrading described routing iinformation according to judged result in the routing table of described upper strata router.
The invention has the beneficial effects as follows by the improvement of virtual router and upper strata router routing table, can both realize that under contention mode and non-contention mode the path that message transmits is consistent, also can realize the path unanimity that message is transmitted when physical layer is connection status even the VRRP router interface breaks down, and the present invention guarantees can not occur the situation of load balancing, further guaranteed the path unanimity that message is transmitted, thus the influence of having avoided the variation of the Qos characteristic brought because of different routes and message dropping and application being caused.
Description of drawings
Fig. 1 carries out the route schematic diagram of networking for the available technology adopting Virtual Router Redundacy Protocol;
Fig. 2 carries out the interface schematic diagram of networking for the available technology adopting Virtual Router Redundacy Protocol;
Fig. 3 handles the flow chart of issue route for VRRP router of the present invention;
Fig. 4 handles the flow chart of revising routing table for VRRP of the present invention upper strata router;
Fig. 5 realizes the system schematic of consistency of message forwarding routes for the present invention.
Embodiment
The invention will be further described below in conjunction with the drawings and specific embodiments, but not as a limitation of the invention.
The present invention realizes that the method for consistency of message forwarding routes relates to two class routers: enable the router (hereinafter to be referred as the VRRP router) of VRRP agreement and the last layer router (hereinafter to be referred as VRRP upper strata router) of VRRP router, and use dynamic routing protocol exchange route between VRRP router and the VRRP upper strata router.The operating state of VRRP router has three kinds: active router and backup router and initial condition.The type of route is meant that this route is conventional interface route or virtual interface route in the present invention.Can give VRRP upper strata router by the current routing iinformation of issue before the VRRP router is started working, the content of this routing iinformation comprises: network number and subnet mask and next are jumped and are described VRRP router.
For the VRRP router,, do not issue current virtual interface route if find it oneself is backup router and current route when being the virtual interface route; And other situation is all carried out conventional treatment, and conventional processing might be the issue routing iinformation, also might be not issue routing iinformation, and concrete condition is to stipulate according to the protocol configuration of reality.The present invention is by to existing two functional modules of VRRP router: VRRP module and Routing Protocol module are made improvement, promptly in the function of the processing route of Routing Protocol module, increase content to the judgement and the corresponding release processing of various issue situations, and in the VRRP module, finish the judgement of VRRP router work at present state and call above-mentioned processing function in the Routing Protocol module, making does not originally separately have two interactive modules interrelated, finishes the function of above-mentioned issue route jointly.
For VRRP upper strata router, when it receives the interface route that VRRP router issue comes, judge at first whether this route is the virtual interface route, handle the back and finish if not then carrying out conventional Routing Protocol; Whether exist in the routing table and the identical route of described virtual interface route if then judge, here the identical route of saying is meant that network number is identical with subnet mask, do not consider whether next jumping is identical, if there is no then notifies routing module to add this route in routing table; If exist, this virtual interface route of then notifying routing module in routing table, former route to be replaced to new issue, promptly original route is covered by new route, no longer keeps.Therefore it is all identical with subnet mask but next jumps two different routes can not occur network number in routing table, thereby also the situation that routing overhead is shared can not occur.The present invention is by two functional modules to VRRP upper strata router: Routing Protocol module and routing module make improvements.Finishing the function of above-mentioned modification routing table, thereby guaranteed consistency of message forwarding routes.
The method of realization consistency of message forwarding routes provided by the invention, its concrete steps are as follows:
Step 101: referring to Fig. 3, at first trigger and to issue route outward by Routing Protocol, the VRRP router judges whether that according to the type of current working state and current route needs are not issued the upper strata router that current routing iinformation is given described VRRP router then, if, then do not issue described routing iinformation and give described upper strata router and end, otherwise carry out conventional processing, and whether the processing of judging described routine is to issue current routing iinformation to described upper strata router, if execution in step 102 then, if not then finishing;
Step 102: referring to Fig. 4, described upper strata router at first receives described routing iinformation, judges then whether described routing iinformation is the virtual interface route, if not then carrying out conventional treatment, if then upgrade described routing iinformation in routing table.Information.
Described step 101 has comprised following three kinds of situations:
If the VRRP router is backup router and current route is the virtual interface route, does not then issue this route and give VRRP upper strata router and end;
If the VRRP router is backup router and current route is not the virtual interface route, then carry out conventional treatment, whether the processing of judging described routine then is to issue current routing iinformation to the upper strata router, if execution in step 102 then, if not then finishing;
If the VRRP router is not a backup router, then carry out conventional treatment, judge then whether the processing of described routine is to issue current routing iinformation to the upper strata router, if execution in step 102 then, if not then finishing.
Updating steps is specially in the described step 102:
Judge whether described routing iinformation exists in routing table,, otherwise in routing table, add described routing iinformation if exist then in routing table, former routing iinformation is replaced to described routing iinformation.
Referring to Fig. 5, the system of realization consistency of message forwarding routes provided by the invention comprises VRRP router and upper strata router;
Described VRRP router is used for judging whether that according to the type of the operating state of VRRP router and current route needs are not issued current routing iinformation to described upper strata router, also is used for carrying out conventional processing according to judged result;
If being treated to the upper strata router of configuration routine according to actual agreements issued routing iinformation, then the VRRP router can be distributed to the upper strata router with current routing iinformation;
Described upper strata router is used for receiving the next current routing iinformation of described VRRP router issue and upgrades described current routing iinformation in the routing table of described upper strata router.
Described VRRP router comprises VRRP module and Routing Protocol module;
(1) the VRRP module is used to judge the operating state of VRRP router and judged result is sent to described Routing Protocol module;
(2) the Routing Protocol module is used to receive the operating state of the VRRP router that described VRRP module sends and judges whether the type of current route is the virtual interface route, also is used for issuing current routing iinformation according to the type of the operating state of VRRP router and current route and gives described upper strata router.
Described upper strata router comprises Routing Protocol module and routing module;
(1) the Routing Protocol module of upper strata router is used to receive the routing iinformation of described VRRP router issue, is used for also judging whether the routing table of described upper strata router exists described routing iinformation and judged result is sent to described routing module;
(2) routing module is used to receive the judged result that described Routing Protocol module is sent, and also is used for upgrading described routing iinformation according to judged result in the routing table of described upper strata router.
Referring to Fig. 1 and Fig. 2, under contention mode, adopt the IP address setting of Fig. 1 and the protocol configuration of Fig. 2, when the interface 2 of VRRP router breaks down when but physical layer was connection status, the present invention carried out following steps to realize consistency of message forwarding routes:
The operating state of router one is an active router under the beginning situation, it is distributed to the upper strata router three with interface route (comprising conventional interface route and virtual interface route), router three is learnt to upgrade route behind the interface route of router one in routing table, the content of the virtual interface route after wherein upgrading is " next jumping of 10.100.10.1/24/ is router one " (owing to do not relate to conventional interface route in this example, therefore just repeating no more) below the content of conventional interface route;
Because physical layer is in connection status, router one can't monitor interface 2 variation has taken place, therefore it still remains on the active router state, and per second sends a VRRP message to backup router 2, but interface 2 breaks down and makes router two not receive this message, wait for a period of time as after 3 seconds then timer provide overtime warning, this moment, router two just carried out the VRRP election again, making oneself becomes active router, and message just sent through router two and router three when terminal PC 1 was visited external network like this;
Router two can be distributed to router three with the virtual interface route of this moment according to Routing Protocol after as active router work, and its content be " 10.100.10.1/24/ next jump be router two ";
After router three receives this route, search a route that has existed network number and subnet mask all identical in the routing table table of discovery, but next is jumped and is router one, therefore router three is replaced original route with the route of newly acquiring, and the route in being about to show becomes next jumping and is the route of router two;
Like this, when external network passed through router three access terminal PC1, message was transmitted through route 3 and router two, had therefore guaranteed the unanimity of path back and forth of message between PC1 and the external network.
Referring to Fig. 1 and Fig. 2, under non-contention mode, adopt the IP address setting of Fig. 1 and the protocol configuration of Fig. 2, the present invention carries out following steps to realize consistency of message forwarding routes:
The operating state of router one is an active router under the beginning situation, it is distributed to the upper strata router three with interface route (comprising conventional interface route and virtual interface route), router three is learnt to upgrade route behind the interface route of router one in routing table, the content of the virtual interface route after upgrading in the tool is " next jumping of 10.100.10.1/24/ is router one " (owing to do not relate to conventional interface route in this example, therefore just repeating no more) below the content of conventional interface route;
When router one during by existing fault, the route communication between router one and the router three is interrupted, and router three is all deleted the route of learning from router one in the routing table; Router two can become active router according to protocol configuration, and message just sent through router two and router three when terminal PC 1 was visited external network at this moment;
Router two can be distributed to router three with the virtual interface route of this moment according to Routing Protocol after as active router work, and its content be " 10.100.10.1/24/ next jump be router two ";
After router three receives this route, search the route that does not exist network number all identical in the routing table table of discovery, so router three adds this route in routing table with subnet mask;
Ask when having crossed one section when router one recovers from fault, router one is received the VRRP message that active router 2 is sent, because be so that non-contention mode is not re-elected oneself is become active router, router two still is an active router, and still send through router two and router three in the path that message sends; This moment, router one was as backup router work, do not issue current virtual interface route according to agreement and give router three, content in the routing table on the router three is constant, be that next jumping still is router two, like this when external network passes through router three access terminal PC1, message is transmitted through route 3 and router two, has therefore solved the problem of the unanimity of path back and forth of message between PC1 and the external network.
Above-described embodiment, the present invention embodiment a kind of more preferably just, common variation and replacement that those skilled in the art carries out in the technical solution of the present invention scope all should be included in protection scope of the present invention.

Claims (8)

1. a method that realizes consistency of message forwarding routes is characterized in that, said method comprising the steps of:
Steps A: the VRRP router judges whether that according to the type of current working state and current route needs are not issued the upper strata router that current routing iinformation is given described VRRP router, if then do not issue described routing iinformation and give described upper strata router and end; Otherwise carry out conventional processing, and judge whether the processing of described routine is to issue current routing iinformation to described upper strata router, if execution in step B then, if not then finishing;
Step B: after described upper strata router receives described routing iinformation, judge whether described routing iinformation is the virtual interface route, if not then carrying out conventional treatment, if then in routing table, upgrade described routing iinformation.
2. the method for realization consistency of message forwarding routes according to claim 1 is characterized in that, described steps A is specially:
If the VRRP router is backup router and current route is the virtual interface route, then do not issue upper strata router and end that this route is given the VRRP router.
3. the method for realization consistency of message forwarding routes according to claim 1 is characterized in that, described steps A is specially:
If the VRRP router is backup router and current route is not the virtual interface route, then carry out conventional treatment, whether the processing of judging described routine then is to issue current routing iinformation to the upper strata of VRRP router router, if execution in step B then, otherwise finish.
4. the method for realization consistency of message forwarding routes according to claim 1 is characterized in that, described steps A is specially:
If the VRRP router is not a backup router, then carry out conventional treatment, judge then whether the processing of described routine is to issue current routing iinformation to the upper strata of VRRP router router, if execution in step B then, otherwise finish.
5. according to the method for any described realization consistency of message forwarding routes in the claim 1 to 4, it is characterized in that updating steps is specially among the described step B:
Judge whether described routing iinformation exists in routing table,, otherwise in routing table, add described routing iinformation if exist then in routing table, former routing iinformation is replaced to described routing iinformation.
6. a system that realizes consistency of message forwarding routes is characterized in that, described system comprises VRRP router and upper strata router;
Described VRRP router is used for judging whether that according to the type of the operating state of VRRP router and current route needs are not issued current routing iinformation to described upper strata router, also is used for carrying out conventional processing according to judged result;
Described upper strata router is used for receiving the next current routing iinformation of described VRRP router issue and upgrades described current routing iinformation in the routing table of described upper strata router.
7. the system of realization consistency of message forwarding routes according to claim 6 is characterized in that, described VRRP router comprises VRRP module and Routing Protocol module;
Described VRRP module is used to judge the operating state of VRRP router and judged result is sent to described Routing Protocol module;
Described Routing Protocol module is used to receive the operating state of the VRRP router that described VRRP module sends and judges whether the type of current route is the virtual interface route, also is used for issuing current routing iinformation according to the type of the operating state of VRRP router and current route and gives described upper strata router.
8. the system of realization consistency of message forwarding routes according to claim 6 is characterized in that, described upper strata router comprises Routing Protocol module and routing module;
Described Routing Protocol module is used to receive the routing iinformation of described VRRP router issue, is used for also judging whether the routing table of described upper strata router exists described routing iinformation and judged result is sent to described routing module;
Described routing module is used to receive the judged result that described Routing Protocol module is sent, and also is used for upgrading described routing iinformation according to judged result in the routing table of described upper strata router.
CNB2006100905220A 2006-06-28 2006-06-28 Method and system for implementing consistency of message forwarding routes Expired - Fee Related CN100461764C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100905220A CN100461764C (en) 2006-06-28 2006-06-28 Method and system for implementing consistency of message forwarding routes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100905220A CN100461764C (en) 2006-06-28 2006-06-28 Method and system for implementing consistency of message forwarding routes

Publications (2)

Publication Number Publication Date
CN1874320A true CN1874320A (en) 2006-12-06
CN100461764C CN100461764C (en) 2009-02-11

Family

ID=37484589

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100905220A Expired - Fee Related CN100461764C (en) 2006-06-28 2006-06-28 Method and system for implementing consistency of message forwarding routes

Country Status (1)

Country Link
CN (1) CN100461764C (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009059470A1 (en) * 2007-11-05 2009-05-14 Zte Corporation Pe device and access method for a vrrp device to access vpn
CN102244606A (en) * 2010-05-12 2011-11-16 杭州华三通信技术有限公司 Method for realizing virtual router redundancy protocol extended (VRRPE) flow transmission, system and equipment thereof
CN102413047A (en) * 2011-11-24 2012-04-11 华为技术有限公司 Three-layer network device and route distribution method of same
CN101925144B (en) * 2009-06-15 2013-09-25 华为技术有限公司 Route switching method, device and system
CN113225258A (en) * 2020-02-06 2021-08-06 阿里巴巴集团控股有限公司 Message forwarding method, device, network equipment and system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109120553B (en) * 2018-09-12 2020-12-04 杭州迪普科技股份有限公司 Flow forwarding method and device based on flow definition

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010048661A1 (en) * 2000-05-24 2001-12-06 David Clear Method and apparatus for multi-protocol redundant router protocol support
JP4103816B2 (en) * 2003-02-12 2008-06-18 松下電器産業株式会社 Router setting method and router apparatus
CN1322716C (en) * 2003-08-15 2007-06-20 华为技术有限公司 Key route information monitoring method based on virtual router redundant protocol
CN100359875C (en) * 2004-07-31 2008-01-02 华为技术有限公司 Method for realizing backup and load shared equally based on proxy of address resolution protocol

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009059470A1 (en) * 2007-11-05 2009-05-14 Zte Corporation Pe device and access method for a vrrp device to access vpn
CN101159741B (en) * 2007-11-05 2012-07-04 中兴通讯股份有限公司 PE device and access method for VRRP device to access into VPN
CN101925144B (en) * 2009-06-15 2013-09-25 华为技术有限公司 Route switching method, device and system
CN102244606A (en) * 2010-05-12 2011-11-16 杭州华三通信技术有限公司 Method for realizing virtual router redundancy protocol extended (VRRPE) flow transmission, system and equipment thereof
CN102413047A (en) * 2011-11-24 2012-04-11 华为技术有限公司 Three-layer network device and route distribution method of same
CN113225258A (en) * 2020-02-06 2021-08-06 阿里巴巴集团控股有限公司 Message forwarding method, device, network equipment and system

Also Published As

Publication number Publication date
CN100461764C (en) 2009-02-11

Similar Documents

Publication Publication Date Title
CN103583063B (en) System and method for the fault recovery of geographic redundancy gateway
CN1317853C (en) Network safety equipment and assemblied system and method for implementing high availability
CN101051951A (en) Method and device for securing server connection reliability
CN104869057B (en) Open flow switch Graceful Restart processing method, device and open flow controller
CN101588304B (en) Implementation method of VRRP and device
CN1848841A (en) Route equipment backup method
CN100568854C (en) A kind of method and interface board that keeps neighborhood
JP2004032758A (en) Router interface backup execution method by vrrp (virtual router redundancy protocol)
CN1874320A (en) Method and system for implementing consistency of message forwarding routes
CN1949767A (en) Method for switching master-slave back-up route apparatus based on virtual router redundant protocol
CN1976313A (en) High performance router routing protocol distribution parallel realizing method
CN1770739A (en) Stack manager protocol with automatic set up mechanism
CN102035676A (en) ARP (Address Resolution Protocol) interaction based method and equipment for detecting and recovering link fault
CN101035019A (en) Fast convergence method and device of the end-to-end service
CN103200093B (en) A kind of method and apparatus improving the handling property of many VRRP backup group
CN106878072B (en) Message transmission method and device
CN1905488A (en) Method and system for access user by virtual router redundance protocol
CN1606253A (en) High availability of resources in telecommunications network using synchronized redundancy mechanism
CN1929324A (en) Master-salve switching method and system for mutual backup device
CN111698158A (en) Method and device for electing master equipment and machine-readable storage medium
US20140016639A1 (en) Multicast method and multicast device
CN1929408A (en) By-pass combination system and business processing method based on said system
CN1859423A (en) Synchronous switching method for host and repeat device
CN1722664A (en) Method for realizing high-usability of network security equipment under cluster mode
CN102932249B (en) A kind of transmission method of VRRP message and device

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
TR01 Transfer of patent right

Effective date of registration: 20170821

Address after: 519031, Guangdong, Zhuhai province Hengqin financial industry service base building No. 5 2-I

Patentee after: The International Intellectual Property Trading Center Co. Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: Huawei Technologies Co., Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20171228

Address after: 238054 Anhui city of Chaohu province Huai Huai Lin Zhen Guang Xing Zheng Cun to home village

Patentee after: Shan Fenfen

Address before: 519031, Guangdong, Zhuhai province Hengqin financial industry service base building No. 5 2-I

Patentee before: The International Intellectual Property Trading Center Co. Ltd.

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

Granted publication date: 20090211

Termination date: 20180628

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