CN107395786B - ARP (Address resolution protocol) table item indexing method and device - Google Patents

ARP (Address resolution protocol) table item indexing method and device Download PDF

Info

Publication number
CN107395786B
CN107395786B CN201710674779.9A CN201710674779A CN107395786B CN 107395786 B CN107395786 B CN 107395786B CN 201710674779 A CN201710674779 A CN 201710674779A CN 107395786 B CN107395786 B CN 107395786B
Authority
CN
China
Prior art keywords
address
index value
analyzed
arp
list
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710674779.9A
Other languages
Chinese (zh)
Other versions
CN107395786A (en
Inventor
周立伟
王富涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou DPTech Technologies Co Ltd
Original Assignee
Hangzhou DPTech Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou DPTech Technologies Co Ltd filed Critical Hangzhou DPTech Technologies Co Ltd
Priority to CN201710674779.9A priority Critical patent/CN107395786B/en
Publication of CN107395786A publication Critical patent/CN107395786A/en
Application granted granted Critical
Publication of CN107395786B publication Critical patent/CN107395786B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides an index method and a device of ARP table items, wherein the method comprises the following steps: when the received IP address to be analyzed is determined to be not successfully analyzed, determining a state identifier corresponding to the IP address to be analyzed; determining a second index value for the IP address to be analyzed from at least one preset first index value based on the state identification, wherein the second index value is consistent with a third index value preset in an ARP list; determining a preset processing action based on the second index value and the ARP list, wherein the preset processing action corresponding to the third index value is recorded in the ARP list; and processing the IP address to be resolved based on the preset processing action. By applying the embodiment of the invention, the number of newly-built ARP table entries is greatly reduced, the ARP table entry resources are efficiently utilized, and the forwarding efficiency of the switch is improved.

Description

ARP (Address resolution protocol) table item indexing method and device
Technical Field
The present invention relates to the field of network communication technologies, and in particular, to an index method and apparatus for an ARP entry.
Background
Every time the switch receives the IP address to be resolved, an ARP table entry needs to be created for the IP address to be resolved. When a large number of ARP table entries which are not successfully analyzed occupy ARP table entry resources, so that the ARP table entries recorded in the ARP list reach the maximum value, the analysis result corresponding to the IP address to be analyzed which is successfully analyzed subsequently cannot be recorded in the ARP list, and the switch continues to forward the IP address to be analyzed, so that the forwarding efficiency of the switch is seriously reduced.
Disclosure of Invention
In view of this, the present invention provides an index method and apparatus for ARP entry, which efficiently utilize the ARP entry resource by multiplexing the ARP entry to solve the problem of low forwarding efficiency of the switch.
In order to achieve the purpose, the invention provides the following technical scheme:
according to a first aspect of the present invention, a method for indexing an ARP entry is provided, where the method includes:
when the received IP address to be analyzed is determined to be not successfully analyzed, determining a state identifier corresponding to the IP address to be analyzed;
determining a second index value for the IP address to be analyzed from at least one preset first index value based on the state identification, wherein the second index value is consistent with a third index value preset in an ARP list;
determining a preset processing action based on the second index value and the ARP list, wherein the preset processing action corresponding to the third index value is recorded in the ARP list;
and processing the IP address to be resolved based on the preset processing action.
According to a second aspect of the present invention, an apparatus for indexing an ARP entry is provided, including:
the first determining module is configured to determine a state identifier corresponding to the IP address to be resolved when the received IP address to be resolved is determined not to be resolved successfully;
a second determining module configured to determine, based on the status identifier, a second index value for the to-be-resolved IP address from at least one preset first index value, where the second index value is consistent with a third index value preset in the ARP list;
a third determining module, configured to determine a preset processing action based on the second index value and the ARP list, where the ARP list records the preset processing action corresponding to the third index value;
and the IP address processing module is configured to process the IP address to be resolved based on the preset processing action.
According to the technical scheme, aiming at the IP address to be analyzed which is not successfully analyzed, the switch establishes an index relationship between the IP address to be analyzed and the ARP list through the second index value, and due to the fact that the number of the ARP list items corresponding to the preset processing action is small, the number of newly-built ARP list items is greatly reduced for the IP address to be analyzed with the same processing appeal by multiplexing the ARP list items corresponding to the preset processing action, efficient utilization of ARP list item resources is achieved, and forwarding efficiency of the switch is greatly improved.
Drawings
FIG. 1 is a flowchart illustrating an embodiment of a method for indexing ARP entries according to the present invention;
FIG. 2 is a flowchart of another embodiment of a method for indexing ARP entries according to the present invention;
FIG. 3 is a flowchart of another embodiment of a method for indexing ARP table entries according to the present invention;
FIG. 4 is a hardware block diagram of a switch provided by the present invention;
FIG. 5 is a block diagram of an example of an ARP entry indexing apparatus;
fig. 6 is a block diagram of another example of an ARP entry indexing mechanism provided in the present invention.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present invention. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
Fig. 1 is a flowchart of an embodiment of an ARP entry indexing method provided by the present invention, where the Address Resolution Protocol (ARP) entry indexing method can be applied to a switch, and as shown in fig. 1, the ARP entry indexing method includes the following steps 101 and 104:
step 101: and when the received IP address to be analyzed is determined not to be successfully analyzed, determining the state identifier corresponding to the IP address to be analyzed.
Step 102: and determining a second index value for the IP address to be analyzed from at least one preset first index value based on the state identifier, wherein the second index value is consistent with a third index value preset in the ARP list.
Step 103: and determining a preset processing action based on the second index value and the ARP list, wherein the ARP list records the preset processing action corresponding to the third index value.
Step 104: and processing the IP address to be analyzed based on the preset processing action.
In step 101, in an embodiment, the IP address to be resolved is an IP address when the switch does not obtain a resolution result. The state identifier corresponding to the to-be-analyzed IP address is carried by the packet corresponding to the to-be-analyzed IP address and is used to mark the current state corresponding to the to-be-analyzed IP address, for example, the state identifier "1" is used to mark that the to-be-analyzed IP address needs to be uploaded to a CPU to continue broadcasting to a neighboring device, and the state identifier "2" is used to mark that the to-be-analyzed IP address needs to be discarded.
In step 102, in an embodiment, a preset first index value is used to establish an index relationship between the IP address to be resolved and the ARP list, and in combination with step 101, for example, the first index value may be "0001", "0011", or the like. The different first index values correspond to different state identifications, for example, a state identification "1" corresponds to a first index value "0001"; the state flag "2" corresponds to the first index value "0011". For example, the switch determines a second index value "0011" for the IP address to be resolved from preset first index values "0001" and "0011" based on the state identifier "2". The second index value is consistent with a third index value preset in the ARP list. And the third index value preset in the ARP list is used for corresponding to a preset processing action, and the processing action comprises uploading to a CPU, discarding the message and the like. As shown in table 1, is an example of the structure of the ARP list:
TABLE 1
Third index value Presetting a processing action
0001 Upload CPU
0011 Discarding messages
In table 1, the preset processing action corresponding to the third index value "0001" is taken as "send-up CPU"; and the preset processing action corresponding to the third index value '0011' is used as a 'discard message'.
In step 103, in an embodiment, the switch determines a predetermined processing action based on the second index value and an ARP list, and the ARP list records the predetermined processing action corresponding to the third index value. In combination with steps 101 to 102, for example, the to-be-analyzed IP address 168.168.12.18 corresponds to the state identifier "2", the switch determines that the to-be-analyzed IP address 168.168.12.18 corresponds to the second index value "0011" based on the state identifier "2", and the switch determines, based on the second index value "0011" and the ARP list shown in table 1, a preset processing action "discard packet" corresponding to the third index value "0011" preset in the ARP list.
In step 104, in an embodiment, in combination with step 103, the switch discards the packet corresponding to the to-be-analyzed IP address 168.168.12.18 based on a preset processing action "discard packet".
Optionally, before performing step 101, the switch records a correspondence between a preset third index value and a preset processing action in the ARP list. As will be understood by those skilled in the art, generally, before the IP address to be resolved has not been successfully resolved, the following steps may be included: and the IP address to be analyzed is discarded in two processing modes of uploading to the CPU to continuously broadcast to the neighbor equipment. The corresponding relation between the third index value and the preset processing action is recorded in an ARP list in advance through the switch, when the switch receives the IP address to be analyzed, the IP address to be analyzed is associated with the preset processing action, for the existing preset processing action, the IP address to be analyzed does not establish ARP table entries again, and therefore the number of newly-established ARP table entries can be greatly reduced.
In the embodiment of the invention, aiming at the IP address to be resolved which is not successfully resolved, the switch establishes an index relationship between the IP address to be resolved and the ARP list through the second index value. Because the number of the ARP table entries corresponding to the preset processing action is small, the number of newly-built ARP table entries is greatly reduced for the IP addresses to be analyzed with the same processing appeal by multiplexing the ARP table entries corresponding to the preset processing action, the efficient utilization of ARP table entry resources is realized, and the forwarding efficiency of the switch is improved.
Fig. 2 is a flowchart of another ARP entry indexing method according to another embodiment of the present invention, which is described in conjunction with fig. 1 and fig. 1 to illustrate how to record a second index value corresponding to an IP address to be resolved in a host list, as shown in fig. 2, including the following steps:
step 201: determining whether an IP address to be resolved exists in a host list, where the host list is used to record the IP address and an index value corresponding to the IP address, executing step 202 when the switch determines that the IP address to be resolved does not exist in the host list, and executing step 203 when the switch determines that the IP address to be resolved exists in the host list.
Step 202: and recording the corresponding relation between the IP address to be analyzed and the second index value in a host list.
Step 203: and updating the fourth index value corresponding to the IP address to be analyzed into the second index value.
In step 201, the host list is used to record the to-be-resolved IP address that has been received by the switch, and at the same time, the host list is also used to record a second index value corresponding to the to-be-resolved IP address. The switch determines whether the IP address to be resolved identical to the IP address to be resolved exists in the host list or not by traversing all the IP addresses to be resolved recorded in the host list. When the switch determines that the IP address to be resolved does not exist in the host list, step 202 is executed, and when the switch determines that the IP address to be resolved exists in the host list, step 203 is executed.
In step 202, when the switch determines that the IP address to be resolved does not exist in the host list, the switch records the correspondence between the IP address to be resolved and the second index value in the host list. As shown in table 2, which is a structural example of the host list:
TABLE 2
IP address to be resolved Second index value
168.168.14.15 0001
168.168.17.11 0011
168.168.13.16 0001
- -
In table 2, the to-be-resolved IP addresses 168.168.14.15, 168.168.17.11, 168.168.13.16 correspond to second index values 0001, 0011, 0001, respectively. Taking the to-be-resolved IP address as 168.168.12.18 and the second index value corresponding to the to-be-resolved IP address 168.168.12.18 as 0011, the switch records the correspondence between the to-be-resolved IP address 168.168.12.18 and the second index value 0011 in the host list shown in table 2, as shown in table 3, the switch records the correspondence between the to-be-resolved IP address 168.168.12.18 and the second index value 0011 in the host list:
TABLE 3
IP address to be resolved Second index value
168.168.14.15 0001
168.168.17.11 0011
168.168.13.16 0001
168.168.12.18 0011
In table 3, the switch records the correspondence between the to-be-resolved IP address 168.168.12.18 and the second index value 0011 in the fifth row.
In step 203, when the switch determines that the IP address to be resolved exists in the host list, the switch updates a fourth index value corresponding to the IP address to be resolved to the second index value. As shown in table 4, which is a structural example of the host list:
TABLE 4
IP address to be resolved Second index value
168.168.14.15 0001
168.168.12.18 0011
168.168.13.16 0001
In table 4, the to-be-resolved IP addresses 168.168.14.15, 168.168.12.18, 168.168.13.16 correspond to second index values 0001, 0011, 0001, respectively. Taking the to-be-resolved IP address as 168.168.14.15 and the second index value corresponding to the to-be-resolved IP address 168.168.14.15 as 0011, the switch determines "0001" corresponding to the to-be-resolved IP address as the fourth index value, and the switch updates the fourth index value "0001" to the second index value "0011". As shown in table 5, the host list is obtained after the switch updates the fourth index value "0001" corresponding to the to-be-resolved IP address 168.168.14.15 to the second index value "0011":
TABLE 5
IP address to be resolved Second index value
168.168.14.15 0011
168.168.12.18 0011
168.168.13.16 0001
In the embodiment of the invention, the host list is used for recording the IP addresses to be analyzed which are already received by the switch, different IP addresses to be analyzed are associated with the preset processing action in the ARP list through the same second index value, the aim of reducing the number of newly-built ARP list items is realized through a many-to-one mode, the ARP list item resources are efficiently utilized, and the forwarding efficiency of the switch is greatly improved.
Fig. 3 is a flowchart of an embodiment of a method for indexing an ARP entry according to another ARP entry provided in the present invention, where the embodiment of the present invention is exemplarily described with reference to fig. 1, and as shown in fig. 3, the method includes the following steps:
step 301: and when the IP address to be analyzed is determined to be successfully analyzed, establishing an ARP table entry in the ARP list, wherein the ARP table entry is used for recording an analysis result and a fifth index value corresponding to the IP address to be analyzed.
Step 302: and recording the corresponding relation between the IP address to be analyzed and the fifth index value in a host list.
In step 301, the switch establishes an ARP entry in the ARP list for recording the resolution result and the fifth index value corresponding to the IP address to be resolved. As shown in table 6, is an example of the structure of the ARP list:
TABLE 6
Figure BDA0001373989040000071
In table 6, the MAC address, VLAN information, outgoing interface information, and preset port corresponding to the to-be-analyzed IP address 168.168.14.15 are all empty, and the to-be-analyzed IP address corresponds to the index value "0011" and the preset processing action "discard the packet"; the IP address to be resolved 168.168.12.18 corresponds to the MAC address 43-23-14-36-00-00, the VLAN information VLAN-if1, the outbound interface information 87, the preset port 47 and the index value 0101. For example, when the third row in table 6 corresponds to the IP address to be resolved 168.168.12.18, the switch establishes an ARP entry in the ARP list, and the fifth index value is the index value "0101", and those skilled in the art can understand that the fifth index value is used to establish a one-to-one index relationship between the host list and the ARP list, where the relevant content of the fifth index value may refer to the related description in the prior art, and details thereof are not described here.
In step 302, in conjunction with step 301, the switch records the correspondence between the IP address to be resolved and the fifth index value in the host list.
In the embodiment of the invention, aiming at the IP address to be analyzed successfully, the switch records the analysis result by establishing the new ARP table entry, so that the compatibility is strong, and the analysis result of the IP address to be analyzed can be completely recorded.
Corresponding to the above ARP entry indexing method, the present invention also provides a hardware structure diagram of the switch shown in fig. 4. Referring to fig. 4, at the hardware level, the switch includes a processor, an internal bus, a network interface, a memory, and a non-volatile memory, but may also include hardware required for other services. The processor reads the corresponding computer program from the nonvolatile memory into the memory and then runs the computer program to form an index device of the ARP table entry on a logic level. Of course, besides the software implementation, the present invention does not exclude other implementations, such as logic devices or combination of software and hardware, and the like, that is, the execution subject of the following processing flow is not limited to each logic unit, and may be hardware or logic devices.
Fig. 5 is a block diagram of an embodiment of an apparatus for indexing an ARP entry provided in the present invention, and as shown in fig. 5, the apparatus for indexing an ARP entry may include: a first determining module 51, a second determining module 52, a third determining module 53, and an IP address processing module 54, wherein:
the first determining module 51 is configured to determine a status identifier corresponding to the to-be-resolved IP address when it is determined that the received to-be-resolved IP address is not successfully resolved;
a second determining module 52, configured to determine, based on the status identifier, a second index value for the to-be-resolved IP address from at least one preset first index value, where the second index value is consistent with a third index value preset in the ARP list;
a third determining module 53, configured to determine a preset processing action based on the second index value and the ARP list, where the preset processing action corresponding to the third index value is recorded in the ARP list;
an IP address processing module 54 configured to process the to-be-resolved IP address based on the preset processing action.
Fig. 6 is a block diagram of another embodiment of an ARP entry indexing apparatus provided in the present invention, and as shown in fig. 6, on the basis of the embodiment shown in fig. 5, the ARP entry indexing apparatus further includes:
a fourth determining module 55, configured to determine whether the IP address to be resolved exists in a host list, where the host list is used to record an IP address and an index value corresponding to the IP address;
a first recording module 56, configured to record, when it is determined that the IP address to be resolved does not exist in the host list, a correspondence between the IP address to be resolved and the second index value in the host list;
an index value updating module 57, configured to update a fourth index value corresponding to the IP address to be resolved to the second index value when it is determined that the IP address to be resolved exists in the host list.
In an embodiment, the apparatus for indexing an ARP entry further includes:
a preset information recording module 58 configured to record a corresponding relationship between a preset third index value and a preset processing action in an ARP list before the step of determining the status identifier corresponding to the to-be-resolved IP address.
In an embodiment, the apparatus for indexing an ARP entry further includes:
the entry establishing module 59 is configured to, when it is determined that the to-be-analyzed IP address is successfully analyzed, establish an ARP entry in the ARP list, where the ARP entry is used to record an analysis result and a fifth index value corresponding to the to-be-analyzed IP address;
a second recording module 60 configured to record the corresponding relationship between the IP address to be resolved and the fifth index value in a host list.
The implementation process of the functions and actions of each unit in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the invention. One of ordinary skill in the art can understand and implement it without inventive effort.
It can be seen from the above embodiments that, for an IP address to be resolved that is not successfully resolved, the switch establishes an index relationship between the IP address to be resolved and the ARP list through the second index value, and since the number of ARP entries corresponding to the preset processing action is small, the number of newly-created ARP entries is greatly reduced for the IP address to be resolved having the same processing appeal by multiplexing the ARP entries corresponding to the preset processing action, so that efficient utilization of ARP entry resources is achieved, and the forwarding efficiency of the switch is greatly improved.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (6)

1. A method for indexing ARP table entries, the method comprising:
when the received IP address to be analyzed is determined to be successfully analyzed, adding an ARP table entry corresponding to the address to be analyzed into an ARP list;
when the received IP address to be analyzed is determined not to be successfully analyzed, multiplexing the existing ARP table entries in the ARP list, and specifically comprising the following steps:
determining a state identifier corresponding to the IP address to be analyzed;
determining a second index value for the IP address to be analyzed from at least one preset first index value based on the state identification, wherein the second index value is consistent with a third index value preset in an ARP list;
determining a preset processing action based on the second index value and the ARP list, wherein the preset processing action corresponding to the third index value is recorded in the ARP list;
processing the IP address to be analyzed based on the preset processing action;
determining whether the IP address to be analyzed exists in a host list, wherein the host list is used for recording the IP address and an index value corresponding to the IP address;
when the IP address to be analyzed does not exist in the host list, recording the corresponding relation between the IP address to be analyzed and the second index value in the host list;
when the IP address to be resolved is determined to exist in the host list, updating a fourth index value corresponding to the IP address to be resolved in the host list to the second index value.
2. The method according to claim 1, wherein before the step of determining the status identifier corresponding to the to-be-resolved IP address, the method further comprises:
and recording the corresponding relation between the preset third index value and the preset processing action in the ARP list.
3. The method of claim 1, further comprising:
when the IP address to be analyzed is determined to be successfully analyzed, establishing an ARP table entry in the ARP list, wherein the ARP table entry is used for recording an analysis result and a fifth index value corresponding to the IP address to be analyzed;
and recording the corresponding relation between the IP address to be analyzed and the fifth index value in a host list.
4. An apparatus for indexing an ARP entry, the apparatus comprising:
the first determining module is configured to add an ARP table entry corresponding to the address to be analyzed to an ARP list when the received IP address to be analyzed is determined to be analyzed successfully; when the received IP address to be analyzed is determined not to be successfully analyzed, multiplexing the existing ARP table entries in the ARP list, and specifically comprising the following steps: determining a state identifier corresponding to the IP address to be analyzed and the following three modules of a second determination module, a third determination module and an IP address processing module;
a second determining module configured to determine, based on the status identifier, a second index value for the to-be-resolved IP address from at least one preset first index value, where the second index value is consistent with a third index value preset in the ARP list;
a third determining module, configured to determine a preset processing action based on the second index value and the ARP list, where the ARP list records the preset processing action corresponding to the third index value;
the IP address processing module is configured to process the IP address to be resolved based on the preset processing action;
a fourth determining module, configured to determine whether the IP address to be resolved exists in a host list, where the host list is used to record an IP address and an index value corresponding to the IP address;
a first recording module configured to record a correspondence between the to-be-resolved IP address and the second index value in the host list when it is determined that the to-be-resolved IP address does not exist in the host list;
an index value updating module configured to update a fourth index value corresponding to the IP address to be resolved in the host list to the second index value when it is determined that the IP address to be resolved exists in the host list.
5. The apparatus of claim 4, further comprising:
and the preset information recording module is configured to record a corresponding relation between a preset third index value and a preset processing action in an ARP list before the step of determining the state identifier corresponding to the IP address to be analyzed.
6. The apparatus of claim 4, further comprising:
the table item establishing module is configured to establish an ARP table item in the ARP list when the IP address to be analyzed is determined to be successfully analyzed, wherein the ARP table item is used for recording an analysis result and a fifth index value corresponding to the IP address to be analyzed;
and the second recording module is configured to record the corresponding relation between the IP address to be resolved and the fifth index value in a host list.
CN201710674779.9A 2017-08-09 2017-08-09 ARP (Address resolution protocol) table item indexing method and device Active CN107395786B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710674779.9A CN107395786B (en) 2017-08-09 2017-08-09 ARP (Address resolution protocol) table item indexing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710674779.9A CN107395786B (en) 2017-08-09 2017-08-09 ARP (Address resolution protocol) table item indexing method and device

Publications (2)

Publication Number Publication Date
CN107395786A CN107395786A (en) 2017-11-24
CN107395786B true CN107395786B (en) 2020-12-04

Family

ID=60355173

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710674779.9A Active CN107395786B (en) 2017-08-09 2017-08-09 ARP (Address resolution protocol) table item indexing method and device

Country Status (1)

Country Link
CN (1) CN107395786B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1567888A (en) * 2003-07-07 2005-01-19 华为技术有限公司 Network equipment implementing ARP in VPN and method thereof
CN101159619A (en) * 2007-11-20 2008-04-09 杭州华三通信技术有限公司 Fast adding method, device and switching arrangement of ARP table
CN102255984A (en) * 2011-08-08 2011-11-23 华为技术有限公司 Method and device for verifying ARP (Address Resolution Protocol) request message
CN102316174A (en) * 2010-07-01 2012-01-11 杭州华三通信技术有限公司 Method and device for processing index identifier of Internet protocol (IP) address
CN104601467A (en) * 2014-12-31 2015-05-06 华为技术有限公司 Method and device for sending messages
CN106850874A (en) * 2017-02-06 2017-06-13 湖南基石通信技术有限公司 ARP message interaction methods and system in a kind of cordless communication network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3994614B2 (en) * 2000-03-13 2007-10-24 株式会社日立製作所 Packet switch, network monitoring system, and network monitoring method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1567888A (en) * 2003-07-07 2005-01-19 华为技术有限公司 Network equipment implementing ARP in VPN and method thereof
CN101159619A (en) * 2007-11-20 2008-04-09 杭州华三通信技术有限公司 Fast adding method, device and switching arrangement of ARP table
CN102316174A (en) * 2010-07-01 2012-01-11 杭州华三通信技术有限公司 Method and device for processing index identifier of Internet protocol (IP) address
CN102255984A (en) * 2011-08-08 2011-11-23 华为技术有限公司 Method and device for verifying ARP (Address Resolution Protocol) request message
CN104601467A (en) * 2014-12-31 2015-05-06 华为技术有限公司 Method and device for sending messages
CN106850874A (en) * 2017-02-06 2017-06-13 湖南基石通信技术有限公司 ARP message interaction methods and system in a kind of cordless communication network

Also Published As

Publication number Publication date
CN107395786A (en) 2017-11-24

Similar Documents

Publication Publication Date Title
US10659342B2 (en) Flow entry configuration method, apparatus, and system
US10348556B2 (en) Method and network infrastructure for a direct public traffic connection within a datacenter
CN104022953B (en) Message forwarding method and device based on open flows Openflow
US8713169B2 (en) Distributed IPv6 neighbor discovery for large datacenter switching systems
US20090238179A1 (en) Destination mac aging of entries in a layer 2 (l2) forwarding table
CN109714274B (en) Method for acquiring corresponding relation and routing equipment
CN106656857B (en) Message speed limiting method and device
CN106921578B (en) Method and device for generating forwarding table item
WO2016115698A1 (en) Data packet forwarding method, apparatus and device
CN107547346B (en) Message transmission method and device
US10581738B2 (en) Efficient inter-VLAN routing in openflow networks
CN105657078B (en) A kind of data transmission method, device and multitiered network manager
CN112787922A (en) Message processing method, network node and system
CN111131041B (en) VPN flow obtaining method and device based on NetFlow and BGP
CN107547535B (en) Anti-attack MAC address learning method and device and network equipment
US20190007279A1 (en) Control apparatus, communication system, virtual network management method, and program
CN107786386B (en) Selective transmission of Bidirectional Forwarding Detection (BFD) messages for authenticating multicast connections
CN111327545B (en) Data sending method and device, network system and switch
CN107105072B (en) Method and device for creating ARP (Address resolution protocol) table entry
US10205661B1 (en) Control messages for scalable satellite device clustering control in a campus network
CN107395786B (en) ARP (Address resolution protocol) table item indexing method and device
EP2908483A1 (en) Communication node, communication system, control device, packet transfer method, and program
US20160330166A1 (en) Address Acquiring Method and Network Virtualization Edge Device
CN113037691A (en) Message processing method, device and system
CN107086965B (en) ARP (Address resolution protocol) table entry generation method and device and switch

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant