CN105871716A - VRRP (virtual router redundancy protocol) based link monitoring method and system - Google Patents

VRRP (virtual router redundancy protocol) based link monitoring method and system Download PDF

Info

Publication number
CN105871716A
CN105871716A CN201610362110.1A CN201610362110A CN105871716A CN 105871716 A CN105871716 A CN 105871716A CN 201610362110 A CN201610362110 A CN 201610362110A CN 105871716 A CN105871716 A CN 105871716A
Authority
CN
China
Prior art keywords
vrrp
active link
link equipment
equipment
vrrp active
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610362110.1A
Other languages
Chinese (zh)
Other versions
CN105871716B (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.)
BEIJING BROADWIT TECHNOLOGY Co Ltd
Original Assignee
BEIJING BROADWIT TECHNOLOGY 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 BEIJING BROADWIT TECHNOLOGY Co Ltd filed Critical BEIJING BROADWIT TECHNOLOGY Co Ltd
Priority to CN201610362110.1A priority Critical patent/CN105871716B/en
Publication of CN105871716A publication Critical patent/CN105871716A/en
Application granted granted Critical
Publication of CN105871716B publication Critical patent/CN105871716B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/82Miscellaneous aspects
    • H04L47/822Collecting or measuring resource availability data

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to the technical field of computer networks, in particular to a VRRP (virtual router redundancy protocol) based link monitoring method and system. The system comprises n VRRP main link devices which are connected sequentially, wherein each VRRP main link device in the up direction sends notification messages carrying monitoring markers to the connected VRRP main link device in the down direction at a preset transmitting interval; a first VRRP main link device receives the massages sent by a second VRRP main link device, and when the first VRRP main link device does not receive the notification messages which are sent by the second VRRP main link device and carry monitoring markers at the transmitting interval, the first VRRP main link device determines that the main link breaks down. The method and the system provided by the embodiment of the invention are suitable for a multiple-equipment cascaded VRRP application scene, are also suitable for a VRRP application scene with a monitored gateway and a wide area network interface which are not in the same network segment, and have good compatibility, and VRRP is not required to change.

Description

Link monitoring method based on VRRP and system
Technical field
The present invention relates to technical field of the computer network, particularly to a kind of link monitoring method based on VRRP and system.
Background technology
Under normal circumstances, the message being sent to external network is sent to gateway by main frame, gateway message passes to external network, thus realize the communication of main frame and external network.When gateway goes wrong, main frame will interrupt with outside communication.
In order to solve network disruption, developer proposes Virtual Router Redundacy Protocol (Virtual Router Redundancy Protocol is called for short VRRP).VRRP is a kind of protocol for error tolerance, and this agreement is not in the case of changing network topology and main frame configuration, it is only necessary to carries out easy configuration on gateway, can be achieved with the redundancy backup of gateway, and will not bring any burden to main frame.VRRP equipment refers to equipment based on VRRP, in the application of VRRP, VRRP main equipment is i.e. the VRRP equipment of present communications, VRRP is the standby VRRP equipment enabled after VRRP main equipment breaks down for equipment, VRRP main equipment and VRRP, for passing through multicast message advertised states between equipment, enable VRRP after VRRP main equipment breaks down and communicate for equipment.In the application of VRRP, VRRP main equipment and the VRRP state for equipment that it is frequently necessary to switches over along with the state of Wide Area Network interface, in the case of complicated multi-cascade, need the gateway monitored and Wide Area Network interface not at the same network segment, VRRP state advertisement message cannot pass through broadcast domain, therefore, traditional VRRP function will be unable to meet requirement.
Summary of the invention
It is an object of the invention to improve the deficiency that can not realize condition monitoring in the case of multi-cascade in the presence of prior art, it is provided that a kind of link monitoring method based on VRRP and system.
In order to realize foregoing invention purpose, embodiments provide techniques below scheme:
A kind of link monitoring system based on VRRP, including active link, subscriber's main station and external network server, described active link includes n the VRRP active link equipment being sequentially connected with, described n VRRP active link equipment is respectively first VRRP active link equipment, second VRRP active link equipment, ..., (n-1)th VRRP active link equipment, n-th VRRP active link equipment, n is the integer more than 2, described subscriber's main station is connected with described first VRRP active link equipment by interface equipment, described external network server is connected with described n-th VRRP active link equipment;
From the beginning of described n-th VRRP active link equipment, the VRRP active link equipment of up direction carries the notification packet of monitoring mark to the VRRP active link equipment of connected down direction according to default interval transmission of transmitting messages, described subscriber's main station is up direction to the direction of described external network server, and the direction of described external network server to described subscriber's main station is down direction;
Described first VRRP main equipment receives the message that described second VRRP active link equipment sends, when described first VRRP active link equipment is not received by the notification packet carrying monitoring mark that described second VRRP active link equipment sends in advertisement interval, described first VRRP active link equipment judges that described active link breaks down.
Second VRRP active link equipment sends the notification packet carrying monitoring mark to first VRRP active link equipment, if described first VRRP active link equipment is not received by the notification packet carrying monitoring mark that described second VRRP active link equipment sends in described advertisement interval T, the at least transmission line between second VRRP active link equipment fault of explanation or second VRRP active link equipment and first VRRP active link equipment interrupts, and the most described first VRRP active link equipment can determine whether that active link breaks down.
According to embodiments of the present invention, in said system, the VRRP active link equipment of present node judges whether receive the notification packet carrying monitoring mark that the VRRP active link equipment of connected up direction sends in described advertisement interval, if, the notification packet carrying monitoring mark is then sent to the VRRP active link equipment of connected down direction, if it is not, then stop sending the notification packet carrying monitoring mark to the VRRP active link equipment of connected down direction.
By such mode, in active link, the transmission line between VRRP active link device fails or any two VRRP active link equipment of any one node interrupts being monitored, and can more fully carry out link state monitoring.
The present invention implements and additionally provides a kind of link monitoring method based on VRRP, it is applied to the link monitoring system based on VRRP that the embodiment of the present invention provides, active link described in described system includes n the VRRP active link equipment being sequentially connected with, described n VRRP active link equipment is respectively first VRRP active link equipment, second VRRP active link equipment, ..., (n-1)th VRRP active link equipment, n-th VRRP active link equipment, n is the integer more than 2, described subscriber's main station is connected with described first VRRP active link equipment by interface equipment, described external network server is connected with described n-th VRRP active link equipment;Described method includes:
From the beginning of described n-th VRRP active link equipment, the VRRP active link equipment of up direction carries the notification packet of monitoring mark to the VRRP active link equipment of connected down direction according to default interval transmission of transmitting messages, described subscriber's main station is up direction to the direction of described external network server, and the direction of described external network server to described subscriber's main station is down direction;
Described first VRRP active link equipment receives the message that described second VRRP active link equipment sends, judge in described advertisement interval, whether receive the notification packet carrying monitoring mark that described second VRRP active link equipment sends, if, then judge that described active link breaks down, otherwise then continue to the message that described second VRRP active link equipment sends.
According to embodiments of the present invention, the 2nd VRRP active link equipment of described up direction carries the notification packet of monitoring mark to the 2nd VRRP active link equipment of connected down direction according to default interval transmission of transmitting messages, including:
The VRRP active link equipment of present node judges whether receive the notification packet carrying monitoring mark that the VRRP active link equipment of connected up direction sends in advertisement interval, if it is, send the notification packet carrying monitoring mark to the VRRP active link equipment of connected down direction;
Described method also includes: when the VRRP active link equipment of present node is not received by the notification packet carrying monitoring mark of VRRP active link equipment transmission of connected up direction in advertisement interval, and the VRRP active link equipment of described present node stops sending the notification packet carrying monitoring mark to the VRRP active link equipment of connected down direction.
According to embodiments of the present invention, described system also includes n the VRRP reserve link equipment that reserve link, described reserve link include being sequentially connected with;Described n VRRP reserve link equipment includes first VRRP reserve link equipment, second VRRP reserve link equipment ..., (n-1)th VRRP reserve link equipment, the n-th VRRP reserve link equipment, and described subscriber's main station is connected with described first VRRP reserve link equipment also by described interface equipment;Described method also includes:
If described first VRRP active link equipment receives the notification packet carrying monitoring mark that described second VRRP active link equipment sends in advertisement interval, described first VRRP active link equipment sends the notification packet carrying monitoring mark to described first VRRP reserve link equipment, otherwise then stops sending the notification packet carrying monitoring mark to described first VRRP reserve link equipment;
When described first VRRP reserve link equipment does not receive the notification packet carrying monitoring mark that described first VRRP active link equipment sends in described advertisement interval, described first VRRP reserve link equipment receives the message that described subscriber's main station is sent by described interface equipment, and the message sent by described subscriber's main station sends to described external network server.
Compared with prior art, beneficial effects of the present invention: the link monitoring method based on VRRP of embodiment of the present invention offer and system, the equipment of up direction sends the notification packet carrying monitoring mark to the equipment of connected down direction, if certain device fails in active link or the transmission line between two equipment interrupt, then the equipment of down direction can not receive notification packet, and then can determine whether that active link breaks down, it is achieved active link status monitoring.The link monitoring method based on VRRP of embodiment of the present invention offer and system, link state monitoring is carried out by the way of transmitting messages step by step, it is applicable to the VRRP application scenarios of multiple devices cascade, it is also applied for monitored gateway with Wide Area Network interface not at the VRRP application scenarios of the same network segment, and without changing VRRP agreement itself, there is good compatibility.
Accompanying drawing illustrates:
The structural representation of the link monitoring system based on VRRP that Fig. 1 provides for the embodiment of the present invention.
The flow chart of the link monitoring method based on VRRP that Fig. 2 provides for the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with test example and detailed description of the invention, the present invention is described in further detail.But this should not being interpreted as, the scope of the above-mentioned theme of the present invention is only limitted to below example, and all technology realized based on present invention belong to the scope of the present invention.
Refer to Fig. 1, the link monitoring system based on VRRP that the embodiment of the present invention provides, can be switch, multiport transponder etc. including active link, reserve link, subscriber's main station PC, interface equipment S1(, provide online physical interface for subscriber's main station) and external network server ISP.Described active link includes n the VRRP active link equipment being sequentially connected with, n is the integer more than 2, n VRRP active link equipment is respectively first shown in Fig. 1 VRRP active link equipment R1, second VRRP active link equipment R3, ..., the n-th VRRP active link equipment RN, N is odd number, R1, RN lay respectively at the two ends of active link, and RN is the VRRP active link equipment being connected with external network server ISP.Described reserve link is for when active link breaks down, subscriber's main station PC is communicated with external network server ISP by described reserve link, reserve link includes that n the VRRP reserve link equipment of n VRRP reserve link equipment being sequentially connected with is respectively first shown in Fig. 1 VRRP reserve link equipment R2, second VRRP reserve link equipment R4, ..., n-th VRRP reserve link equipment RN+1, R2, RN+1 lay respectively at the two ends of reserve link, and RN+1 is the VRRP reserve link equipment being connected with external network server ISP.Described subscriber's main station PC is connected with first VRRP active link equipment R1, first VRRP reserve link equipment R2 respectively by interface equipment S1, and described external network server ISP is connected with the n-th VRRP active link equipment RN, the n-th VRRP reserve link equipment RN+1 respectively.The virtual IP address of the VRRP group that use R1, R2 are constituted accesses external network server ISP as the default gateway of subscriber's main station PC, subscriber's main station by this default gateway.
With described subscriber's main station PC to the direction of described external network server ISP as up direction, the direction of described external network server ISP to described subscriber's main station PC is down direction.nullWhen carrying out link state monitoring,The VRRP active link equipment of up direction carries the notification packet of monitoring mark to the VRRP active link equipment of connected down direction according to default interval t transmission of transmitting messages,I.e.,RN sends the notification packet carrying monitoring mark according to the default interval t that transmits messages to RN-2,…,R3 sends the notification packet carrying monitoring mark according to the default interval t that transmits messages to R1,If the VRRP active link equipment of present node is not received by the notification packet carrying monitoring mark that the VRRP active link equipment (the VRRP active link equipment of the up direction being i.e. connected) of a node sends with the VRRP active link equipment of present node,The VRRP active link equipment of present node then stops the notification packet carrying monitoring mark that the VRRP active link equipment (the VRRP active link equipment of the down direction being i.e. connected) to next node sends with the VRRP active link equipment of present node.
Such as, R3 is in the VRRP active link equipment of present node, if R3 is not received by the VRRP active link equipment of the upper node of R5() notification packet carrying monitoring mark that sends, so R3 also will not send the notification packet carrying monitoring mark to R1, and R1 does not then receive the notification packet carrying monitoring mark that R3 sends in advertisement interval T.R3 does not receives the notification packet carrying monitoring mark that R5 sends, illustrate that R3(comprises R3) before link break down (certain device damage being probably in link, or the transmission line between two equipment interrupts in link), therefore R3 also stops sending the notification packet carrying monitoring mark to R1.R1 does not then receive the notification packet carrying monitoring mark that R3 sends in advertisement interval T, then can determine whether that active link there occurs fault, it is achieved link state monitoring.
The link monitoring system based on VRRP that the embodiment of the present invention provides, by the way of notification packet cascaded transmission, the i.e. equipment of up direction sends notification packet according to advertisement interval T to the equipment of down direction, link state monitoring can be realized, identify whether link breaks down, it is adaptable to the VRRP application scenarios of multiple devices cascade, be also applied for monitored gateway with Wide Area Network interface not at the VRRP application scenarios of the same network segment, and without changing VRRP agreement itself, there is good compatibility.
If first VRRP active link equipment R1 receives the notification packet carrying monitoring mark that second VRRP active link equipment R3 sends in advertisement interval, first VRRP active link equipment R1 then can send the notification packet carrying monitoring mark to first VRRP reserve link equipment R2;First VRRP reserve link equipment R2 receives the notification packet carrying monitoring mark that first VRRP active link equipment R1 sends, and illustrates that active link communication is unobstructed, and first VRRP reserve link equipment R2 is then in idle resting state.If first VRRP active link equipment R1 is not received by the notification packet carrying monitoring mark that R3 sends in advertisement interval T, first VRRP active link equipment R1 then can stop sending the notification packet carrying monitoring mark to first VRRP reserve link equipment R2;When first VRRP is not received by, for equipment R2, the notification packet carrying monitoring mark that first VRRP active link equipment R1 sends in advertisement interval T, illustrate that active link breaks down and cause communication disruption, first VRRP reserve link equipment R2 is then switched to master state by idle resting state, complete the communication of subscriber's main station PC and external network server ISP, i.e., first VRRP reserve link equipment R2 receives the message that described subscriber's main station PC is sent by described interface equipment S1, the message sent by described subscriber's main station PC is by VRRP reserve link equipment (R2, R4, ..., RN+1) send to described external network server ISP.
In the case of active link communication is unobstructed, the VRRP active link equipment of present node may receive two kinds of messages that the VRRP active link equipment of a node sends: a kind of is the VRRP message being specifically designed to described in the embodiment of the present invention and carrying out link state monitoring, i.e. carries the notification packet of monitoring mark;Another kind is common VRRP message.Therefore, when the VRRP active link equipment of present node judges the notification packet carrying monitoring mark whether receiving the VRRP active link equipment transmission of connected up direction in advertisement interval T, if the VRRP active link equipment of present node receives the message that the VRRP active link equipment of connected up direction sends in advertisement interval T, and the authentication field that this message comprises carries monitoring mark, then it is judged as in advertisement interval T, receive the notification packet carrying monitoring mark that the VRRP active link equipment of connected up direction sends;Any message that the VRRP active link equipment of connected up direction sends is not received if connect in advertisement interval T, or receive message, but the authentication field that this message comprises does not carries monitoring mark, then it is judged as in advertisement interval T, be not received by the notification packet carrying monitoring mark that the VRRP active link equipment of connected up direction sends.
In the embodiment of the present invention, n VRRP active link equipment is the equipment that function is identical with n VRRP reserve link equipment, the most both can receive the notification packet carrying monitoring mark that the equipment of a node sends;When the notification packet carrying monitoring mark that the equipment receiving a node in advertisement interval T sends, it is also possible to send the notification packet carrying monitoring mark to the equipment of next node.N VRRP active link equipment and n VRRP reserve link equipment can be the equipment such as router.
As a example by a kind of implementation, illustrate that VRRP active link equipment realizes both can having received the notification packet carrying monitoring mark that the equipment of a node sends, when the notification packet carrying monitoring mark that the equipment receiving a node in advertisement interval T sends, it is also possible to send a kind of embodiment of the notification packet carrying monitoring mark to the equipment of next node.
When implementing, VRRP active link equipment can be set and have two kinds of mode of operations: one is main equipment pattern, in such a mode, the VRRP active link equipment of present node sends to the VRRP active link equipment of next node or stops sending the notification packet carrying monitoring mark;Another kind is from equipment mode, and in such a mode, the VRRP active link equipment of present node receives and judges whether to receive the VRRP active link equipment transmission of a node and carries the notification packet of monitoring mark.
Under main equipment pattern, the virtual IP address of VRRP active link equipment is set to the IP address of its second line of a couplet mouth (i.e. for be connected with the VRRP active link equipment of down direction interface), and priority is set to 255, and transmitting messages is set to t(t and can arbitrarily arrange) second;In the case of receiving notice of transmitting messages, VRRP active link equipment sends the notification packet carrying monitoring mark according to the described interval t that transmits messages to the VRRP active link equipment of connected down direction, the certification mode of notification packet can be to use character string mode (the common authentication pattern of message based on VRRP), and authentication field carries monitoring mark;Transmitting messages in the case of notice receiving stopping, VRRP active link equipment stops sending to the VRRP active link equipment of connected down direction carrying the notification packet of monitoring mark.
Easy to understand, and first VRRP active link equipment R1 that external network server ISP is connected be the notification packet sending to the VRRP active link equipment of connected down direction according to the described interval t that transmits messages and carrying monitoring mark.
Under equipment mode, the virtual IP address of VRRP active link equipment is set to the IP address of the second line of a couplet mouth of its first line of a couplet equipment (i.e. up direction connected VRRP active link equipment), and priority is set to 0, transmits messages and is set to the t second;VRRP active link equipment constantly receives the message that the VRRP active link equipment of connected up direction sends, judge at advertisement interval T(advertisement interval T as [3*t+ (256-priority)/256] second) in whether receive the notification packet carrying monitoring mark that the VRRP active link equipment of connected up direction sends, if, then send notice of transmitting messages, otherwise then send stopping and transmitting messages notice.
The embodiment of the present invention additionally provides a kind of link monitoring method based on VRRP, and the link monitoring system based on VRRP that the method provides based on the embodiment of the present invention realizes.
Refer to Fig. 2, the link monitoring method based on VRRP that the embodiment of the present invention provides, including step:
S101: in active link, from the beginning of the n-th VRRP active link equipment, the VRRP active link equipment of up direction sends the notification packet carrying monitoring mark according to the default interval t that transmits messages to the VRRP active link equipment of connected down direction.
S102: in active link, the VRRP active link equipment of present node judges whether receive the notification packet carrying monitoring mark that the VRRP active link equipment of connected up direction sends in advertisement interval T, if, the notification packet carrying monitoring mark is then sent to the VRRP active link equipment of connected down direction, if it is not, then stop sending the notification packet carrying monitoring mark to the VRRP active link equipment of connected down direction;
In this step, it is judged that the concrete operations of the notification packet carrying monitoring mark whether receiving the equipment transmission of connected up direction in advertisement interval T refer to the corresponding description in the link monitoring system based on VRRP that the embodiment of the present invention provides.
S103: the first VRRP active link equipment R1 judges whether receive the notification packet carrying monitoring mark that the VRRP active link equipment of connected up direction sends in advertisement interval T, if, then carried the notification packet of monitoring mark to first VRRP reserve link equipment R2 transmission by interface equipment S1, if it is not, then judge that active link breaks down.
After active link breaks down, in order to complete the communication between subscriber's main station PC and external network server ISP, need to enable reserve link.Therefore, when first VRRP active link equipment judges that active link breaks down, it is also possible to stop sending the notification packet carrying monitoring mark to first VRRP reserve link equipment R2.First VRRP reserve link equipment is not received by the notification packet carrying monitoring mark that first VRRP active link equipment sends in advertisement interval, then could be aware that active link breaks down, then switched to master state by resting state, complete the communication between subscriber's main station PC and external network server ISP.Therefore, the method that the embodiment of the present invention provides can also include step:
S104: the first VRRP reserve link equipment receives the message that described subscriber's main station PC is sent by described interface equipment, and the message sent by described subscriber's main station PC is sent to described external network server ISP by described VRRP reserve link equipment.
The link monitoring method based on VRRP that the embodiment of the present invention provides, by the way of notification packet cascaded transmission, it is applicable not only to the VRRP application scenarios of multiple devices cascade, link state monitoring can be realized, identify whether link breaks down, and the equipment in link may be at the different network segments, it is also applied for monitored gateway with Wide Area Network interface not at the VRRP application scenarios of the same network segment.Additionally, the realization of this method is without changing VRRP agreement itself, when carrying out link state monitoring, subscriber's main station PC and external network server ISP(active link communicate unobstructed in the case of) can have good compatibility with proper communication.
All features disclosed in this specification, or disclosed all methods or during step, in addition to mutually exclusive feature and/or step, all can combine by any way.
Any feature disclosed in this specification (including any accessory claim, summary and accompanying drawing), unless specifically stated otherwise, all can be by other equivalences or there is the alternative features of similar purpose replaced.I.e., unless specifically stated otherwise, an example during each feature is a series of equivalence or similar characteristics.

Claims (10)

1. a link monitoring system based on VRRP, it is characterized in that, including active link, subscriber's main station and external network server, described active link includes n the VRRP active link equipment being sequentially connected with, described n VRRP active link equipment is respectively first VRRP active link equipment, second VRRP active link equipment, ..., (n-1)th VRRP active link equipment, n-th VRRP active link equipment, n is the integer more than 2, described subscriber's main station is connected with described first VRRP main equipment by interface equipment, described external network server is connected with described n-th VRRP active link equipment;
From the beginning of described n-th VRRP active link equipment, the VRRP active link equipment of up direction carries the notification packet of monitoring mark to the VRRP active link equipment of connected down direction according to default interval transmission of transmitting messages, described subscriber's main station is up direction to the direction of described external network server, and the direction of described external network server to described subscriber's main station is down direction;
Described first VRRP active link equipment receives the message that described second VRRP active link equipment sends, when described first VRRP active link equipment is not received by the notification packet carrying monitoring mark that described second VRRP active link equipment sends in advertisement interval, described first VRRP active link equipment judges that described active link breaks down.
System the most according to claim 1, it is characterized in that, the VRRP active link equipment of present node judges whether receive the notification packet carrying monitoring mark that the VRRP active link equipment of connected up direction sends in described advertisement interval, if, the notification packet carrying monitoring mark is then sent to the VRRP active link equipment of connected down direction, if it is not, then stop sending the notification packet carrying monitoring mark to the VRRP active link equipment of connected down direction.
System the most according to claim 1, it is characterised in that described system also includes n the VRRP reserve link equipment that reserve link, described reserve link include being sequentially connected with;Described n VRRP reserve link equipment includes first VRRP reserve link equipment, second VRRP reserve link equipment ..., (n-1)th VRRP reserve link equipment, the n-th VRRP reserve link equipment, and described subscriber's main station is connected with described first VRRP reserve link equipment also by described interface equipment;
When described first VRRP active link equipment receives the notification packet carrying monitoring mark that described second VRRP active link equipment sends in advertisement interval, described first VRRP active link equipment sends the notification packet carrying monitoring mark to described first VRRP reserve link equipment.
System the most according to claim 3, it is characterised in that described external network server is also connected with described n-th VRRP reserve link equipment;
When described first VRRP active link equipment is not received by the notification packet carrying monitoring mark that described second VRRP active link equipment sends in described advertisement interval, described first VRRP active link equipment stops sending the notification packet carrying monitoring mark to described first VRRP reserve link equipment;
When described first VRRP reserve link equipment does not receive the notification packet carrying monitoring mark that described first VRRP active link equipment sends in described advertisement interval, described first VRRP reserve link equipment receives the message that described subscriber's main station is sent by described interface equipment, and the message sent by described subscriber's main station is sent to described external network server by described second VRRP reserve link equipment ..., described (n-1)th VRRP reserve link equipment, described n-th VRRP reserve link equipment.
System the most according to claim 1, it is characterized in that, in described advertisement interval, described first VRRP active link equipment constantly receives the message that described second VRRP active link equipment sends, when described first VRRP active link equipment receives the message that described second VRRP active link equipment sends, and the authentication field that comprises of described message is when carrying described monitoring mark, it is judged that for receiving the notification packet carrying monitoring mark that described second VRRP active link equipment sends.
System the most according to claim 1, it is characterized in that, in described advertisement interval, described first VRRP active link equipment constantly receives the message that described second VRRP active link equipment sends, when described first VRRP active link equipment is not received by the message that described second VRRP active link equipment sends, it is judged that for being not received by the notification packet carrying monitoring mark that described second VRRP active link equipment sends.
System the most according to claim 1, it is characterized in that, in described advertisement interval, described first VRRP active link equipment constantly receives the message that described second VRRP active link equipment sends, when described first VRRP active link equipment receives the message that described second VRRP active link equipment sends, and the authentication field that comprises of described message is not when carrying described monitoring mark, it is judged that for being not received by the notification packet carrying monitoring mark that described second VRRP active link equipment sends.
System the most according to claim 2, it is characterized in that, described VRRP active link equipment works in main equipment pattern and from equipment mode, when the VRRP active link equipment of present node works in from equipment mode, the VRRP active link equipment of described present node judges whether receive the notification packet carrying monitoring mark that the VRRP active link equipment of connected up direction sends in described advertisement interval, if, the notification packet carrying monitoring mark is then sent to the VRRP active link equipment of connected down direction, if not, then stop sending the notification packet carrying monitoring mark to the VRRP active link equipment of connected down direction;The IP address of the second line of a couplet mouth that virtual IP address is first line of a couplet equipment of the VRRP active link equipment of described present node, described first line of a couplet equipment is the VRRP main equipment of the up direction that the VRRP active link equipment with described present node is connected, and described second line of a couplet mouth is the interface for being connected with the VRRP active link equipment of down direction.
System the most according to claim 8, it is characterized in that, when the VRRP active link equipment of described present node works in main equipment pattern, the IP address that virtual IP address is its second line of a couplet mouth of the VRRP active link equipment of described present node, the VRRP active link equipment of described present node to or stop sending according to default interval of transmitting messages to the VRRP active link equipment of connected down direction and carry the notification packet of monitoring mark.
10. a link monitoring method based on VRRP, it is characterized in that, described method is applied to link monitoring system based on VRRP, described system includes active link, subscriber's main station and external network server, described active link includes n the VRRP active link equipment being sequentially connected with, described n VRRP active link equipment is respectively first VRRP active link equipment, second VRRP active link equipment, ..., (n-1)th VRRP active link equipment, n-th VRRP active link equipment, n is the integer more than 2, described subscriber's main station is connected with described first VRRP active link equipment by interface equipment, described external network server is connected with described n-th VRRP active link equipment;Described method includes:
From the beginning of described n-th VRRP active link equipment, the VRRP active link equipment of up direction carries the notification packet of monitoring mark to the VRRP active link equipment of connected down direction according to default interval transmission of transmitting messages, described subscriber's main station is up direction to the direction of described external network server, and the direction of described external network server to described subscriber's main station is down direction;
Described first VRRP active link equipment receives the message that described second VRRP active link equipment sends, judge in described advertisement interval, whether receive the notification packet carrying monitoring mark that described second VRRP active link equipment sends, if, then judge that described active link breaks down, otherwise then continue to the message that described second VRRP active link equipment sends.
CN201610362110.1A 2016-05-26 2016-05-26 VRRP-based link monitoring method and system Active CN105871716B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610362110.1A CN105871716B (en) 2016-05-26 2016-05-26 VRRP-based link monitoring method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610362110.1A CN105871716B (en) 2016-05-26 2016-05-26 VRRP-based link monitoring method and system

Publications (2)

Publication Number Publication Date
CN105871716A true CN105871716A (en) 2016-08-17
CN105871716B CN105871716B (en) 2022-04-15

Family

ID=56642448

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610362110.1A Active CN105871716B (en) 2016-05-26 2016-05-26 VRRP-based link monitoring method and system

Country Status (1)

Country Link
CN (1) CN105871716B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110784365A (en) * 2019-11-09 2020-02-11 许继集团有限公司 Standby device of station control layer and entity device of transformer substation and automatic online method thereof

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1889547A (en) * 2006-08-03 2007-01-03 华为技术有限公司 Base band unit ring cascade resource back-up method and base band unit
CN101193409A (en) * 2007-12-10 2008-06-04 中兴通讯股份有限公司 System and method for locating interruption failure type of base station in cascaded base station
US20090199040A1 (en) * 2006-10-20 2009-08-06 Huawei Technologies Co., Ltd. Method and device for implementing link pass through in point-to-multipoint network
CN101588304A (en) * 2009-06-30 2009-11-25 杭州华三通信技术有限公司 Implementation method of VRRP
CN101645840A (en) * 2009-08-17 2010-02-10 华为技术有限公司 Method, system and routing equipment for retransmitting message
CN104113428A (en) * 2013-04-18 2014-10-22 杭州迪普科技有限公司 Apparatus management device and method
US20140334292A1 (en) * 2012-01-20 2014-11-13 Hangzhou H3C Technologies Co., Ltd. Implementing Dual-Homed Node Protection
CN104168193A (en) * 2014-08-12 2014-11-26 华为技术有限公司 Virtual router redundancy protocol fault detection method and router equipment
CN104468367A (en) * 2014-10-27 2015-03-25 国家电网公司 Method for modifying region dispatch data network address

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1889547A (en) * 2006-08-03 2007-01-03 华为技术有限公司 Base band unit ring cascade resource back-up method and base band unit
US20090199040A1 (en) * 2006-10-20 2009-08-06 Huawei Technologies Co., Ltd. Method and device for implementing link pass through in point-to-multipoint network
CN101193409A (en) * 2007-12-10 2008-06-04 中兴通讯股份有限公司 System and method for locating interruption failure type of base station in cascaded base station
CN101588304A (en) * 2009-06-30 2009-11-25 杭州华三通信技术有限公司 Implementation method of VRRP
CN101645840A (en) * 2009-08-17 2010-02-10 华为技术有限公司 Method, system and routing equipment for retransmitting message
US20140334292A1 (en) * 2012-01-20 2014-11-13 Hangzhou H3C Technologies Co., Ltd. Implementing Dual-Homed Node Protection
CN104113428A (en) * 2013-04-18 2014-10-22 杭州迪普科技有限公司 Apparatus management device and method
CN104168193A (en) * 2014-08-12 2014-11-26 华为技术有限公司 Virtual router redundancy protocol fault detection method and router equipment
CN104468367A (en) * 2014-10-27 2015-03-25 国家电网公司 Method for modifying region dispatch data network address

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
谷宝磊: "基于VRRP协议实现路由冗余和负载均衡的应用研究", 《办公自动化》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110784365A (en) * 2019-11-09 2020-02-11 许继集团有限公司 Standby device of station control layer and entity device of transformer substation and automatic online method thereof

Also Published As

Publication number Publication date
CN105871716B (en) 2022-04-15

Similar Documents

Publication Publication Date Title
AU2009237405B2 (en) Connectivity fault management traffic indication extension
EP2533475B1 (en) Method and system for host route reachability in packet transport network access ring
CN102638389A (en) Redundancy backup method and system of TRILL (Transparent Interconnection over Lots of Links) network
US20100260040A1 (en) ethernet ring system and a master node and an initialization method thereof
CN102780635B (en) The method of pretection switch, TOR switch and system is realized based on TRILL network
EP1958364B1 (en) Vpls remote failure indication
WO2009111969A1 (en) Method for blocking the edge port in the ethernet, ethernet loop network system and apparatus
AU2011229566B2 (en) Load sharing method and apparatus
US9716639B2 (en) Protection switching method and system
EP2858302B1 (en) Connectivity check method of service stream link, related apparatus and system
CN103580932A (en) Status switching method and system based on Ethernet linear protection switching
CN205792668U (en) Multi-cascade link state monitoring system based on VRRP
CN103138957A (en) Method, device and system for business path failback
WO2011011934A1 (en) Method and apparatus for ethernet tunnel segmentation protection
EP2523401B1 (en) Virtual networks within a physical network
CN108337162B (en) System and method for supporting dual-homing protection
CN105871716A (en) VRRP (virtual router redundancy protocol) based link monitoring method and system
US9264303B2 (en) Protection switching method and system provision by a distributed protection group
US20220141123A1 (en) Network device, network system, network connection method, and program
WO2014044088A1 (en) L2tp network protection method, apparatus and system
US10756813B1 (en) Broadband subscriber switchover in a ring network
US8553530B1 (en) Operating state control in redundancy protection systems
CN103152262B (en) A kind of method and apparatus of connection establishment
CN105553864B (en) Method and device for reducing message quantity in LMP
CN102291288B (en) Rapid ring protection protocol (RRPP)-ring-based traffic switching method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant