HA Network ARP Table Auto-Renovation via Packet Detection
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
High-availability systems face disruptions when network equipment malfunctions, particularly if the backup device fails to receive broadcast address correspondence, leading to communication failures and loss of HA mechanisms, especially when the invalid device is a gateway router.
Innovation Solution
A method is introduced that creates a HA network equipment cluster with a virtual destination IP address, defines operating and backup devices with MAC addresses, and employs a packet detection controller to detect packets destined for the VIP address, triggering an ARP broadcast packet to update external network devices' ARP tables, ensuring seamless transitions and reducing resource load.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the backup device sends ARP broadcast packets continuously to update address correspondence, then the ARP table update reliability is improved, but the network resource consumption increases
Solution Approach 1:
The system uses periodic heartbeat detection between backup and operating devices instead of continuous ARP broadcasts. The packet detection controller periodically checks for packets destined for the VIP address, and only triggers ARP updates when necessary, converting continuous resource consumption into periodic selective action.
Solution Approach 2:
The operating device automatically announces ARP broadcast packets with correct correspondence information when the packet detection controller detects packets destined for the VIP address. This self-service mechanism eliminates the need for external intervention or continuous monitoring, resolving the contradiction by enabling reliable updates only when needed.
2Device complexity
If the backup device does not receive broadcast address correspondence, then the system complexity is reduced, but the communication reliability deteriorates
Solution Approach 1:
The packet detection controller acts as an intermediary that monitors packets destined for the VIP address and triggers the operating device to send ARP broadcast packets when necessary. This intermediary mechanism ensures communication reliability without requiring the backup device to continuously receive or process broadcast address correspondence, maintaining simple system architecture while ensuring reliable address correspondence updates.
3Measurement precision
If the operating device announces ARP broadcast packets frequently, then the address correspondence accuracy is improved, but the network traffic increases
Solution Approach 1:
Instead of frequent continuous ARP broadcasts, the system implements periodic heartbeat detection that only triggers ARP announcements when the packet detection controller detects packets destined for the VIP address. This reduces network traffic from frequent broadcasts to selective periodic updates, maintaining address correspondence accuracy while minimizing unnecessary network traffic.
Data Source
AI summary
The method includes the steps of: a) creating a high availability (HA) network equipment cluster and network connection and assigning a virtual destination IP address (VIP address); b) defining an operating device and a backup device in the HA network equipment cluster, wherein the operating device and the backup device have respective physical addresses (MAC addresses); c) disposing a packet detection controller in the backup device; d) informing the operating device when the packet detection controller detects a packet with the VIP address as a destination; and e) the operating device announcing an ARP (Address Resolution Protocol) broadcast packet with correspondence of the VIP address and its own MAC address to drive an external network device with wrong ARP correspondence to make ARP update.

