Device and method for optimizing ARP aging mechanism

A technology of ARP tables and ARP entries, applied in the field of devices that optimize the ARP aging mechanism, can solve problems such as network link interruption, CPU paralysis, and CPU load

Active Publication Date: 2015-04-29
HANGZHOU DPTECH TECH
View PDF4 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, at present, many network devices adopt the method of separating table entry maintenance and table entry application, such as switches, which mainly rely on chips to forward packets. In this way, the chips inside the switch will apply ARP entries. But the work of maintaining ARP entries is done by the CPU outside the chip
For this type of equipment, there are serious hidden dangers in the ARP entry aging method in the prior art: after the CPU s

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Device and method for optimizing ARP aging mechanism
  • Device and method for optimizing ARP aging mechanism

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] The present invention provides a device and method for optimizing the ARP aging mechanism to solve the hidden dangers in the existing ARP aging mechanism when the maintenance of entries and the application of entries are separated. Please refer to figure 1 , in a preferred mode of software implementation, the present invention provides a device for optimizing the ARP aging mechanism, which is applied to network equipment, and the basic hardware environment for the device to run includes CPU, memory, non-volatile memory and various Hardware, from a logical point of view, the device includes: a query matching unit, a delayed detection unit and a general processing unit. Please refer to figure 2 .

[0017] Step 101, the query matching unit matches the unmarked entry with the MAC address forwarding table when the ARP entry reaches the aging time, and the MAC address of the entry has a corresponding record in the MAC address forwarding table, then the entry to mark;

[...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a device and a method for optimizing an ARP aging mechanism. The device and the method are applied to network equipment. The method comprises the following steps: matching unmarked table entries in an ARP table with an MAC (Media Access Control) address forwarding table, and marking the table entries if the MAC addresses of the table entries have corresponding records in the MAC address forwarding table; postponing the aging time of the marked table entries in the ARP table by a predetermined duration T, and detecting the table entries when the aging time is reached; and when predetermined aging time is reached, processing the unmarked table entries in the ARP table according to a current aging rule. Through the technical scheme of the invention, the current ARP aging mechanism is effectively optimized; the running efficiency of a CPU (Central Processing Unit) is increased; and the network load is lowered.

Description

technical field [0001] The invention relates to the field of network communication, in particular to a device and method for optimizing an ARP aging mechanism. Background technique [0002] In the process of network communication, it often happens that messages are forwarded across VLANs (Virtual Local Area Networks, virtual local area networks). The so-called cross-VLAN forwarding is a type of Layer 3 forwarding. Since MAC addresses are used for layer 2 packet forwarding, and IP addresses are used for layer 3 packet forwarding, the switching device needs to resolve from IP addresses to MAC addresses based on cached ARP entries. The purpose of VLAN forwarding packets. Wherein, the ARP entry includes the MAC address and its corresponding IP address. In order to ensure the correctness of the resolution, the switching device needs to constantly delete and update the ARP entries. [0003] In the prior art, an ARP entry has an aging time, within the aging time, if an ARP respo...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L12/24
Inventor 余刚符志清
Owner HANGZHOU DPTECH TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products