The subject matter herein generally relates to wireless communications.
Networks in a mesh arrangement comprise multiple different types of devices including client devices and access devices.
A mesh network can be further divided into multiple virtual area networks. In a layer 2 network for wireless client devices, an access device to which they are physically linked can be established through the WI-FI (IEEE 802.11) protocol. However, for wired client devices, only the local area network in which a wired client device is generally located can be established. Information of which wired client device is currently physically linked to which access device in the local area network cannot be obtained.
Thus, there is room for improvement within the art.
Implementations of the present technology will now be described, by way of embodiments, with reference to the attached figures, wherein:
It will be appreciated that for simplicity and clarity of illustration, where appropriate, reference numerals have been repeated among the different figures to indicate corresponding or analogous elements. In addition, numerous specific details are set forth to provide a thorough understanding of the embodiments described herein. However, it will be understood by those of ordinary skill in the art that the embodiments described herein can be practiced without these specific details. In other instances, methods, procedures, and components have not been described in detail so as not to obscure the related relevant feature being described. Also, the description is not to be considered as limiting the scope of the embodiments described herein. The drawings are not necessarily to scale and the proportions of certain parts may be exaggerated to better illustrate details and features of the present disclosure.
References to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean “at least one”. The term “comprising”, when utilized, means “including, but not necessarily limited to”; it specifically indicates open-ended inclusion or membership in a so-described combination, group, series, and the like.
In the embodiment of
At block 302, the processing unit 210 generates an address resolution protocol (ARP) request packet.
At block 304, the processing unit 210 inserts a unique identifier (UID) in a target hardware address (THA) field of the ARP request packet. In the embodiment, the access device 200 stores the UID in the storage unit 220 at the time of shipment. The UID cannot be modified, and is unique in a network. In another embodiment, the UID may be an organizational unit identifier (OUID), describing vendor who manufactured the access device 200.
At block 306, the processing unit 210 transmits the ARP request packet.
According to the ARP specification, the ARP request packet is a packet which is broadcast to each device on the same local area network, and each device whether access device or client device will process the ARP request packet. In the embodiment, each client device physically linked to the access device 200 will reply to the ARP request packet.
At block 308, the processing unit 210 determines whether an ARP reply packet is received. In the embodiment, the processing unit 210 configures a specific timer to determine whether an ARP reply packet is received before the set time expires. If no ARP reply packet is received before the set time expires, it is determined that the corresponding access device 200 has not received the ARP reply packet.
If the result at block 308 is “YES”, then at block 310, a client device list is further generated according to the received ARP packet and stored in the storage unit 220. In the embodiment, the client device list reveals client devices which are physically linked to the access device 200.
If the result at block 308 is “NO”, the physical link analysis is ended.
The access device 200 may also receive an ARP request packet transmitted by another access device 200 in the same local area network. According to an embodiment, when the access device 200 receives the ARP request packet containing the THA field infilled with the UID, it is not directly forwarded through an internal switch, but is transmitted to the processing unit 210 to perform processing. If the processing unit 210 of the access device 200 checks that the ARP request packet carries the UID, the access device 200 will not forward the ARP request packet but will discard it. Thus, none of the client devices linked to the access device 200 will reply to the ARP request packet and the ARP request is restricted to be broadcast within the local area network.
Taking
The ARP request packet and the ARP reply packet used in the above embodiments may also be replaced by other custom or identical protocol packets having the same/similar functions.
A network administrator of the mesh network 100 can effectively determine the physical links of all client devices in the mesh network 100 by using the access devices 112˜116 and the physical link analysis method. The method is compatible with existing ARP specification and is applicable to all network devices.
The embodiments shown and described above are only examples. Many other details are often found in such art. Therefore, many such details are neither shown nor described. Even though numerous characteristics and advantages of the present technology have been set forth in the foregoing description, together with details of the structure and function of the present disclosure, the disclosure is illustrative only, and changes may be made in the detail, especially in matters of shape, size, and arrangement of the parts within the principles of the present disclosure, up to and including the full extent established by the broad general meaning of the terms used in the claims. It will therefore be appreciated that the embodiments described above may be modified within the scope of the claims.