CN108810192A - A kind of static IP configuration method, device, equipment and readable storage medium storing program for executing - Google Patents

A kind of static IP configuration method, device, equipment and readable storage medium storing program for executing Download PDF

Info

Publication number
CN108810192A
CN108810192A CN201810803160.8A CN201810803160A CN108810192A CN 108810192 A CN108810192 A CN 108810192A CN 201810803160 A CN201810803160 A CN 201810803160A CN 108810192 A CN108810192 A CN 108810192A
Authority
CN
China
Prior art keywords
static
information
destination node
configuration
address
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
CN201810803160.8A
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810803160.8A priority Critical patent/CN108810192A/en
Publication of CN108810192A publication Critical patent/CN108810192A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5053Lease time; Renewal aspects

Abstract

The invention discloses a kind of static IP configuration methods, and this approach includes the following steps:It is to be deployed in the destination node in the same specified network with management server to configure dynamic IP using DHCP protocol;Using the dynamic IP configured, the identification information of destination node is obtained;In static IP configuration information look-up table, static IP information corresponding to identification information is searched;Using static IP information, modification destination node corresponds to the IP address configuration file of network interface card port.Without human intervention, the configuration of static IP can be completed.Especially when interstitial content to be configured is more, static IP is configured according to static IP configuration information look-up table, can also save the time of deployment static IP, reduces error rate and rework rate.The invention also discloses a kind of static IP configuration device, equipment and readable storage medium storing program for executing, have corresponding technique effect.

Description

A kind of static IP configuration method, device, equipment and readable storage medium storing program for executing
Technical field
The present invention relates to field of communication technology, more particularly to a kind of static IP configuration method, device, equipment and readable deposit Storage media.
Background technology
IP is the abbreviation of English Internet Protocol, is meant " agreement interconnected between network ", that is, is meter Calculation machine network is connected with each other the agreement for being communicated and being designed.In the internet, it is to make all calculating of connection on the net Set of rule that machine real-time performance is in communication with each other is, it is specified that the rule that computer should abide by when being communicated on the internet. IP address is used to one number of the computer on Internet.Everybody is to be needed on every PC to network daily the case where seeing There is IP address, it could normal communication.
IP address is divided into static address and dynamic address.In cluster-based storage, in order to externally provide high performance service, it is Each node configures static ip address.But when configuring static ip address for the storage cluster of multinode, need each node It is separately configured, the specific steps are:For the operating system of each node installation cluster-based storage, all nodes are planned to curstomer's site IP address information logs in storage system, for the IP address that the setting of each node is static.There are each nodes for configuration IP address one by one The work of repeatability configuration IP address is executed, time-consuming, efficiency is low, and the problems such as error probability is big is manually operated.
In conclusion the problems such as how efficiently solving static ip address in storage cluster, is current people in the art Member is badly in need of the technical issues of solving.
Invention content
The object of the present invention is to provide a kind of static IP configuration method, device, equipment and readable storage medium storing program for executing, quickly to have The configuration static ip address of effect.
In order to solve the above technical problems, the present invention provides the following technical solutions:
A kind of static IP configuration method is applied to management server, including:
It is to be deployed in the configuration of the destination node in the same specified network with the management server to move using DHCP protocol State IP;
Using the dynamic IP configured, the identification information of the destination node is obtained;
In static IP configuration information look-up table, static IP information corresponding to the identification information is searched;Wherein, described quiet State IP information includes identification information, needs the network interface card port being arranged and the static ip address being arranged for network interface card port, subnet mask Gateway;
Using the static IP information, the IP address configuration file that the destination node corresponds to network interface card port is changed, with right The destination node configures static IP.
Preferably, described to obtain the identification information of the destination node using the dynamic IP configured, including:
The identification information of the destination node is obtained using http protocol.
Preferably, it is the destination node being deployed in the management server in the same specified network using DHCP protocol Dynamic IP is configured, including:
Destination node is determined in the node being deployed in the same specified network with the management server;
It is that the destination node configures dynamic IP using DHCP protocol.
Preferably, the identification information is equipment Serial Number.
Preferably, the static IP information is being utilized, is changing the IP address configuration that the destination node corresponds to network interface card port After file, further include:
Traversal queries static IP corresponding with each node that the management server is deployed in the same specified network Whether address information matches with the static IP configuration information look-up table;
If it is not, then repeating the utilization static IP information, changes the destination node and correspond to network interface card port IP address configuration file operation.
A kind of static IP configuration device is applied to management server, including:
Dynamic IP configuration module, for being to be deployed in the same specified network with the management server using DHCP protocol In destination node configure dynamic IP;
Identification information acquisition module, for using the dynamic IP configured, obtaining the identification information of the destination node;
Static IP information determination module is corresponded in static IP configuration information look-up table, searching the identification information Static IP information;Wherein, the static IP information includes identification information, needs the network interface card port being arranged and set for network interface card port Static ip address, the subnet mask gateway set;
Static IP configuration module changes the destination node and corresponds to network interface card port for utilizing the static IP information IP address configuration file, to configure static IP to the destination node.
Preferably, the identification information acquisition module, specifically for obtaining the mark of the destination node using http protocol Know information.
Preferably, further include:
Detection module is configured, for utilizing the static IP information, the destination node is changed and corresponds to network interface card port After IP address configuration file, traversal queries are deployed in each node pair in the same specified network with the management server Whether the static ip address information answered matches with the static IP configuration information look-up table;If it is not, then repeating the profit With the static IP information, the operation that the destination node corresponds to the IP address configuration file of network interface card port is changed.
A kind of static IP configuration equipment, including:
Memory, for storing computer program;
Processor, the step of above-mentioned static IP configuration method is realized when for executing the computer program.
A kind of readable storage medium storing program for executing is stored with computer program, the computer program quilt on the readable storage medium storing program for executing The step of processor realizes above-mentioned static IP configuration method when executing.
The method applied to management server provided using the embodiment of the present invention, including:Using DHCP protocol be with Management server is deployed in the configuration dynamic IP of the destination node in the same specified network;Using the dynamic IP configured, obtain The identification information of destination node;In static IP configuration information look-up table, static IP information corresponding to identification information is searched;Its In, static IP information includes identification information, needs the network interface card port being arranged and the static ip address, the subnet that are arranged for network interface card port Mask gateway;Using static IP information, modification destination node corresponds to the IP address configuration file of network interface card port, with to destination node Configure static IP.It is that destination node configures dynamic IP first with DHCP protocol, then when configuring static IP for destination node On the basis of being configured with dynamic IP, the identification information of destination node is obtained.Mesh is found in static IP configuration information look-up table Mark the corresponding static IP information of node.The IP address configuration file of network interface card port is corresponded to destination node using the static IP information It modifies, that is, completes the configuration to file destination static IP.That is, without human intervention, static IP can be completed Configuration.Especially when interstitial content to be configured is more, static IP is configured according to static IP configuration information look-up table, can also be saved The time of deployment static IP is saved, error rate and rework rate are reduced.
Correspondingly, the embodiment of the present invention additionally provides static IP configuration dress corresponding with above-mentioned static IP configuration method It sets, equipment and readable storage medium storing program for executing, has above-mentioned technique effect, details are not described herein.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with Obtain other attached drawings according to these attached drawings.
Fig. 1 is a kind of implementing procedure figure of static IP configuration method in the embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of static IP configuration device in the embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of static IP configuration equipment in the embodiment of the present invention.
Specific implementation mode
In order to enable those skilled in the art to better understand the solution of the present invention, with reference to the accompanying drawings and detailed description The present invention is described in further detail.Obviously, described embodiments are only a part of the embodiments of the present invention, rather than Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise Lower obtained every other embodiment, shall fall within the protection scope of the present invention.
Embodiment one:
Referring to FIG. 1, Fig. 1 be the embodiment of the present invention in a kind of flow chart of static IP configuration method, this method include with Lower step:
S101, it is moved using DHCP protocol to be deployed in the configuration of the destination node in the same specified network with management server State IP.
It, can be by management server and each section in order to preferably complete each node configuration static IP to storage cluster Point is deployed in the same network.Then, management server can utilize DHCP protocol same to be deployed in management server Destination node in a specified network configures dynamic IP.Wherein, destination node can be any one node in storage cluster, That is the static IP configuration method all provided using the embodiment of the present invention each node in storage cluster is matched It sets.After configuring dynamic IP for destination node, management server can use common Data Transport Protocol (example with destination node Such as HTTP, TCP/IP, UDP agreement) it is communicated.
Preferably, when configuring dynamic IP for destination node, detailed process may include:
Step 1: determining destination node in the node being deployed in the same specified network with management server;
Step 2: being that destination node configures dynamic IP using DHCP protocol.
For ease of description, above-mentioned two step is combined below and is illustrated.
First destination node is being determined in the node being deployed in the same specified network with management server.Specifically , each corresponding node can be determined as destination node successively according to the sequence in static IP configuration information look-up table.When So, can also multiple corresponding nodes be determined as destination node simultaneously.Then, it is that destination node configuration is dynamic using DHCP protocol State IP.It is configured specifically, how can refer to common dynamic IP using the process that DHCP protocol is destination node configuration dynamic IP Process, details are not described herein.
S102, using the dynamic IP configured, obtain the identification information of destination node.
Specifically, obtaining the mark of destination node using common Data Transport Protocol using the dynamic IP configured Information.Wherein, identification information can be the mark that the destination node can be uniquely determined in currently assigned network.For example, mark Know information can be destination node equipment Serial Number, for its corresponding geographical location information or be destination node function Information such as memory space can uniquely determine the mark of the destination node in specified network.
Specifically, obtaining the identification information of destination node using http protocol.Due to the carry out data biography of http protocol , need to be using IP address as foundation when defeated, thus when the identification information of acquisition destination node, the dynamic IP configured need to be utilized.
S103, in static IP configuration information look-up table, search static IP information corresponding to identification information.
Wherein, static IP information includes identification information, needs the network interface card port being arranged and the static state being arranged for network interface card port IP address, subnet mask gateway.
In embodiments of the present invention, the identification information of each node can be counted in advance, and not each node, which is planned, to be waited for The static IP information of configuration.Wherein, static IP information includes the identification information of node, needs the network interface card port that is arranged and be network interface card Static ip address, the subnet mask gateway of port setting.That is, setting the parameter information needed for configuration static IP.And it is stored in quiet In state IP configuration information look-up tables.
After acquiring the identification information of destination node, can in static IP configuration information look-up table, find with Static IP information corresponding to the identification information, to configure static IP to destination node.
S104, using static IP information, modification destination node corresponds to the IP address configuration file of network interface card port.
After obtaining static IP information, the static IP information can be utilized, by the IP at the corresponding network interface card end of destination node It is revised as the parameter with static IP information matches in location.Change the network interface card end that need to be changed corresponding with static IP information in destination node The IP address configuration file of mouth.In this way, just completing to configure static ip address to destination node.
The method provided using the embodiment of the present invention is to be deployed in the same finger with management server using DHCP protocol Determine the destination node configuration dynamic IP in network;Using the dynamic IP configured, the identification information of destination node is obtained;In static state In IP configuration information look-up tables, static IP information corresponding to identification information is searched;Wherein, static IP information include identification information, Need the network interface card port being arranged and the static ip address being arranged for network interface card port, subnet mask gateway;Using static IP information, repair Change the IP address configuration file that destination node corresponds to network interface card port, to configure static IP to destination node.Match for destination node It is that destination node configuration dynamic IP obtains then on the basis of being configured with dynamic IP first with DHCP protocol when setting static IP Take the identification information of destination node.The corresponding static IP information of destination node is found in static IP configuration information look-up table.Make The IP address configuration file that network interface card port is corresponded to destination node with the static IP information is modified, that is, is completed to file destination The configuration of static IP.That is, without human intervention, the configuration of static IP can be completed.Especially in node to be configured When number is more, static IP is configured according to static IP configuration information look-up table, the time of deployment static IP can be also saved, reduce out Error rate and rework rate.
It should be noted that being based on above-described embodiment one, the embodiment of the present invention additionally provides the scheme of being correspondingly improved.Rear Involved in continuous embodiment with can mutually be referred between same steps or corresponding steps in above-described embodiment one, corresponding advantageous effect Also can be cross-referenced, it is no longer repeated one by one in improvement embodiment below.
Preferably, in order to enable all nodes to be configured correctly configure static IP, above-mentioned steps are being executed After S104, the operation of following steps can also be performed:
Step 1: traversal queries static state corresponding with each node that management server is deployed in the same specified network Whether IP address information matches with static IP configuration information look-up table;
Step 2: if it is not, then repeating using static IP information, modification destination node is with corresponding to the IP of network interface card port The operation of location configuration file.
For ease of description, above-mentioned steps are combined below and is illustrated.
Traversal queries static ip address corresponding with each node that management server is deployed in the same specified network Whether information matches with static IP configuration information look-up table.When each node matches, it may be determined that the node that need to be configured is equal Correctly it is configured with static IP;When there is some node with static IP configuration information operation table mismatch, then show the node It configures unsuccessful, or is not configured also, then static IP information, modification destination node can be utilized to correspond to the IP of network interface card port Address configuration file, to complete to configure.
Embodiment two:
The technical solution that technical staff understands that the embodiment of the present invention is provided is utilized for the ease of this, with reference to specific For application scenarios, it is provided for the embodiments of the invention technical solution and is described in detail.
First, technical staff counts the equipment Serial Number of each node and distributes IP address to each node, makes sequence Number IP address configuration file corresponding with IP address.IP address configuration script is write, executing the script can realize that the present invention is real The step of applying the static IP configuration method that example is provided, that is, read sequence number, then obtains IP address configuration from HTTP server File, and the IP address argument needed to configure according to the machine sequence numbers match, modification IP address configure and restart network.Then, A management server for having installed operating system is selected, IP address is configured, DHCP service and HTTP service are installed.Cluster is deposited After storing up each node installation operating system, starts network interface card and obtain dynamic IP addressing.Each node can pass through management server Distribution function obtains static ip address configuration script.IP address configuration script obtains sequence number and IP address using HTTP service Corresponding table, and the IP address needed to configure is inquired according to sequence number, carry out automatically configuring for IP address.
It should be noted that in statistical cluster storage, the equipment Serial Number of each node can in data center environment Using the unique mark sequence number as each node, to distinguish each node.Plan the management port and correspondence of each node Static ip address information, formed an IP address configuration file.Each the corresponding configuration information of node includes:SN(Serial Number):The equipment Serial Number of each node;DEVICES:For the specified network interface card port for needing to be arranged of each node;IPADDR: For the static ip address of port setting;NETMASK:For the subnet mask of port setting;GATEWAY:For the gateway of port setting.
The IP address configuration script run on the management server, detailed process include:
Step 1: obtaining the sequence number of each node
Step 2: the static ip address information that inquiry will be arranged, determines the network interface card port for needing to change IP address, i.e., Device values
Step 3: according to the IP address information of the port inquired, the IP address configuration file of corresponding port is changed
Step 4: according to IP address configuration file, verify whether IP address information matches.If mismatched, remodify The IP address configuration file of corresponding port is completed if it does, then recording this operation.
In cluster-based storage implementation process, the sequence number of each node is counted, and static ip address is planned for each node, generated Sequence number and the one-to-one IP address configuration file of IP address.Only by management server end, while configuring cluster-based storage The static ip address of all nodes, and verify the accuracy of IP address.The cluster of 20 nodes, to configuration from statistical series number Until IP address, the operation with existing configuration static IP (logs in per node, changes the IP address file of network interface, and each section The IP address of point is different) it compares, deployment time can be reduced, and avoid the mistake behaviour occurred when manual configuration IP address file Make.
Corresponding to above method embodiment, the embodiment of the present invention additionally provides a kind of static IP configuration device, hereafter retouches Reference can be corresponded applied to the static IP configuration device of management server with above-described static IP configuration method by stating.
Shown in Figure 2, which comprises the following modules:
Dynamic IP configuration module 101, for being to be deployed in the same specified network with management server using DHCP protocol In destination node configure dynamic IP;
Identification information acquisition module 102, for using the dynamic IP configured, obtaining the identification information of destination node;
Static IP information determination module 103, in static IP configuration information look-up table, it is corresponding to search identification information Static IP information;Wherein, static IP information includes identification information, needs the network interface card port being arranged and be arranged for network interface card port quiet State IP address, subnet mask gateway;
Static IP configuration module 104, for utilizing static IP information, modification destination node to correspond to the IP address of network interface card port Configuration file, to configure static IP to destination node.
The device provided using the embodiment of the present invention is to be deployed in the same finger with management server using DHCP protocol Determine the destination node configuration dynamic IP in network;Using the dynamic IP configured, the identification information of destination node is obtained;In static state In IP configuration information look-up tables, static IP information corresponding to identification information is searched;Wherein, static IP information include identification information, Need the network interface card port being arranged and the static ip address being arranged for network interface card port, subnet mask gateway;Using static IP information, repair Change the IP address configuration file that destination node corresponds to network interface card port, to configure static IP to destination node.Match for destination node It is that destination node configuration dynamic IP obtains then on the basis of being configured with dynamic IP first with DHCP protocol when setting static IP Take the identification information of destination node.The corresponding static IP information of destination node is found in static IP configuration information look-up table.Make The IP address configuration file that network interface card port is corresponded to destination node with the static IP information is modified, that is, is completed to file destination The configuration of static IP.That is, without human intervention, the configuration of static IP can be completed.Especially in node to be configured When number is more, static IP is configured according to static IP configuration information look-up table, the time of deployment static IP can be also saved, reduce out Error rate and rework rate.
In a kind of specific implementation mode of the present invention, identification information acquisition module 102 is specifically used for utilizing http protocol Obtain the identification information of destination node.
In a kind of specific implementation mode of the present invention, further include:
Detection module is configured, for utilizing static IP information, the IP address that modification destination node corresponds to network interface card port to match After setting file, traversal queries static IP corresponding with each node that management server is deployed in the same specified network Whether location information matches with static IP configuration information look-up table;If it is not, then repeating using static IP information, target is changed Node corresponds to the operation of the IP address configuration file of network interface card port.
In a kind of specific implementation mode of the present invention, dynamic IP configuration module 101, including:
Destination node determination unit, for being deployed in determination in the node in the same specified network with management server Go out destination node;
Dynamic IP dispensing unit, for being that destination node configures dynamic IP using DHCP protocol.
In a kind of specific implementation mode of the present invention, identification information is equipment Serial Number.
Corresponding to above method embodiment, the embodiment of the present invention additionally provides a kind of static IP configuration equipment, hereafter retouches A kind of static IP configuration equipment stated can correspond reference with a kind of above-described static IP configuration method.
Shown in Figure 3, static IP configuration equipment includes:
Memory D1, for storing computer program;
Processor D2 realizes the step of the static IP configuration method of above method embodiment when for executing computer program Suddenly.
Corresponding to above method embodiment, the embodiment of the present invention additionally provides a kind of readable storage medium storing program for executing, is described below A kind of readable storage medium storing program for executing can correspond reference with a kind of above-described static IP configuration method.
A kind of readable storage medium storing program for executing is stored with computer program on readable storage medium storing program for executing, and computer program is held by processor The step of static IP configuration method of above method embodiment is realized when row.
The readable storage medium storing program for executing be specifically as follows USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), the various program storage generations such as random access memory (Random Access Memory, RAM), magnetic disc or CD The readable storage medium storing program for executing of code.
Each embodiment is described by the way of progressive in this specification, the highlights of each of the examples are with it is other The difference of embodiment, just to refer each other for same or similar part between each embodiment.For being filled disclosed in embodiment For setting, since it is corresponded to the methods disclosed in the examples, so description is fairly simple, related place is referring to method part Explanation.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is implemented in hardware or software actually, depends on the specific application and design constraint of technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond the scope of this invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
Principle and implementation of the present invention are described for specific case used herein, and above example is said It is bright to be merely used to help understand technical scheme of the present invention and its core concept.It should be pointed out that for the common of the art , without departing from the principle of the present invention, can be with several improvements and modifications are made to the present invention for technical staff, these Improvement and modification are also fallen within the protection scope of the claims of the present invention.

Claims (10)

1. a kind of static IP configuration method, which is characterized in that it is applied to management server, including:
It is to be deployed in the destination node in the same specified network with the management server to configure dynamic IP using DHCP protocol;
Using the dynamic IP configured, the identification information of the destination node is obtained;
In static IP configuration information look-up table, static IP information corresponding to the identification information is searched;Wherein, the static IP Information includes identification information, needs the network interface card port being arranged and the static ip address, the subnet mask gateway that are arranged for network interface card port;
Using the static IP information, the IP address configuration file that the destination node corresponds to network interface card port is changed, with to described Destination node configures static IP.
2. static IP configuration method according to claim 1, which is characterized in that it is described using the dynamic IP configured, it obtains The identification information of the destination node is taken, including:
The identification information of the destination node is obtained using http protocol.
3. static IP configuration method according to claim 1, which is characterized in that be and management clothes using DHCP protocol Business device is deployed in the configuration dynamic IP of the destination node in the same specified network, including:
Destination node is determined in the node being deployed in the same specified network with the management server;
It is that the destination node configures dynamic IP using DHCP protocol.
4. static IP configuration method according to claim 1, which is characterized in that the identification information is equipment Serial Number.
5. static IP configuration method according to any one of claims 1 to 4, which is characterized in that utilizing the static IP Information further includes after changing the IP address configuration file that the destination node corresponds to network interface card port:
Traversal queries static ip address corresponding with each node that the management server is deployed in the same specified network Whether information matches with the static IP configuration information look-up table;
If it is not, then repeating the utilization static IP information, the IP that the destination node corresponds to network interface card port is changed The operation of address configuration file.
6. a kind of static IP configuration device, which is characterized in that it is applied to management server, including:
Dynamic IP configuration module, for being to be deployed in the same specified network with the management server using DHCP protocol Destination node configures dynamic IP;
Identification information acquisition module, for using the dynamic IP configured, obtaining the identification information of the destination node;
Static IP information determination module searches corresponding quiet of the identification information in static IP configuration information look-up table State IP information;Wherein, the static IP information includes identification information, needs the network interface card port being arranged and be arranged for network interface card port Static ip address, subnet mask gateway;
Static IP configuration module changes the IP that the destination node corresponds to network interface card port for utilizing the static IP information Location configuration file, to configure static IP to the destination node.
7. static IP configuration device according to claim 6, which is characterized in that the identification information acquisition module, specifically Identification information for obtaining the destination node using http protocol.
8. the static IP configuration device described according to claim 6 or 7, which is characterized in that further include:
Detection module is configured, for utilizing the static IP information, changes the IP that the destination node corresponds to network interface card port After the configuration file of location, traversal queries are corresponding with each node that the management server is deployed in the same specified network Whether static ip address information matches with the static IP configuration information look-up table;If it is not, then repeat it is described utilize institute Static IP information is stated, the operation that the destination node corresponds to the IP address configuration file of network interface card port is changed.
9. a kind of static IP configures equipment, which is characterized in that including:
Memory, for storing computer program;
Processor realizes the static IP configuration method as described in any one of claim 1 to 5 when for executing the computer program The step of.
10. a kind of readable storage medium storing program for executing, which is characterized in that be stored with computer program, the meter on the readable storage medium storing program for executing It is realized when calculation machine program is executed by processor as described in any one of claim 1 to 5 the step of static IP configuration method.
CN201810803160.8A 2018-07-20 2018-07-20 A kind of static IP configuration method, device, equipment and readable storage medium storing program for executing Pending CN108810192A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810803160.8A CN108810192A (en) 2018-07-20 2018-07-20 A kind of static IP configuration method, device, equipment and readable storage medium storing program for executing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810803160.8A CN108810192A (en) 2018-07-20 2018-07-20 A kind of static IP configuration method, device, equipment and readable storage medium storing program for executing

Publications (1)

Publication Number Publication Date
CN108810192A true CN108810192A (en) 2018-11-13

Family

ID=64077374

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810803160.8A Pending CN108810192A (en) 2018-07-20 2018-07-20 A kind of static IP configuration method, device, equipment and readable storage medium storing program for executing

Country Status (1)

Country Link
CN (1) CN108810192A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109495567A (en) * 2018-11-16 2019-03-19 网宿科技股份有限公司 A kind of dispositions method of static routing, equipment and system
CN110071833A (en) * 2019-04-22 2019-07-30 北京旷视科技有限公司 Testimony of a witness apparatus for checking configuration method, system, computer equipment and storage medium
CN110677505A (en) * 2019-08-14 2020-01-10 苏州浪潮智能科技有限公司 Method and device for configuring static IP in batch
CN110704115A (en) * 2019-09-16 2020-01-17 中盈优创资讯科技有限公司 Method, device and system for configuring BMC (baseboard management controller) of server
CN110719209A (en) * 2019-10-31 2020-01-21 北京浪潮数据技术有限公司 Cluster network configuration method, system, equipment and readable storage medium
CN111061496A (en) * 2019-12-27 2020-04-24 浪潮电子信息产业股份有限公司 PXE installation method and device for Linux operating system
CN111343010A (en) * 2020-02-16 2020-06-26 苏州浪潮智能科技有限公司 Method and equipment for configuring storage IP network port
CN111371919A (en) * 2020-03-02 2020-07-03 威海新北洋技术服务有限公司 IP query method and device of Internet of things card and electronic equipment
CN112468327A (en) * 2020-11-12 2021-03-09 苏州浪潮智能科技有限公司 ICOS cluster-based address change method, device and medium
CN112929460A (en) * 2021-01-20 2021-06-08 苏州长风航空电子有限公司 IP address configuration method and configuration device based on Linux system
CN114866515A (en) * 2022-04-21 2022-08-05 重庆紫光华山智安科技有限公司 IP address configuration method, device, electronic equipment and storage medium
CN115102926A (en) * 2022-07-25 2022-09-23 大陆汽车研发(重庆)有限公司 IP configuration method, device, controller and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101102335A (en) * 2006-07-07 2008-01-09 富士施乐株式会社 Network system, image-processing device, image-processing method, computer-readable medium, and network-setting device
CN102904977A (en) * 2012-10-24 2013-01-30 华为技术有限公司 Network address allocation method, server and node
US8823988B2 (en) * 2011-11-22 2014-09-02 Samsung Electronics Co., Ltd. Image forming apparatus supporting peer-to-peer connection and method of executing application program thereof through internet protocol address linkage
WO2015192583A1 (en) * 2014-06-16 2015-12-23 中兴通讯股份有限公司 Internet protocol (ip) address allocation method and apparatus, server and terminal
CN107580083A (en) * 2017-09-20 2018-01-12 北京京东尚科信息技术有限公司 A kind of method and system of container IP address distribution

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101102335A (en) * 2006-07-07 2008-01-09 富士施乐株式会社 Network system, image-processing device, image-processing method, computer-readable medium, and network-setting device
US8823988B2 (en) * 2011-11-22 2014-09-02 Samsung Electronics Co., Ltd. Image forming apparatus supporting peer-to-peer connection and method of executing application program thereof through internet protocol address linkage
CN102904977A (en) * 2012-10-24 2013-01-30 华为技术有限公司 Network address allocation method, server and node
WO2015192583A1 (en) * 2014-06-16 2015-12-23 中兴通讯股份有限公司 Internet protocol (ip) address allocation method and apparatus, server and terminal
CN107580083A (en) * 2017-09-20 2018-01-12 北京京东尚科信息技术有限公司 A kind of method and system of container IP address distribution

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109495567B (en) * 2018-11-16 2020-12-29 网宿科技股份有限公司 Static routing deployment method, device and system
CN109495567A (en) * 2018-11-16 2019-03-19 网宿科技股份有限公司 A kind of dispositions method of static routing, equipment and system
CN110071833A (en) * 2019-04-22 2019-07-30 北京旷视科技有限公司 Testimony of a witness apparatus for checking configuration method, system, computer equipment and storage medium
CN110071833B (en) * 2019-04-22 2022-11-04 北京旷视科技有限公司 Method and system for configuring witness verification device, computer device and storage medium
CN110677505A (en) * 2019-08-14 2020-01-10 苏州浪潮智能科技有限公司 Method and device for configuring static IP in batch
CN110704115A (en) * 2019-09-16 2020-01-17 中盈优创资讯科技有限公司 Method, device and system for configuring BMC (baseboard management controller) of server
CN110719209A (en) * 2019-10-31 2020-01-21 北京浪潮数据技术有限公司 Cluster network configuration method, system, equipment and readable storage medium
CN111061496A (en) * 2019-12-27 2020-04-24 浪潮电子信息产业股份有限公司 PXE installation method and device for Linux operating system
CN111343010A (en) * 2020-02-16 2020-06-26 苏州浪潮智能科技有限公司 Method and equipment for configuring storage IP network port
CN111343010B (en) * 2020-02-16 2022-12-27 苏州浪潮智能科技有限公司 Method and equipment for configuring storage IP network port
CN111371919A (en) * 2020-03-02 2020-07-03 威海新北洋技术服务有限公司 IP query method and device of Internet of things card and electronic equipment
CN112468327A (en) * 2020-11-12 2021-03-09 苏州浪潮智能科技有限公司 ICOS cluster-based address change method, device and medium
CN112929460A (en) * 2021-01-20 2021-06-08 苏州长风航空电子有限公司 IP address configuration method and configuration device based on Linux system
CN114866515A (en) * 2022-04-21 2022-08-05 重庆紫光华山智安科技有限公司 IP address configuration method, device, electronic equipment and storage medium
CN115102926A (en) * 2022-07-25 2022-09-23 大陆汽车研发(重庆)有限公司 IP configuration method, device, controller and storage medium
CN115102926B (en) * 2022-07-25 2023-07-21 大陆汽车研发(重庆)有限公司 IP configuration method, device, controller and storage medium

Similar Documents

Publication Publication Date Title
CN108810192A (en) A kind of static IP configuration method, device, equipment and readable storage medium storing program for executing
CN104580519B (en) A kind of method of rapid deployment openstack cloud computing platforms
CN110879712B (en) Cloud data center physical host installation method and related device
CN110719209B (en) Cluster network configuration method, system, equipment and readable storage medium
CN105577420A (en) Method and system for automatic generation of server network topology
JP2019514297A (en) Device configuration method and apparatus based on network configuration protocol
CN109981493B (en) Method and device for configuring virtual machine network
CN102932498A (en) Virtual machine internet protocol (IP) resource management method of cloud computing platform
CN111314107A (en) Automatic networking system and automatic networking method based on Internet service
CN115314353B (en) Device and method for realizing single-pod multi-network card based on kubernetes
CN111970337B (en) P2P network communication construction method, system, medium and terminal under cross-cloud environment
CN109377383A (en) Product data synchronous method, device, computer equipment and storage medium
CN109561165A (en) Domain name system configuration method and relevant apparatus
CN104639550A (en) User identification method and equipment
CN109446791A (en) New equipment recognition methods, device, server and computer readable storage medium
CN109889625B (en) Method for accessing server, accounting node, server and computer readable storage medium
CN110661903B (en) Cloud platform route management method and device
CN110995483B (en) Network topology discovery method and device
CN112152824B (en) Performance index data acquisition method and device
CN112235436A (en) Network address translation rule matching method and equipment
EP3346380A1 (en) Methods for adaptive placement of applications and devices thereof
CN109286692A (en) A kind of method of configuration server IPMI static ip address
CN111541738B (en) Communication method and device
CN114697291A (en) Method, device, server and storage medium for acquiring available IP address field
CN115514733A (en) Configuration method and configuration device for domain name resolution service (DNS)

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181113

RJ01 Rejection of invention patent application after publication