CN101764744B - VRRP (Virtual Router Redundancy Protocol) access method, device and system, as well as VRRP routing equipment - Google Patents

VRRP (Virtual Router Redundancy Protocol) access method, device and system, as well as VRRP routing equipment Download PDF

Info

Publication number
CN101764744B
CN101764744B CN200910226171.5A CN200910226171A CN101764744B CN 101764744 B CN101764744 B CN 101764744B CN 200910226171 A CN200910226171 A CN 200910226171A CN 101764744 B CN101764744 B CN 101764744B
Authority
CN
China
Prior art keywords
server
routing device
vrrp
link
message
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
CN200910226171.5A
Other languages
Chinese (zh)
Other versions
CN101764744A (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.)
Ruijie Networks Co Ltd
Original Assignee
Fujian Star Net Communication 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 Fujian Star Net Communication Co Ltd filed Critical Fujian Star Net Communication Co Ltd
Priority to CN200910226171.5A priority Critical patent/CN101764744B/en
Publication of CN101764744A publication Critical patent/CN101764744A/en
Application granted granted Critical
Publication of CN101764744B publication Critical patent/CN101764744B/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 provides VRRP access method, device and system, as well as a VRRP routing equipment. The VRRP access method comprises the following steps of: monitoring the communication of links among all servers in a local network by the VRRP routing equipment in a main control state; if the links are normal, transmitting a host router of the servers to the routing equipment in an external equipment; and if the links have failure, transmitting a first informing message for canceling the host router of the servers to the routing equipment in the external network. The VRRP access method, device and system, as well as the VRRP routing equipment, ensure the reliability when the servers are accessed into the external network on the basis of link communication and improve the access quality.

Description

VRRP cut-in method, device and system and VRRP routing device
Technical field
The embodiment of the invention relates to network technology, relates in particular to a kind of VRRP cut-in method, device and system and VRRP routing device.
Background technology
Based on transmission control protocol/internet interconnection protocol (Transmission ControlProtocol/Internet Protocol; Abbreviate as: in network TCP/IP), restorative and redundancy has become the key characteristic of current local area network (LAN).Virtual Router Redundacy Protocol (Virtual RouterRedundancy Protocol; Abbreviate as: VRRP) be the agreement that is used to realize router redundancy, can carry out redundancy backup at the default gateway (DefaultGateway) that shared many access visits medium (like Ethernet) is gone up the terminal IP device.The VRRP agreement is formed a virtual routing device with the routing device (abbreviating the VRRP routing device as) of many operation VRRP agreements in the system; This virtual routing device is as the default gateway of terminal equipment in the local area network (LAN), for terminal equipment provides a fixed IP addresses and medium access control (Media Access Control; Abbreviate as: MAC) address; Main frame in the local area network only needs the IP address setting of virtual routing device just can be communicated with other networks for own default gateway, and wherein the VRRP routing device has three kinds of states: master control (Master), back up (Backup) and initially (Initialize).
Multi-protocol sign exchange virtual special network (Multiprotocol Label Switching VirtualPrivate Network; Abbreviate as: MPLS VPN) because networking mode is flexible, extensibility is good etc. characteristics are extended towards application more and more widely, the local area network adopts VRRP technology access MPLS VPN network, has become a kind of general network application demand.
Fig. 3 is for existing a kind of schematic network structure based on VRRP agreement access MPLS VPN, and is as shown in Figure 3, two provider's edge router (Provider Edge Router; Abbreviate as: PE) operation VRRP agreement; Form a virtual routing device; Wherein, the routing device PE1 among Fig. 3 is the master control routing device, and routing device PE2 is a standby routing equipment; Server 31 in the local area network inserts MPLS VPN through double-network card hot backup redundant fashion respectively with server 32, can solve the switch single-point and insert failure problems.
In practical application, routing device PE1 among Fig. 3 and routing device PE2 can be with the network segment route in the local area network through supporting Border Gateway Protocol (the Multiprotocol-Border Gateway Protocol of multi-protocols expansion; Abbreviate as: the PE equipment (edge device PE3 as shown in Figure 3) that MP-BGP) is transmitted to other.But edge device PE3 does not understand the situation of routing device PE1 and routing device PE2 operation VRRP agreement; Therefore can carry out the routing optimization decision-making according to routing property etc.; For example; Edge device PE3 selects routing device PE2 as optimum route according to routing property, and like this, the path that will cause server 31 or server 32 in the local area network to send messages is inconsistent with the path that receives message.In addition; When the link between access switch among Fig. 3 33 and the access switch 34 breaks down; Because routing device PE2 can not receive the notification packet from routing device PE1, also can upgrade to the master control routing device, at this moment will have two master control routing devices in the local area network.For networking structure shown in Figure 3, when above-mentioned situation occurring, can't guarantee the cut-in quality of server, reduce the reliability that server inserts.
Prior art is through being provided with different routing property values for the MP-BGP route of being sent by master control routing device and standby routing equipment; Make edge device PE3 select correct route according to the routing property value that is provided with; To guarantee the cut-in quality of server; But when two master control routing devices occurring, because the property value of the MP-BGP route of two master control routing device transmissions is identical, said method will be no longer suitable.To this; Prior art proposes: the connectedness that master control routing device and standby routing equipment are monitored link (route equipment is down link) between itself and the server respectively with and with the connectedness of the link (being up link for routing device) of external network; Determine whether to become the master control routing device according to monitoring result, to avoid occurring two master control routing devices in the local area network.This method only is applicable to that individual server inserts the situation of routing device; When inserting routing device simultaneously for two servers shown in Figure 3; Still can't avoid occurring the situation of two master control routing devices; And the probability that this problem occurs can be along with the complicated further raising of networking structure, and then can't guarantee the cut-in quality of server.
This shows that when using the VRRP agreement to insert external network for local area network, when link failure occurring and producing two above master control routing devices, prior art can't guarantee in the local network that terminal such as server inserts external network reliably.
Summary of the invention
The purpose of the embodiment of the invention provides a kind of VRRP cut-in method, device and system and VRRP routing device, when using the VRRP agreement to insert external network in order to improve local network, and the reliability that server inserts.
The embodiment of the invention provides a kind of VRRP cut-in method, comprising:
Be in VRRP routing device monitoring and the local network of major state the connectedness of link between each server;
If it is normal to monitor link, then said VRRP routing device sends to the routing device in the external network with the main frame route of said server;
If monitor link failure, the routing device of then said VRRP routing device in said external network sends first and informs message, cancels the main frame route of said server to inform the routing device in the said outside networking.
The embodiment of the invention provides a kind of VRRP access device, comprising:
The link monitoring module is used for when major state, the connectedness of link between each server in monitoring and the local network;
Main frame route sending module is used in said link monitoring module monitors to link just often the main frame route of said server being sent to the routing device in the external network;
First informs module, is used for when said link monitoring module monitors arrives link failure, and the routing device in said outside networking sends first and informs message, cancels the main frame route of said server to inform the routing device in the said external network.
The embodiment of the invention provides a kind of VRRP routing device, comprises the VRRP access device that the embodiment of the invention provides.
The embodiment of the invention provides a kind of VRRP connecting system, comprises local network and external network, and said local network comprises the VRRP routing device that the embodiment of the invention provides.
VRRP cut-in method, device and the system of the embodiment of the invention and VRRP routing device; Connectedness through link between monitoring and the server according to monitoring result, sends to other PE with the normal server host route of link; And will send out; But the server host route withdraw of link failure has guaranteed that server under any circumstance all can carry out the transmission and the reception of message according to normal link, therefore; Adopt technical scheme of the present invention; Under any circumstance (comprise the situation that causes producing two above master control routing devices because of link failure), server can both be communicated by letter through correct route with the external world normally, has improved the reliability that server inserts.
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 one to the accompanying drawing of required use in embodiment or the description of the Prior Art below introduces simply; Obviously, the accompanying drawing in describing below is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work property, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is existing a kind of networking structure sketch map based on the VRRP agreement;
Fig. 2 is the networking structure sketch map that existing a kind of server uses two network interface cards to insert;
Fig. 3 is existing a kind of network configuration signal that inserts MPLS VPN based on the VRRP agreement;
Fig. 4 is the flow chart of the VRRP cut-in method of the embodiment of the invention one;
Fig. 5 is the structural representation of the VRRP access device of the embodiment of the invention two;
Fig. 6 is the schematic flow sheet of the method that inserts of the processing VRRP of the embodiment of the invention three;
Fig. 7 is the structural representation of the device that inserts of the processing VRRP of the embodiment of the invention four.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer; To combine the accompanying drawing in the embodiment of the invention below; Technical scheme in the embodiment of the invention is carried out clear, intactly description; Obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
Based on the VRRP agreement, there is and have only a routing device to carry out the transmission of packet in many VRRP routing devices as the virtual routing device of master control routing device (Master) representative, other are standby routing equipment (Backup); When physical layer fault (shutdown) incident appears in the VRRP protocol interface, this VRRP routing device will transfer initially (Initialize) state to.
The mode that the VRRP agreement adopts the master control routing device regularly to send the VRRP notification packet is monitored the state of master control routing device.When master control routing device operate as normal, can send a VRRP notification packet at set intervals, to notify standby routing equipment: the master control routing device is in normal operating conditions; If standby routing equipment can not receive the notification packet from the master control routing device in continuous three announcements at interval; Explain that the master control routing device can't work for a certain reason, then one of them standby routing equipment can several seconds the time delay the master control routing device that escalates into to new.
Fig. 1 is existing a kind of networking structure sketch map based on the VRRP agreement; As shown in Figure 1, routing device 11 and routing device 12 operation VRRP agreements are formed a virtual routing device; Wherein routing device 11 is the master control routing device, and routing device 12 is a standby routing equipment.Server 13 in the local area network (LAN) (for example, 192.168.1.254) is set to the IP address of this virtual routing device oneself default gateway, communicates with other networks.When routing device 11 broke down, routing device 12 will be taken over routing device 11 became the master control routing device, and this takes over switching is transparent to the server in the local area network (LAN) 13.But there is switch Single Point of Faliure problem in the networking structure shown in the image pattern 1: promptly the access switch among Fig. 1 14 is if fault, and server 13 can not accesses network.
For solving above-mentioned switch Single Point of Faliure problem; Prior art often is adopted as the method that server increases the hot-standby redundancy link; For example, server adopts two-shipper or the access of two network interface card system etc., and two-shipper or two network interface card system externally only provide 1 IP address and MAC Address.Fig. 2 is the networking structure sketch map that existing a kind of server uses two network interface cards to insert; As shown in Figure 2; Server 23 adopts two network interface cards to receive respectively on access switch 14 and the access switch 15, has solved the problem of switch Single Point of Faliure, major network card 231 be equipped with 232 of network interface cards and distribute 1 IP address; The IP address at first is configured on the major network card 231, and the IP address is configured to automatically and is equipped with on the network interface card 232 when major network card 231 breaks down.
In the networking structure illustrated in figures 1 and 2, have only a station server to be articulated on the routing device in the local area network, along with development of internet technology; Network configuration can become increasingly complex; As shown in Figure 3, when multiple servers occurring and insert routing device simultaneously, if occur the situation of dual master control routing device in the network; Prior art can't guarantee the cut-in quality of server this moment; Based on this, the embodiment of the invention provides a kind of VRRP cut-in method and device, and specifies technical scheme of the present invention based on networking structure shown in Figure 3.
Fig. 4 is the flow chart of the VRRP cut-in method of the embodiment of the invention one.As shown in Figure 4, the VRRP cut-in method of present embodiment comprises:
Step 41 is in VRRP routing device monitoring and the local network of major state the connectedness of link between each server;
In conjunction with Fig. 3, the VRRP routing device that is in major state is routing device PE1, the connectedness of link between routing device PE1 monitoring itself and server 31 and the server 32.
Step 42 judges whether the connectedness of the link monitored is normal, if link is normal, and execution in step step 43 then, otherwise execution in step 44 then;
This step is used to judge whether the connectedness of link between routing device PE1 and the server 31 is normal, if the normal execution in step 43 then of link, on the contrary execution in step 44; Simultaneously, judge whether the connectedness of link between routing device PE1 and the server 32 is normal, if normal execution in step 43, on the contrary execution in step 44; Judgement to above-mentioned two connectivity of link; And be independently according to the process that judged result is carried out corresponding operating; Do not influence each other; The VRRP routing device that promptly is in major state needs to monitor respectively the link of the server that is connected with it, and the monitoring of link between each server is judged it is independently.
Step 43, the VRRP routing device sends to the routing device in the external network with the main frame route of server;
Routing device in the external network is not restricted to Special Equipments such as server, router as long as this equipment has routing function, in the present embodiment, specifically refers to the edge device PE3 among Fig. 3.
This step is used to realize that server inserts external network; Because the link of the server of access external network is normal; Therefore when the routing device in the external network during to this server transmission message; Just can message be sent to server, and then guarantee that server inserts the reliability of external network according to above-mentioned normal link.For example; If routing device PE1 is normal to the link (comprising link 101 and link 104) of server 31; Then the main frame route (192.168.1.1/32) with server 31 sends to edge device PE3; And edge device PE3 send to the message of server 31 will be according to following path: edge device PE3->routing device PE1->access switch 33->server 31, promptly will be, and link 101 and link 104 through edge device PE3 to the link between the routing device PE1.
In the present embodiment; Routing device PE1 sends to edge device PE3 through the MP-BGP agreement with the main frame route of server 31 and server 32; Concrete; According to the difference of external network, routing device PE1 can adopt different protocol that the main frame route of server is sent to the routing device in the external network.
Step 44, the VRRP routing device routing device in external network sends first and informs message, to inform the main frame route of the routing device cancellation server in the outside networking.
This step is used for when monitoring link failure; Main frame route withdraw with the server that under the link normal condition, sends before; Be meant more specifically and cancel a link of having set up to this server transmission message; Routing device in the external network will can not send message to server through above-mentioned faulty link like this, can receive message through correct link to guarantee this server.In fact; This step mainly is to be accomplished by the routing device in the external network; And different operation can be arranged because of the message forwarding mechanism that routing device adopted in the external network is different; With the most frequently used routing forwarding mechanism is example, and this step is meant that mainly routing device deletion in the external network corresponding to the route table items of the server of this link failure, comprises the main frame route of pointing to server, the next hop address and the outgoing interface of correspondence at least in this route table items.In addition; Related cancellation or delete the packet route or the message forwarding path of server in present embodiment step 44 and other embodiment of the present invention; Promptly refer to delete the corresponding route table items of this server, wherein route table items comprises the main frame route of server, corresponding next hop address and outgoing interface, and in order more clearly to describe technical scheme of the present invention; In each embodiment, be example with the whole piece message forwarding path to server all, those skilled in the art all are appreciated that.
For example; When if link 102 breaks down; Routing device PE1 will monitor and server 32 between link failure; Send first to edge device PE3 and inform message this moment; Edge device PE3 first informs message (the actual edge device PE3 that refers to deletes the route table items of corresponding with service device 32 with the main frame route of server 32 and the packet route deletion to server 32 of being set up according to this main frame route according to what receive; This route table items comprises the main frame route of server 32, corresponding next hop address and outgoing interface); Simultaneously; Routing device PE2 can become the routing device that is in major state owing to can not receive the notification packet that routing device PE1 sends in the time at continuous three notification packets, then routing device PE2 monitor and server 32 between link normal, then the main frame route with server 32 sends to edge device PE3; Then the main frame route of the edge device PE3 server 32 that can send according to routing device PE2 is set up a new packet route that leads to server 32 (the actual edge device PE3 that refers to is set up the route table items of corresponding with service device 32; This route table items comprises the main frame route of server 32, corresponding next hop address and outgoing interface): edge device PE3->routing device PE2->access switch 34->server 32, and message is sent to server 32 through this packet route, thus guarantee that server 32 can correctly receive the message of edge device PE3.
Above-mentioned steps 43 has guaranteed that with step 44 server can send message to external network through correct path, and receives the message from external network through correct path, has guaranteed that server inserts the reliability of external network.
Networking structure as shown in Figure 3; If what send to edge device PE3 is the network route of server 31 and server 32; Because server 31 has identical network segment route with server 32, i.e. 192.168.1.0/24, therefore; When edge device PE3 when server 31 sends messages with server 32, might select and misrepresent deliberately civilian path.
For example; When above-mentioned link 102 failure conditions occurring; There are above-mentioned two packet routes on the edge device PE3: edge device PE3->routing device PE1->access switch 33->server 31 and edge device PE3->routing device PE2->access switch 34->server 32; Because identical with the network segment route that arrives server 32 to server 31, therefore, edge device PE3 sends to the message of server 31; Might select packet route: edge device PE3->routing device PE2->access switch 34->server 32 causes server 31 can't receive message.
Technical scheme of the present invention is given the routing device of external network through the main frame route of send server; Rather than network segment route; Because the main frame route of each server is also inequality, thereby overcomes the problems referred to above, and guarantee that the routing device in the external network can be transmitted to correct server with message according to the route querying longest match principle; For example; Suppose to exist on the edge device PE3 main frame route of 192.168.1.0/24 network segment route and 192.168.1.1/32,, can preferentially select 192.168.1.1/32 main frame route to carry out message forwarding if the corresponding purpose IP address of edge device PE3 this moment is the 192.168.1.1 message.
The VRRP cut-in method that present embodiment provides, through sending the main frame route of the normal server of link to external network, and the main frame route of the server of cancellation link failure first inform message; Guarantee that server inserts external network through normal link, can either send message to external network, also can receive the message of external network through correct link through correct link; Guaranteed the reliability when server inserts external network; Technical scheme of the present invention is different with prior art, from the angle of connectivity of link, even there is the routing device of a plurality of major states; Also can guarantee the transmission that server is correct and receive message; Shield the notion of dual master control routing device in a sense, guaranteed that server inserts the reliability of external network, improved the quality of server access external network.
Further, technical scheme of the present invention also comprises: routing device becomes the situation of non-major state by major state, and wherein non-major state specifically comprises Status of Backups and initial condition.For example; Under the situation that has two master control routing devices (promptly having two routing devices that are in major state); If faulty link recovers normal again; Local network will be selected the master control routing device again, and then based on the election strategy of the master control routing device in the VRRP agreement, the master control routing device that priority level is high will continue as the master control routing device; And the low master control routing device of priority level will become standby routing equipment (being in the routing device of Status of Backups), and promptly routing device becomes Status of Backups by major state.Perhaps physical layer fault (shutdown) incident appears in master control routing device operation VRRP protocol interface, and then routing device directly becomes initial condition by major state.
For guaranteeing under any circumstance; Server can both insert external network reliably; Technical scheme of the present invention also comprises: when routing device becomes non-major state (Status of Backups or initial condition) by major state; Stop the monitoring of link between itself and the server; And message is informed in the transmission of the routing device in external network second; Wherein second inform that message is used for informing the routing device at outside networking: will become the main frame route of the server that the routing device of non-major state (Status of Backups or initial condition) sends and the packet route deletion to each server of being set up from major state by above-mentioned, the link that belongs to the message that guarantees the to send to server master control routing device through above-mentioned reservation sends to server, makes server correctly receive message.And the master control routing device need continue to monitor the connectedness of recovering normal link, and sends the main frame route of respective server to other PE equipment through routing module.
Further again; Technical scheme of the present invention also comprises: the routing device that is in non-major state (Status of Backups or initial condition) becomes the situation of major state; For example; For a certain reason, when standby routing equipment when three continuous notification packets can not receive the notification packet of master control routing device in the time, just can transfer major state to from Status of Backups.Perhaps be in the routing device operation VRRP protocol interface physical layer fault recovery (promptly up) again of initial condition and become the master control routing device through VRRP agreement election strategy.At this moment, the routing device that is in major state need be monitored the connectedness of link between itself and the server equally, and confirms that according to monitoring result the main frame route of the routing device send server in external network still is to send first to inform and specifically comprise message:
When monitoring first, if monitor and server between link normal, then the routing device in external network sends the main frame route of this server; If monitor and server between link failure; Then this server is not handled; Promptly do not send the main frame route of this server to external network, the main frame route of this server can send to the routing device in the external network by other routing devices that is in major state;
During follow-up monitoring; If monitor and server between the chain route normally become fault; Then send first and inform message to external network; With main frame route of informing this server of routing device cancellation in the external network and the packet route of being set up, the reliability when inserting external network with the assurance server to this server.
Can know based on foregoing description; Technical scheme of the present invention has been considered the situation that the situation and in master control and non-master control two kind operating states take place of routing device under master control and two kinds of operating states of non-master control changes comprehensively; Therefore; Reliability when technical scheme of the present invention can fully guarantee server access external network improves its cut-in quality.
Provide the method for monitoring connectivity of link in the present embodiment below, specific as follows:
The VRRP routing device that is in major state starts monitor timer, simultaneously regularly to server transmitting supervisory message, requires cycle of transmitting supervisory message to be less than the timing length of monitor timer; Wherein, the monitoring message can be Internet Control Message Protocol response message (Internet Control MessageProtocol Echo; ICMP ECHO) or arp request message (AddressResolution Protocol REQUEST abbreviate as:; Abbreviate as: ARP REQUEST); It can also be the message that is in the extended formatting that the VRRP routing device of major state sets; Can discern as long as guarantee server, it is fixed which kind of specifically uses can come according to the situation of real server, for example; If server is opened fire compartment wall and closed the ICMP response function, then can adopt ARP REQUEST message to monitor.
Then; The VRRP routing device that is in major state is according to the message that possibly receive; Carry out corresponding operation, specifically comprise: in timing, receive the response message that server returns if be in the VRRP routing device of major state, the server that returns response message is described and the link that is between the VRRP routing device of major state normal; Master control this moment routing device resets corresponding monitor timer; And proceed connectivity of link monitoring, and through certain agreement (for example MP-BGP agreement) the main frame route of this server being sent to the routing device in the external network, this moment, this server successfully inserted external network;
If the VRRP routing device that is in major state receives the instruction of overflowing that monitor timer sends; Link failure between the VRRP routing device that sends the pairing server of the monitor timer that overflows instruction and be in major state is described; At this moment; The VRRP routing device that is in major state is judged link failure between respective server and the master control routing device; Then inform that through first message informs that the link failure of this server of routing device in the external network need be with the deletion of the packet route of server, to guarantee that server insert external network according to normal link.
In addition; If the VRRP routing device that is in major state is in the connective observation process that monitors after monitor timer overflows instruction; Receive the response message that server returns again; The link-recovery of this server being described and being between the VRRP router device of major state is normal; The VRRP routing device that be in major state this moment resets corresponding monitor timer, through certain agreement (for example MP-BGP agreement) the main frame route of this server is sent to the routing device in the external network again, and this server can successfully insert external network again at this moment.
Below in conjunction with Fig. 3, explain how technical scheme of the present invention is implemented under various situation:
Networking structure shown in Figure 3 is made following hypothesis: local network uses VRRP technology accessing multi-protocol sign exchange virtual special network network (Multiprotocol Label Switching Virtual PrivateNetwork; Abbreviate as: backbone network MPLS VPN); The local network link just often; Routing device PE1 is the master control routing device; Routing device PE2 is a standby routing equipment, and the IP address of virtual routing device is 192.168.1.254/24, uses the IP address of the two-server of active and standby network interface card access to be respectively 192.168.1.1/24 and 192.168.1.2/24 in the local network.
The connectedness of link between routing device PE1 monitoring and server 31 and the server 32 at first; Be specially: the timing length of setting monitor timer; Open the monitor timer corresponding with server 31 and server 32; Send ICMP ECHO message or ARPREQUEST message to server 31 and server 32 simultaneously, the cycle of wherein sending ICMP ECHO message or ARP REQUEST message is less than the timing length of setting; And routing device PE2 this moment does not monitor and server 31 and server 32 between the connectedness of link;
If routing device PE1 receives the response message that server 31 and server 32 return in the timing length of setting; For example ICMP ECHO replys (REPLY) message or arp reply (REPLY) message; Then think and server 31 and server 32 between the connective monitoring result of link be normally; Therefore; Monitor timer is resetted, carry out the monitoring of next round, and the main frame route 192.168.1.1/32 of server 31 and the main frame route 192.168.1.2/32 of server 32 are sent to other equipment such as edge device PE3 through the MP-BGP agreement; Wherein, other equipment can comprise routing device PE2, also can not comprise routing device PE2, because whether routing device PE2 receives the main frame route and the technical scheme of the present invention of server concern not quite, so this is not limited.
Concrete edge device PE3 only exists the main frame route 192.168.1.1/32 of the server 31 that routing device PE1 sends and the main frame route 192.168.1.2/32 of server 32; Therefore; When edge device PE3 when server 31 or server 32 sends messages; Can pass through correct forward-path: edge device PE3->routing device PE1->access switch->server; Concrete, for server 31, this message forwarding path can be: edge device PE3->routing device PE1->access switch 33->server 31; As far as server 32, this message forwarding path can be: edge device PE3->routing device PE1->access switch 33->access switch 34->server 32.
If routing device PE1 receives the instruction of overflowing of monitor timer, then think to describe link failure below in conjunction with concrete failure condition:
1, the 101 physical layer faults of the link between routing device PE1 and the access switch 33
Based on the VRRP agreement; At this moment; Routing device PE2 becomes the master control routing device; Routing device PE1 becomes the routing device that is in initial condition, and routing device PE1 closes monitor timer, stops to server 31 and server 32 transmitting supervisory messages; With stop to monitor and server 31 and server 32 between the connectedness of link, and inform that through second message sends to the main frame route 192.168.1.1/32 of other device service devices 31 such as edge device PE3 and the main frame route 192.168.1.2/32 of server 32 before cancelling;
Routing device PE2 opens monitor timer; The connectedness of link between monitoring and server 31 and the server 32; And and the monitoring result of link is normally between server 31 and the server 32; The main frame route 192.168.1.1/32 of server 31 and the main frame route 192.168.1.2/32 of server 32 are sent to other equipment such as edge device PE3; Then the message forwarding path on the edge device PE3 is: edge device PE3->routing device PE2->access switch->server; Concrete, for server 31, this message forwarding path is: edge device PE3->routing device PE2->access switch 34->access switch 33->server 31; For server 32, this message forwarding path is: edge device PE3->routing device PE2->access switch 34->server 32.
2, link 101 faults between routing device PE1 and the access switch 33, but physical layer is communicated with
Based on the VRRP agreement; This moment routing device PE1 and routing device PE2 all become the master control routing device (specifically because of routing device PE2 at continuous three notification packets in the time; Do not receive the notification packet that routing device PE1 sends; Therefore upgrade to the master control routing device), still, have only between routing device PE2 and server 31 and the server 32 the connectivity of link monitoring result normal; And the connectivity of link monitoring result is a fault between routing device PE1 and server 31 and the server 32; Therefore, routing device PE1 informs message through first, informs that the branch of main frame route and the foundation of other equipment cancellation servers 31 such as edge device PE3 and server 32 is clipped to the message forwarding path of server 31 and server 32.
And the main frame route 192.168.1.1/32 of server 31 and the main frame route 192.168.1.2/32 of server 32 are sent to other equipment such as edge device PE3 by routing device PE2; Then the message forwarding path on the edge device PE3 is: edge device PE3->routing device PE2->access switch->server; Concrete; For server 31, this message forwarding path is: edge device PE3->routing device PE2->access switch 34->access switch 33->server 31; For server 32, this message forwarding path is: edge device PE3->routing device PE2->access switch 34->server 32.
3, link 102 faults between access switch 33 and the access switch 34, but physical layer is communicated with
Based on the VRRP agreement; This moment routing device PE1 and routing device PE2 all become the master control routing device (specifically because of routing device PE2 at continuous three notification packets in the time; Can not receive the notification packet that routing device PE1 sends; Therefore upgrade to the master control routing device); The connectivity of link monitoring result is normal between routing device PE1 and the server 31, and the connectivity of link monitoring result is a fault between the server 32, therefore; The main frame route 192.168.1.1/32 of a routing device PE1 send server 31 gives other equipment such as edge device PE3, informs through first that message is informed the main frame route 192.168.1.2/32 of other equipment cancellation servers 32 such as edge device PE3 simultaneously and to the message forwarding path of server 32;
In like manner; Connectivity of link monitoring result fault between routing device PE2 and the server 31; And the connectivity of link monitoring result is normal between the server 32; Therefore; The main frame route 192.168.1.2/32 of a routing device PE2 send server 32 gives other equipment such as edge device PE3, and then the message forwarding path on the edge device PE3 is: edge device PE3->routing device PE1->access switch 33->server 31 and edge device PE3->routing device PE2->access switch 34->server 32.
4, link 103 physical layer faults between routing device PE2 and the access switch 34
Based on the VRRP agreement; This moment, routing device PE1 still was the master control routing device; Routing device PE2 is because link failure becomes the routing device of initial condition; The connectivity of link monitoring result is normal between routing device PE1 and server 31 and the server 32; The main frame route 192.168.1.1/32 of server 31 and the main frame route 192.168.1.2/32 of server 32 are sent to other equipment such as edge device PE3, and then the message forwarding path on the edge device PE3 is: edge device PE3->routing device PE1->access switch->server, concrete; For server 31, this message forwarding path is: edge device PE3->routing device PE1->access switch 33->server 31; For server 32, this message forwarding path is: edge device PE3->routing device PE1->access switch 33->access switch 34->server 32.
5, link 103 faults between routing device PE2 and the access switch 34, but physical layer is communicated with
Based on the VRRP agreement; This moment routing device PE1 and routing device PE2 all become the master control routing device (specifically because of routing device PE2 at continuous three notification packets in the time; Can not receive the notification packet that routing device PE1 sends, therefore upgrade to the master control routing device), still; Have only between routing device PE1 and server 31 and the server 32 the connectivity of link monitoring result normal; And the connectivity of link monitoring result is a fault between routing device PE2 and server 31 and the server 32, and therefore, routing device PE1 sends to other equipment such as edge device PE3 with the main frame route 192.168.1.1/32 of server 31 and the main frame route 192.168.1.2/32 of server 32; Then the message forwarding path on the edge device PE3 is: edge device PE3->routing device PE1->access switch->server; Concrete, for server 31, this message forwarding path is: edge device PE3->routing device PE1->access switch 33->server 31; For server 32, this message forwarding path is: edge device PE3->routing device PE1->access switch 33->access switch 34->server 32.
6, certain bar link (comprising link 104, link 105, link 106 and the link 107) fault between server 31 or server 32 and access switch 33 or the access switch 34 but physical layer are connected, perhaps the physical layer fault
Based on two network interface card system; This moment server 31 major network card 311 and be equipped with the major network card 322 of network interface card 312 or server 32 and be equipped with between the network interface card 321 and automatically switch, promptly switch to fully on the network interface card, wherein by the major network card; The master control routing device still is routing device PE1; Then the message forwarding path on the edge device PE3 is: edge device PE3->routing device PE1->access switch->server, concrete, for server 31; This message forwarding path is: edge device PE3->routing device PE1->access switch 33->server 31; Perhaps, if 31 pairs of network interface cards of server switch, then forward-path is: edge device PE3->routing device PE1->access switch 33->access switch 34->server 31; For server 32; This message forwarding path is: edge device PE3->routing device PE1->access switch 33->access switch 34->server 32; Perhaps; If 32 pairs of network interface cards of server switch, then forward-path is: edge device PE3->routing device PE1->access switch 33->server 32.
7, access switch 33 complete machine physical layer faults
Based on the VRRP agreement; This moment, routing device PE2 became the master control routing device; Routing device PE1 becomes the routing device that is in initial condition; Realize between the server 31 that two network interface cards switch, promptly server 31 is received access switch 34 through being equipped with network interface card 312, and specifically the operation of each routing device and above-mentioned first kind of situation are similar; Its difference is; Server 31 needs to insert through being equipped with network interface card, and then server 31 corresponding message forwarding paths are: edge device PE3->routing device PE2->access switch 34->server 31, and server 32 corresponding message forwarding paths are all with first kind of situation mutually: edge device PE3->routing device PE2->access switch 34->server 32.
8, access switch 33 complete machine faults, but physical layer is communicated with
Based on the VRRP agreement; Routing device PE1 and routing device PE2 become the master control routing device; And realize between the server 31 that two network interface cards switch, promptly receive access switch 34 based on being equipped with network interface card 312, specific operation process is similar with above-mentioned second kind of situation afterwards; Its difference is; Server 31 needs to insert through being equipped with network interface card 312, and then server 31 corresponding message forwarding paths are: edge device PE3->routing device PE2->access switch 34->server 31, and server 32 corresponding message forwarding paths are all with second kind of situation mutually: edge device PE3->routing device PE2->access switch 34->server 32.
9, access switch 34 complete machine physical layer faults
Routing device PE1 still is the master control routing device; Routing device PE2 becomes the routing device that is in initial condition; Server 32 automaticallyes switch through two network interface cards, receives access switch 33 in order to network interface card 321, and specific operation process is similar with above-mentioned the 4th situation; Difference is; Server 32 needs to insert through being equipped with network interface card 321, and then server 32 corresponding message forwarding paths are: edge device PE3->routing device PE1->access switch 33->server 32, and server 31 corresponding message forwarding paths are all with the 4th kind of situation mutually: edge device PE3->routing device PE1->access switch 33->server 31.
10, access switch 34 complete machine faults, but physical layer is communicated with
At this moment; Routing device PE1 and routing device PE2 are the master control routing device; Server 32 automaticallyes switch through two network interface cards, receives access switch 33 in order to network interface card 321, and specific operation process is similar with above-mentioned the third situation; Its difference is; Server 32 inserts through being equipped with network interface card 321, and then server 32 corresponding message forwarding paths are: edge device PE3->routing device PE1->access switch 33->server 32, server 31 corresponding message forwarding paths are all with the third situation mutually: edge device PE3->routing device PE1->access switch 33->server 31.
Can know through top detailed description; Technical scheme of the present invention is sent the normal server host route of link through the routing device in external network; Can correctly send message and receive message during with assurance server access network; Shielded the notion of dual master control routing device,, improved the cut-in quality of server even exist the dual master control routing device also can guarantee reliability and correctness that server inserts in the local area network.
Fig. 5 is the structural representation of the VRRP access device of the embodiment of the invention two; The VRRP access device 50 (hereinafter to be referred as access device) that present embodiment provides is arranged in the local network; Can be wholely set with the VRRP routing device in the local network, also can independently be provided with and be connected with the VRRP routing device, present embodiment is example to be wholely set with the VRRP routing device; As shown in Figure 5, access device 50 comprises: link monitoring module 51, main frame route sending module 52 and first are informed module 53.
Wherein, link monitoring module 51 is used for when access device 50 is in major state, the connectedness of link between each server in monitoring access device 50 and the local network, and monitoring result is offered main frame route sending module 52 and first inform module 53.Concrete, the normal link that is monitored is offered main frame route sending module 52, the faulty link that is monitored is offered first inform module 53.
The main frame route that main frame route sending module 52 will receive the normal server of link sends to the routing device of external network; First informs that module 53 is used for informing message to the routing device transmission first of external network, cancels the main frame route of the server of link failure to inform the routing device in the external network.
The access device that present embodiment provides; Inform that through main frame route sending module and first module is to the main frame route of the normal server of external network transmission link and the main frame route of the server of cancellation link failure; Even under the situation that the dual master control routing device exists, also can make server pass through correct link transmission and reception message, shielded the notion of dual master control routing device to a certain extent; Guarantee the reliability when server inserts external network, improved cut-in quality.
Further, this access device 50 comprises that also state monitoring module 54 and second informs module 55.State monitoring module 54 is connected with link monitoring module 51; Be used to monitor the state of access device 50; Promptly monitoring access device 50 is in major state or is in non-major state (Status of Backups or initial condition); And send the major state index signal when access device 50 is in major state monitoring, and when being in Status of Backups or initial condition, sends access device 50 non-major state index signal monitoring, and said major state index signal or said non-major state index signal are provided for link monitoring module 51; Link monitoring module 51 judges whether to start the connectedness of link between monitoring and each server according to the index signal that receives.Wherein, the method for the state of monitoring access device 50 can realize based on the election strategy of the master control routing device in the VRRP agreement, for example can judge whether this access device is in major state through the notification packet of monitoring access device 50 transmissions.
Second informs module 55; Be connected with state monitoring module 54; Be used for when the index signal that receives is become non-major state index signal by the major state index signal; Routing device in external network sends second and informs message, cancels the main frame route of the server of main frame route sending module 52 transmissions to inform the routing device in the external network.
Wherein, The variation of index signal representes that access device 50 becomes non-major state by major state; The main frame route of the server that therefore need access device 50 be sent; And the message forwarding path cancellation to server of setting up, for example realize through deletion, can insert external network through correct link to guarantee server.
Technique scheme; Judge the state of access device through state monitoring module; And through second inform module cancellation server the main frame route; When guaranteeing that access device becomes non-major state by major state, server inserts the reliability of external network, further perfect technical scheme of the present invention.
Concrete, link monitoring module 51 comprises: timing unit, be connected with state monitoring module, and be used for when receiving said major state index signal, starting, carry out periodic monitor with connectivity of link to server; Packet sending unit is connected with timing unit, is used for when timing unit starts, and regularly to server transmitting supervisory message, requires cycle of transmitting supervisory message to be less than the timing length of timing unit; The message receiving element; Be connected with main frame route sending module with timing unit; Be used for the response message that reception server sends; And when receiving response message, send the normal index signal of link to offer main frame route sending module, make main frame route sending module according to the main frame route of the normal index signal of this link to the external network send server; And overflow the command reception unit; Inform that with timing unit and first module is connected, be used for when timing unit starts, receive the instruction of overflowing that timing unit sends; And the time send the link failure index signal in the instruction of overflowing that receives timing unit; Offer first and inform module, make first to inform that module sends first according to this link failure index signal to external network and inform message, to inform the main frame route of this server of routing device cancellation in the external network.
Wherein, above-mentioned monitoring message can be ICMP ECHO message or ARP REQUEST message.
Technique scheme provides the method for the connectedness of link between a kind of access device monitoring and the server; Further; This link monitoring module 51 can comprise a plurality of timing units and corresponding a plurality of packet sending unit, a plurality of message receiving element and a plurality of command reception unit that overflows of comprising, to realize the connectedness of link between monitoring and a plurality of server.
Technique scheme; Specifically provided implementation method and the apparatus structure of realizing the connectivity of link monitoring, the VRRP access device of present embodiment can be used to carry out the VRRP cut-in method that the embodiment of the invention provides; Concrete implementation procedure can be with reference to the description to the VRRP cut-in method; This VRRP access device is realized based on the VRRP agreement, through the main frame route of sending the normal server of connectivity of link to other routing devices, makes server insert other networks based on correct link; Guarantee reliability and correctness that server inserts, improved the cut-in quality of server.
Fig. 6 is the schematic flow sheet of the method that inserts of the processing VRRP of the embodiment of the invention three; The executive agent of present embodiment is the routing device in the external network; Present embodiment is example with edge device PE3 shown in Figure 3, and is as shown in Figure 6, and the method that the processing VRRP of present embodiment inserts comprises:
Step 61, edge device PE3 judges the message content that the VRRP routing device receive sends, if the main frame route of server, then execution in step 62, if first inform message, then execution in step 63;
Step 62, edge device PE3 is according to the main frame route of the server that receives, and the main frame route of storage server and the message forwarding path of setting up according to the main frame route of this server to server are to send message according to message forwarding path to server;
If edge device receives the main frame route of server; Explain that then this server is normal to the link of edge device PE3; Edge device PE3 can set up a message forwarding path to server according to the main frame route of server; And storage, message is sent through this message forwarding path.Based on routing forwarding mechanism; The message forwarding path of being set up by edge device PE3 to server is specially the routing table of setting up the corresponding with service device; This routing table comprises the main frame route of server, corresponding next hop address and outgoing interface; For clearer explanation technical scheme of the present invention, be example all in the various embodiments of the present invention with whole piece path to server, and in follow-up no longer explanation.
Step 63, edge device PE3 informs message according to first, deletes the main frame route of this server and to the message forwarding path of this server.
This step be used for the VRRP routing device monitor and server between link failure the time; Guarantee that server inserts external network through correct link; Concrete principle is: the link occurs fault when inserting external network as if server through a VRRP routing device; Then have another VRRP routing device and take over former VRRP routing device this server access external network; Therefore, edge device PE3 needs to have the message forwarding path deletion to server of setting up according to the server host route of former VRRP routing device announcement, and sets up the new message forwarding path to server according to the server host route of new VRRP routing device announcement.
The method that the processing VRRP that present embodiment provides inserts; Describe from the routing device end of external network; Inform message execution corresponding process operations based on the main frame route or first of the server that receives; Send message through the normal message forwarding path of link to server with assurance, and then guarantee that server receives message through correct link, guaranteed that server inserts the reliability of external network; Simultaneously, the present embodiment technical scheme need not consider whether there is the dual master control routing device, only needs to go to consider from link perspective, has shielded the notion of dual master control routing device in a sense, compared with prior art, simply is easy to realize.
Further; The technical scheme that inserts with local network end VRRP of the present invention adapts; The technical scheme that external network of the present invention is handled the VRRP access also comprises: inform message if edge device PE3 receives second of VRRP routing device transmission; Then inform message according to second, deletion is by the main frame route of each server of VRRP routing device transmission and the message forwarding path of setting up according to the main frame route of each server to each server.
This step is used for when the VRRP routing device becomes non-major state (Status of Backups or initial condition) by major state; Guarantee the reliability when server inserts external network; Concrete principle is: based on the VRRP agreement; When the VRRP routing device that is in major state becomes non-major state; Be in the connectedness of link between VRRP routing devices monitorings and each server of major state by other, and inform message according to the main frame route or first of routing device (edge device PE3) send server of monitoring result in outside networking; Therefore; Second inform message through what present embodiment provided; The main frame route of the server that the VRRP routing device that was in major state is originally sent; And set up to the deletion of the message forwarding path of server, receiving the main frame route of the new VRRP routing device that is in major state, and rebulid the message forwarding path of server; Can guarantee that edge device PE3 changes to the variation with the VRRP routing device that is in major state of the message forwarding path of each server; And then guarantee that server receives message through correct message forwarding path, and guarantee the reliability when server inserts external network, improve the quality that server inserts external network.
Fig. 7 is the structural representation of the device that inserts of the processing VRRP of the embodiment of the invention four; The device (being designated hereinafter simply as processing unit) that the processing VRRP of present embodiment inserts is arranged in the external network; Specifically can be wholely set with routing device in the external network, also can independently be provided with and with external network in routing device be connected.As shown in Figure 7, the processing unit 70 of present embodiment comprises first receiver module 71, memory module 72, message sending module 73, second receiver module 74 and first removing module 75.
First receiver module 71 receives the main frame route of the server of VRRP routing device transmission; And store the main frame route of server and the message forwarding path set up according to the main frame route of this server into memory module 72, according to this message forwarding path message is sent to server for message sending module 73.
Second receiver module 74 is used to receive that the VRRP routing device sends first informs message, wherein first informs that message is to send when monitoring the link failure of server by the VRRP routing device.First removing module 75 is connected with second receiver module 74; Be used for first informing message the main frame route of deletion server and to the message forwarding path of this server (specifically can inform that it is that message is known for which server) by first according to what second receiver module 74 received.
Further, the processing unit 70 of present embodiment also comprises: the 3rd receiver module 76 and second removing module 77.Concrete, the 3rd receiver module 76 is used to receive that the VRRP routing device sends second informs message when being become non-major state (Status of Backups or initial condition) by major state; Second removing module 77 is connected with the 3rd receiver module 76; Be used for informing message according to second; The main frame route of each server that deletion is sent by this VRRP routing device, and the message forwarding path of being set up according to the main frame route of each server to each server.
Wherein, First removing module 75 is used to delete the main frame route of concrete certain server; And the message forwarding path that arrives this server; And second removing module 77 is used to delete the main frame route of each server that certain VRRP routing device sends and to the message forwarding path of each server, a VRRP routing device can send the main frame route of a plurality of servers.
The device that the processing VRRP that present embodiment provides inserts; Be arranged at the external network end; Cooperatively interact with the VRRP access device that is arranged in the local network; Through first receiver module, message sending module and second receiver module, first removing module, send message to the normal server of link, and the main frame route of the server of deletion link failure and to the message forwarding path of this server; Guarantee that server can receive the message that external network sends according to normal link; And need not consider whether to exist in the local network a plurality of VRRP routing devices that are in major state, and guaranteed that server inserts the reliability of external network, improved the quality of server access external network.
The embodiment of the invention provides a kind of VRRP routing device, comprises the VRRP access device that the above embodiment of the present invention provides.When having server to insert; This VRRP routing device inserts external network through the VRRP access device with this server; Structure based on the VRRP access device; The VRRP routing device that present embodiment provides will and between it normal server of link insert external network, guaranteed that server can insert external network through correct link, improve the reliability that server inserts external network.
The embodiment of the invention also provides a kind of VRRP connecting system; Comprise local network and external network; Wherein local network comprises the VRRP routing device that the above embodiment of the present invention provides, and wherein the VRRP routing device comprises the VRRP access device that is arranged in the local network, and external network comprises the device that is arranged at the processing VRRP access in the outside networking that the above embodiment of the present invention provides; Present embodiment combines networking structure figure shown in Figure 3; And, the operation principle of present embodiment connecting system is described based on the device that the described VRRP access device of Fig. 5 and processing VRRP shown in Figure 7 insert, specific as follows:
At first suppose: local network is the network that is in below Fig. 3 dotted line, and external network is the network that is in above Fig. 3 dotted line, and access device 50 is wholely set with routing device PE1 and routing device PE2 respectively, and processing unit 70 is wholely set with edge device PE3.
The connectedness of link between 51 monitorings of link monitoring module and server 31 and the server 32; If it is normal to monitor link; Then the main frame route of server is sent to first receiver module 71 through main frame route sending module 52; First receiver module 71 stores in the memory module 72 with the main frame route of server 31 and server 32 and to the message forwarding path of server 31 and server 32; Message sending module 73 sends to server 31 and server 32 according to above-mentioned message forwarding path respectively with message; Wherein, the message forwarding path to server 31 is: edge device PE3->routing device PE1->access switch->server 31; Message forwarding path to server 32 is: edge device PE3->routing device PE1->access switch->server 32.
After after a while; Suppose that link monitoring module 51 monitors and server 31 between link occurs fault; Then inform that through first module 53 sends first to second receiver module 74 and inform message; Inform that first removing module 75 is with the main frame route of server 31 and message forwarding path (edge device PE3->routing device PE1->access switch->server 31) deletion; To avoid processing unit 70 (or edge device PE3) still to pass through message forwarding path: edge device PE3->routing device PE1->access switch->server 31 sends messages to server 31, causes server 31 to can not receive message, promptly can't insert external network.
And this moment; The state of routing device PE2 can become major state; And its monitor and server 31 between link normal; Then send to first receiver module 71 among the edge device PE3 through main frame route sending module 52; First receiver module 71 is with the main frame route of server 31 and to the message forwarding path of server 31: edge device PE3->routing device PE2->access switch->server 31 stores memory module 72 into; Message sending module 73 is according to this message forwarding path: edge device PE3->routing device PE2->access switch->server 31 sends messages to server 31, and server 31 can receive the message that edge device PE3 sends based on this normal link, thereby successfully inserts external network.
The system that present embodiment provides guarantees that based on the device of the processing VRRP access of VRRP access device that is arranged at local network and external network server successfully inserts external network in the local network, has improved the quality of server access external network.Avoided prior art can't guarantee the integrity problem of server access external network under the dual master control routing device.
Further; The connecting system of present embodiment is informed the 3rd receiver module 76 and second removing module 77 in module 55 and the processing unit 70 through second in the access device 50; When the state that is implemented in routing device PE1 or routing device PE2 changes, guarantee that server can normally insert external network.
For example; When routing device PE1 becomes non-major state (Status of Backups or initial condition) by major state; And routing device PE2 becomes major state by non-major state state (Status of Backups or initial condition); Then routing device PE1 informs that through second module 55 sends second to the 3rd receiver module 76 of edge device PE3 and inform message; To inform the main frame route of second removing module, 77 deletions by the server 31 and the server 32 of routing device PE1 transmission; And to the message forwarding path of server 31: edge device PE3->routing device PE1->access switch->server 31 and to the message forwarding path of server 32: edge device PE3->routing device PE1->access switch->server 32; And routing device PE2 sends to the main frame route of server that monitors 31 and server 32 first receiver module 71 of edge device PE3; And store the message forwarding path of server 31 into: edge device PE3->routing device PE2->access switch->server 31; With to the message forwarding path of server 32: edge device PE3->routing device PE2->access switch->server 3; Still can insert external network according to correct link through aforesaid operations server 31 and server 32, realize and the communicating by letter of external network.
In sum; Technical scheme of the present invention is from link perspective; Send normal link and the method for informing routing device deletion faulty link in the external network through the routing device in external network, no matter whether have a plurality of master control routing devices in the local network, total energy guarantees that server inserts external network through correct link; Realized that server inserts external network reliably, improved the quality of server access external network.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be accomplished through the relevant hardware of program command; Aforesaid program can be stored in the computer read/write memory medium; This program the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
What should explain at last is: above embodiment is only in order to explaining technical scheme of the present invention, but not to its restriction; Although with reference to previous embodiment the present invention has been carried out detailed explanation, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these are revised or replacement, do not make the spirit and the scope of the essence disengaging various embodiments of the present invention technical scheme of relevant art scheme.

Claims (11)

1. a VRRP cut-in method is characterized in that, comprising:
Be in VRRP routing device monitoring and the local network of major state the connectedness of link between each server;
If it is normal to monitor link, then said VRRP routing device sends to the routing device in the external network with the main frame route of said server;
If monitor link failure, the routing device of then said VRRP routing device in said external network sends first and informs message, cancels the main frame route of said server to inform the routing device in the said outside networking.
2. VRRP cut-in method according to claim 1 is characterized in that, also comprises:
When said VRRP routing device becomes non-major state by major state; Stop to monitor and each said server between the connectedness of link; And the routing device in said external network sends second and informs message, the main frame route of the server that is sent by said VRRP routing device with the routing device cancellation of informing in the said external network.
3. VRRP cut-in method according to claim 2 is characterized in that, the connectedness of link between each server in said VRRP routing device monitoring that is in major state and the local network is specially:
Said VRRP routing device starts and the corresponding monitor timer of said server, regularly to said server transmitting supervisory message, sends the timing length of the cycle of said monitoring message less than said monitor timer simultaneously;
If said VRRP routing device receives response message in said monitor timer timing, then said monitor timer is resetted, and the link between judgement and the said server is normal;
If said VRRP routing device receives the instruction of overflowing of said monitor timer, then judge and said server between link failure.
4. VRRP cut-in method according to claim 3 is characterized in that, also comprises:
If receive the said said VRRP routing device that overflows instruction, in follow-up observation process, receive the response message of said server again, then said monitor timer is resetted, and the link between judgement and the said server is normal.
5. VRRP cut-in method according to claim 4 is characterized in that, when said VRRP routing device becomes non-major state by major state, stop to monitor and each said server between the connectedness of link, be specially:
Said VRRP routing device is closed and the corresponding monitor timer of said server, and stops to send said monitoring message to said server, with stop to monitor and said server between the connectedness of link.
6. according to each described VRRP cut-in method of claim 3-5, it is characterized in that said monitoring message is Internet Control Message Protocol response message or arp request message.
7. a VRRP access device is characterized in that, comprising:
The link monitoring module is used for when major state, the connectedness of link between each server in monitoring and the local network;
Main frame route sending module is used in said link monitoring module monitors to link just often the main frame route of said server being sent to the routing device in the external network;
First informs module, is used for when said link monitoring module monitors arrives link failure, and the routing device in said outside networking sends first and informs message, cancels the main frame route of said server to inform the routing device in the said external network.
8. VRRP access device according to claim 7 is characterized in that, also comprises:
State monitoring module; Be connected with said link monitoring module; Be used to monitor the state of said VRRP access device, and, send the major state index signal monitoring said VRRP access device when being major state; Monitoring said VRRP access device when being non-major state, send non-major state index signal;
Second informs module; Be connected with said state monitoring module; Be used for when the index signal that receives is become said non-major state index signal by said major state index signal; Routing device in said outside networking sends second and informs message, cancels the main frame route of the said server that is sent by said main frame route sending module to inform the routing device in the said external network.
9. VRRP access device according to claim 8 is characterized in that, said link monitoring module comprises:
Timing unit is connected with said state monitoring module, is used for when receiving said major state index signal, starting;
Packet sending unit is connected with said timing unit, is used for when said timing unit starts, regularly to said server transmitting supervisory message, wherein, sending the timing length of the cycle of said monitoring message less than said timing unit;
The message receiving element is connected with said main frame route sending module with said timing unit, is used to receive the response message that said server sends, and when receiving said response message, sends the normal index signal of link to said main frame route sending module;
Overflow the command reception unit, inform that with said first module is connected, be used to receive the instruction of overflowing that said timing unit sends, and receiving saidly when overflowing instruction, inform that to said first module sends the link failure index signal with said timing unit.
10. a VRRP routing device is characterized in that, comprises each described VRRP access device like claim 7-9.
11. a VRRP connecting system comprises local network and external network, it is characterized in that, said local network comprises VRRP routing device as claimed in claim 10.
CN200910226171.5A 2009-11-24 2009-11-24 VRRP (Virtual Router Redundancy Protocol) access method, device and system, as well as VRRP routing equipment Expired - Fee Related CN101764744B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910226171.5A CN101764744B (en) 2009-11-24 2009-11-24 VRRP (Virtual Router Redundancy Protocol) access method, device and system, as well as VRRP routing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910226171.5A CN101764744B (en) 2009-11-24 2009-11-24 VRRP (Virtual Router Redundancy Protocol) access method, device and system, as well as VRRP routing equipment

Publications (2)

Publication Number Publication Date
CN101764744A CN101764744A (en) 2010-06-30
CN101764744B true CN101764744B (en) 2012-05-23

Family

ID=42495737

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910226171.5A Expired - Fee Related CN101764744B (en) 2009-11-24 2009-11-24 VRRP (Virtual Router Redundancy Protocol) access method, device and system, as well as VRRP routing equipment

Country Status (1)

Country Link
CN (1) CN101764744B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103843286B (en) * 2011-05-19 2018-05-15 爱立信(中国)通信有限公司 For the method and apparatus based on the triggering router state change of exchanger connectivity
CN102437943B (en) * 2011-12-31 2015-07-08 深圳市共进电子股份有限公司 Method and device for surfing Internet based on 3G ( 3rd Generation Telecommunication) data card
CN102904818B (en) * 2012-09-27 2015-11-25 北京星网锐捷网络技术有限公司 A kind of ARP information entry updating method and device
CN103095600B (en) * 2013-02-07 2015-09-16 杭州华三通信技术有限公司 A kind of method of the load balancing based on Trill network and routing device
CN103560955B (en) * 2013-10-24 2016-09-28 华为技术有限公司 Redundance unit changing method and device
CN106411574B (en) * 2016-09-05 2020-01-03 新华三信息技术有限公司 Management control method and device
CN106789636A (en) * 2017-03-21 2017-05-31 山东超越数控电子有限公司 A kind of High Availabitity reliable network access control system and system
CN109831341B (en) * 2019-03-19 2021-10-15 中国电子科技集团公司第三十六研究所 Method and device for rapidly switching redundant double network cards
CN110087034B (en) * 2019-04-25 2020-11-10 山西潞安金源煤层气开发有限责任公司 Coal bed gas remote monitoring system
CN112751706A (en) * 2020-12-24 2021-05-04 珠海格力电器股份有限公司 Target data transmission method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101051951A (en) * 2006-05-29 2007-10-10 华为技术有限公司 Method and device for securing server connection reliability
CN101562576A (en) * 2009-05-27 2009-10-21 杭州华三通信技术有限公司 Route distribution method and equipment thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101051951A (en) * 2006-05-29 2007-10-10 华为技术有限公司 Method and device for securing server connection reliability
CN101562576A (en) * 2009-05-27 2009-10-21 杭州华三通信技术有限公司 Route distribution method and equipment thereof

Also Published As

Publication number Publication date
CN101764744A (en) 2010-06-30

Similar Documents

Publication Publication Date Title
CN101764744B (en) VRRP (Virtual Router Redundancy Protocol) access method, device and system, as well as VRRP routing equipment
CN101483558B (en) Method, system and apparatus for packet switching network access by network appliance
CN102025646B (en) Link switching method and device thereof
JP4542045B2 (en) Data communication apparatus and method
CN102148677B (en) Method for updating address resolution protocol table entries and core switch
CN101841408A (en) Primary/standby route equipment switching method and route equipment
CN100512148C (en) Convergence method and device based on VPLS dual home full connection network
CN101465859B (en) Method and device for triggering main and standby interface board inverse switch
US8279758B2 (en) Communication node and communication system
CN100466540C (en) State detection method based on main and backup Ethernet interface
CN102232279A (en) Method for detecting loop position in Ethernet, and Ethernet switching device
CN102904818A (en) Method and device for updating ARP (Address Resolution Protocol) information table
CN101330424A (en) Method, system and apparatus for processing service fault of virtual special network
CN105103475A (en) Method, device and system for link switching
CN102088400A (en) Provider edge (PE) equipment in virtual special network and switching method
CN100461706C (en) Method for recovering sponsor media accessing control address and operation businesss edge apparatus
CN102088415A (en) Method and device for MAC (media access control) address withdrawal
CN101217470A (en) Method and device for forwarding message
CN103026663A (en) Distributed connectivity verification protocol redundancy
JP2017034463A (en) Protection method, communication system, and end node
CN102510354A (en) Dual-home-supported ring network method and system based on virtual private local area network (LAN) service (VPLS) and G8032
JP4405941B2 (en) Line redundancy method and relay apparatus used therefor
CN101237343B (en) Method for quick failure switching and quick switching system
CN100484044C (en) Method for detecting operating state of default gateway and apparatus thereof
EP2479926B1 (en) Method and device for backing up user information

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
CP01 Change in the name or title of a patent holder

Address after: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor

Patentee after: RUIJIE NETWORKS Co.,Ltd.

Address before: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor

Patentee before: Fujian Star-net Ruijie Network Co.,Ltd.

CP01 Change in the name or title of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120523