A device and method for optimizing arp aging mechanism

A technology of ARP table and ARP table entry, which is applied in the field of devices that optimize the ARP aging mechanism, and can solve problems such as heavy CPU load, CPU paralysis, and network link interruption

Active Publication Date: 2018-07-24
HANGZHOU DPTECH TECH
View PDF4 Cites 0 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 sends the ARP entry to the chip, the packets corresponding to the entry will be forwarded by the chip, but the CPU will not After receiving the message corresponding to the entry, in this way, the entry will be deleted after the aging time, and the chip will send a large number of messages in an instant and trigger the ARP parsing process, causing the CPU load to be too heavy, which may seriously cause The CPU is paralyzed and the network link is interrupted

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
  • A device and method for optimizing arp aging mechanism
  • A 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 present invention provides a device and method for optimizing the ARP aging mechanism, which is applied to network equipment. The method includes: matching the unmarked entry in the ARP table with the MAC address forwarding table, and the MAC address of the entry is in the MAC address If there is a corresponding record in the forwarding table, mark the entry; delay the aging time of the marked entry in the ARP table for a predetermined time T1, and when the aging time is reached, detect the entry; When the time is set, the unmarked entries in the ARP table are processed according to the existing aging rules. Through the technical scheme of the invention, the existing ARP aging mechanism is effectively optimized, the operating efficiency of the CPU is improved, and the network load is reduced.

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
Patent Type & Authority Patents(China)
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