Patent ID: 8542684
Filing Date: 2013-09-24
Classification: H04L

Abstract:
1. An Address Resolution Protocol (ARP) packet processing method, comprising: receiving, by a forwarding plane processor, an ARP packet generated by an external network device; judging, by the forwarding plane processor, whether the received ARP packet is an ARP request or an ARP response; searching an entry corresponding to the received ARP packet in a local ARP table; if the received ARP packet is the ARP response, and if the entry corresponding to the ARP packet is in the local ARP table, determining if a reporting parameter in the entry corresponding to the received ARP packet indicates a permission of reporting; if the reporting parameter indicates the permission of reporting, reporting, by the forwarding plane processor, the ARP response; if the reporting parameter indicates no permission of reporting, limiting, by the forwarding plane processor, a transmission rate of the ARP response, reporting, by the forwarding plane processor, the ARP response to a control- plane processor, and discarding, by the forwarding plane processor, the ARP response; if the received ARP packet is the ARP response, and if no entry corresponding to the ARP packet is in the local ARP table, discarding, by the forwarding plane processor, the ARP response; if the received ARP packet is the ARP request and if the entry corresponding to the received ARP packet is in the local ARP table, responding, by the forwarding plane processor, to the ARP request; and judging, by the forwarding plane processor, whether a proxy ARP function is enabled on an interface that receives the ARP request if no entry corresponding to the ARP request is found in the ARP table; if the proxy ARP function is enabled, limiting, by the forwarding plane processor, a transmission rate of the ARP request, and then reporting the AR P request to the control plane processor; and if the proxy ARP function is not enabled, discarding, by the forwarding plane processor, the ARP request.