CN114006886A - Method, device and storage medium for solving MAC address conflict of multi-control server - Google Patents

Method, device and storage medium for solving MAC address conflict of multi-control server Download PDF

Info

Publication number
CN114006886A
CN114006886A CN202111122137.0A CN202111122137A CN114006886A CN 114006886 A CN114006886 A CN 114006886A CN 202111122137 A CN202111122137 A CN 202111122137A CN 114006886 A CN114006886 A CN 114006886A
Authority
CN
China
Prior art keywords
mac address
control module
virtual network
screening
mac
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.)
Granted
Application number
CN202111122137.0A
Other languages
Chinese (zh)
Other versions
CN114006886B (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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202111122137.0A priority Critical patent/CN114006886B/en
Publication of CN114006886A publication Critical patent/CN114006886A/en
Application granted granted Critical
Publication of CN114006886B publication Critical patent/CN114006886B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The application relates to a method, a device and a storage medium for solving MAC address conflict of a multi-control server. The method comprises the following steps: configuring a unique identification number for the control module; determining the selectable range of all screening bits in the MAC address according to the identification number of each control module, and forming an MAC address subset corresponding to the control module by all MAC address sets of the screening bits in the selectable range; when the virtual network equipment is established on the control module, a target MAC address is selected from the corresponding MAC address subset as the MAC address of the virtual network equipment, wherein the target MAC address is different from the MAC address of the existing virtual network equipment on the same control module. When MAC addresses are configured for virtual network equipment on different control modules, the optional value ranges of MAC address screening bits corresponding to different control modules are different, and the MAC addresses among different control modules are not conflicted; when MAC address configuration is carried out on virtual network equipment of the same control module, the calculation amount required for avoiding MAC address conflict is small.

Description

Method, device and storage medium for solving MAC address conflict of multi-control server
Technical Field
The present application relates to the field of virtual network device MAC configuration, and in particular, to a method, an apparatus, and a storage medium for resolving MAC address conflicts of multiple control servers.
Background
The MAC Address (Media Access Control Address) is a unique identifier assigned to a network interface, commonly referred to as an Ethernet Address or Physical Address, and is used for communication on a Physical network segment to confirm the Physical location of a network device.
In the OSI model, the third layer network layer is responsible for IP addresses, the second layer data link layer is responsible for MAC addresses, and the MAC addresses are used to uniquely identify a network card in the network.
In the function implementation process, the server adopts a virtualization technology to create a virtual machine, partial functions are placed in the virtual machine to be implemented, virtual network equipment is required to be set for network communication of the virtual machine, and the MAC address of the virtual network equipment is allocated by a system.
For a multi-control server, with optimization and improvement of the server, the number of the maximum virtual network devices supported by the system is increased, and MAC addresses are allocated only by the system, which easily causes MAC address conflict of the virtual network devices in the content of the multi-control server. Once the MAC addresses of the virtual network devices in the same server collide, the transmission function of the network data may be affected, and the virtual network devices may be frequently disconnected, resulting in disorder of sending and receiving network data packets.
Disclosure of Invention
In order to solve the technical problem or at least partially solve the technical problem, the present application provides a method, an apparatus, and a storage medium for solving a MAC address conflict of a multi-control server.
In a first aspect, the present application provides a method for resolving a MAC address conflict of a multi-control server, including:
configuring a unique identification number for each control module of the multi-control server;
determining the selectable range of all screening bits in the MAC address according to the identification number of each control module, and forming the MAC address subset of the corresponding control module by the set of all MAC addresses with the screening bits in the selectable range;
when the virtual network equipment is established on the control module, a target MAC address is selected from the corresponding MAC address subset as the MAC address of the virtual network equipment, wherein the target MAC address is different from the MAC address of the existing virtual network equipment on the same control module.
Further, the identification number is a group of numbers which are sequentially increased by one from the beginning of the corresponding control module.
Furthermore, the determining, according to the identification number of each control module, an optional range of all the screening bits in the MAC address, and forming, by all the MAC address sets in which the screening bits are within the optional range, the MAC address subset of the corresponding control module includes:
acquiring the number of control modules;
a digital list formed by a whole set of selectable numbers on the screening position of the MAC address according to the sequence, and the position of each digital element in the digital list is mapped with a slice number;
determining a control module corresponding to the MAC address subset and an identification number of the control module;
creating a slice variable corresponding to the control module, and assigning the slice variable as the corresponding identification number minus one;
iterating the slicing variables in a mode of (the slicing variables + the number of control modules)% 16 to obtain the slicing variables within 16, wherein the% represents the remainder;
selecting numbers from the number list as the selectable range of the numbers on each screening bit of the MAC address according to all the slicing variables;
and traversing the MAC address set of which the screening bits are in the optional range to form the MAC address subset of the corresponding control module.
Further, the screening bits are selected from the last three bytes of the MAC address.
Further, the process of implementing that the target MAC address is different from the MAC address of the existing virtual network device on the same control module includes:
for each control module, creating a corresponding set of allocated and unallocated MAC addresses;
initializing an unallocated MAC address set into a MAC address subset corresponding to the control module;
when creating a virtual network device on a control module and configuring a MAC address, selecting a target MAC address from an unallocated MAC address set,
deleting the selected MAC address from the unallocated MAC address set;
and adding the selected target MAC address into the distributed MAC address set.
Furthermore, when the virtual network equipment is deleted, the MAC address of the virtual network equipment is obtained;
deleting the MAC address of the deleted virtual network device from the assigned MAC address set;
adding the MAC address of the deleted virtual network device to the unassigned MAC address set.
Further, the process of implementing that the target MAC address is different from the MAC address of the existing virtual network device on the same control module includes:
acquiring the number of all virtual network devices on a control module, wherein all the network devices comprise created virtual network devices and virtual network devices being created;
and selecting the MAC addresses with the determined number from the MAC address subset corresponding to the control module, and configuring the MAC addresses of the virtual network equipment by the selected MAC addresses.
Further, the process of implementing that the target MAC address is different from the MAC address of the existing virtual network device on the same control module includes:
traversing the configuration file of the created virtual network equipment on the control module to obtain the MAC address of the created virtual network equipment;
and when a new virtual network device is created, traversing all MAC addresses in the MAC address subset until a target MAC address is obtained, wherein the target MAC address is different from the MAC address of the created virtual network device.
In a second aspect, the present application provides an apparatus for resolving MAC address conflicts of multiple control servers, including: the configuration module has the functions of configuring the identification number of the control module and selecting the configuration screening position;
the MAC address subset creating module determines the optional range of the screening bits in the MAC address according to the identification number of the control module, and forms the MAC address subset corresponding to the control module by all MAC address sets of which the screening bits are in the optional range;
and the MAC address configuration module is used for selecting a non-conflicting MAC address in the MAC address selectable range to configure the MAC address of the virtual network equipment.
In a third aspect, the present application provides a storage medium for implementing a method for resolving a MAC address conflict of a multi-control server, where the storage medium for implementing the method for resolving a MAC address conflict of a multi-control server stores at least one instruction, and reads and executes the instruction to implement the method for resolving a MAC address conflict of a multi-control server.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages:
configuring different identification numbers for different control modules in a multi-control server, and selecting a screening bit from the last three bytes of an MAC address; and determining the optional range of the numbers of the screening bits of the MAC addresses corresponding to different control modules by using the identification numbers of the different control modules. And traversing the MAC addresses with the screening bits meeting the optional range to form MAC address subsets corresponding to different control modules. And when the virtual network equipment is established on different control modules, acquiring the non-conflicted MAC address from the corresponding MAC address subset for configuration. On one hand, the selectable ranges of the numbers on the MAC address screening positions corresponding to different control modules do not have intersection, so that the MAC addresses between the virtual network devices on different control modules are ensured not to conflict; on the other hand, the MAC address selection range between the virtual network devices on the same control module does not exceed the corresponding MAC address subset, the data processing amount is small, the MAC address comparison operation calculation amount is less in the MAC address allocation or MAC address conflict detection process, and the MAC address conflict detection or MAC address allocation is faster.
The control module where the virtual network device is located can be judged through the MAC address of the virtual network device.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a flowchart of a method for resolving MAC address conflicts of a multi-control server according to an embodiment of the present disclosure;
fig. 2 is a flowchart for determining an optional range of all the screening bits in the MAC address according to the identification number of each control module, and forming a MAC address subset corresponding to the control module by all the MAC address sets in which all the screening bits are within the optional range, according to the embodiment of the present application;
fig. 3 is a flowchart for iterating a slice variable in a manner of (slice variable + M)% 16 to obtain a slice variable within 16 according to an embodiment of the present application;
fig. 4 is a flowchart illustrating a first implementation that the target MAC address is different from an MAC address of an existing virtual network device on the same control module according to the embodiment of the present application;
fig. 5 is a flowchart illustrating a second implementation that the target MAC address is different from the MAC address of the existing virtual network device on the same control module according to the embodiment of the present application;
fig. 6 is a flowchart illustrating a third implementation that the target MAC address is different from the MAC address of the existing virtual network device on the same control module according to the embodiment of the present application;
fig. 7 is a schematic diagram of an apparatus for resolving MAC address conflicts of a multi-control server according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that, in this document, 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 identical elements in a process, method, article, or apparatus that comprises the element.
The MAC Address (Media Access Control Address) is an Address used to identify the location of a network device. In the OSI model, a third layer network layer is responsible for IP addresses and a second layer data link layer is responsible for MAC. The MAC address is used to uniquely identify a network card in a network, and if a device has one or more network devices, each network device needs and has a unique MAC address. The MAC address has 48 bits in binary, wherein the first 24 bits (i.e., the first three bytes) generally indicate the device manufacturer or the virtualization management platform provider according to protocol conventions, and a 6-bit hexadecimal number formed by the last 24 bits (i.e., the last three bytes) can be selected as the screening bit of the present application.
For virtual network devices simulated by software functions in a server, different MAC addresses need to be provided to ensure normal communication of the virtual network devices.
Example 1
Referring to fig. 1, an embodiment of the present application provides a method for resolving a MAC address conflict of a multi-control server, including:
s100, configuring a unique identification number for each control module of the multi-control server; specifically, the identification number is a group of numbers which are sequentially increased by one from the beginning of the group of numbers corresponding to the control module. Such as: the control module a in the multi-control server corresponds to the number 1, and the control module b corresponds to the number 2 … ….
S200, selecting a screening bit from the last three bytes of the MAC address; specifically, in the hexadecimal case, the MAC address is in the following specific form xx:xx:xx:s3s3:s2s2:s1s1,. Each s represents a screening bit that can be selected. The method for selecting the screening bits from the last three bytes comprises the following steps: s1s1、s2s2And s1s1、s3s3、s2s2And s1s1. In the specific implementation process, the selection of the screening position is controlled by the user through the configuration interface selected by the screening position.
S300, determining the selectable range of all the screening bits in the MAC address according to the identification number of each control module, and forming the MAC address subset corresponding to the control module by all the MAC address sets with all the screening bits in the selectable range.
In a specific implementation process, referring to fig. 2, the determining, according to the identification number of each control module, the selectable range of all the screening bits in the MAC address, and forming, by using all the MAC address sets in which all the screening bits are within the selectable range, the MAC address subset corresponding to the control module includes:
s301, acquiring the number of control modules; specifically, the identification number of the control module is a group of numbers which are sequentially increased by one from the beginning of the group corresponding to the control module, and the number of the control modules is the maximum value of the identification number.
S302, a number list is formed by the selectable number complete sets on the screening positions of the MAC address according to the sequence, and the position of each number element in the number list is mapped with a slice number; specifically, the number list includes 0 to 15 sixteen sequentially increasing numbers. Numerical list
Wherein, in the numerical list, [0,1,2,3,4,5,6,7,8,9, a, B, C, D, E, F ]
The nth bit maps the slice number N-1.
S303, determining the control module corresponding to the MAC address subset and the identification number of the control module.
S304, creating a slice variable corresponding to the control module, and assigning as the corresponding identification number minus one. With kaDenotes a slice variable, wherein a is 1,2,3 … …; target control by MIdentification number of module, slice variable k corresponding to target control module1=M-1。
S305, iterating the slice variable in a manner of (slice variable + M)% 16 to obtain a slice variable within 16, where% represents the remainder; specifically, as shown in fig. 3, the method includes:
and S3051, comparing whether the value of the slice variable does not exceed 15, if so, executing S3052, otherwise, ending the loop.
S3052, outputting the slice variable to a slice variable container; and a jump is made to S3053,
s3053, press ka=(ka-1+ M)% 16 acquires a new slice variable, returning to S3051.
S306, selecting numbers from the number list according to all the slice variables as the selectable range of the numbers on each screening position of the MAC address; specifically, according to all slice variable values in the slice container, corresponding numbers are selected from the number list as selectable ranges of the MAC addresses, each of which is selected as an upper number.
S307, traversing all MAC addresses of which all screening bits are in the optional range, and forming the MAC address subset of the corresponding control module by all MAC address sets meeting the requirements.
S400, when the virtual network equipment is created on the control module, selecting a target MAC address from the corresponding MAC address subset as the MAC address of the virtual network equipment, wherein the target MAC address is different from the MAC address of the existing virtual network equipment on the same control module.
In a specific implementation process, referring to fig. 4, a feasible process for implementing that the target MAC address is different from the MAC address of the existing virtual network device on the same control module includes:
s401, aiming at each control module, creating a corresponding allocated MAC address set and an unallocated MAC address set;
s402, initializing an unallocated MAC address set into an MAC address subset corresponding to a control module;
s403, when creating virtual network equipment on the control module and configuring MAC addresses, selecting target MAC addresses from an unallocated MAC address set;
s404, deleting the selected MAC address from the unallocated MAC address set, and adding the selected target MAC address to the allocated MAC address set.
Correspondingly, when the MAC address occupied by the virtual network equipment is released when the virtual network equipment is deleted, the MAC address of the virtual network equipment is obtained; deleting the MAC address of the deleted virtual network device from the assigned MAC address set; adding the MAC address of the deleted virtual network device to the unassigned MAC address set.
Example 2
Example 2 differs from example 1 in that: the process that the target MAC address is different from the MAC address of the existing virtual network equipment on the same control module is realized.
In embodiment 2, referring to fig. 5, a process of implementing that a target MAC address is different from a MAC address of an existing virtual network device on the same control module includes:
s411, each time a new virtual network device is added, acquiring the number of all virtual network devices on the control module, where all the network devices include the created virtual network device and the virtual network device being created.
S412, selecting the MAC addresses with the number determined in step S411 from the MAC address subset corresponding to the control module.
S413, configuring the MAC address of the virtual network device with the selected MAC address.
Example 3
Example 3 differs from example 1 or from example 2 in that: the process that the target MAC address is different from the MAC address of the existing virtual network equipment on the same control module is realized.
In embodiment 3, referring to fig. 6, a process of implementing that the target MAC address is different from the MAC address of the existing virtual network device on the same control module includes:
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;
s422, traversing and acquiring MAC addresses in the MAC address subset when a new virtual network device is created;
and S423, traversing the screening bits from the last bit in the obtained MAC address screening bits, and comparing the numbers on the screening bits with the numbers of the screening bits corresponding to the MAC addresses of the created virtual network devices.
S424, determining whether the obtained MAC address conflicts with the MAC address of the created virtual network device according to whether the compared numbers in S423 are the same, and ending when the first non-conflicting MAC address is obtained. The first non-conflicting MAC address is the destination MAC address.
Example 4
Referring to fig. 7, an apparatus for resolving MAC address conflicts of multiple control servers according to an embodiment of the present application includes: the configuration module has the functions of configuring the identification number of the control module and selecting the configuration screening position;
the MAC address subset creating module determines the optional range of the screening bits in the MAC address according to the identification number of the control module, and forms the MAC address subset corresponding to the control module by all MAC address sets of which the screening bits are in the optional range;
and the MAC address configuration module is used for selecting a non-conflicting MAC address in the MAC address selectable range to configure the MAC address of the virtual network equipment.
Example 5
The embodiment of the application provides a storage medium for realizing a method for solving the MAC address conflict of a multi-control server, wherein the storage medium for realizing the method for solving the MAC address conflict of the multi-control server stores at least one instruction, and reads and executes the instruction to realize the method for solving the MAC address conflict of the multi-control server.
Configuring different identification numbers for different control modules in a multi-control server, and selecting a screening bit from the last three bytes of an MAC address; and determining the optional range of the numbers of the screening bits of the MAC addresses corresponding to different control modules by using the identification numbers of the different control modules. And traversing the MAC addresses with the screening bits meeting the optional range to form MAC address subsets corresponding to different control modules. And when the virtual network equipment is established on different control modules, acquiring the non-conflicted MAC address from the corresponding MAC address subset for configuration. On one hand, the selectable ranges of the numbers on the MAC address screening positions corresponding to different control modules do not have intersection, so that the MAC addresses between the virtual network devices on different control modules are ensured not to conflict; on the other hand, the MAC address selection range between the virtual network devices on the same control module does not exceed the corresponding MAC address subset, the data processing amount is small, the MAC address comparison operation calculation amount is less in the MAC address allocation or MAC address conflict detection process, and the MAC address conflict detection or MAC address allocation is faster.
The control module where the virtual network device is located can be judged through the MAC address of the virtual network device.
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be embodied in the form of a software product, where the computer software product is stored in a storage medium, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like, and the storage medium can store program codes, and includes instructions for enabling a computer terminal (which may be a personal computer, a server, or a second terminal, a network terminal, and the like) to perform all or part of the steps of the method in the embodiments of the present invention.
The same and similar parts in the various embodiments in this specification may be referred to each other. Especially, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant points can be referred to the description in the method embodiment.
In the embodiments provided by the present invention, it should be understood that the disclosed system, system and method can be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, systems or units, and may be in an electrical, mechanical or other form.
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 units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
Although the present invention has been described in detail by referring to the drawings in connection with the preferred embodiments, the present invention is not limited thereto. Various equivalent modifications or substitutions can be made on the embodiments of the present invention by those skilled in the art without departing from the spirit and scope of the present invention, and these modifications or substitutions are within the scope of the present invention/any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for solving MAC address conflict of a multi-control server is characterized by comprising the following steps:
configuring a unique identification number for each control module of the multi-control server;
determining the selectable range of all screening bits in the MAC address according to the identification number of each control module, and forming the MAC address subset of the corresponding control module by all MAC address sets of which all screening bits are in the selectable range;
when the virtual network equipment is established on the control module, a target MAC address is selected from the corresponding MAC address subset as the MAC address of the virtual network equipment, wherein the target MAC address is different from the MAC address of the existing virtual network equipment on the same control module.
2. The method for resolving multi-control server MAC address conflicts of claim 1, wherein the identification number is a set of numbers that are sequentially incremented by one from the beginning of the corresponding control module.
3. The method as claimed in claim 1, wherein the determining the selectable range of all the screening bits in the MAC address according to the identification number of each control module, and forming the MAC address subset of the corresponding control module from all the MAC address sets with all the screening bits within the selectable range comprises:
acquiring the number of control modules;
a digital list formed by a whole set of selectable numbers on the screening position of the MAC address according to the sequence, and the position of each digital element in the digital list is mapped with a slice number;
determining a control module corresponding to the MAC address subset and an identification number of the control module;
creating a slice variable corresponding to the control module, and assigning the slice variable as the corresponding identification number minus one;
iterating the slicing variables in a mode of (the slicing variables + the number of control modules)% 16 to obtain the slicing variables within 16, wherein the% represents the remainder;
selecting numbers from the number list as the selectable range of the numbers on each screening bit of the MAC address according to all the slicing variables;
and traversing the MAC address set of which the screening bits are in the optional range to form the MAC address subset of the corresponding control module.
4. The method of claim 3, wherein the screening bits are selected from the last three bytes of the MAC address.
5. The method as claimed in claim 1, wherein the step of implementing that the target MAC address is different from the MAC address of the existing virtual network device on the same control module comprises:
for each control module, creating a corresponding set of allocated and unallocated MAC addresses;
initializing an unallocated MAC address set into a MAC address subset corresponding to the control module;
when creating a virtual network device on a control module and configuring a MAC address, selecting a target MAC address from an unallocated MAC address set,
deleting the selected MAC address from the unallocated MAC address set;
and adding the selected target MAC address into the distributed MAC address set.
6. The method for resolving MAC address conflicts of multiple control servers according to claim 5, wherein the MAC address of the virtual network device is obtained when the virtual network device is deleted;
deleting the MAC address of the deleted virtual network device from the assigned MAC address set;
adding the MAC address of the deleted virtual network device to the unassigned MAC address set.
7. The method as claimed in claim 1, wherein the step of implementing that the target MAC address is different from the MAC address of the existing virtual network device on the same control module comprises:
acquiring the number of all virtual network devices on a control module, wherein all the network devices comprise created virtual network devices and virtual network devices being created;
and selecting the MAC addresses with the determined number from the MAC address subset corresponding to the control module, and configuring the MAC addresses of the virtual network equipment by the selected MAC addresses.
8. The method as claimed in claim 1, wherein the step of implementing that the target MAC address is different from the MAC address of the existing virtual network device on the same control module comprises:
traversing the configuration file of the created virtual network equipment on the control module to obtain the MAC address of the created virtual network equipment;
and when a new virtual network device is created, traversing all MAC addresses in the MAC address subset until a target MAC address is obtained, wherein the target MAC address is different from the MAC address of the created virtual network device.
9. An apparatus for resolving multi-control server MAC address conflicts, comprising: the configuration module has the functions of configuring the identification number of the control module and selecting the configuration screening position;
the MAC address subset creating module determines the optional range of the screening bits in the MAC address according to the identification number of the control module, and forms the MAC address subset corresponding to the control module by all MAC address sets of which all the screening bits are in the optional range;
and the MAC address configuration module is used for selecting a non-conflicting MAC address in the MAC address selectable range to configure the MAC address of the virtual network equipment.
10. A storage medium for implementing a method for resolving MAC address conflicts of a multi-control server, wherein the storage medium for implementing the method for resolving MAC address conflicts of the multi-control server stores at least one instruction, and reads and executes the instruction to implement the method for resolving MAC address conflicts of the multi-control server according to any one of claims 1 to 8.
CN202111122137.0A 2021-09-24 2021-09-24 Method, device and storage medium for solving MAC address conflict of multi-control server Active CN114006886B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111122137.0A CN114006886B (en) 2021-09-24 2021-09-24 Method, device and storage medium for solving MAC address conflict of multi-control server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111122137.0A CN114006886B (en) 2021-09-24 2021-09-24 Method, device and storage medium for solving MAC address conflict of multi-control server

Publications (2)

Publication Number Publication Date
CN114006886A true CN114006886A (en) 2022-02-01
CN114006886B CN114006886B (en) 2023-08-08

Family

ID=79921852

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111122137.0A Active CN114006886B (en) 2021-09-24 2021-09-24 Method, device and storage medium for solving MAC address conflict of multi-control server

Country Status (1)

Country Link
CN (1) CN114006886B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105684357A (en) * 2013-11-07 2016-06-15 国际商业机器公司 Management of addresses in virtual machines
CN107071090A (en) * 2017-05-25 2017-08-18 深圳市伊特利网络科技有限公司 Application process and system of the virtual network address in the link of networking
CN110392122A (en) * 2018-04-16 2019-10-29 腾讯大地通途(北京)科技有限公司 The determination method and apparatus of address style, storage medium, electronic device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105684357A (en) * 2013-11-07 2016-06-15 国际商业机器公司 Management of addresses in virtual machines
CN107071090A (en) * 2017-05-25 2017-08-18 深圳市伊特利网络科技有限公司 Application process and system of the virtual network address in the link of networking
CN110392122A (en) * 2018-04-16 2019-10-29 腾讯大地通途(北京)科技有限公司 The determination method and apparatus of address style, storage medium, electronic device

Also Published As

Publication number Publication date
CN114006886B (en) 2023-08-08

Similar Documents

Publication Publication Date Title
US11700300B2 (en) Cluster resource management in distributed computing systems
US7848327B2 (en) Methods and apparatus for creating addresses
CN112506669B (en) Task allocation method and device, storage medium and electronic equipment
CN110247997B (en) Method, device and storage medium for IP address allocation and topology management in DAS system
CN110351378A (en) A kind of control method and system of internet of things equipment
CN108810125B (en) Service discovery method and system for physical node
CN105324758A (en) Encapsulation enabled PCIE virtualisation
CN108696601A (en) Detect the hardware address conflict in computer network
CN108540408B (en) Openstack-based distributed virtual switch management method and system
CN111294416A (en) Method for obtaining IP address and related product
CN110290228B (en) Internet protocol IP address allocation method and device
CN106559338A (en) Tenant's division methods, device and SDN system in SDN
CN114006886B (en) Method, device and storage medium for solving MAC address conflict of multi-control server
CN104267985A (en) Software loading method and device
CN111327509B (en) Information updating method and device
CN111262771B (en) Virtual private cloud communication system, system configuration method and controller
CN110636149B (en) Remote access method, device, router and storage medium
US11907591B1 (en) Method and system for storage management, storage medium and device
CN113806076B (en) Method, device, equipment and readable medium for distributing four-control environment memory
CN108696557B (en) Information processing system, method and device
CN107295112B (en) Method and system for distributing domain names in limited network environment
CN114640678A (en) Pod management method, device and medium based on SR-IOV
CN108134858A (en) Network-building method, server, client computer and network system
CN108965169B (en) Message transmission method, network card controller, network card and electronic equipment
EP2109253A1 (en) A license implementation method, device and system of sharing the exchange node

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