EP2139187A1

Method, communication system and device for ARP packet processing

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 locally configured 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 locally configured 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.

EP2139187A1, drawing sheet 1
Sheet 1 of 5

Term

1.5 yearsto projected expiry

Projected expiry 19 March 2028, counted from filing; an application has no term until it is granted.

  1. Priority
  2. Filed
  3. Published
  4. Today
  5. Projected expiry

11 claims: 3 independent, 8 dependent

  1. 1
    An Address Resolution Protocol (ARP) packet processing method, comprising: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 locally configured 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 locally configured ARP table and a reporting parameter in the entry corresponding to the ARP response indicates permission of reporting;or discarding the ARP response if no entry corresponding to the ARP response is found in the ARP table.
  2. 4
    The ARP packet processing method of any of claims 1-3, further comprising:if the ARP packet is the ARP request, searching the ARP table according to a port number of the ARP request, a Virtual Local Area Network (VLAN) ID, and a destination Internet Protocol (IP) address.
  3. 5
    The ARP packet processing method of any of claims 1-3, wherein before responding to the ARP request, the method further comprises:if the entry corresponding to the ARP request is not a gateway ARP entry or a proxy ARP entry, discarding the ARP request.
  4. 6
    The ARP packet processing method of any of claims 1-3, further comprising:if the ARP packet is an ARP response, searching the ARP table according to a source Internet Protocol (IP) address of the ARP response.
  5. 7
    The ARP packet processing method of any of claims 1-3, wherein after reporting the ARP response, the method further comprises:modifying the reporting parameter in the entry corresponding to the ARP response in the ARP table to no permission of reporting.
  6. 8
    A communication system, comprising:a forwarding plane processor, adapted to receive an Address Resolution Protocol (ARP) packet, and judge the type of the ARP packet;when the ARP packet is an ARP request, respond to the ARP request if an entry corresponding to the ARP request is found in a locally configured ARP table;when the ARP packet is an ARP response, report the ARP response if an entry corresponding to the ARP response is found in the locally configured ARP table and a reporting parameter in the entry corresponding to the ARP response indicates permission of reporting;or discard the ARP response if no entry corresponding to the ARP response is found in the ARP table;and a control plane processor, adapted to receive the ARP request or ARP response reported by the forwarding plane processor.
  7. 9
    A forwarding plane processor, comprising:a judging unit, adapted to judge the type of a received Address Resolution Protocol (ARP) packet;a first searching unit, adapted to search a locally configured ARP table when the judging unit determines that the ARP packet is an ARP request;a responding unit, adapted to respond to the ARP request if the first searching unit finds an entry corresponding to the ARP request;a second searching unit, adapted to search the locally configured ARP table when the judging unit determines that the ARP packet is an ARP response;and a discarding unit, adapted to discard the ARP response if the second searching unit finds no entry corresponding to the ARP response.