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

Active Publication Date: 2022-02-01
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] For a multi-control server, with the optimization and improvement of the server, the maximum number of virtual network devices supported by the system will increase. Only the system assigns the MAC address, which will easily cause the MAC address of the virtual network device in the multi-control server conflict
Once the MAC addresses of the virtual network devices in the same server conflict, the transmission function of network data will be affected, the virtual network devices will be disconnected frequently, and the sending and receiving of network data packets will be disordered.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for solving MAC address conflicts of multiple control servers and storage medium
  • Method and device for solving MAC address conflicts of multiple control servers and storage medium
  • Method and device for solving MAC address conflicts of multiple control servers and storage medium

Examples

Experimental program
Comparison scheme
Effect test

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

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a method and device for solving MAC address conflicts of multiple control servers and a storage medium. The method comprises the following steps of configuring a unique identification number for the control module, determining a selectable range of all screening bits in the MAC addresses according to the identification number of each control module, and forming an MAC address subset corresponding to the control module by a set of all MAC addresses of which the screening bits are within the selectable range, when the virtual network device is created on the control module, selecting a target MAC address from the corresponding MAC address subset to serve as the MAC address of the virtual network device, wherein the target MAC address is different from the MAC address of the existing virtual network device on the same control module. When MAC addresses are configured for virtual network devices on different control modules, selectable value ranges of MAC address screening bits corresponding to the different control modules are different, and the MAC addresses of the different control modules do not conflict. When MAC address configuration is carried out on virtual network device of the same control module, the calculation amount required for avoiding MAC address conflicts is small.

Description

technical field [0001] The present application relates to the field of MAC configuration of virtual network equipment, and in particular to a method, device and storage medium for solving MAC address conflicts of multi-control servers. Background technique [0002] MAC address (Media Access Control Address) is a unique identifier assigned to a network interface, usually called an Ethernet address (Ethernet Address) or a physical address (Physical Address), which is used for communication on a physical network segment and confirms the physical address of a network device. Location. [0003] In the OSI model, the third layer network layer is responsible for the IP address, and the second layer data link layer is responsible for the MAC address, which is used to uniquely identify a network card in the network. [0004] In the process of function realization, the server uses virtualization technology to create a virtual machine, and puts some functions in the virtual machine fo...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L61/5046H04L101/622
Inventor 孟祥奎
Owner SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products