ARP packet processing method, communication system and device
First Claim
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, anddiscarding, 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.
1 Assignment
0 Petitions
Accused Products
Abstract
An Address Resolution Protocol (ARP) packet processing method, a communication system and a device are disclosed. The method includes: receiving an ARP packet, and judging the type of the ARP packet; when the ARP packet is an ARP request, responding to the ARP request if an entry corresponding to the ARP request is found in a local ARP table; and when the ARP packet is an ARP response, reporting the ARP response if an entry corresponding to the ARP response is found in the local ARP table and a reporting parameter in the entry indicates permission of reporting; or discarding the ARP response if no entry corresponding to the ARP response is found in the ARP table.
11 Citations
7 Claims
-
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. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A communication system, comprising:
-
a forwarding plane processor configured to; receive an Address Resolution Protocol (ARP) packet; judge whether the received ARP packet is an ARP request or an ARP response; search an entry corresponding to the 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, determine 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, report the ARP response; if the reporting parameter indicates no permission of reporting, limit a transmission rate of the ARP response, report the ARP response to a control plane processor, and discard the ARP response; and if the received ARP packet is an ARP response, and if no entry corresponding to the ARP packet is in the local ARP table, discard the ARP response; and if the ARP packet is the ARP request and if the entry corresponding to the received ARP packet is in the local ARP table, respond to the ARP request; judge whether a proxy ARP function is enabled on an interface that receives the ARP request when the one or more processors find no entry corresponding to the received ARP request in the ARP table; if the proxy ARP function is enabled, limit a transmission rate of the ARP request and report the ARP request to the control plane processor; and if the proxy ARP function is not enabled, discard the ARP request wherein the control plane processor is configured to receive the ARP request or the ARP response reported by the forwarding plane processor.
-
-
7. A forwarding plane processor, comprising:
-
one or more processors; and a memory for storing instructions, which, when executed by the one or more processors, cause the one or more processors to; receive an Address Resolution Protocol (ARP) packet from an external network device; judge whether the received ARP packet is an ARP request or an ARP response; search 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 received ARP packet is in the local ARP table, determine 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, report the ARP response; if the reporting parameter indicates no permission of reporting, limit a transmission rate of the ARP response, report the ARP response to a control plane processor, and discard the ARP response; and if the received ARP packet is the ARP response, and if no entry corresponding to the received ARP packet is in the local ARP table, discard the ARP response; and 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, respond to the ARP request; judge whether a proxy ARP function is enabled on an interface that receives the ARP request when the one or more processors find no entry corresponding to the received ARP request in the ARP table; if the proxy ARP function is enabled, limit a transmission rate of the ARP request and report the ARP request to the control plane processor; and if the proxy ARP function is not enabled, discard the ARP request.
-
Specification