Method, device and system for acquiring media access control address
A medium access control and address technology, applied in the field of communication, can solve problems such as CPU resource consumption, affecting normal communication, occupying network bandwidth, etc., and achieve the effect of avoiding CPU resource occupation, improving resource utilization, and reducing occupation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] Such as figure 1 As shown, the embodiment of the present invention provides a method for obtaining a MAC address, the method includes the following steps:
[0037] S101: Receive a first ARP broadcast message sent by the first terminal, where the first ARP broadcast message is used to request to obtain the MAC address of the second terminal;
[0038] S102: Obtain the address of the ARP server, and modify the destination address of the first ARP broadcast message to the address of the ARP server;
[0039] S103: Send the modified first ARP broadcast message to the ARP server, so that the ARP server obtains the MAC address of the second terminal according to the modified first ARP broadcast message, and sends an ARP response The message is sent to the first terminal, and the ARP response message includes the MAC address of the second terminal.
[0040] It should be noted that, in Embodiment 1 of the present invention, the subject performing steps S101-S103 may be a device...
Embodiment 2
[0043] Such as figure 2 As shown, the embodiment of the present invention provides a method for obtaining a MAC address, and the subject that executes each step in the method described in this implementation may be a device or a software module, and its location is as follows image 3 The network structure diagram shown is between the terminal network interface and the device at the access layer of the layer 2 network, before the ARP broadcast message of the host is forwarded to the entire layer 2 network. This implementation selects the ARP proxy module as an example, then the method may include the following steps:
[0044] S201: The ARP proxy module receives a first ARP broadcast message sent by the first terminal, where the first ARP broadcast message is used to request to obtain the MAC address of the second terminal;
[0045] Wherein, the first ARP broadcast message is a standard ARP broadcast message, which includes the MAC address and IP address of the message sendin...
Embodiment 3
[0066] An embodiment of the present invention provides a method for acquiring a MAC address, including steps S301-S310. Wherein, steps S301-S308 are the same as steps S201-S208 in Embodiment 2 of the present invention, and will not be repeated here. Refer to Embodiment 2 for specific steps and drawings. Such as Figure 4 As shown, the difference between this embodiment and Embodiment 2 is that this embodiment also includes S309-S310:
[0067] S309: The ARP server receives the GARP broadcast message sent by the terminal;
[0068] Specifically, when the terminal is started, or the network interface of the terminal is started, or the terminal changes the MAC address, etc., the terminal sends a GARP broadcast message.
[0069] Wherein, the format of the GARP broadcast message is a standard GARP broadcast message.
[0070] S310: The ARP server obtains the terminal IP address in the GARP broadcast message, and judges whether there is a MAC address corresponding to the IP address ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com