Method and device for solving MAC address conflicts of multiple control servers and storage medium
A MAC address and server technology, applied in the field of virtual network device MAC configuration, can solve problems such as virtual network device disconnection, network data packet sending and receiving disorder, network data transmission function impact, etc., to achieve less data processing and MAC address conflicts The effect of fast detection or MAC address allocation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0057] see figure 1 As shown, the embodiment of the present application provides a method for resolving MAC address conflicts of multi-control servers, including:
[0058] S100. Configure a unique identification number for each control module of the multi-control server; specifically, the identification number is a group of numbers that increase one by one from the beginning of the corresponding control module. For example: the control module a in the multi-control server corresponds to the number 1, and the control module b corresponds to the number 2... .
[0059] S200, select the filter bit from the last three bytes of the MAC address; specifically, in the case of hexadecimal, the specific form of the MAC address is as follows xx:xx:xx:s 3 s 3 :s 2 s 2 :s 1 s 1, . Each s represents a filter bit that can be selected. The way to select the filter bit from the last three bytes includes: s 1 s 1 , s 2 s 2 and s 1 s 1 , s 3 s 3 , s 2 s 2 and s 1 s 1 . In the...
Embodiment 2
[0082] Compared with Embodiment 1, Embodiment 2 is different in that: the process in which the target MAC address is different from the MAC address of the existing virtual network device on the same control module.
[0083] In Example 2, see Figure 5 As shown, the process of realizing that the target MAC address is different from the MAC address of the existing virtual network device on the same control module includes:
[0084] S411. Acquire the number of all virtual network devices on the control module each time a new virtual network device is added, where all the network devices include created virtual network devices and virtual network devices being created.
[0085] S412. Select the number of MAC addresses determined in step S411 from the MAC address subset corresponding to the control module.
[0086] S413. Configure the MAC address of the virtual network device with the selected MAC address.
Embodiment 3
[0088] Compared with Embodiment 1 or Embodiment 2, Embodiment 3 is different in that: the process in which the target MAC address is different from the MAC address of the existing virtual network device on the same control module.
[0089] In Example 3, see Image 6 As shown, the process of realizing that the target MAC address is different from the MAC address of the existing virtual network device on the same control module includes:
[0090] S421, traversing the configuration file of the created virtual network device on the control module to obtain the MAC address of the created virtual network device;
[0091] S422. When creating a new virtual network device, traverse to obtain the MAC addresses in the MAC address subset;
[0092] S423. Start traversing the filter bits from the last bit in the obtained MAC address filter bits, and compare the number on the filter bit with the number of the filter bit corresponding to the MAC address of the created virtual network device....
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