MAC address configuration method and device of EPA network equipment
By implementing the MAC address configuration method in the control module of EPA network equipment, the problem of inflexible traditional configuration methods is solved, and the rapid adaptation to the network environment and security policies is achieved, the equipment flexibility and response speed are improved, and the operation and maintenance cost is reduced. .
Patent Information
- Application Number
- CN202411518856.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-29
- Publication Date
- 2025-02-07
AI Technical Summary
The MAC address configuration method of traditional EPA network devices is inherent and inflexible, and cannot quickly adapt to different network environments and security policies, resulting in reduced equipment flexibility and response speed, and frequent software upgrades increase operation and maintenance costs.
By implementing the MAC address configuration method in the control module of the EPA network device, receiving MAC configuration data, sending the data to the BMC through the communication interface, writing it to the network interface module, and replacing the MAC address that does not meet the network entry requirements.
The MAC address can be quickly modified without specific BMC software, which improves the flexibility and response speed of the equipment, simplifies the modification process, reduces operation and maintenance costs, and enhances system stability and network security protection.
Smart Images

Figure CN119402469A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of network equipment, and in particular to a MAC address configuration method and device for an EPA network equipment. Background Art
[0002] In the current rapidly developing network environment, the flexibility and efficient management of network devices based on the real-time communication protocol (Ethernet for Plant Automation, EPA) have become key elements of enterprise network architecture. As the unique identifier of EPA network devices in network communication, the convenience and manageability of MAC address configuration directly affect the operational efficiency and security of the network. However, the MAC address configuration method of traditional EPA network devices has obvious limitations, especially in the face of the growing demand for network personalization and security policy adjustments, its inherent defects are becoming more and more prominent.
[0003] Currently, in BMC software, the MAC address of EPA network devices is usually fixed, that is, it is hard-coded in the network interface controller (NIC) of the device when it leaves the factory. Although this fixed MAC address configuration ensures the stability of the EPA network device identity, it also brings a series of problems and limitations. In particular, when users need to change the MAC address to adapt to a specific network environment or security policy, the existing BMC software does not provide an easy way to modify it. Users often need to upgrade or reinstall a specific version of BMC software to modify the MAC address. This process is not only cumbersome but also time-consuming, which seriously reduces the flexibility and response speed of EPA network devices.
[0004] Furthermore, due to the strong correlation between the BMC software version and the MAC address modification function, users often get into trouble because they cannot modify the MAC address in time when facing network architecture adjustments, security policy changes, or troubleshooting. In addition, frequent software upgrades will also increase the operation and maintenance costs of the data center and pose a potential threat to the stability and availability of the system. Summary of the invention
[0005] The technical problem to be solved by this application is to provide a MAC address configuration method and device for EPA network equipment, which can quickly modify the MAC address without the need for specific BMC software. The specific solution is as follows:
[0006] A MAC address configuration method for an EPA network device is applied to a control module in the EPA network device, wherein the EPA network device further includes a communication interface and a baseboard management controller BMC. The method includes:
[0007] Receive MAC configuration data; the MAC configuration data is data configured when the MAC address in the EPA network device does not meet the preset network access requirement conditions;
[0008] The MAC configuration data is sent to the BMC through the communication interface, so that the BMC writes the MAC configuration data into the network interface module, so as to replace the MAC address of the EPA network device that does not meet the network access requirement condition with the target MAC address in the MAC configuration data.
[0009] In the above method, optionally, the receiving MAC configuration data includes:
[0010] When it is detected that the MAC address in the EPA network device does not meet the preset network access requirement conditions, output prompt information so that the user can configure a target MAC address that meets the network access requirement conditions on the configuration interface corresponding to the EPA network device based on the prompt information;
[0011] Receive MAC configuration data generated by the user configuring a target MAC address that meets the network access requirement condition.
[0012] The above method may optionally include detecting that the MAC address in the EPA network device does not meet the preset network access requirement, including:
[0013] Obtain a MAC verification result; the MAC verification result is obtained by performing at least one of a validity verification operation, a uniqueness verification operation, and a security verification operation on the MAC address of the EPA network device; the validity operation is used to verify whether the MAC address of the EPA network device is valid; the uniqueness operation is used to verify whether the MAC address of the EPA network device is the only address in the network; the security verification operation is used to verify whether the MAC address of the EPA network device meets a preset security policy;
[0014] When the MAC verification result indicates that the MAC address verification in the EPA network device fails, it is determined that the MAC address in the EPA network device does not meet the preset network access requirement condition.
[0015] The above method, optionally, after sending the MAC configuration data to the BMC through the communication interface, further includes:
[0016] After the BMC writes the MAC configuration data into the network interface module, the EPA network device is controlled to restart to initialize the protocol stack.
[0017] The above method, optionally, after controlling the EPA network device to restart, further comprises:
[0018] Get the data to be sent;
[0019] Generate a data packet according to the target MAC address and the data to be sent;
[0020] The data packet is output.
[0021] A MAC address configuration device for an EPA network device is applied to a control module in the EPA network device. The EPA network device also includes a communication interface and a baseboard management controller BMC. The method includes:
[0022] A receiving unit, configured to receive MAC configuration data; the MAC configuration data is data configured when the MAC address in the EPA network device does not meet the preset network access requirement conditions;
[0023] A sending unit is used to send the MAC configuration data to the BMC through the communication interface, so that the baseboard management controller writes the MAC configuration data into the network interface module to replace the MAC address of the EPA network device that does not meet the network access requirement condition with the target MAC address in the MAC configuration data.
[0024] In the above device, optionally, the receiving unit includes:
[0025] The detection subunit is used to output prompt information when it is detected that the MAC address in the EPA network device does not meet the preset network access requirement conditions, so that the user can configure a target MAC address that meets the network access requirement conditions on the configuration interface of the EPA network device based on the prompt information;
[0026] The receiving subunit is used to receive the MAC configuration data generated by the user configuring a target MAC address that meets the network access requirement condition.
[0027] In the above device, optionally, the detection subunit comprises:
[0028] An execution subunit is used to obtain a MAC verification result; the MAC verification result is obtained by performing at least one of a validity verification operation, a uniqueness verification operation and a security verification operation on the MAC address of the EPA network device; the validity operation is used to verify whether the MAC address of the EPA network device is valid; the uniqueness operation is used to verify whether the MAC address of the EPA network device is the only address in the network; the security verification operation is used to verify whether the MAC address of the EPA network device meets a preset security policy;
[0029] The determination subunit is used to determine that the MAC address in the EPA network device does not meet the preset network access requirement condition when the MAC verification result indicates that the MAC address verification in the EPA network device fails.
[0030] The above device may optionally further include:
[0031] The control unit is used to control the EPA network device to restart after the BMC writes the MAC configuration data into the network interface module to initialize the protocol stack.
[0032] The above device may optionally further include:
[0033] An acquisition unit, used for acquiring data to be sent;
[0034] A generating unit, configured to generate a data packet according to the target MAC address and the data to be sent;
[0035] An output unit is used to output the data packet.
[0036] Based on the above-mentioned implementation of the present application, a MAC address configuration method and device for an EPA network device are provided, which are applied to a control module in an EPA network device, wherein the EPA network device also includes a communication interface and a baseboard management controller BMC, and the method includes: receiving MAC configuration data; the MAC configuration data is data configured when the MAC address in the EPA network device does not meet the preset network access requirements; sending the MAC configuration data to the BMC through the communication interface, so that the BMC writes the MAC configuration data into the network interface module, so as to replace the MAC address of the EPA network device that does not meet the network access requirements with the target MAC address in the MAC configuration data. The method provided by the embodiment of the present application enables the EPA network device to quickly adapt to different network environments and security policies without relying on a specific version of the BMC software. The flexibility and response speed of the EPA network device are significantly improved. The cumbersome steps in the traditional method that require upgrading or reinstalling the BMC software to modify the MAC address are eliminated, and the entire modification process is simplified. The additional costs caused by frequent software upgrades, including the consumption of manpower, time and resources, are avoided. It can effectively reduce the frequency of unnecessary software updates, avoid new problems or incompatibilities that may be introduced during the update process, and thus enhance the overall stability of the system. At the same time, flexible MAC address management capabilities help implement more stringent security policies and strengthen network security protection. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0038] Figure 1 A method flow chart of a MAC address configuration method for an EPA network device provided in this application;
[0039] Figure 2 A flowchart of a process for receiving MAC configuration data provided by the present application;
[0040] Figure 3 A flowchart of a process for detecting that a MAC address does not meet the network access requirements provided by this application;
[0041] Figure 4 A schematic diagram of the structure of a MAC address configuration device for an EPA network device provided in this application;
[0042] Figure 5 A schematic diagram of the structure of an electronic device provided in this application. DETAILED DESCRIPTION
[0043] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0044] In this application, the terms "comprises", "comprising" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element.
[0045] Currently, in BMC software, the MAC address of EPA network devices is usually fixed, that is, it is hard-coded in the network interface controller (NIC) of the device when it leaves the factory. Although this fixed MAC address configuration ensures the stability of the EPA network device identity, it also brings a series of problems and limitations. In particular, when users need to change the MAC address to adapt to a specific network environment or security policy, the existing BMC software does not provide an easy way to modify it. Users often need to upgrade or reinstall a specific version of BMC software to modify the MAC address. This process is not only cumbersome but also time-consuming, which seriously reduces the flexibility and response speed of EPA network devices.
[0046] Furthermore, due to the strong correlation between the BMC software version and the MAC address modification function, users often get into trouble because they cannot modify the MAC address in time when facing network architecture adjustments, security policy changes, or troubleshooting. In addition, frequent software upgrades will also increase the operation and maintenance costs of the data center and pose a potential threat to the stability and availability of the system.
[0047] Based on this, the embodiment of the present application provides a MAC address configuration method for an EPA network device, which can be applied to a control module in an EPA network device. The EPA network device also includes a communication interface and a baseboard management controller BMC. The method flow chart of the method is as follows: Figure 1 As shown, specifically including:
[0048] S101: Receive MAC configuration data; the MAC configuration data is data configured when the MAC address in the EPA network device does not meet preset network access requirements.
[0049] In this embodiment, the EPA network device may be a device such as various types of switches, for example, an EPA switch; the control module in the EPA network device may include a control chip.
[0050] In this embodiment, the control module in the EPA network device can receive MAC configuration data sent by the electronic device. Optionally, the electronic device can be a computer, a tablet, a mobile phone, or a smart wearable device, etc. The user can configure the MAC address on the configuration interface corresponding to the EPA network device in the electronic device to send the MAC configuration data to the control module of the EPA network device.
[0051] Optionally, the MAC configuration data may include a target MAC address that meets preset network access requirements.
[0052] In an embodiment provided in the present application, based on the above implementation process, optionally, the process of receiving MAC configuration data is as follows: Figure 2 As shown, including:
[0053] S201: When it is detected that the MAC address in the EPA network device does not meet the preset network access requirement conditions, a prompt message is outputted, so that the user can configure a target MAC address that meets the network access requirement conditions on the configuration interface corresponding to the EPA network device based on the prompt message.
[0054] In this embodiment, the prompt information can be sent to a preset electronic device so that the user can access the configuration interface corresponding to the EPA network device through the electronic device, and then perform MAC address configuration operations on the configuration interface to configure a target MAC address that meets the network access requirements.
[0055] In an embodiment provided by the present application, based on the above implementation process, optionally, a process of detecting that the MAC address in the EPA network device does not meet the preset network access requirement conditions is performed, such as Figure 3 As shown, including:
[0056] S301: Obtain MAC verification result; the MAC verification result is obtained by performing at least one of validity verification operation, uniqueness verification operation and security verification operation on the MAC address of the EPA network device; the validity operation is used to verify whether the MAC address of the EPA network device is valid; the uniqueness operation is used to verify whether the MAC address of the EPA network device is the only address in the network; the security verification operation is used to verify whether the MAC address of the EPA network device meets the preset security policy.
[0057] In this embodiment, the control module or other electronic devices in the EPA network device can perform at least one verification operation such as validity verification operation, uniqueness verification operation and security verification operation on the MAC address of the EPA network device to obtain a MAC verification result; if other electronic devices perform a verification operation on the MAC address of the EPA network device, the obtained MAC verification result can be sent to the control module in the EPA network device.
[0058] Optionally, if the MAC address is valid, it is determined that the MAC address has successfully passed the row validity verification operation, otherwise, it is determined that the MAC address has not successfully passed the row validity verification operation.
[0059] Optionally, if the MAC address is a unique address in the network, it is determined that the MAC address has successfully passed the uniqueness verification operation, otherwise, it is determined that the MAC address has not successfully passed the uniqueness verification operation.
[0060] Optionally, the security policy may be that the MAC address is in a preset whitelist, or is not in a preset blacklist; if the MAC address satisfies the security policy, it is determined that the MAC address has successfully passed the security verification operation; otherwise, it is determined that the MAC address has not successfully passed the security verification operation.
[0061] Optionally, if the MAC address fails to successfully pass at least one of the verification operations, it is determined that the MAC address verification fails, and a MAC verification result indicating that the MAC address verification fails is obtained; if the MAC address successfully passes each verification operation, it can be determined that the MAC verification succeeds, and a MAC verification result indicating that the MAC address verification succeeds is obtained.
[0062] S302: When the MAC verification result indicates that the MAC address verification in the EPA network device fails, determine that the MAC address in the EPA network device does not meet a preset network access requirement condition.
[0063] In some embodiments, when the MAC verification result indicates that the MAC address in the EPA network device is successfully verified, it is determined that the MAC address in the EPA network device meets the network access requirement.
[0064] S202: Receive MAC configuration data generated by the user configuring a target MAC address that meets the network access requirement condition.
[0065] In this embodiment, the electronic device can generate MAC configuration data in response to the user's configuration operation on the configuration interface corresponding to the EPA network device, and send the generated MAC configuration data to the control module of the EPA network device; the configuration operation is used to configure a target MAC address that meets the network access requirements.
[0066] S102: Send the MAC configuration data to the BMC through the communication interface, so that the BMC writes the MAC configuration data into the network interface module, so as to replace the MAC address of the EPA network device that does not meet the network access requirement condition with the target MAC address in the MAC configuration data.
[0067] In this embodiment, the communication interface may be a Universal Synchronous / Asynchronous Receiver / Transmitter (USART).
[0068] By applying the method provided in the embodiment of the present application, EPA network devices can quickly adapt to different network environments and security policies without relying on a specific version of BMC software. This significantly improves the flexibility and response speed of EPA network devices. It eliminates the cumbersome steps in traditional methods that require upgrading or reinstalling BMC software to modify the MAC address, simplifying the entire modification process. It avoids the additional costs caused by frequent software upgrades, including the consumption of manpower, time and resources. It can effectively reduce the frequency of unnecessary software updates, avoid new problems or incompatibilities that may be introduced during the update process, and thus enhance the overall stability of the system. At the same time, flexible MAC address management capabilities help implement more stringent security policies and strengthen network security protection.
[0069] In an embodiment provided by the present application, based on the above implementation process, optionally, after sending the MAC configuration data to the BMC through the communication interface, the method further includes:
[0070] After the BMC writes the MAC configuration data into the network interface module, the EPA network device is controlled to restart to initialize the protocol stack.
[0071] In this embodiment, after the BMC writes the MAC configuration data to the network interface module, it can send a first notification message to the control module in the EPA network device, and the first notification message indicates that the MAC data is written successfully; after receiving the first notification message, the control module can control the EPA network device to restart to initialize the protocol stack, so that the target MAC address takes effect.
[0072] In an embodiment provided by the present application, based on the above implementation process, optionally, after controlling the EPA network device to restart, the method further includes:
[0073] Get the data to be sent;
[0074] Generate a data packet according to the target MAC address and the data to be sent;
[0075] The data packet is output.
[0076] In this embodiment, the data to be sent may include at least one of service data, security data, status data, configuration data, time synchronization data, diagnostic data and control signal data; the status data may include process variables such as temperature, pressure, flow, etc. of equipment in the industrial system, and may also include the operating status of the equipment itself, such as health status and alarm information.
[0077] Optionally, a data packet may be formed according to the target MAC address and the data to be sent, and then the data packet may be sent to a preset target device.
[0078] and Figure 1 Corresponding to the method described above, the embodiment of the present application also provides a MAC address configuration device for an EPA network device, Figure 1 The specific implementation of the method in the apparatus can be applied to a control module in an EPA network device, wherein the EPA network device also includes a communication interface and a baseboard management controller BMC. The structural diagram of the apparatus is shown in FIG. Figure 4 As shown, including:
[0079] The receiving unit 401 is used to receive MAC configuration data; the MAC configuration data is the data configured when the MAC address in the EPA network device does not meet the preset network access requirement conditions;
[0080] The sending unit 402 is used to send the MAC configuration data to the BMC through the communication interface, so that the baseboard management controller writes the MAC configuration data into the network interface module to replace the MAC address of the EPA network device that does not meet the network access requirement conditions with the target MAC address in the MAC configuration data.
[0081] In an embodiment provided in the present application, based on the above solution, optionally, the receiving unit 401 includes:
[0082] The detection subunit is used to output prompt information when it is detected that the MAC address in the EPA network device does not meet the preset network access requirement conditions, so that the user can configure a target MAC address that meets the network access requirement conditions on the configuration interface of the EPA network device based on the prompt information;
[0083] The receiving subunit is used to receive the MAC configuration data generated by the user configuring a target MAC address that meets the network access requirement condition.
[0084] In an embodiment provided in the present application, based on the above solution, optionally, the detection subunit includes:
[0085] An execution subunit is used to obtain a MAC verification result; the MAC verification result is obtained by performing at least one of a validity verification operation, a uniqueness verification operation and a security verification operation on the MAC address of the EPA network device; the validity operation is used to verify whether the MAC address of the EPA network device is valid; the uniqueness operation is used to verify whether the MAC address of the EPA network device is the only address in the network; the security verification operation is used to verify whether the MAC address of the EPA network device meets a preset security policy;
[0086] The determination subunit is used to determine that the MAC address in the EPA network device does not meet the preset network access requirement condition when the MAC verification result indicates that the MAC address verification in the EPA network device fails.
[0087] In an embodiment provided in the present application, based on the above solution, optionally, it further includes:
[0088] The control unit is used to control the EPA network device to restart after the BMC writes the MAC configuration data into the network interface module to initialize the protocol stack.
[0089] In an embodiment provided in the present application, based on the above solution, optionally, it further includes:
[0090] An acquisition unit, used for acquiring data to be sent;
[0091] A generating unit, configured to generate a data packet according to the target MAC address and the data to be sent;
[0092] An output unit is used to output the data packet.
[0093] The specific principles and execution processes of each unit and module in the MAC address configuration device of the EPA network device disclosed in the above-mentioned embodiment of the present application are the same as the MAC address configuration method of the EPA network device disclosed in the above-mentioned embodiment of the present application. Please refer to the corresponding parts of the MAC address configuration method of the EPA network device provided in the above-mentioned embodiment of the present application, and will not be repeated here.
[0094] An embodiment of the present application also provides a storage medium, which includes stored instructions, wherein when the instructions are executed, the device where the storage medium is located is controlled to execute the MAC address configuration method of the EPA network device.
[0095] The present application also provides an electronic device, whose structural diagram is as follows: Figure 5 As shown, it specifically includes a memory 501 and one or more instructions 502, wherein the one or more instructions 502 are stored in the memory 501 and are configured to be executed by one or more processors 503 to perform the following operations:
[0096] Receive MAC configuration data; the MAC configuration data is data configured when the MAC address in the EPA network device does not meet the preset network access requirement conditions;
[0097] The MAC configuration data is sent to the BMC through the communication interface, so that the BMC writes the MAC configuration data into the network interface module, so as to replace the MAC address of the EPA network device that does not meet the network access requirement condition with the target MAC address in the MAC configuration data.
[0098] It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0099] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations.
[0100] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0101] It can be known from the description of the above implementation methods that those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be essentially or partly contributed to the prior art in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which can be a personal computer, a server, or an EPA network device, etc.) to execute the methods described in the various embodiments of the present application or certain parts of the embodiments.
[0102] The above is a detailed introduction to the MAC address configuration method of an EPA network device provided by the present application. This article uses specific examples to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A method for configuring a MAC address of an EPA network device, characterized in that: A control module applied to an EPA network device, wherein the EPA network device further comprises a communication interface and a baseboard management controller BMC, and the method comprises: Receive MAC configuration data; the MAC configuration data is data configured when the MAC address in the EPA network device does not meet the preset network access requirement conditions; The MAC configuration data is sent to the BMC through the communication interface, so that the BMC writes the MAC configuration data into the network interface module, so as to replace the MAC address of the EPA network device that does not meet the network access requirement condition with the target MAC address in the MAC configuration data.
2. The method according to claim 1, characterized in that The receiving MAC configuration data comprises: When it is detected that the MAC address in the EPA network device does not meet the preset network access requirement conditions, output prompt information so that the user can configure a target MAC address that meets the network access requirement conditions on the configuration interface corresponding to the EPA network device based on the prompt information; Receive MAC configuration data generated by the user configuring a target MAC address that meets the network access requirement condition.
3. The method according to claim 2, characterized in that The process of detecting that the MAC address of the EPA network device does not meet the preset network access requirements includes: Obtain a MAC verification result; the MAC verification result is obtained by performing at least one of a validity verification operation, a uniqueness verification operation, and a security verification operation on the MAC address of the EPA network device; the validity operation is used to verify whether the MAC address of the EPA network device is valid; the uniqueness operation is used to verify whether the MAC address of the EPA network device is the only address in the network; the security verification operation is used to verify whether the MAC address of the EPA network device meets a preset security policy; When the MAC verification result indicates that the MAC address verification in the EPA network device fails, it is determined that the MAC address in the EPA network device does not meet the preset network access requirement condition.
4. The method according to claim 1, characterized in that: After sending the MAC configuration data to the BMC through the communication interface, the method further includes: After the BMC writes the MAC configuration data into the network interface module, the EPA network device is controlled to restart to initialize the protocol stack.
5. The method according to claim 4, characterized in that After the controlling the EPA network device to restart, the method further includes: Get the data to be sent; Generate a data packet according to the target MAC address and the data to be sent; The data packet is output.
6. A MAC address configuration device for an EPA network device, characterized in that: A control module applied to an EPA network device, wherein the EPA network device further comprises a communication interface and a baseboard management controller BMC, and the method comprises: A receiving unit, configured to receive MAC configuration data; the MAC configuration data is data configured when the MAC address in the EPA network device does not meet the preset network access requirement conditions; A sending unit is used to send the MAC configuration data to the BMC through the communication interface, so that the baseboard management controller writes the MAC configuration data into the network interface module to replace the MAC address of the EPA network device that does not meet the network access requirement condition with the target MAC address in the MAC configuration data.
7. The device according to claim 6, characterized in that The receiving unit comprises: The detection subunit is used to output prompt information when it is detected that the MAC address in the EPA network device does not meet the preset network access requirement conditions, so that the user can configure a target MAC address that meets the network access requirement conditions on the configuration interface of the EPA network device based on the prompt information; The receiving subunit is used to receive the MAC configuration data generated by the user configuring a target MAC address that meets the network access requirement condition.
8. The device according to claim 7, characterized in that The detection subunit comprises: An execution subunit is used to obtain a MAC verification result; the MAC verification result is obtained by performing at least one of a validity verification operation, a uniqueness verification operation and a security verification operation on the MAC address of the EPA network device; the validity operation is used to verify whether the MAC address of the EPA network device is valid; the uniqueness operation is used to verify whether the MAC address of the EPA network device is the only address in the network; the security verification operation is used to verify whether the MAC address of the EPA network device meets a preset security policy; The determination subunit is used to determine that the MAC address in the EPA network device does not meet the preset network access requirement condition when the MAC verification result indicates that the MAC address verification in the EPA network device fails.
9. The device according to claim 6, characterized in that Also includes: The control unit is used to control the EPA network device to restart after the BMC writes the MAC configuration data into the network interface module to initialize the protocol stack.
10. The device according to claim 9, characterized in that Also includes: An acquisition unit, used for acquiring data to be sent; A generating unit, configured to generate a data packet according to the target MAC address and the data to be sent; An output unit is used to output the data packet.