The invention relates to a data communication technology. The invention solves the problem that a VRRP (
Virtual Router Redundancy Protocol) gateway cannot be automatically repaired when a double-main phenomenon appears in the existing VRRP networking
system, and provides a VRRP gateway, a VRRP
system and a double-main detection and
repair method. According to the technical solution, the state of an opposite-end gateway is detected by a state detection module, and whether the state is a double-main state currently is judged; if the state is a double-main state, all ARPs (
Address Resolution Protocols) on self interface are cleared, an ARP is relearned, and a corresponding terminal address is notified to the opposite-end gateway; if the terminal notified by the opposite-end gateway is received, a static
route based on the terminal is formed on a communication tunnel, and whether the terminal corresponds to the learnt ARP is judged, if so, the ARP is deleted, otherwise, no
processing is performed; and when a VRRP is recovered, the corresponding static
route on the tunnel is deleted. The VRRP gateway, the VRRP
system and the method have the advantages of shortening the fault
repair time and being applicable to a VRRP networking system.