CN111277463A - Method, system, terminal and storage medium for testing accuracy of BMC (baseboard management controller) for acquiring gateway address - Google Patents

Method, system, terminal and storage medium for testing accuracy of BMC (baseboard management controller) for acquiring gateway address Download PDF

Info

Publication number
CN111277463A
CN111277463A CN202010062999.8A CN202010062999A CN111277463A CN 111277463 A CN111277463 A CN 111277463A CN 202010062999 A CN202010062999 A CN 202010062999A CN 111277463 A CN111277463 A CN 111277463A
Authority
CN
China
Prior art keywords
node
test
gateway address
interference
bmc
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
CN202010062999.8A
Other languages
Chinese (zh)
Other versions
CN111277463B (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 CN202010062999.8A priority Critical patent/CN111277463B/en
Publication of CN111277463A publication Critical patent/CN111277463A/en
Application granted granted Critical
Publication of CN111277463B publication Critical patent/CN111277463B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1408Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic by monitoring network traffic
    • H04L63/1416Event detection, e.g. attack signature detection

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method, a system, a terminal and a storage medium for testing the accuracy of a BMC (baseboard management controller) for acquiring a gateway address, wherein the method comprises the following steps: creating a test cluster, wherein the test cluster comprises a management node, a test node, an interference node and an auxiliary node; the management node allocates a test IP and a test gateway address to the test node, and allocates an interference IP similar to the test IP and a corresponding interference gateway address to an interference node; in the process that the auxiliary node circularly sends an ARP request to the interference node, the management node collects a gateway address obtained by the BMC after the test node is restarted; and the management node judges whether the acquired gateway address is a test gateway address, and if so, judges that the BMC of the test node passes the test. The invention can effectively test the accuracy of the server BMC in acquiring the gateway address and improve the network security of the server.

Description

Method, system, terminal and storage medium for testing accuracy of BMC (baseboard management controller) for acquiring gateway address
Technical Field
The invention relates to the technical field of server testing, in particular to a method, a system, a terminal and a storage medium for testing the accuracy of gateway address acquisition by BMC.
Background
The BMC and the substrate management controller are mainly applied to a server, can control the server to be started and shut down, monitors information such as temperature and rotating speed of other important components such as a CPU (central processing unit), a memory, a hard disk and a fan of the server through a sensor, and gives an alarm in a log mode when the temperature is too high, the rotating speed is too high or other errors occur. Server management personnel may manage the server through a graphical interface, or a command line interface interacting with the BMC. Another great benefit of the BMC is that the server can be remotely controlled by means of a LAN. (in the scheme, the subnet mask and the gateway are consistent in the same LAN.) the BMC sends a request in the LAN through an ARP protocol to obtain information such as the subnet mask and the gateway. The gateway not only has an IP address, but also has its own MAC address, and the BMC obtains the MAC address through the ARP protocol, which is simply the IP address.
Normally, the MAC address and the IP address are in one-to-one correspondence, but the network is complex and variable, it is difficult to ensure that the MAC address of the real gateway is obtained by the BMC through the IP address, and for external factors, problems such as ARP spoofing, MAC sharing, and dynamic network server restart may exist in the network, while inside, the BMC itself matches the IP address through a Strncmp function, so the BMC may obtain an incorrect gateway MAC address, which results in obtaining incorrect network information, and may seriously result in information leakage. In the development and test stage of the server, precisely because of the complexity and changeability of the external network and the BMC underlying code, currently, there is no targeted test to verify whether the BMC has acquired the real gateway MAC address.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a method, a system, a terminal and a storage medium for testing the accuracy of the gateway address acquired by the BMC, so as to solve the technical problems.
In a first aspect, the present invention provides a method for testing accuracy of acquiring a gateway address by a BMC, including:
creating a test cluster, wherein the test cluster comprises a management node, a test node, an interference node and an auxiliary node;
the management node allocates a test IP and a test gateway address to the test node, and allocates an interference IP similar to the test IP and a corresponding interference gateway address to an interference node;
in the process that the auxiliary node circularly sends an ARP request to the interference node, the management node collects a gateway address obtained by the BMC after the test node is restarted;
and the management node judges whether the acquired gateway address is a test gateway address, and if so, judges that the BMC of the test node passes the test.
Further, the method further comprises:
establishing connection between the management node and an external network;
if the gateway address collected by the management node is not the test gateway address, judging whether the collected gateway address is an interference gateway address:
if so, judging that the gateway address acquisition function of the BMC of the test node is abnormal;
if not, judging that the test cluster has external network attack.
Further, the allocating, by the management node, an interfering IP similar to the test IP and a corresponding interfering gateway address to the interfering node includes:
the management node generates a father string IP of the test IP;
the management node allocates the parent string IP to an interfering node.
Further, the method further comprises:
the management node issues a rebot script to the test node to control the test node to execute the rebot;
the management node monitors the running state of the test node;
and the management node captures the gateway address acquired by the BMC of the test node after the test node is restarted.
Further, the method further comprises:
and the management node issues a control command to the auxiliary node to control the auxiliary node to start a cycle to send an ARP request to the interference node.
In a second aspect, the present invention provides a system for testing accuracy of acquiring a gateway address by a BMC, including:
the system comprises a cluster creating unit, a test unit and a control unit, wherein the cluster creating unit is configured to create a test cluster, and the test cluster comprises a management node, a test node, an interference node and an auxiliary node;
the IP allocation unit is configured for the management node to allocate a test IP and a test gateway address to the test node and allocate an interference IP similar to the test IP and a corresponding interference gateway address to an interference node;
the address acquisition unit is configured to acquire a gateway address acquired by the BMC after the test node is restarted in the process that the auxiliary node circularly sends an ARP request to the interference node;
and the address comparison unit is configured for the management node to judge whether the acquired gateway address is a test gateway address, and if so, the BMC of the test node passes the test.
Further, the system further comprises:
a network connection unit configured to establish a connection between the management node and an external network;
the address judgment unit is configured to judge whether the acquired gateway address is an interference gateway address or not if the gateway address acquired by the management node is not a test gateway address;
the abnormity determining unit is configured to determine that the gateway address acquisition function of the BMC of the test node is abnormal if the acquired gateway address is an interference gateway address;
and the attack judgment unit is configured to judge that the test cluster has external network attack if the acquired gateway address is not the test gateway address or the interference gateway address.
Further, the IP allocation unit includes:
a father string generating module configured to generate a father string IP of the test IP by the management node;
and the father string distribution module is configured for the management node to distribute the father string IP to the interference nodes.
In a third aspect, a terminal is provided, including:
a processor, a memory, wherein,
the memory is used for storing a computer program which,
the processor is used for calling and running the computer program from the memory so as to make the terminal execute the method of the terminal.
In a fourth aspect, a computer storage medium is provided having stored therein instructions that, when executed on a computer, cause the computer to perform the method of the above aspects.
The beneficial effect of the invention is that,
according to the method, the system, the terminal and the storage medium for testing the accuracy of the BMC for obtaining the gateway address, provided by the invention, the complex external network environment is filtered by establishing a test cluster, simulating the network environment and configuring the environment of the local area network in a self-established local area network mode, so that the accuracy of the server BMC for obtaining the gateway address is accurately tested, and a BMC code Strncmp function is timely maintained. The invention can effectively test the accuracy of the server BMC in acquiring the gateway address and improve the network security of the server.
In addition, the invention has reliable design principle, simple structure and very wide application prospect.
Drawings
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
FIG. 1 is a schematic flow diagram of a method of one embodiment of the invention.
FIG. 2 is a schematic block diagram of a system of one embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and 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 invention.
FIG. 1 is a schematic flow diagram of a method of one embodiment of the invention. The execution main body in fig. 1 may be a BMC obtaining gateway address accuracy test system.
As shown in fig. 1, the method 100 includes:
step 110, creating a test cluster, wherein the test cluster comprises a management node, a test node, an interference node and an auxiliary node;
step 120, the management node allocates a test IP and a test gateway address to the test node, and allocates an interference IP similar to the test IP and a corresponding interference gateway address to an interference node;
step 130, in the process that the auxiliary node circularly sends an ARP request to the interference node, the management node collects a gateway address obtained by the BMC after the test node is restarted;
step 140, the management node judges whether the acquired gateway address is a test gateway address, and if so, judges that the BMC of the test node passes the test.
In order to facilitate understanding of the present invention, the method for testing the accuracy of the BMC acquiring gateway address provided by the present invention is further described below with reference to the principle of the method for testing the accuracy of the BMC acquiring gateway address of the present invention and the process of testing the accuracy of the BMC acquiring gateway address in the embodiments.
Specifically, the method for testing the accuracy of the BMC in acquiring the gateway address comprises the following steps:
s1, creating a test cluster, wherein the test cluster comprises a management node, a test node, an interference node and an auxiliary node.
And building a local area network cluster by using four servers ABCD, wherein A is a management node and is responsible for distributing dynamic IP addresses for the test node B, the interference node C and the auxiliary node D and connecting an external network.
Wherein, the test node B: and the server for verifying the function of the BMC for acquiring the gateway MAC address. And the interference node C: the IP address is the server of the IP address parent string of B. And (3) an auxiliary node D: a server that sends an ARP broadcast request.
And verifying the network connection state in the cluster, and simultaneously verifying the connection state of the management node and the external network to confirm that the network connection is good.
S2, the management node allocates a test IP and a test gateway address to the test node, and allocates an interference IP similar to the test IP and a corresponding interference gateway address to an interference node.
The management node A allocates a BMC IP address to the testing node B, and the testing node B can obtain the IP address and the MAC address of the gateway. The management node a sets a static IP for the interference node C, and the IP address of the static IP must be the parent string of the gateway IP address acquired by the test node B. For example: the management node gateway address is 192.168.1.1, the MAC addresses are two in total, 6C: 8F: 93: a5:22:56 and 6C: 8F: 93: a5:22: 57. The management node A allocates a BMC IP address 192.168.1.12 for the test node B, and then records that the gateway IP address obtained by the BMC of the B is 192.168.1.1, and the MAC address is 6C: 8F: 93: a5:22: 56. The MAC address of the interfering node C is 21:28:30: 5F: 8D: and 90, allocating a static IP with the IP address of 192.168.1.125, wherein the IP is just the father string of the gateway IP address acquired by the testing node B, and the IP address acquired by the auxiliary node D from the management node A is 192.168.1.253.
And S3, in the process that the auxiliary node circularly sends the ARP request to the interference node, the management node collects the gateway address acquired by the BMC after the test node is restarted.
And the management node A issues a control command to the auxiliary node D to control the auxiliary node D to start a cycle to send an ARP request to the interference node C. Meanwhile, the management node A issues a reboot script to the test node B to control the test node B to be restarted continuously. The management node A monitors the running state of the test node B, waits for several seconds (the time for the BMC to acquire the gateway address) after the test node B is restarted, and captures the gateway address acquired by the test node B. For example: the BMC of the testing node B is restarted every 6 minutes to ensure that it can send an ARP request in the local area network without interruption to obtain the gateway IP address and MAC address, and at the same time, the auxiliary testing node D is controlled to send an arping 192.168.1.125 command to inquire about the MAC address of the interfering node C machine.
After the test node B is restarted, the management node A captures a gateway address once, and records the captured gateway address and the corresponding restart times in a local test log of the management node A.
And S4, the management node judges whether the acquired gateway address is a test gateway address, and if so, the BMC of the test node passes the test.
Screening the test log obtained in step S3, and checking that the test node B restarts the corresponding gateway address each time:
if the captured gateway address becomes the MAC address corresponding to the IP address of the interfering node C, it indicates that the BMC has acquired the wrong MAC address, and is a code problem of the BMC itself, that is, an influence of the Strncmp function.
If the backup gateway MAC address becomes A, the wrong gateway MAC address is not acquired. The acquired MAC address is still the gateway MAC address, although different.
If other MAC addresses are obtained, the BMC obtains the wrong gateway MAC address, and the wrong gateway MAC address is caused by external network influence, and ARP spoofing and the like are possible.
In this embodiment, if the captured gateway address becomes 6C: 8F: 93: a5:22:57, which is the second MAC address of the management node A, indicates that the BMC acquires the MAC address which is still the gateway MAC address. If the captured gateway address becomes 21:28:30: 5F: 8D: 90, i.e. the MAC address of the interfering node C, indicates that the BMC has acquired the wrong gateway MAC address and is due to the BMC code Strncmp function. If the fetched gateway address becomes 6C: 8F: 93: a5:22:56, 6C: 8F: 93: a5:22:57, 21:28:30: 5F: 8D: MAC addresses outside 90 indicate that the BMC has acquired the wrong gateway MAC address and are caused by external networks, ARP spoofing, etc. If the captured gateway address is not changed, the BMC acquires the gateway MAC address.
As shown in fig. 2, the system 200 includes:
a cluster creating unit 210 configured to create a test cluster, where the test cluster includes a management node, a test node, an interference node, and an auxiliary node;
an IP allocating unit 220, configured to allocate, by the management node, a test IP and a test gateway address to the test node, and allocate, to an interference node, an interference IP similar to the test IP and a corresponding interference gateway address;
the address acquisition unit 230 is configured to, in the process that the auxiliary node sends an ARP request to the interfering node in a circulating manner, acquire, by the management node, a gateway address acquired by the BMC after the test node is restarted;
and an address comparison unit 240 configured to determine whether the acquired gateway address is a test gateway address by the management node, and if so, determine that the BMC of the test node passes the test.
Optionally, as an embodiment of the present invention, the system further includes:
a network connection unit configured to establish a connection between the management node and an external network;
the address judgment unit is configured to judge whether the acquired gateway address is an interference gateway address or not if the gateway address acquired by the management node is not a test gateway address;
the abnormity determining unit is configured to determine that the gateway address acquisition function of the BMC of the test node is abnormal if the acquired gateway address is an interference gateway address;
and the attack judgment unit is configured to judge that the test cluster has external network attack if the acquired gateway address is not the test gateway address or the interference gateway address.
Optionally, as an embodiment of the present invention, the IP allocation unit includes:
a father string generating module configured to generate a father string IP of the test IP by the management node;
and the father string distribution module is configured for the management node to distribute the father string IP to the interference nodes.
Fig. 3 is a schematic structural diagram of a terminal system 300 according to an embodiment of the present invention, where the terminal system 300 may be used to execute the method for testing the accuracy of the BMC obtaining the gateway address according to the embodiment of the present invention.
The terminal system 300 may include: a processor 310, a memory 320, and a communication unit 330. The components communicate via one or more buses, and those skilled in the art will appreciate that the architecture of the servers shown in the figures is not intended to be limiting, and may be a bus architecture, a star architecture, a combination of more or less components than those shown, or a different arrangement of components.
The memory 320 may be used for storing instructions executed by the processor 310, and the memory 320 may be implemented by any type of volatile or non-volatile storage terminal or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The executable instructions in memory 320, when executed by processor 310, enable terminal 300 to perform some or all of the steps in the method embodiments described below.
The processor 310 is a control center of the storage terminal, connects various parts of the entire electronic terminal using various interfaces and lines, and performs various functions of the electronic terminal and/or processes data by operating or executing software programs and/or modules stored in the memory 320 and calling data stored in the memory. The processor may be composed of an Integrated Circuit (IC), for example, a single packaged IC, or a plurality of packaged ICs connected with the same or different functions. For example, the processor 310 may include only a Central Processing Unit (CPU). In the embodiment of the present invention, the CPU may be a single operation core, or may include multiple operation cores.
A communication unit 330, configured to establish a communication channel so that the storage terminal can communicate with other terminals. And receiving user data sent by other terminals or sending the user data to other terminals.
The present invention also provides a computer storage medium, wherein the computer storage medium may store a program, and the program may include some or all of the steps in the embodiments provided by the present invention when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
Therefore, the invention filters the complex external network environment by establishing the test cluster, simulating the network environment, and configuring the environment of the local area network in a self-established local area network form and by self, thereby accurately testing the accuracy of the server BMC in acquiring the gateway address and maintaining the BMC code Strncmp function in time. The method and the system can effectively test the accuracy of the BMC in acquiring the gateway address and improve the network security of the server, and the technical effect achieved by the embodiment can be seen in the description above, which is not repeated herein.
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 in the present invention, it should be understood that the disclosed 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 testing the accuracy of gateway address acquisition by BMC is characterized by comprising the following steps:
creating a test cluster, wherein the test cluster comprises a management node, a test node, an interference node and an auxiliary node;
the management node allocates a test IP and a test gateway address to the test node, and allocates an interference IP similar to the test IP and a corresponding interference gateway address to an interference node;
in the process that the auxiliary node circularly sends an ARP request to the interference node, the management node collects a gateway address obtained by the BMC after the test node is restarted;
and the management node judges whether the acquired gateway address is a test gateway address, and if so, judges that the BMC of the test node passes the test.
2. The method of claim 1, further comprising:
establishing connection between the management node and an external network;
if the gateway address collected by the management node is not the test gateway address, judging whether the collected gateway address is an interference gateway address:
if so, judging that the gateway address acquisition function of the BMC of the test node is abnormal;
if not, judging that the test cluster has external network attack.
3. The method of claim 1, wherein the management node assigns an interfering IP similar to the test IP and a corresponding interfering gateway address to an interfering node, comprising:
the management node generates a father string IP of the test IP;
the management node allocates the parent string IP to an interfering node.
4. The method of claim 1, further comprising:
the management node issues a rebot script to the test node to control the test node to execute the rebot;
the management node monitors the running state of the test node;
and the management node captures the gateway address acquired by the BMC of the test node after the test node is restarted.
5. The method of claim 1, further comprising:
and the management node issues a control command to the auxiliary node to control the auxiliary node to start a cycle to send an ARP request to the interference node.
6. A BMC obtains gateway address accuracy test system which characterized in that, includes:
the system comprises a cluster creating unit, a test unit and a control unit, wherein the cluster creating unit is configured to create a test cluster, and the test cluster comprises a management node, a test node, an interference node and an auxiliary node;
the IP allocation unit is configured for the management node to allocate a test IP and a test gateway address to the test node and allocate an interference IP similar to the test IP and a corresponding interference gateway address to an interference node;
the address acquisition unit is configured to acquire a gateway address acquired by the BMC after the test node is restarted in the process that the auxiliary node circularly sends an ARP request to the interference node;
and the address comparison unit is configured for the management node to judge whether the acquired gateway address is a test gateway address, and if so, the BMC of the test node passes the test.
7. The system of claim 6, further comprising:
a network connection unit configured to establish a connection between the management node and an external network;
the address judgment unit is configured to judge whether the acquired gateway address is an interference gateway address or not if the gateway address acquired by the management node is not a test gateway address;
the abnormity determining unit is configured to determine that the gateway address acquisition function of the BMC of the test node is abnormal if the acquired gateway address is an interference gateway address;
and the attack judgment unit is configured to judge that the test cluster has external network attack if the acquired gateway address is not the test gateway address or the interference gateway address.
8. The system of claim 6, wherein the IP allocation unit comprises:
a father string generating module configured to generate a father string IP of the test IP by the management node;
and the father string distribution module is configured for the management node to distribute the father string IP to the interference nodes.
9. A terminal, comprising:
a processor;
a memory for storing instructions for execution by the processor;
wherein the processor is configured to perform the method of any one of claims 1-5.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-5.
CN202010062999.8A 2020-01-19 2020-01-19 Method, system, terminal and storage medium for testing accuracy of gateway address acquisition by BMC Active CN111277463B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010062999.8A CN111277463B (en) 2020-01-19 2020-01-19 Method, system, terminal and storage medium for testing accuracy of gateway address acquisition by BMC

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010062999.8A CN111277463B (en) 2020-01-19 2020-01-19 Method, system, terminal and storage medium for testing accuracy of gateway address acquisition by BMC

Publications (2)

Publication Number Publication Date
CN111277463A true CN111277463A (en) 2020-06-12
CN111277463B CN111277463B (en) 2022-12-16

Family

ID=71001049

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010062999.8A Active CN111277463B (en) 2020-01-19 2020-01-19 Method, system, terminal and storage medium for testing accuracy of gateway address acquisition by BMC

Country Status (1)

Country Link
CN (1) CN111277463B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115567483A (en) * 2022-09-23 2023-01-03 苏州浪潮智能科技有限公司 Method, system and terminal for acquiring gateway MAC address based on BMC

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109446101A (en) * 2018-11-13 2019-03-08 郑州云海信息技术有限公司 The automated testing method and device of BMC are restarted based on ipmi instruction

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109446101A (en) * 2018-11-13 2019-03-08 郑州云海信息技术有限公司 The automated testing method and device of BMC are restarted based on ipmi instruction

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115567483A (en) * 2022-09-23 2023-01-03 苏州浪潮智能科技有限公司 Method, system and terminal for acquiring gateway MAC address based on BMC

Also Published As

Publication number Publication date
CN111277463B (en) 2022-12-16

Similar Documents

Publication Publication Date Title
CN110879712B (en) Cloud data center physical host installation method and related device
CN109951325B (en) Network cable connection checking method and device
US7921197B2 (en) Dynamic configuration of virtual machines
US20080205286A1 (en) Test system using local loop to establish connection to baseboard management control and method therefor
CN110719209B (en) Cluster network configuration method, system, equipment and readable storage medium
CN109510742B (en) Server network card remote test method, device, terminal and storage medium
US10630637B2 (en) Method for ascertaining an IP address and a MAC address of a unit under test mounted in a rack server
CN113656147B (en) Cluster deployment method, device, equipment and storage medium
CN107612775A (en) A kind of node two level connects the DC method of testings and system of server
CN115061885A (en) Complete machine aging automatic test method and device, electronic equipment and storage medium
CN111431749B (en) FPGA cloud server management platform and use method thereof
CN107070747A (en) A kind of method of the automatic test network interface card network connection stability under network card binding pattern
CN115525490A (en) Memory eye pattern testing method, hardware debugging equipment and storage medium
CN111277463B (en) Method, system, terminal and storage medium for testing accuracy of gateway address acquisition by BMC
CN106452860B (en) Equipment deployment method and device
CN109660386B (en) Software upgrading method for semiconductor memory aging test system
CN111367735B (en) Test method and system based on server to be tested and Wuban diagram operating system
CN103678058A (en) Hardware detection system and method
CN114866515A (en) IP address configuration method, device, electronic equipment and storage medium
CN116319492A (en) Switch testing method and device, storage medium and electronic equipment
CN104618196A (en) Method for identifying compatibility of server and Citrix system
CN112291096B (en) Configuration method and device of bare metal server
CN113904926A (en) Pre-boot execution environment checking method, system, terminal and storage medium
CN109450682B (en) IB network card communication configuration method and device, terminal and storage medium
US9195475B2 (en) Data relay by server

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