Summary of the invention
The invention provides a kind of transmission method and device of VRRP message, interrupt to avoid service traffics.
In order to achieve the above object, the embodiment of the present invention provides a kind of transmission method of Virtual Router Redundancy Protocol VRRP message, be applied in the VRRP network comprising main Master equipment and backup Backup equipment, described Master equipment and described Backup equipment are the routing devices being arranged in same backup group, and described Master equipment is connected with intermediate equipment respectively with described Backup equipment, the method comprises the following steps: described intermediate equipment in default period 1 adduction to the VRRP message from described Master equipment, and when not receiving the VRRP message from described Backup equipment, the confirmation message being used to indicate and stopping sending VRRP message is sent to described Master equipment, described intermediate equipment copies the VRRP message from described Master equipment, and according to the VRRP cycle to the VRRP message copied described in described Backup equipment transmission, wherein, the described default period 1 is greater than the described VRRP cycle.
The VRRP message copied described in described intermediate equipment to send to described Backup equipment according to the VRRP cycle, also comprise afterwards: described intermediate equipment is when detecting BFD protocol detection to link failure between self and described Master equipment by two-way converting, if the link within default second round between self and described Master equipment does not recover, then stop the VRRP message copied described in sending to described Backup equipment, again Master equipment in backup group is campaigned for make the described Backup equipment utilization VRRP message timeout mechanism each equipment triggered in described VRRP network, wherein, be not more than the described VRRP cycle described default second round.
Link within default second round between intermediate equipment and described Master equipment does not recover, when each equipment in described VRRP network campaigns for the Master equipment in backup group based on preempt-mode, described method comprises further: the VRRP message structure priority copied described in described intermediate equipment utilizes is the VRRP message of 1, and by described priority be 1 VRRP message send to described Backup equipment, with make priority described in described Backup equipment utilization be 1 the VRRP message each equipment triggered in described VRRP network again campaign for Master equipment in backup group.
The VRRP message copied described in described intermediate equipment to send to described Backup equipment according to the VRRP cycle, also comprise afterwards: described intermediate equipment is when receiving the VRRP message from described Backup equipment, stop the VRRP message copied described in sending to described Backup equipment, and the VRRP message from described Backup equipment is sent to described Master equipment, to make the Master equipment of again campaigning between described Master equipment and Backup equipment in backup group; Described intermediate equipment is when receiving the VRRP message from described Master equipment, stop the VRRP message copied described in sending to described Backup equipment, and the VRRP message from described Master equipment is sent to described Backup equipment, to make the Master equipment of again campaigning between described Master equipment and Backup equipment in backup group.
Described intermediate equipment is according to the process of VRRP cycle to the VRRP message copied described in described Backup equipment transmission, comprise further: if described intermediate equipment sends the confirmation message being used to indicate and stopping sending VRRP message to described Master equipment after, the VRRP message from described Master equipment is not received within the default period 3, and the VRRP message do not received from described Backup equipment, then described intermediate equipment to send to described Backup equipment according to the VRRP cycle described in the VRRP message that copies; Or, if described intermediate equipment sends the confirmation message being used to indicate and stopping sending VRRP message to described Master equipment after, receive the VRRP message from described Master equipment, then described intermediate equipment refusal sends according to the VRRP cycle VRRP message copied to described Backup equipment; Wherein, the described default period 1 is greater than the described default period 3, and the described default period 1 is not more than described VRRP cycle of 3 times, and the described default period 3 is greater than the described VRRP cycle.
The VRRP message copied described in described intermediate equipment to send to described Backup equipment according to the VRRP cycle, also comprise afterwards: described intermediate equipment sends free ARP message, and IP corresponding to described gratuitous ARP packet is the virtual IP address of the backup group that described Master equipment and described Backup equipment are corresponding, the medium access control MAC that described gratuitous ARP packet is corresponding is the Virtual MAC of described Master equipment, and the transmission cycle of described gratuitous ARP packet was determined based on the digestion period of ARP; Described intermediate equipment self stops to after the VRRP message copied described in described Backup equipment sends determining, described intermediate equipment stops sending described gratuitous ARP packet.
The embodiment of the present invention provides a kind of transmitting device of Virtual Router Redundancy Protocol VRRP message, be applied in the VRRP network comprising main Master equipment and backup Backup equipment, described Master equipment and described Backup equipment are the routing devices being arranged in same backup group, and described Master equipment is connected with intermediate equipment respectively with described Backup equipment, described intermediate equipment comprises described transmitting device, and this intermediate equipment comprises:
Master side communication module, for in default period 1 adduction to the VRRP message from described Master equipment, and when not receiving the VRRP message from described Backup equipment, send the confirmation message being used to indicate and stopping sending VRRP message to described Master equipment;
Backup side communication module, for copying the VRRP message from described Master equipment, and according to the VRRP cycle to the VRRP message copied described in described Backup equipment transmission;
Wherein, the described default period 1 is greater than the described VRRP cycle.
Described Backup side communication module, also for when being detected BFD protocol detection by two-way converting to link failure between this equipment and described Master equipment, if the link within default second round between this equipment and described Master equipment does not recover, then stop the VRRP message copied described in sending to described Backup equipment, again campaign for Master equipment in backup group to make the described Backup equipment utilization VRRP message timeout mechanism each equipment triggered in described VRRP network;
Wherein, be not more than the described VRRP cycle described default second round.
Link within default second round between intermediate equipment and described Master equipment does not recover, when each equipment in described VRRP network campaigns for the Master equipment in backup group based on preempt-mode; Described Backup side communication module, the VRRP message structure priority being further used for copying described in utilizing is the VRRP message of 1, and by described priority be 1 VRRP message send to described Backup equipment, with make priority described in described Backup equipment utilization be 1 the VRRP message each equipment triggered in described VRRP network again campaign for Master equipment in backup group.
Described Backup side communication module, also for when receiving the VRRP message from described Backup equipment, stops the VRRP message copied described in sending to described Backup equipment; When receiving the VRRP message from described Master equipment, stop the VRRP message copied described in sending to described Backup equipment, and the VRRP message from described Master equipment is sent to described Backup equipment, to make the Master equipment of again campaigning between described Master equipment and Backup equipment in backup group;
Described Master side communication module, also for when receiving the VRRP message from described Backup equipment, VRRP message from described Backup equipment is sent to described Master equipment, to make the Master equipment of again campaigning between described Master equipment and Backup equipment in backup group.
Described Backup side communication module, specifically for after send the confirmation message being used to indicate and stopping sending VRRP message to described Master equipment, if do not receive the VRRP message from described Master equipment within the default period 3, and the VRRP message do not received from described Backup equipment, then the VRRP message copied described in sending to described Backup equipment according to the VRRP cycle; Or,
After send the confirmation message being used to indicate and stopping sending VRRP message to described Master equipment, if receive the VRRP message from described Master equipment, then refuse to send according to the VRRP cycle VRRP message copied to described Backup equipment;
Wherein, the described default period 1 is greater than the described default period 3, and the described default period 1 is not more than described VRRP cycle of 3 times, and the described default period 3 is greater than the described VRRP cycle.
Also comprise: end side communication module, for according to the VRRP cycle to after the VRRP message copied described in described Backup equipment sends, send free ARP message, and IP corresponding to described gratuitous ARP packet is the virtual IP address of the backup group that described Master equipment and described Backup equipment are corresponding, the medium access control MAC that described gratuitous ARP packet is corresponding is the Virtual MAC of described Master equipment, and the transmission cycle of described gratuitous ARP packet was determined based on the digestion period of ARP;
Self stop, to after the VRRP message copied described in described Backup equipment sends, stopping sending described gratuitous ARP packet determining.
Compared with prior art, the embodiment of the present invention at least has the following advantages: in the embodiment of the present invention, act on behalf of Master equipment by using intermediate equipment and send VRRP message, when the control plane of Master equipment is busy condition, Backup equipment can be made can to receive VRRP message, then make in backup group, there is multiple Master equipment, the problem such as IP address conflict and service traffics interruption can not be there is, and effectively can alleviate the load of Master equipment in backup group, thus solve the data plane forwarding of Master equipment own normally, and control plane is temporarily busy, cannot processing protocol message time concussion problem that the VRRP of whole network topology and upper-layer protocol are produced.
Embodiment
Below in conjunction with accompanying drawing, the embodiment of the present invention is described in detail.
After in backup group, each equipment campaigns for out Master equipment and Backup equipment by mutual VRRP message (it carries priority, for electing Master equipment), Master equipment needs to make Backup equipment can not become Master equipment by sending VRRP message; For in prior art, because Master equipment cannot send VRRP message in time, cause in backup group, there is the problem caused by multiple Master equipment, the embodiment of the present invention proposes a kind of transmission method of VRRP message, the method is applied in the VRRP network comprising Master equipment (as Master router) and Backup equipment (as Backup router), this Master equipment and Backup equipment are the routing devices being arranged in same backup group, and Master equipment is connected with intermediate equipment respectively with Backup equipment; Wherein, this intermediate equipment needs to be connected with Master equipment and Backup equipment simultaneously, as switching equipment or other while with the equipment of Master equipment and Backup equipment connection.
In the embodiment of the present invention, for the application scenarios shown in Fig. 2, Route1, Route2 and Route3 constitute 3 VRRP backup groups, and 3 corresponding VR are respectively VR1, VR2 and VR3, and VR1 is PC1 gateway, and VR2 is PC2 gateway, and VR3 is PC3 gateway; Route1 is made to be the Master equipment of VR1 by configuration preference level, Route2 and Route3 is the Backup equipment of VR1, Route2 is the Master equipment of VR2, Route1 and Route3 is the Backup equipment of VR2, Route3 is the Master equipment of VR3, Route1 and Route2 is the Backup equipment of VR3.
Further, for the VRRP backup group corresponding to VR1, Master equipment is all connected with SW1, SW2 and SW3 respectively with Backup equipment, and therefore can select one from SW1, SW2 and SW3 is intermediate equipment, to select SW1 for intermediate equipment; In like manner, for the VRRP backup group corresponding to VR2, SW2 can be selected to be intermediate equipment; For the VRRP backup group corresponding to VR3, SW3 can be selected to be intermediate equipment.
In the embodiment of the present invention, due to multiple different VRRP backup group can be comprised in VRRP network, Master equipment in each backup group and Backup equipment can be known to make intermediate equipment, therefore can in intermediate equipment maintenance packet storehouse, this message store is for reception/transmit port corresponding to the Master equipment of preserving each backup group, and reception/transmit port that Backup equipment is corresponding.
In addition, because the process of each VRRP backup group is identical, below in conjunction with the process (for the VRRP backup group that VR1 is corresponding) to a backup group, describe the VRRP message transmitting method that the embodiment of the present invention provides in detail, as shown in Figure 3, the method comprises the following steps:
Step 301, intermediate equipment in default period 1 adduction to the VRRP message from Master equipment, and when not receiving the VRRP message from Backup equipment, sending the confirmation message being used to indicate and stopping sending VRRP message to Master equipment, Master equipment stops sending VRRP message afterwards.
Step 302, intermediate equipment copies the VRRP message from Master equipment, and sends this VRRP message copied according to the VRRP cycle to Backup equipment.
In the embodiment of the present invention, the AdverTimer(application timer at VRRP message) information in VRRP cycle can be carried in field, and preset the period 1 and need to be greater than the VRRP cycle; In a preferred embodiment, the default period 1 can be 3 VRRP cycles, and intermediate equipment can obtain the VRRP cycle from the AdverTimer field of VRRP message.
Under the application scenarios shown in Fig. 2, for the VRRP backup group corresponding to VR1, by the mutual VRRP message of SW1 between Route1, Route2 and Route3, and the priority configured in VR1 due to Route1 is the highest, become Master equipment, Route2 and Route3, because priority is lower than Route1, becomes Backup equipment; Afterwards, Route1 sends VRRP message according to the VRRP cycle to SW1, and by SW1 by this VRRP message repeating to Route2 and Route3.
In the process, SW1 is intermediate equipment, and when SW1 receives only the VRRP message from Route1 within 3 VRRP cycles, when not receiving the VRRP message from Route2 and Route3, then SW1 determines the process of transmitting that self needs to act on behalf of VRRP message; Further, SW1 needs to send to Route1 the confirmation message being used to indicate and stopping sending VRRP message, and Route1 stops sending VRRP message afterwards; And SW1 needs the VRRP message copied from Route1, and sends to the VRRP message copied to Route2 and Route3 according to the VRRP cycle.
In the embodiment of the present invention, intermediate equipment according to the VRRP cycle to after Backup equipment sends the VRRP message copied, under normal circumstances, intermediate equipment can replace Master equipment to send the VRRP message copied to Backup equipment always, until there is following situation:
Situation one, intermediate equipment are passing through BFD(BidirectionalForwardingDetection, two-way converting detects) protocol detection to link failure between self and Master equipment time, if the link within default second round between self and Master equipment does not recover, then stop sending to Backup equipment the VRRP message copied, again campaign for Master equipment in backup group to make the Backup equipment utilization VRRP message timeout mechanism each equipment triggered in VRRP network.
Wherein, this default second round is not more than the VRRP cycle, and in a preferred embodiment, this default second round can be 1 VRRP cycle; In addition, the time-out time that VRRP agreement specifies is: 3*VRRP cycle+Skew_Time(shift time).
Concrete, for new Master equipment can be switched in time when ensureing Master equipment fault (namely cannot be connected to upper layer network by this paths of Master equipment), need to configure BFD function in intermediate equipment and Master equipment, if intermediate equipment is detecting the link failure between self and Master equipment by BFD, and when within 1 VRRP cycle, this fault is not recovered, then intermediate equipment stops sending the VRRP message that copies (before fault recovery to Backup equipment, any other event all can not trigger intermediate equipment and send the VRRP message copied to Backup equipment), again Master equipment in backup group is campaigned for make the Backup equipment utilization VRRP message timeout mechanism each equipment triggered in VRRP network, namely when Backup equipment does not receive VRRP message in the time-out time that VRRP agreement specifies, again the Master equipment in this backup group is campaigned for.
Further, Master equipment in backup group and Backup equipment have following working method: (1) non-preemption mode, as long as Master equipment does not break down under which, even if Backup equipment is configured higher priority also can not become Master equipment, non-preemption mode can be avoided frequently switching Master equipment; (2) preempt-mode, Backup equipment under which is once find that own priority is higher than the priority of current Master equipment, re-electing of Master equipment will be triggered, and replacing original Master equipment, the Master equipment that preempt-mode can guarantee to bear forwarding task is the equipment that backup group medium priority is the highest.
Based on this, when each equipment in VRRP network campaigns for the Master equipment in backup group based on preempt-mode, intermediate equipment can also utilize copy VRRP message structure priority be 1 VRRP message (by Master equipment send VRRP message in priority modification be 1), and by priority be 1 VRRP message send to Backup equipment, with make Backup equipment utilization priority be 1 the VRRP message each equipment triggered at once in VRRP network again campaign for Master equipment in backup group.
Under the application scenarios shown in Fig. 2, SW1 acts on behalf of Route1 and sends to Route2 and Route3 in the process of VRRP message, if the port down(fault that SW1 and Route1 up opposite end configuration BFD is connected), namely this paths of Route1 and upper layer network communication cannot be passed through, and SW1 waits for that 1 VRRP week after date does not still recover, then SW1 stops sending VRRP message to Route2 and Route3 immediately, make Route2 and Route3 can not receive VRRP message in the time-out time that VRRP agreement specifies, and again campaign for the Master equipment in backup group.If backup group is preempt-mode in addition, then SW1 can also construct a priority be 1 VRRP message send to Route2 and Route3, make Route2 and Route3 again campaign for Master equipment in this backup group at once.
Situation two, intermediate equipment are when receiving the VRRP message from Backup equipment, stop sending to Backup equipment the VRRP message copied, and the VRRP message from Backup equipment is sent to Master equipment and other Backup equipment, to make the Master equipment of again campaigning between Master equipment and Backup equipment in backup group; Further, Master equipment is after receiving VRRP message, need to send VRRP message to intermediate equipment, and give other Backup equipment by intermediate equipment by VRRP message repeating, thus again campaign for the Master equipment in backup group between triggering Master equipment and Backup equipment; In election contest process again, Master equipment is by comparing the priority and the priority of self of carrying in VRRP message, and degradation becomes Backup equipment or continues as Master equipment; After Master equipment degradation becomes Backup equipment, need to stop sending VRRP message to intermediate equipment; When Master equipment continues as Master equipment, need to continue to send VRRP message to intermediate equipment, until receive the confirmation message being used to indicate stopping transmission VRRP message from intermediate equipment, Master equipment can stop sending VRRP message afterwards.
Under the application scenarios shown in Fig. 2, SW1 acts on behalf of Route1 and sends to Route2 and Route3 in the process of VRRP message, if SW1 receives the VRRP message from Route2 or Route3, then stop acting on behalf of Route1 and send VRRP message to Route2 and Route3, and the VRRP message from Route2 is sent to Route1 and Route3(or the VRRP message from Route3 is sent to Route1 and Route2); Further, Route1 is current is in Master state, and do not send VRRP message (being sent by SW1), after receiving the VRRP message of Route2 or Route3, Route1 needs to send VRRP message to SW1, and by SW1 by VRRP message repeating to Route2 or Route3, thus trigger the Master equipment of again campaigning between Route1, Route2 and Route3 in backup group; In election contest process again, Route1 is downgraded to Backup equipment by comparing priority or continues as Master equipment; After Route1 degradation becomes Backup equipment, stop sending VRRP message to SW1; When Route1 continues as Master equipment, send VRRP message to SW1, until receive the confirmation message being used to indicate stopping transmission VRRP message from SW1, Route1 stops sending VRRP message afterwards.
Situation three, intermediate equipment are when receiving the VRRP message from Master equipment, stop sending to Backup equipment the VRRP message copied, and the VRRP message from Master equipment is sent to Backup equipment, to make the Master equipment of again campaigning between Master equipment and Backup equipment in backup group.Wherein, Master equipment is when configuration changes (priority as self changes), although the current VRRP of transmission message (being sent by intermediate equipment), Master equipment can revert to the state sending VRRP message immediately, and resends VRRP message to intermediate equipment; Further, if intermediate equipment receives only the VRRP message of Master equipment within 3 VRRP cycles, and configuration field does not change (namely VRRP message does not change) in VRRP message, then intermediate equipment starts to act on behalf of Master equipment to Backup equipment transmission VRRP message.
Under the application scenarios shown in Fig. 2, SW1 acts on behalf of Route1 and sends to Route2 and Route3 in the process of VRRP message, if SW1 receives the VRRP message from Route1, then stop acting on behalf of Route1 and send VRRP message to Route2 and Route3, and the VRRP message again received is sent to Route2 and Route3; Further, if SW1 receives only the VRRP message from Route1 within 3 VRRP cycles, do not receive the VRRP message from Route2 and Route3, then SW1 again acts on behalf of Route1 and sends VRRP message to Route2 and Route3.
In the said process of the embodiment of the present invention, Master equipment needs to support that self does not send the function of VRRP message, suppose that Master equipment does not support that self does not send the function of VRRP message, namely after Master equipment receives the confirmation message being used to indicate and stopping sending VRRP message, do not stop sending VRRP message, and continue to send VRRP message according to the VRRP cycle; Based on this, intermediate equipment to send the process of the VRRP message copied according to the VRRP cycle to Backup equipment, comprise further:
After sending in intermediate equipment the confirmation message being used to indicate and stopping sending VRRP message to Master equipment, if (namely Master equipment does not support that self does not send the function of VRRP message to the VRRP message still receiving from Master equipment, continue to send VRRP message according to the VRRP cycle), then intermediate equipment refusal sends according to the VRRP cycle VRRP message copied to Backup equipment, does not namely need to act on behalf of Master equipment and sends the VRRP message copied to Backup equipment.
After sending in intermediate equipment the confirmation message being used to indicate and stopping sending VRRP message to Master equipment, if (Master equipment does not support that self does not send the function of VRRP message to the VRRP message not receiving from Master equipment within the default period 3, continue to send VRRP message according to the VRRP cycle, but the control plane due to Master equipment is busy condition, VRRP message cannot be sent according to the VRRP cycle) within the default period 3, and the VRRP message do not received from Backup equipment, then intermediate equipment sends the VRRP message copied to Backup equipment according to the VRRP cycle, namely need to act on behalf of Master equipment and send the VRRP message copied to Backup equipment.
In the embodiment of the present invention, this default period 1 is greater than the default period 3, and this default period 1 is not more than VRRP cycle of 3 times, and this default period 3 is greater than the VRRP cycle; In a preferred embodiment, this default period 1 can be 3 VRRP cycles, and this default period 3 can be 2 (or 1.5) VRRP cycles.
In the embodiment of the present invention, intermediate equipment is acting on behalf of Master equipment in the process of Backup equipment transmission VRRP message, also can send gratuitous ARP (AddressResolutionProtocol, address resolution protocol) message, to ensure that the ARP request of terminal to gateway can obtain response when Master equipment is busy; The IP that this gratuitous ARP packet is corresponding is the virtual IP address of backup group, corresponding MAC(MediaAccessControl, medium access control) be the Virtual MAC of Master equipment, and the transmission cycle of gratuitous ARP packet is based on determining the digestion period of ARP (being 1/3 of the digestion period of ARP as the transmission cycle); In addition, intermediate equipment also can safeguard the MAC address entries in lower floor's switching network, and MAC is wherein the Virtual MAC of Master equipment, and outgoing interface is the port connecting Master equipment.
Further, intermediate equipment is after determining the VRRP message (namely intermediate equipment stopping acts on behalf of Master equipment to Backup equipment transmission VRRP message) self stopping sending to Backup equipment and copy, this intermediate equipment also needs to stop at once sending gratuitous ARP packet, and removes the MAC address entries in the lower floor's switching network safeguarded.
Based on the inventive concept same with said method, a kind of transmitting device of VRRP message is also proposed in the embodiment of the present invention, be applied in the VRRP network comprising main Master equipment and backup Backup equipment, described Master equipment and described Backup equipment are the routing devices being arranged in same backup group, and described Master equipment is connected with intermediate equipment respectively with described Backup equipment, described intermediate equipment comprises described transmitting device, and as shown in Figure 4, this intermediate equipment comprises:
Master side communication module 11, for in default period 1 adduction to the VRRP message from described Master equipment, and when not receiving the VRRP message from described Backup equipment, send the confirmation message being used to indicate and stopping sending VRRP message to described Master equipment;
Backup side communication module 12, for copying the VRRP message from described Master equipment, and according to the VRRP cycle to the VRRP message copied described in described Backup equipment transmission;
Wherein, the described default period 1 is greater than the described VRRP cycle.
Described Backup side communication module 12, also for when being detected BFD protocol detection by two-way converting to link failure between this equipment and described Master equipment, if the link within default second round between this equipment and described Master equipment does not recover, then stop the VRRP message copied described in sending to described Backup equipment, again campaign for Master equipment in backup group to make the described Backup equipment utilization VRRP message timeout mechanism each equipment triggered in described VRRP network;
Wherein, be not more than the described VRRP cycle described default second round.
Link within default second round between intermediate equipment and described Master equipment does not recover, when each equipment in described VRRP network campaigns for the Master equipment in backup group based on preempt-mode; Described Backup side communication module 12, the VRRP message structure priority being further used for copying described in utilizing is the VRRP message of 1, and by described priority be 1 VRRP message send to described Backup equipment, with make priority described in described Backup equipment utilization be 1 the VRRP message each equipment triggered in described VRRP network again campaign for Master equipment in backup group.
Described Backup side communication module 12, also for when receiving the VRRP message from described Backup equipment, stops the VRRP message copied described in sending to described Backup equipment; When receiving the VRRP message from described Master equipment, stop the VRRP message copied described in sending to described Backup equipment, and the VRRP message from described Master equipment is sent to described Backup equipment, to make the Master equipment of again campaigning between described Master equipment and Backup equipment in backup group;
Described Master side communication module 11, also for when receiving the VRRP message from described Backup equipment, VRRP message from described Backup equipment is sent to described Master equipment, to make the Master equipment of again campaigning between described Master equipment and Backup equipment in backup group.
Described Backup side communication module 12, specifically for after send the confirmation message being used to indicate and stopping sending VRRP message to described Master equipment, if do not receive the VRRP message from described Master equipment within the default period 3, and the VRRP message do not received from described Backup equipment, then the VRRP message copied described in sending to described Backup equipment according to the VRRP cycle; Or,
After send the confirmation message being used to indicate and stopping sending VRRP message to described Master equipment, if receive the VRRP message from described Master equipment, then refuse to send according to the VRRP cycle VRRP message copied to described Backup equipment;
Wherein, the described default period 1 is greater than the described default period 3, and the described default period 1 is not more than described VRRP cycle of 3 times, and the described default period 3 is greater than the described VRRP cycle.
This intermediate equipment also comprises: end side communication module 13, for according to the VRRP cycle to after the VRRP message copied described in described Backup equipment sends, send free ARP message, and IP corresponding to described gratuitous ARP packet is the virtual IP address of the backup group that described Master equipment and described Backup equipment are corresponding, the medium access control MAC that described gratuitous ARP packet is corresponding is the Virtual MAC of described Master equipment, and the transmission cycle of described gratuitous ARP packet was determined based on the digestion period of ARP; Self stop, to after the VRRP message copied described in described Backup equipment sends, stopping sending described gratuitous ARP packet determining.
Wherein, the modules of apparatus of the present invention can be integrated in one, and also can be separated deployment.Above-mentioned module can merge into a module, also can split into multiple submodule further.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention can by hardware implementing, and the mode that also can add necessary general hardware platform by software realizes.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions and perform method described in each embodiment of the present invention in order to make a computer equipment (can be personal computer, server, or the network equipment etc.).
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the module in accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device in embodiment can carry out being distributed in the device of embodiment according to embodiment description, also can carry out respective change and be arranged in the one or more devices being different from the present embodiment.The module of above-described embodiment can merge into a module, also can split into multiple submodule further.
The invention described above sequence number, just to describing, does not represent the quality of embodiment.
Be only several specific embodiment of the present invention above, but the present invention is not limited thereto, the changes that any person skilled in the art can think of all should fall into protection scope of the present invention.