CN101562576B - Route distribution method and equipment thereof - Google Patents

Route distribution method and equipment thereof Download PDF

Info

Publication number
CN101562576B
CN101562576B CN2009101466012A CN200910146601A CN101562576B CN 101562576 B CN101562576 B CN 101562576B CN 2009101466012 A CN2009101466012 A CN 2009101466012A CN 200910146601 A CN200910146601 A CN 200910146601A CN 101562576 B CN101562576 B CN 101562576B
Authority
CN
China
Prior art keywords
address
route
equipment
server
routing 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.)
Expired - Fee Related
Application number
CN2009101466012A
Other languages
Chinese (zh)
Other versions
CN101562576A (en
Inventor
张宇弟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN2009101466012A priority Critical patent/CN101562576B/en
Publication of CN101562576A publication Critical patent/CN101562576A/en
Application granted granted Critical
Publication of CN101562576B publication Critical patent/CN101562576B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a route distribution method and equipment thereof. The method is applied to a plurality of route equipment operating VRRP (virtual router redundancy protocol). One of the plurality of route equipment is main route equipment and the others are standby route equipment. The uplink interfaces of the route equipment are connected with a server. The method comprises the followingsteps: each route equipment judges the self-owned VRRP role in the plurality of route equipment; and when judging the self-owned VRRP role is the main route equipment, the route equipment distributes a route of a server address included in a pre-configured address list to a network equipment connected with the access interface of the route equipment according to the server address included in the pre-configured address list. With the invention, the address list including the server address is pre-configured on the route equipments and the VRRP role of the route equipment is bound to the distr ibution function of the route related to the server address, thereby realizing the control and auto-configuration on service forwarding paths.

Description

A kind of route issuing method and equipment
Technical field
The present invention relates to communication technique field, relate in particular to a kind of route issuing method and equipment.
Background technology
High reliability receives concern more and more widely in present networking is used, often carry out the binode redundant deployment at core node/branch node, insert and adopt VRRP (Virtual Router RedundancyProtocol, Virtual Router Redundancy Protocol) mode guarantees key business forwarding reliability.VRRP is divided in the set of router in the local area network (LAN) and forms a backup group together, and it is equivalent to a virtual router on function
After router enables the VRRP function, can determine own role in backup group according to priority.The router that priority is high becomes Master (master) router, priority is low become Backup (from) router.The Master router regularly sends the VRRP notification packet, and other routers oneself in the notice backup group are working properly; The Backup router then starts the arrival that timer is waited for notification packet.Under preempt-mode, after the Backup router is received the VRRP notification packet, priority of oneself and the priority in the notification packet can be compared.If greater than the priority in the notification packet, then become the Master router; Otherwise will keep the Backup state.
In the prior art based on the networking mode of VRRP as shown in Figure 1.Wherein R1 is the Master router, and R2 is the Backup router.When R1 generation systems collapse or port were unusual, R2 can become the Master router by the Backup router behind VRRP notification packet timer expiry.
For R1/R2, start VRRP and announce the interface IP address (being the interface that R1/R2 is connected with Server) of upstream Interface to the network equipment that is connected with access interface, introduce this direct-connected route by BGP (Border GatewayProtocol, Border Gateway Protocol) bgp peer is carried out advertising of route.R1, R2 are called BGP speaker as the router that sends BGP message, claim peer-to-peer between the BGP speaker that exchanges messages mutually mutually, and R1 and R3/R4 are respectively bgp peer in this scene, and R2 and R3/R4 are respectively bgp peer.All to the identical network segment route of R3/R4 announcement as bgp peer, this network segment route can be passed through bgp routing policy to R1/R2 on R3, R4, carry out routing optimization control.As on R3, disposing routing policy, the local first level (LOCAL_PREF) about interface directly connected subnet route Prefix1 that R1 is sent is made as 120, the local first level (LOCAL_PREF) about interface directly connected subnet route Prefix1 that R2 is sent is made as 100, can guarantee R3 preferred R1 when forwarding Host1 goes to the flow of Server like this.In like manner R4 does similar deployment.
Routing optimization strategy by BGP in the prior art is controlled, and the problem of existence is:
Need manual configuration, the configuration effort amount is big.When changing role takes place in the Master/Backup of Server side VRRP, gravity treatment automatically.As when VRRP Master becomes R2 by R1, be still R1 according to the preferred route that is configured in R3, R4 side, the flow that causes Host1/Host2 the to go to Server R1 that remains unchanged away.The communication that ought occur between R1 and the Server is interrupted in addition, when but R1 still can issue the BGP route of this directly connected subnet Prefix1, can cause Host1/Host2 still to transmit to Server to the flow that Server sends, thereby make Host1/Host2 send to the flow interrupt of Server through R1 through R3/R4.When the problems referred to above take place, need carry out manual modification to the configuration among R1 and the R2, treatment effeciency is very low, can't satisfy network demand.
Summary of the invention
The invention provides a kind of route issuing method and equipment, be used at routing device role's variation professional forward-path being disposed automatically having moved a plurality of routing devices of VRRP.
For this reason, the invention provides a kind of route issuing method, be applied to move in a plurality of routing devices of Virtual Router Redundancy Protocol VRRP, exist a main road by equipment in described a plurality of routing device, other routing devices are for being equipped with routing device, the upstream Interface of described a plurality of routing devices is connected with server, and described method comprises:
Routing device is judged from the VRRP role in described a plurality of routing devices;
Described routing device judges that the VRRP role of self is a main road during by equipment, according to the server address that comprises in the pre-configured address list, issues the route of the server address that comprises in the described address list to the network equipment that is connected with its access interface.
Described routing device is judged before the VRRP role in described a plurality of routing devices, is also comprised:
In the described a plurality of routing devices that moved VRRP, dispose described address list, the server address that comprises in the described address list is specially: the host address of described server and/or about the network segment address of the host address of described server, the subnet mask of described network segment address is greater than 24.
Also comprise:
Described routing device is judged when self becomes fully routing device by main road by equipment, according to the server address that comprises in the pre-configured address list, cancel the route of the server address that comprises in the described address list to the network equipment issue that is connected with its access interface;
The described main road of re-electing out in a plurality of routing devices of VRRP of having moved is by equipment, according to the server address that comprises in the pre-configured address list, issue the route of the server that comprises in the described address list to the network equipment that is connected with its access interface.
Described routing device judgement self becomes fully by main road by equipment, and the condition of routing device comprises:
Described routing device judge with described address list in during communication failure between one or more server address of comprising, judge that self is become by equipment by main road and be equipped with routing device.
Also comprise:
When detecting with main road by the communication disruption of equipment with the network equipment that main road is connected by the access interface of equipment, the route of deleting the server address that comprises in the described address list of described main road by the equipment issue with the network equipment that described main road is connected by the access interface of equipment;
Described a plurality of be equipped with, carried out the election of active router when routing device is found with main road by the communication disruption of equipment, the active router of re-electing out is according to the server address that comprises in the pre-configured address list, issues the route of the server address that comprises in the described address list to the network equipment that is connected with its access interface.
The present invention also provides a kind of routing device, be applied to move in a plurality of routing devices of Virtual Router Redundancy Protocol VRRP, exist a main road by equipment in described a plurality of routing device, other routing devices are for being equipped with routing device, the upstream Interface of described a plurality of routing devices is connected with server, comprising:
Role's judging unit is used for judging the VRRP role from described a plurality of routing devices;
The route release unit, be used for when the VRRP role of described role's judgment unit judges self for main road during by equipment, according to the server address that comprises in the pre-configured address list, issue the route of the server address that comprises in the described address list to the network equipment that is connected with its access interface.
Also comprise:
The list configuration unit is used for the configuration address tabulation, and the server address that comprises in the described address list is offered described route release unit; The server address that comprises in the described address list is specially: the host address of described server and/or about the network segment address of the host address of described server, the subnet mask of described network segment address is greater than 24.
Also comprise:
The role transforming unit, be used for judging and one or more server address that described address list comprises between communication failure the time, with self-role by main road by device translates for being equipped with routing device;
The route withdraw unit, be used for when described role's judgment unit judges self-role becomes fully routing device by main road by equipment, according to the server address that comprises in the pre-configured address list, cancel the route of the server address that comprises in the described address list to the network equipment issue that is connected with its access interface.
Also comprise:
The election unit, be used for when the judged result of described role's judging unit for after being equipped with routing device, during by equipment generation changing role, the participation main road is re-elected by equipment, and notifies described role's judging unit with election results at current main road.
Compared with prior art, the present invention has the following advantages:
Among the present invention, the VRRP role of routing device and the issuing function of route are bound, by the issue of the active router in a plurality of routing devices that moved VRRP route; When the active router in a plurality of routing devices that moved VRRP changed, the routing device of issue route changed thereupon, had realized the control of professional forward-path and configuration automatically.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is based on the networking mode schematic diagram of VRRP in the prior art;
Fig. 2 is the flow chart of the route issuing method that provides among the present invention;
Fig. 3 is the flow chart of route issuing method in the application scenarios of the present invention;
Fig. 4 is a schematic diagram from the R1 of Master router to R3/R4 that issue route in the application scenarios of the present invention as;
Fig. 5 is that R1 as the Backup router issues the schematic diagram of cancelling route, issuing route as the R2 of Master router to R3/R4 in the application scenarios of the present invention to R3/R4;
Fig. 6 is the structural representation of the routing device that provides among the present invention;
Fig. 7 is another structural representation of the routing device that provides among the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
The invention provides a kind of route issuing method, be applied to move in a plurality of routing devices of Virtual Router Redundancy Protocol VRRP, exist a main road by equipment in described a plurality of routing device, other routing devices are for being equipped with routing device, the upstream Interface of described a plurality of routing devices is connected with server, this method comprises as shown in Figure 2:
Step s201, routing device are judged from the VRRP role in a plurality of routing devices.
Step s202, routing device judge that the VRRP role of self be a main road during by equipment, according to the server address that comprises in the pre-configured address list, issue the route of the server address that comprises in the address list to the network equipment that is connected with its access interface.
In addition, when routing device judges that self becomes fully router by active router,, issue to the network equipment that is connected with its access interface and to cancel the route of server address according to the server address that comprises in the pre-configured address list.And carry out re-electing of active router by a plurality of routing devices that moved VRRP, by the active router of re-electing out according to the server address that comprises in the pre-configured address list, the route to the network equipment publisher server address that is connected with its access interface.
In the said method provided by the invention, on routing device, dispose the address list that comprises server address in advance, the VRRP role of routing device is bound with the issuing function about the route of server address, by the route of the server address that comprises in the issue of the active router in a plurality of routing devices that the moved VRRP address list; When the active router in a plurality of routing devices that moved VRRP changed, the routing device of issue route changed thereupon, had realized the control of professional forward-path and configuration automatically.
Below at first the VRRP technology is simply introduced: in the VRRP group that a plurality of routers that moved VRRP are formed, comprise an active router and a plurality of router that is equipped with.Each router all is operated in the Backup state during initialization, send the VRRP notification packet to other routers, precedence information by the Priority field identification self that carries in the VRRP notification packet, and know the precedence information of other routers by receiving VRRP notification packet that other routers send, the router that priority is high becomes the Master router afterwards, the maintenance Backup router state that priority is low.The Master router can timed sending the VRRP notification packet, by the precedence information of the Priority field identification router that carries in the VRRP notification packet.After the Backup router was received the VRRP notification packet that the Master router sends, the priority of the Master router that carries according to the Priority field in the message and the priority of self compared.If be higher than the priority of self, then the Backup router is kept the Backup state that is operated in; Otherwise the Backup router will be seized becomes the Master state, and periodically sends the VRRP notification packet.All the time guarantee that by this process the highest router of priority becomes the Master router.If do not receive the VRRP notification packet that the Master router sends in Backup router a period of time, it is unusual to think that then the Master routing device occurs, and each Backup router is elected the Master router that makes new advances according to the precedence information of each router again.
Below in conjunction with a concrete application scenarios, the embodiment of the route issuing method that provides among the present invention is described.In the application scenarios of the present invention, be example with network environment shown in Figure 1 still, (the IP address is IP to the nucleus equipment Server that is connected with the upstream Interface of R1 and R2 S: 1.1.1.3) adopted the redundant VRRP of binode to insert and disposed, realized that the high reliability that inserts guarantees.(the IP address of the interface eth1 that is connected with Server is IP as the R1 of Master router 1: 1.1.1.1) (the IP address of the interface eth2 that is connected with Server is IP with R2 as the Backup router 2: 1.1.1.2) after startup, (the IP address is 1.1.1.0 about the Prefix1 route 1.1.1.0/24 of interface directly connected subnet to the issue of the network equipment that is connected with its access interface respectively, high 24 of subnet mask is 1 to be 255.255.255.0), R3, R4 all receive this route.The sending method of these 24 routes can realize that the particular content of route is carried in NLRI (Network Layer ReachableInformation, the Network Layer Reachable Information) field of Update message by the Update message of bgp protocol.
All transmit for bidirectional traffics by the VRRPMaster router from branch node Host1, Host2 to core node Server.Current Master router is R1, and the Backup router is R2, all defines the tabulation of key business corresponding address on R1 and R2 synchronously, the content of this address list for increasing newly on each routing device among the present invention.Can comprise host address and/or network segment address in this address list.In network environment shown in Figure 1, be example, promptly dispose the address ip of Server with the configure host address S: 1.1.1.3.In the application scenarios of the present invention, this route issuing method comprises as shown in Figure 3:
Step s301, as the R1 of Master router will belong to all addresses in the address list by bgp protocol to 32 the main frame routes of network equipment R3, R4 issue that are connected with its access interface.
As shown in Figure 4, for the IP address ip of Server S, R1 issues one about IP to far-end R3/R4 in BGP VPNV4 S32 main frame route 1.1.1.3/32 (the IP address is 1.1.1.3, and high 32 of subnet mask is 1 to be 255.255.255.255).The sending method of these 32 main frame routes can realize that the particular content of route is carried in the NLRI field of Update message by the Update message of bgp protocol.
Step s302, R3 and R4 preferably send HOST1 and HOST2 to the message that Server sends to R1.
Only receiving from R1 about the main frame route in the key business corresponding address tabulation among R3 and the R4, is example with R3, receive as the R1 announcement of Master router about IP S32 main frame routes after, comprise following route table items in the routing table of safeguarding among the R3, as shown in table 1:
The route table items that comprises in the routing table of safeguarding among the table 1.R3
The purpose network address Next hop address Subnet mask Transmission interface
1 1.1.1.3 1.1.1.1 255.255.255.255 eth1
2 1.1.1.0 1.1.1.1 255.255.255.0 eth1
3 1.1.1.0 1.1.1.2 255.255.255.0 eth2
4 ...... ...... ...... ......
Route table items 1 in the above-mentioned routing table is R3 according to the R1 issue about IP S32 main frame routes generate; Route table items 2 in the above-mentioned routing table is R3 to be generated according to 24 routes about the Prefix1 route of interface directly connected subnet of R1 issue; Route table items 3 in the above-mentioned routing table is R3 to be generated according to 24 routes about the Prefix1 route of interface directly connected subnet of R2 issue.
(the IP address is IP to R3 to Server receiving HOST1 S: during the message that 1.1.1.3) sends, purpose IP address (1.1.1.3) is consistent with the route of record in the route table items 1, therefore preferably sends to R1 to the message of Server transmission for HOST1.
Equally, also safeguarding in R4 has the route table items similar to table 1, wherein comprise equally the R1 announcement about IP S32 main frame routes.Therefore, (the IP address is IP to R4 to Server receiving HOST2 S: during the message that 1.1.1.3) sends, preferably send to R1.
Step s303, when the role of VRRP having taken place as R1 and R2 is switched, as the R2 of Master router will belong to All hosts address in the address list by bgp protocol to 32 the main frame routes of network equipment R3, R4 issue that are connected with its access interface; Cancel 32 main frame routes by bgp protocol to network equipment R3, the R4 issue that is connected with its access interface as the All hosts address that the R1 of Backup router will belong in the address list.
When the role of VRRP having taken place as R1 and R2 was switched, as shown in Figure 5, this moment, R2 became the Master router by the Backup router, and R1 becomes the Backup router by the Master router.After becoming the Master router, R2 can send BGP main frame route to network equipment R3 that is connected with its access interface and R4 according to address list.IP address ip for Server S, R2 issues one about IP to far-end R3/R4 in BGPVPNV4 S32 main frame route 1.1.1.3/32 (the IP address is 1.1.1.3, and high 32 of subnet mask is 1 to be 255.255.255.255).The sending method of these 32 main frame routes can realize that the particular content of route is carried in the NLRI field of Update message by the Update message of bgp protocol.
After R1 switches to the Backup router by the Master router, can be according to address in the address list to network equipment R3 that is connected with its access interface and R4 issue route withdraw.IP address ip for Server S, R1 issues one about cancelling IP to far-end R3/R4 in BGP VPNV4 S32 main frame route 1.1.1.3/32 (the IP address is 1.1.1.3, and high 32 of subnet mask is 1 to be 255.255.255.255).The sending method of these 32 main frame routes can realize that the particular content of route is carried in the NLRI field of Withdraw message by the Withdraw message of bgp protocol.
Step s304, R3 and R4 preferably send HOST1 and HOST2 to the message that Server sends to R2.
With R3 is example, receive as R1 announcement about cancelling IP S32 main frame routes and the IP of R2 issue S32 main frame routes after, comprise following route table items in the routing table of safeguarding among the R3, as shown in table 2:
The route table items that comprises in the routing table of safeguarding among the table 2.R3
The purpose network address Next hop address Subnet mask Transmission interface
1 1.1.1.3 1.1.1.2 255.255.255.255 eth2
2 1.1.1.0 1.1.1.1 255.255.255.0 eth1
3 1.1.1.0 1.1.1.2 255.255.255.0 eth2
4 ...... ...... ...... ......
Route table items 1 in the above-mentioned routing table is R3 according to the R2 issue about IP S32 main frame routes generate; Route table items 2 in the above-mentioned routing table is R3 to be generated according to 24 routes about the Prefix1 route of interface directly connected subnet of R1 issue; Route table items 3 in the above-mentioned routing table is R3 to be generated according to 24 routes about the Prefix1 route of interface directly connected subnet of R2 issue.
At this moment, (the IP address is IP to R3 to Server receiving HOST1 S: during the message that 1.1.1.3) sends, purpose IP address (1.1.1.3) is consistent with the route of record in the route table items 1, therefore preferably sends to R2 to the message of Server transmission for HOST1.
Equally, also safeguarding in R4 has the route table items similar to table 1, wherein comprise equally the R2 announcement about IP S32 main frame routes.Therefore, (the IP address is IP to R4 to Server receiving HOST2 S: during the message that 1.1.1.3) sends, preferably send to R2.
Below the VRRP role's handoff scenario that relates in above-mentioned Fig. 3 flow process is introduced.
When the link down of Master router Connection Service device, will cause the network equipment of the access interface access network by the Master router to carry out remote access to up server by this Master router.At this moment, can address this problem by the up link function for monitoring of Master router.After the Master router finds that up link breaks down, initiatively reduce priority (making the priority of Master router be lower than the Backup router) and the transmission VRRP notification packet that carries self precedence information of self.The Backup router is elected new Master router after receiving the low VRRP notification packet of priority ratio self that the Master router sends.The Backup router that makes it possible to connect up server by this process serves as new Master router, assists the network equipment of the access interface access network by the Master router that server is carried out remote access.
In the concrete monitor uplink function, the Master router is at the particular host address of server, can be according to NQA (Network Quality Analyses, Network Quality Analysis) ICMP (InternetControl Message Protocol, Internet Control Message Protocol) the track result or BFD (the Bidirectional Forwarding Detection of echo (response) test, two-way forwarding detects) testing result, whether the testing uplink link breaks down.As shown in Figure 4, the interface as R1 takes place unusual in the communication of radio network:
1) only at IP SBusiness interrupt, other are professional still normal alternately as the VRRP protocol massages.R1 can be by NQA ICMP ECHO to IP so SCarry out TRACK, after the TRACK failure, R1 sends and carries the VRRP notification packet of low priority information, triggers R1 and R2 and carries out role's switching automatically; Or R1 uses BFD technical surveillance IP SState, finding IP SWhen unreachable, R1 sends and carries the VRRP notification packet of low priority information, triggers R1 and R2 and carries out role's switching automatically.R2 becomes the Master router by the Backup router, and R1 becomes the Backup router by the Master router.The R1 issue is about cancelling IP S32 main frame routes, R2 issues IP S32 main frame routes.
2) all service communications of interface interrupt, to cause R2 can't receive the VRRP notification packet that R1 sends, then R2 does not receive VRRP notification packet that R1 sends when causing waiting for overtime generations of VRRP notification packet in a period of time, and seizing becomes the Master router, and issues IP S32 main frame routes.R1 still passes through NQA ICMP ECHO to IP SCarry out TRACK, after the TRACK failure, R1 automatically switches to the Backup router; Or use BFD to monitor IP SState, finding IP SWhen unreachable, R1 automatically switches to the Backup router, and issue is about cancelling IP S32 main frame routes.
In addition, collapse causes and can't communicate with other equipment as generation systems if current Master router self goes wrong.As R1 the deadlock incident takes place, then all external communications of R1 all can be interrupted.Therefore, the bgp session of R3, R4 and R1 falls DOWN, the BGP route of R3, R4 deletion R1 announcement when the overtime generation of BGP.R2 can bear Master role after waiting for that the VRRP notification packet is overtime or detecting the R1 communication abnormality by TARCK or BFD method, the network equipment R3 and the R4 that are connected with its access interface according to address list issue the main frame route.
Need to prove, in above-mentioned Fig. 3 and the application scenarios shown in Figure 4, with the R1/R2 issue about IP S32 main frame routes be that example has illustrated the specific embodiment of the present invention.In other application scenarios, when the host address of needs issues when being a plurality of, R1/R2 can take to issue the mode about the route of network segment address.For example, when the IP address of the main frame of key business correspondence comprises 1.1.1.3,1.1.1.4,1.1.1.5 and 1.1.1.6, can directly on R3 and R4, dispose about configuration network segment address 1.1.1.3/26 in the key business corresponding address tabulation, and when needs issue route, by 26 main frame routes of R1/R2 issue about network segment address 1.1.1.3/26.Because routing forwarding is observed longest match principle, so R3/R4 comprises in the local routing table item under the situation of 24 routes and 26 routes simultaneously, will transmit according to 26 routes of preferential coupling.On R1/R2, dispose the execution mode of network segment address for this, similar to above-mentioned Fig. 3 with the execution mode of configure host address in the application scenarios shown in Figure 4, be not repeated in this description at this.
In the said method provided by the invention, on routing device, dispose the address list that comprises server address in advance, the VRRP role of routing device is bound with the issuing function about the route of server address, by the route of the server address that comprises in the issue of the active router in a plurality of routing devices that the moved VRRP address list; When the active router in a plurality of routing devices that moved VRRP changed, the routing device of issue route changed thereupon, had realized the control of professional forward-path and configuration automatically.
The present invention also provides a kind of routing device, as shown in Figure 6, be applied to move in a plurality of routing devices of Virtual Router Redundancy Protocol VRRP, exist a main road by equipment in these a plurality of routing devices, other routing devices are for being equipped with routing device, and the upstream Interface of a plurality of routing devices is connected with server, comprising:
Role's judging unit 10 is used for judging the VRRP role from a plurality of routing devices;
Route release unit 20, the VRRP role who is used for judging self when role's judging unit 10 is for main road during by equipment, according to the server address that comprises in the pre-configured address list, the route of the server address that in the network equipment issue address list that is connected with its access interface, comprises.The issue of route can realize by the Update message of bgp protocol.
As shown in Figure 7, in the routing device of the present invention, also comprise:
List configuration unit 30 is used for the configuration address tabulation, and the server address that comprises in the address list is offered route release unit 20 and route withdraw unit 50; The server address that comprises in this address list is specially: the host address of server and/or about the network segment address of the host address of server, the subnet mask of this network segment address is greater than 24.
Role transforming unit 40, be used for judging and one or more server address that address list comprises between communication failure the time, with self-role by main road by device translates for being equipped with routing device.
Route withdraw unit 50, be used for when role's judging unit 10 judges that self-roles become fully routing device by main road by equipment, according to each host address that comprises in the pre-configured address list, cancel the route of the server address that comprises in the address list to the network equipment issue that is connected with its access interface.Cancelling of route can realize by the Withdraw message of bgp protocol.
Election unit 60, be used for when the judged result of role's judging unit 10 for after being equipped with routing device, during by equipment generation changing role, the participation main road is re-elected by equipment, and notifies role's judging unit 10 with election results at current main road.When the election result is that main road is during by equipment, role's judging unit 10 will trigger route release unit 20 according to the server address that comprises in the pre-configured address list, the route of the server address that comprises in the network equipment issue address list that is connected with its access interface; When the election result when being equipped with routing device, need not further to handle according to the server address that comprises in the address list.
In the above-mentioned routing device provided by the invention, on routing device, dispose the address list that comprises server address in advance, the VRRP role of routing device is bound with the issuing function about the route of server address, by the route of the server address that comprises in the issue of the active router in a plurality of routing devices that the moved VRRP address list; When the active router in a plurality of routing devices that moved VRRP changed, the routing device of issue route changed thereupon, had realized the control of professional forward-path and configuration automatically.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, unit in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the unit in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.A unit can be merged in the unit of the foregoing description, also can further split into a plurality of subelements.
The invention described above embodiment sequence number is not represented the quality of embodiment just to description.

Claims (8)

1. route issuing method, it is characterized in that, be applied to move in a plurality of routing devices of Virtual Router Redundancy Protocol VRRP, exist a main road by equipment in described a plurality of routing device, other routing devices are for being equipped with routing device, the upstream Interface of described a plurality of routing devices is connected with server, and described method comprises:
Routing device is judged from the VRRP role in described a plurality of routing devices;
Described routing device judges that the VRRP role of self is a main road during by equipment, according to the server address that comprises in the pre-configured address list, issues the route of the server address that comprises in the described address list to the network equipment that is connected with its access interface;
Described routing device is judged when self becomes fully routing device by main road by equipment, according to the server address that comprises in the pre-configured address list, cancel the route of the server address that comprises in the described address list to the network equipment issue that is connected with its access interface.
2. the method for claim 1 is characterized in that, described routing device is judged before the VRRP role in described a plurality of routing devices, also comprised:
In the described a plurality of routing devices that moved VRRP, dispose described address list, the server address that comprises in the described address list is specially: the host address of described server and/or about the network segment address of the host address of described server, the subnet mask of described network segment address is greater than 24.
3. the method for claim 1 is characterized in that, described routing device judgement self becomes the condition that is equipped with routing device by main road by equipment and comprises:
Described routing device judge with described address list in during communication failure between one or more server address of comprising, judge that self is become by equipment by main road and be equipped with routing device.
4. the method for claim 1 is characterized in that, also comprises:
When detecting with main road by the communication disruption of equipment with the network equipment that main road is connected by the access interface of equipment, the route of deleting the server address that comprises in the described address list of described main road by the equipment issue with the network equipment that described main road is connected by the access interface of equipment;
A plurality of be equipped with, carried out the election of active router when routing devices are found with main road by the communication disruption of equipment, the active router of re-electing out is according to the server address that comprises in the pre-configured address list, issues the route of the server address that comprises in the described address list to the network equipment that is connected with its access interface.
5. routing device, it is characterized in that, be applied to move in a plurality of routing devices of Virtual Router Redundancy Protocol VRRP, exist a main road by equipment in described a plurality of routing device, other routing devices are for being equipped with routing device, the upstream Interface of described a plurality of routing devices is connected with server, comprising:
Role's judging unit is used for judging the VRRP role from described a plurality of routing devices;
The route release unit, be used for when the VRRP role of described role's judgment unit judges self for main road during by equipment, according to the server address that comprises in the pre-configured address list, issue the route of the server address that comprises in the described address list to the network equipment that is connected with its access interface;
The route withdraw unit, be used for when described role's judgment unit judges self-role becomes fully routing device by main road by equipment, according to the server address that comprises in the pre-configured address list, cancel the route of the server address that comprises in the described address list to the network equipment issue that is connected with its access interface.
6. routing device as claimed in claim 5 is characterized in that, also comprises:
The list configuration unit is used for the configuration address tabulation, and the server address that comprises in the described address list is offered described route release unit; The server address that comprises in the described address list is specially: the host address of described server and/or about the network segment address of the host address of described server, the subnet mask of described network segment address is greater than 24.
7. routing device as claimed in claim 5 is characterized in that, also comprises:
The role transforming unit, be used for judging and one or more server address that described address list comprises between communication failure the time, with self-role by main road by device translates for being equipped with routing device.
8. routing device as claimed in claim 5 is characterized in that, also comprises:
The election unit, be used for when the judged result of described role's judging unit for after being equipped with routing device, during by equipment generation changing role, the participation main road is re-elected by equipment, and notifies described role's judging unit with election results at current main road.
CN2009101466012A 2009-05-27 2009-05-27 Route distribution method and equipment thereof Expired - Fee Related CN101562576B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101466012A CN101562576B (en) 2009-05-27 2009-05-27 Route distribution method and equipment thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101466012A CN101562576B (en) 2009-05-27 2009-05-27 Route distribution method and equipment thereof

Publications (2)

Publication Number Publication Date
CN101562576A CN101562576A (en) 2009-10-21
CN101562576B true CN101562576B (en) 2011-11-16

Family

ID=41221202

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101466012A Expired - Fee Related CN101562576B (en) 2009-05-27 2009-05-27 Route distribution method and equipment thereof

Country Status (1)

Country Link
CN (1) CN101562576B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101764744B (en) * 2009-11-24 2012-05-23 福建星网锐捷网络有限公司 VRRP (Virtual Router Redundancy Protocol) access method, device and system, as well as VRRP routing equipment
CN101841462B (en) * 2010-03-02 2012-09-05 北京星网锐捷网络技术有限公司 Method, device and system for informing VRRP state information
CN102215158B (en) * 2010-04-08 2015-04-15 杭州华三通信技术有限公司 Method for realizing VRRP (Virtual Router Redundancy Protocol) flow transmission and routing equipment
CN102469018B (en) * 2010-11-18 2016-01-20 中兴通讯股份有限公司 Priority facility implementation method and device in Virtual Router Redundancy Protocol backup group
CN102413047A (en) * 2011-11-24 2012-04-11 华为技术有限公司 Three-layer network device and route distribution method of same
CN102932230B (en) * 2012-11-21 2015-07-15 杭州华三通信技术有限公司 Method and device for virtual router redundancy protocol backup group issuing routing
CN106921573B (en) * 2015-12-28 2020-04-14 华为技术有限公司 NVo3 method and device for issuing tenant route in network
CN109600256B (en) * 2018-12-04 2022-05-10 成都中航信虹科技股份有限公司 State switching method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1466322A (en) * 2002-06-23 2004-01-07 ��Ϊ�������޹�˾ Method for realfizing router interface backup utilizing virtual router redundancy procotol
CN1949767A (en) * 2005-10-11 2007-04-18 华为技术有限公司 Method for switching master-slave back-up route apparatus based on virtual router redundant protocol
EP1944983A1 (en) * 2005-10-01 2008-07-16 Huawei Technologies Co., Ltd. Method, system and device for backing up ha/map in mobile ipv6 network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1466322A (en) * 2002-06-23 2004-01-07 ��Ϊ�������޹�˾ Method for realfizing router interface backup utilizing virtual router redundancy procotol
EP1944983A1 (en) * 2005-10-01 2008-07-16 Huawei Technologies Co., Ltd. Method, system and device for backing up ha/map in mobile ipv6 network
CN1949767A (en) * 2005-10-11 2007-04-18 华为技术有限公司 Method for switching master-slave back-up route apparatus based on virtual router redundant protocol

Also Published As

Publication number Publication date
CN101562576A (en) 2009-10-21

Similar Documents

Publication Publication Date Title
CN101562576B (en) Route distribution method and equipment thereof
EP3373547B1 (en) Method for realizing disaster tolerance backup
WO2018054156A1 (en) Vxlan message forwarding method, device and system
CN101160909B (en) Method and system for implementing virtual router redundancy protocol on a resilient packet ring
EP1379038B1 (en) Method for implementing router interface backup with virtual router redundancy protocol
CN102035676B (en) ARP (Address Resolution Protocol) interaction based method and equipment for detecting and recovering link fault
US8489913B2 (en) Network system and network relay apparatus
CN101588304B (en) Implementation method of VRRP and device
CN101316236B (en) Vrrp backup group load sharing method and router
US20080225699A1 (en) Router and method of supporting nonstop packet forwarding on system redundant network
JP6350839B2 (en) Network relay device, gateway redundancy system, program, and redundancy method
CN102801623B (en) Multi-access data transmitting method and device
CN101005452A (en) Method and system for communication between IP devices
CN102638389A (en) Redundancy backup method and system of TRILL (Transparent Interconnection over Lots of Links) network
US10447652B2 (en) High availability bridging between layer 2 networks
CN105162704A (en) Multicast replication method and device in Overlay network
JP2017526298A (en) Method and system for managing network traffic
CN100488201C (en) Link backup method based on route
CN108289044B (en) Data forwarding method, link state method for determining static route and network equipment
CN101692654B (en) Method, system and equipment for HUB-Spoken networking
US7869351B2 (en) Communication techniques and generic layer 3 automatic switching protection
CN112217680A (en) Controller capability benchmark test method and device based on software-defined wide area network
CN108768798B (en) Equipment access method and device
JP3794580B2 (en) DATA RELAY METHOD, DATA RELAY DEVICE, AND DATA RELAY SYSTEM USING THE DEVICE
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
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20111116

Termination date: 20200527

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