CN103546586A - Internet Protocol (IP) address matching system and method - Google Patents

Internet Protocol (IP) address matching system and method Download PDF

Info

Publication number
CN103546586A
CN103546586A CN201210239091.5A CN201210239091A CN103546586A CN 103546586 A CN103546586 A CN 103546586A CN 201210239091 A CN201210239091 A CN 201210239091A CN 103546586 A CN103546586 A CN 103546586A
Authority
CN
China
Prior art keywords
address
uut
access device
new access
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.)
Pending
Application number
CN201210239091.5A
Other languages
Chinese (zh)
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.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry 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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN201210239091.5A priority Critical patent/CN103546586A/en
Priority to TW101125208A priority patent/TW201404103A/en
Publication of CN103546586A publication Critical patent/CN103546586A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

An Internet Protocol (IP) address matching method is applied to a computer and is used for matching the IP address of a Unit Under Test (UUT) connected to the computer and the IP address of a Baseboard Management Controller (BMC) disposed in the UUT. The IP address matching method includes that whether the a device is newly accessed into the computer is monitored in real time according to the IP address; a requirement that ordering the device newly accessed into the computer to transmit back signals of identification references is sent when the device is monitored; the identification references transmitted back by the device newly accessed into the computer are received; whether the device newly accessed into the computer is the BMC or the UUT is judged; when the device newly accessed into the computer is the BMC, a record used for storing the back transmitted Media Access Control (MAC) address and the IP address of the BMC is added in a matched record table, and a starting-up signal is transmitted to the BMC so as to start up the UUT; when the device newly accessed into the computer is the UUT, the back transmitted IP address is stored in an IP address bar of the UUT in the matched record table corresponding to back transmitted MAC address. By adopting the IP address matching method, testing of a server with different IP addresses can be controlled overall.

Description

IP matching addresses system and method
Technical field
The present invention relates to a kind of IP matching addresses system and method.
Background technology
Server rack (Rack) is generally integrated by multiple servers, conventionally server rack needs to test (as hardware testing) after assembling, and in test process, generally need to server, repeatedly start shooting/shut down and debug, because server can disconnect with network when shutting down, and the IP address of server can change after server is again connected to the network, so the monitoring host computer test that well this server of management and control is done under different IP addresses.It should be noted that, though this server can be set, adopt static IP address that the IP address of server can not changed, yet, carry out to each server in the frame of server the setting of static ip address and lose time very much.
Summary of the invention
In view of above content, be necessary to provide a kind of IP matching addresses system and method, it can mate the IP address of server with the IP address of the baseboard management controller of this server, thus the test of this server of whole management and control under different IP addresses.
A kind of IP matching addresses system, run on computer, for the IP address of equipment under test UUT and the IP address of baseboard management controller BMC in this UUT that are connected in this computer are mated, this system comprises: detecting module, for whether having new access device according to computer described in the detecting real-time of IP address; Sending module, for send the signal that requires this new access device passback identification parameter when detecting new access device, described identification parameter is the IP address of this new access device use and the medium access control MAC Address of BMC; Receiver module, the identification parameter returning for receiving described new access device; Judge module, for judging that at the storage condition of matched record table described new access device is BMC or UUT according to returned MAC Address; Memory module, for when new access device is BMC, a newly-increased record storage MAC Address for described passback and the IP address of BMC in described matched record table; Described sending module, also for when new access device is BMC, send starting-up signal to BMC with by described UUT start; And described memory module, also for when new access device is UUT, returned IP address is stored into the IP address field of UUT corresponding with returned MAC Address in described matched record table.
A kind of IP matching addresses method, be applied to computer, for the IP address of equipment under test UUT and the IP address of baseboard management controller BMC in this UUT that are connected in this computer are mated, the method comprises: whether detecting step, have new access device according to computer described in the detecting real-time of IP address; Forwarding step one sends the signal that requires this new access device passback identification parameter when detecting new access device, and described identification parameter is the IP address of this new access device use and the medium access control MAC Address of BMC; Receiving step, receives the identification parameter that described new access device returns; Determining step, the storage condition according to returned MAC Address in matched record table judges that described new access device is BMC or UUT; Storing step one, when new access device is BMC, a newly-increased record storage MAC Address for described passback and the IP address of BMC in described matched record table, and send starting-up signal to BMC with by described UUT start, return to detecting step; And storing step two, when new access device is UUT, returned IP address is stored into the IP address field of UUT corresponding with returned MAC Address in described matched record table.
Compared to prior art, described IP matching addresses system and method, it can mate the IP address of server with the IP address of the baseboard management controller of this server, thus the test of this server of whole management and control under different IP addresses.
Accompanying drawing explanation
Fig. 1 is the running environment figure of IP matching addresses system of the present invention.
Fig. 2 is the functional block diagram of IP matching addresses system of the present invention.
Fig. 3 is the flow chart of the preferred embodiment of IP matching addresses method of the present invention.
Fig. 4 illustrates the coupling of IP address.
Main element symbol description
Computer 100
UUT 200
IP matching addresses system 10
Memory 20
Processor 30
BMC 40
Detecting module 11
Sending module 12
Receiver module 13
Judge module 14
Memory module 15
Control module 16
Following embodiment further illustrates the present invention in connection with above-mentioned accompanying drawing.
Embodiment
As shown in Figure 1, be the running environment figure of IP matching addresses system of the present invention.In the present embodiment, IP matching addresses system 10 runs in computer 100, be used for UUT(Unit Under Test, equipment under test) 200 IP address and the BMC(Baseboard Management controller in this UUT200, baseboard management controller) mate 40 IP address.Described UUT200 can be for being integrated in many tested servers in a frame (Rack), described computer 100 can be PXE(Preboot Execute Environment) server or DHCP(Dynamic Host Configuration Protocol is installed, DynamicHost arranges agreement) service monitoring host computer, by DHCP, serve agreement (the Internet Protocol interconnecting between can distribution network, IP) described BMC40 and UUT200 are given in address, make described BMC40 and UUT200 and described computer 100 can carry out network communication.In the present embodiment, described computer 100 is for being provided with the monitoring host computer of DHCP service.Described BMC40 powers on but under the state of start, does not start and apply for distributing IP addresses to described computer 100 at UUT200, and can carry out after communication with described computer 100 when described BMC40 utilizes the IP address of distributing, described computer 100 sends starting-up signal to start described UUT200 to this BMC40.It should be noted that, when configuration DHCP is served, it is the IP address rental period endless of described BMC40 and UUT200 that DHCP user side can be set, and DHCP user side is used behind the IP address of distributing, and can need again not apply for IP address to DHCP service end because the rental period expires.
In the present embodiment, described computer 100 also comprises memory 20 and processor 30, the pre-stored matched record table of described memory 20, this matched record table comprises three fields, respectively: the IP address of the MAC Address of BMC, BMC and the IP address of UUT, before for example UUT200 tests for each the tested server on server rack, record the match condition of the IP address of this UUT200 and the IP address of the BMC40 in this UUT200.Described memory 20 also for storing other data, for example, is stored the sequencing code of described IP matching addresses system 10.In the present embodiment, described IP matching addresses system 10 can be divided into one or more modules, and described one or more modules are stored in described memory 20 and by processor 30 and carry out, to complete function provided by the invention.For example, consult shown in Fig. 2, described IP matching addresses system 10 is divided into detecting module 11, sending module 12, receiver module 13, judge module 14, memory module 15 and control module 16.The alleged module of the present invention has been the program segment of a specific function, about the function of each module, will in the flow chart of Fig. 3, specifically describe.
As shown in Figure 3, be the flow chart of the preferred embodiment of IP matching addresses method of the present invention.
Step S1, whether detecting module 11 detecting real-time computers 100 have new access device.Whether these detecting module 11 bases detect new IP address access computer 100 judges whether computer 100 has new access device.In the present invention, when UUT200 powers on but do not start shooting, described BMC40 starts, to computer 100 application distributing IP addresses, and utilize this IP address and computer 100 communications, now, described detecting module 11 detects the IP address of this BMC40, i.e. judgement has new equipment access computer 100; After UUT200 start, this UUT200 applies for distributing IP addresses to computer 100, and utilizes this IP address and computer 100 communications, and now, described detecting module 11 detects the IP address of this UUT200, i.e. judgement has new equipment access computer 100.
Step S2, when having detected new access device, sending module 12 sends the signal that requires this new access device passback identification parameter, and described identification parameter comprises the IP address of new access device use and the medium access control MAC Address of BMC40.If this new access device is BMC40, need to return IP address and the MAC Address of this BMC40, if this new access device is UUT200, need to return the IP address of this UUT200 and the MAC Address of the described BMC40 in this UUT200.This new access device is that UUT200 or BMC40 will return the MAC Address of BMC40.
For example, when detecting module 11 detects the equipment that a new IP address is 192.168.39.148, described sending module 12 sends the signal that requires this new access device to return the IP address of its use and the MAC Address of BMC40.
Step S3, receiver module 13 receives the identification parameter that described new access device returns, and also receives the IP address of its use that this new access device returns and the MAC Address of BMC40.For example receive the identification parameter " MAC Address: 00:A0:24:30:2E:13, IP address: 192.168.39.148 " that this new access device returns.
One be need in the firmware of BMC40, newly increase here, and the IP address of its use and the function of MAC Address fed back to computer 100 ends.
Step S4, the new access device of judge module 14 judgement is BMC40 or UUT200.When matched record table is not stored the MAC Address of described passback, the described new access device of judge module 14 judgement is BMC40, execution step S5; When described matched record table has the MAC Address of the described passback of storage, the described new access device of judge module 14 judgement is UUT200, execution step S6.
Specifically, when receiving returned identification parameter, travel through described matched record table, judge whether the MAC Address of the described passback of storage.
The described new access device of described judge module 14 judgement is BMC40 or UUT200, it is according to being: BMC40 brings into operation when UUT200 powers on but do not start shooting, also be that BMC40 can move prior to UUT200, and first from providing computer 100 applications of DHCP service to carry out communication with computer 100 to IP address, therefore, in described matched record table, not during the recording of the MAC Address of this BMC40, can judge described new access device is BMC40.Otherwise, can judge that described new access device is UUT200.
Step S5, the identification parameter of described passback is stored on memory module 15 newly-increased hurdle in described matched record table.For example store " MAC Address: 00:A0:24:30:2E:13, IP address: 192.168.39.148 " that described BMC40 returns to described matched record table (consulting shown in Fig. 4).Sending module 12 sends starting-up signal so that UUT200 is started shooting to described BMC40, and gets back to step S1.
Step S6, memory module 15 stores returned IP address into " the IP address of UUT " field corresponding to this MAC Address in described matched record table according to the MAC Address of described passback, to complete the mating of IP address of the IP address of UUT200 and BMC40 in this UUT200.Described sending module 12 sends and starts test signal to this UUT200, controls this UUT200 under obtained IP address, start test by control module 16.
It should be noted that, during general test, all need repeatedly to start shooting/shut down that UUT200 is debugged, for example after this tests, UUT200 is shut down, but always in power-up state, and can be again to computer 100 application distributing IP addresses when UUT200 starts shooting again, therefore when UUT200 utilizes the IP address of redistributing again to carry out communication with computer 100, according to execution flow process of the present invention, when step S4, the MAC Address returning due to UUT200 has storage in described matched record table, after traversal matched record table, can to judge this new access device be UUT200 to judge module 14, when step S6, the MAC Address that described memory module 15 returns according to described UUT200 is mated returned IP address, and sending module 12 sends and starts test signal to allow control module 16 these UUT200 of control start test under new IP address to described UUT200.
It should be noted that, when the MAC Address that described memory module 15 returns according to UUT200 is carried out IP matching addresses, if find the field of " the IP address of UUT " that this MAC Address is corresponding, stored an IP address, show that this UUT200 again starts shooting and carries out network communication with described computer 100 after shutdown, the IP address that now described memory module 15 can return this UUT200 is directly stored and is override original IP address and completes IP matching addresses.
Because UUT200 is always in power-up state, the IP address of BMC40 can not change, the present invention utilizes this feature that Rapid matching is carried out in the IP address of the IP address of UUT200 and BMC40, and when step S6 to UUT200 start test time carried out management and control, be before this UUT200 of management and control tests under different IP addresses, to need first to carry out IP matching addresses just can start concrete test, by this management and control, the test result global analysis that tester can make UUT200 under different IP addresses.On the other hand, if described UUT200 test crash is when for example hard disk test unsuccessfully needs to find out failure cause, can do corresponding various debugging to this UUT200, if UUT200 is restarted in this process, the IP address that this UUT200 obtains after restarting may change, and because the IP address of BMC40 can not change, tester also can follow the trail of this UUT200 after restarting according to the IP address of BMC40 so, also still can in network, accurately be connected to this UUT200 and do corresponding debugging.
Finally it should be noted that, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can modify or be equal to replacement technical scheme of the present invention, and not depart from the spirit and scope of technical solution of the present invention.

Claims (10)

1. an IP matching addresses system, runs on computer, for the IP address of equipment under test UUT and the IP address of baseboard management controller BMC in this UUT that are connected in this computer are mated, it is characterized in that, this system comprises:
Whether detecting module, for having new access device according to computer described in the detecting real-time of IP address;
Sending module, for send the signal that requires this new access device passback identification parameter when detecting new access device, described identification parameter is the IP address of this new access device use and the medium access control MAC Address of BMC;
Receiver module, the identification parameter returning for receiving described new access device;
Judge module, for judging that at the storage condition of matched record table described new access device is BMC or UUT according to returned MAC Address;
Memory module, for when new access device is BMC, a newly-increased record storage MAC Address for described passback and the IP address of BMC in described matched record table;
Described sending module, also for when new access device is BMC, send starting-up signal to BMC with by described UUT start; And
Described memory module, also for when new access device is UUT, stores returned IP address into the IP address field of UUT corresponding with returned MAC Address in described matched record table.
2. IP matching addresses system as claimed in claim 1, is characterized in that, described sending module, also for when new access device is UUT, sends and starts test signal to this UUT.
3. IP matching addresses system as claimed in claim 2, is characterized in that, this system also comprises control module, for controlling described UUT, under returned IP address, tests.
4. IP matching addresses system as claimed in claim 1, it is characterized in that, when returned MAC Address is not stored in matched record table, the described new access device of described judge module judgement is BMC, when returned MAC Address has storage in matched record table, the described new access device of described judge module judgement is UUT.
5. IP matching addresses system as claimed in claim 1, is characterized in that, described computer is that monitoring host computer or the PXE server that DynamicHost arranges protocol DHCP service is installed, and described computer arranges IP address rental period endless when configuration DHCP is served.
6. an IP matching addresses method, is applied to computer, for the IP address of equipment under test UUT and the IP address of baseboard management controller BMC in this UUT that are connected in this computer are mated, it is characterized in that, the method comprises:
Whether detecting step, have new access device according to computer described in the detecting real-time of IP address;
Forwarding step one sends the signal that requires this new access device passback identification parameter when detecting new access device, and described identification parameter is the IP address of this new access device use and the medium access control MAC Address of BMC;
Receiving step, receives the identification parameter that described new access device returns;
Determining step, the storage condition according to returned MAC Address in matched record table judges that described new access device is BMC or UUT;
Storing step one, when new access device is BMC, a newly-increased record storage MAC Address for described passback and the IP address of BMC in described matched record table, and send starting-up signal to BMC with by described UUT start, return to detecting step; And
Storing step two, when new access device is UUT, stores returned IP address into the IP address field of UUT corresponding with returned MAC Address in described matched record table.
7. IP matching addresses method as claimed in claim 6, is characterized in that, the method also comprises:
Forwarding step two, when new access device is UUT, sends and starts test signal to this UUT.
8. IP matching addresses method as claimed in claim 7, is characterized in that, the method also comprises:
Control step, for controlling described UUT, under returned IP address, test.
9. IP matching addresses method as claimed in claim 6, is characterized in that, at described determining step, when returned MAC Address is not stored in matched record table, judges that described new access device is BMC; When returned MAC Address has storage in matched record table, judge that described new access device is UUT.
10. IP matching addresses method as claimed in claim 6, is characterized in that, described computer is that monitoring host computer or the PXE server that DynamicHost arranges protocol DHCP service is installed, and described computer arranges IP address rental period endless when configuration DHCP is served.
CN201210239091.5A 2012-07-11 2012-07-11 Internet Protocol (IP) address matching system and method Pending CN103546586A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201210239091.5A CN103546586A (en) 2012-07-11 2012-07-11 Internet Protocol (IP) address matching system and method
TW101125208A TW201404103A (en) 2012-07-11 2012-07-13 System and method of matching IP address

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210239091.5A CN103546586A (en) 2012-07-11 2012-07-11 Internet Protocol (IP) address matching system and method

Publications (1)

Publication Number Publication Date
CN103546586A true CN103546586A (en) 2014-01-29

Family

ID=49969625

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210239091.5A Pending CN103546586A (en) 2012-07-11 2012-07-11 Internet Protocol (IP) address matching system and method

Country Status (2)

Country Link
CN (1) CN103546586A (en)
TW (1) TW201404103A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9729440B2 (en) 2015-02-22 2017-08-08 Mellanox Technologies, Ltd. Differentiating among multiple management control instances using IP addresses
US9985820B2 (en) 2015-02-22 2018-05-29 Mellanox Technologies, Ltd. Differentiating among multiple management control instances using addresses
CN108123915A (en) * 2016-11-28 2018-06-05 北京神州泰岳软件股份有限公司 A kind of detection method and device of illegal connection to LAN equipment
US9998359B2 (en) 2013-12-18 2018-06-12 Mellanox Technologies, Ltd. Simultaneous operation of remote management and link aggregation
CN108574741A (en) * 2017-03-07 2018-09-25 佛山市顺德区顺达电脑厂有限公司 The method for detecting Internet protocol suite address and entity address
US10148746B2 (en) 2014-01-28 2018-12-04 Mellanox Technologies, Ltd. Multi-host network interface controller with host management
CN109828915A (en) * 2018-12-29 2019-05-31 北京小米移动软件有限公司 A kind of method, apparatus of debugging utility, equipment and storage medium
CN109981417A (en) * 2019-04-08 2019-07-05 苏州浪潮智能科技有限公司 A kind of test method and device of server state monitoring stability

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9998359B2 (en) 2013-12-18 2018-06-12 Mellanox Technologies, Ltd. Simultaneous operation of remote management and link aggregation
US10148746B2 (en) 2014-01-28 2018-12-04 Mellanox Technologies, Ltd. Multi-host network interface controller with host management
US9729440B2 (en) 2015-02-22 2017-08-08 Mellanox Technologies, Ltd. Differentiating among multiple management control instances using IP addresses
US9985820B2 (en) 2015-02-22 2018-05-29 Mellanox Technologies, Ltd. Differentiating among multiple management control instances using addresses
CN108123915A (en) * 2016-11-28 2018-06-05 北京神州泰岳软件股份有限公司 A kind of detection method and device of illegal connection to LAN equipment
CN108123915B (en) * 2016-11-28 2020-11-20 北京神州泰岳软件股份有限公司 Detection method and device for illegal network access equipment
CN108574741A (en) * 2017-03-07 2018-09-25 佛山市顺德区顺达电脑厂有限公司 The method for detecting Internet protocol suite address and entity address
CN108574741B (en) * 2017-03-07 2021-11-16 佛山市顺德区顺达电脑厂有限公司 Method for detecting IP address and physical address
CN109828915A (en) * 2018-12-29 2019-05-31 北京小米移动软件有限公司 A kind of method, apparatus of debugging utility, equipment and storage medium
CN109828915B (en) * 2018-12-29 2022-04-01 北京小米移动软件有限公司 Method, device, equipment and storage medium for debugging application program
CN109981417A (en) * 2019-04-08 2019-07-05 苏州浪潮智能科技有限公司 A kind of test method and device of server state monitoring stability

Also Published As

Publication number Publication date
TW201404103A (en) 2014-01-16

Similar Documents

Publication Publication Date Title
CN103546586A (en) Internet Protocol (IP) address matching system and method
KR102158754B1 (en) Method and apparatus for operating on smart network interface card
US20120166605A1 (en) Remote Management Systems and Methods for Servers
CN103973515A (en) Network card stability testing method
US20170192768A1 (en) Updating system of firmware of complex programmable logic device and updating method thereof
US9588542B2 (en) Rack server system and method for automatically managing rack configuration information
CN102244591A (en) Client server and method for full process monitoring on function text of client server
US10630637B2 (en) Method for ascertaining an IP address and a MAC address of a unit under test mounted in a rack server
CN107277193B (en) Method, device and system for managing address of baseboard management controller
CN112737800B (en) Service node fault positioning method, call chain generating method and server
CN103731663B (en) The testing method of a kind of intelligent television and device
CN105183575A (en) Processor fault diagnosis method, device and system
TW201417536A (en) Method and system for automatically managing servers
CN105743707A (en) Method for testing BMC log analysis function based on Redhat system
CN106201813A (en) Method for automatically testing BMC stability
CN115525490A (en) Memory eye pattern testing method, hardware debugging equipment and storage medium
CN115061885A (en) Complete machine aging automatic test method and device, electronic equipment and storage medium
CN112783703A (en) SAS link fault positioning method, device, equipment and storage medium
TW201506613A (en) System and method of detecting firmware
CN117251333A (en) Method, device, equipment and storage medium for acquiring hard disk information
US7899680B2 (en) Storage of administrative data on a remote management device
CN109660386B (en) Software upgrading method for semiconductor memory aging test system
CN103678058A (en) Hardware detection system and method
CN107241580B (en) Construction auxiliary method and system for security monitoring system
CN103902414A (en) Network type test system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140129