摘要 |
<p>The present invention discloses a method for link fault detection and recovery based on Address Resolution Protocol (ARP) interaction, comprising: configuring an IP address and a mask code, a strategy routing or static routing module and an ARP module for network devices of a home terminal and an opposite terminal; the strategy routing or static routing module regularly inquiring whether an ARP entry to which a next hop corresponds exists, if the ARP entry exists, a link being available, otherwise, notifying the ARP module to perform keepalive on the next hop; and the ARP module performing a process of keepalive on the next hop, and after performing keepalive on the next hop, notifying the strategy routing or static routing module to judge whether the link is available. The present invention further discloses a device for link fault detection and recovery based on ARP interaction. The present invention implements the purpose of routing keepalive through the routing keepalive mechanism, and solves the problem in the related art that the link detection cannot be implemented after the strategy routing or the static routing is applied or the configuration is complex and the system overhead is large due to the start of the BFD detection.</p> |