US Patent No. 9,276,898

METHOD AND DEVICE FOR LINK FAULT DETECTING AND RECOVERING BASED ON ARP INTERACTION


Patent No. 9,276,898
Issue Date March 01, 2016
Title Method And Device For Link Fault Detecting And Recovering Based On Arp Interaction
Inventorship Liyuan Yu, Guangdong (CN)
Xiaoxiang Wu, Guangdong (CN)
Dongmei Liu, Guangdong (CN)
Assignee ZTE Corporation, Shenzhen, Guangdong (CN)

Claim of US Patent No. 9,276,898

1. A method for link fault detection and recovery based on Address Resolution Protocol (ARP) interaction, comprising:
allocating an IP address and a mask code for network devices of a home terminal and an opposite terminal; the network devices
of the home terminal and the opposite terminal respectively comprise a processor configured to perform a strategy routing
or static routing module and an ARP module;

the strategy routing or static routing module regularly inquiring whether an available ARP entry corresponding to a next-hop
routing exists;

if the available ARP entry corresponding to the next-hop routing exists, determining that a link corresponding to the next-hop
routing is available,

if the available ARP entry corresponding to the next-hop routing does not exist, notifying the ARP module to perform keepalive
processing on the next-hop routing; and

the ARP module performing keepalive on the next-hop routing, and notifying the strategy routing or static routing module to
judge whether the link corresponding to the next-hop routing is available after performing keepalive on the next-hop routing;

wherein the step of performing keepalive processing on the next-hop routing comprises: judging whether the ARP entry corresponding
to the next-hop routing on which the keepalive processing is needed to perform exists, when the ARP entry exists, normally
returning; and when the ARP entry does not exist, generating a unavailable (waiting) entry and transmitting an ARP request
using the next-hop routing needed to be performed keepalive as a destination IP, and updating as an available dynamic ARP
entry after receiving an ARP response from the opposite terminal.