CN108777645A - A kind of system and method for configuration server network IP information - Google Patents

A kind of system and method for configuration server network IP information Download PDF

Info

Publication number
CN108777645A
CN108777645A CN201811068031.5A CN201811068031A CN108777645A CN 108777645 A CN108777645 A CN 108777645A CN 201811068031 A CN201811068031 A CN 201811068031A CN 108777645 A CN108777645 A CN 108777645A
Authority
CN
China
Prior art keywords
network
information
network interface
net list
normal
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
CN201811068031.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.)
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 CN201811068031.5A priority Critical patent/CN108777645A/en
Publication of CN108777645A publication Critical patent/CN108777645A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • 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/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The present invention provides a kind of system and method for configuration server network IP information, includes the following steps:S1:Check the state of identification network interface;S2:Normal network interface is carried out to the editor of IP information;S21:Receive the network interface status information of Network Recognition module output;S22:Judge whether the network interface status information received is normal;S23:The editor of IP information is carried out to the normal network interface of output.S24:Create net list and by editor's IP information of reception deposit in net list;S25:The net list for being stored with IP information is shown;S3:The network equipment, which is added, according to connection type carries out network creation;S4:For network configuration DHCP either static ip address;S5:By the network IP of setting into line activating;S6:Preserve and show the network connection of establishment.

Description

A kind of system and method for configuration server network IP information
Technical field
The present invention relates to server network information technology fields, and in particular to a kind of configuration server network IP information is System and method.
Background technology
Server with the development of the times, has covered each area.It is also more and more for the requirement of network interface card The requirement to network interface card connectivity or higher in the process of running of memberization, wherein server.Server is primarily due to transport The transmission of network is carried out during row, the configuration of network environment is the first step that server carries out network data transmission.At one In large server platform computer room, how to set the IP address of each server is a cumbersome problem.
Invention content
In order to overcome above-mentioned deficiency in the prior art, the present invention to provide a kind of system of configuration server network IP information And method, to solve the above technical problems.
The technical scheme is that:
A kind of system of configuration server network IP information, including network interface identification module, network compiling module, creation module and IPv4 setup modules;
Network interface identification module, the state for checking identification network interface;
Network compiling module, the normal network interface information of network connection for receiving the output of Network Recognition module, and by normal net Mouth carries out the editor of IP information;
Creation module, for selecting the connection type addition network equipment to carry out network creation;
IPv4 setup modules, for being network configuration DHCP either static ip address.
Further, which further includes network IP active modules and display module;
Network IP active modules, for the network IP that will be arranged into line activating;
Display module, the network connection created for preserving display.
Further, network compiling module includes receiving unit, judging unit and edit cell;
Receiving unit, the network interface status information for receiving the output of Network Recognition module;
Whether judging unit, the network interface status information for judging to receive are normal;
Edit cell, the editor for carrying out IP information to the normal network interface of output.
Further, network compiling module further includes net list creating unit and net list display unit;
Net list creating unit, for creating net list and depositing editor's IP information that the edit cell of reception exports and net list In;
Net list display unit, for showing the net list for being stored with IP information.
Further, creation module includes selecting unit and adding device;
Selecting unit, for selecting network connection type;
Adding device, for adding the network equipment.
Technical solution of the present invention also provides a kind of method of configuration server network IP information, includes the following steps:
Check the state of identification network interface;
Normal network interface is carried out to the editor of IP information;
The network equipment, which is added, according to connection type carries out network creation;
For network configuration DHCP either static ip address.
Further, step is that network configuration DHCP either static ip address further includes later:
By the network IP of setting into line activating;
Preserve and show the network connection of establishment.
Further, step specifically includes the editor of normal network interface progress IP information:
Receive the network interface status information of Network Recognition module output;
Judge whether the network interface status information received is normal;
The editor of IP information is carried out to the normal network interface of output.
Further, the editor of normal network interface progress IP information is further included by step:
Create net list and by editor's IP information of reception deposit in net list;
The net list for being stored with IP information is shown.
Further, step adds the network equipment according to connection type and carries out network creation, including:
Select network connection type;
In the address areas MAC of equipment, selection belongs to the interface of network configuration, adds the network equipment.
As can be seen from the above technical solutions, the present invention has the following advantages:Technical solution of the present invention carries out Configuration network IP information.Can be convenient and efficient, save the testing time.Preferably, work quality and efficiency effectively are improved for engineer.
In addition, design principle of the present invention is reliable, and it is simple in structure, there is very extensive application prospect.
It can be seen that compared with prior art, the present invention with substantive distinguishing features outstanding and significantly improving, implementation Advantageous effect be also obvious.
Description of the drawings
Fig. 1 is a kind of method flow diagram of configuration server network IP information;
Fig. 2 is the edit methods flow chart for carrying out IP information.
Specific implementation mode
The present invention will be described in detail below in conjunction with the accompanying drawings and by specific embodiment, and following embodiment is to the present invention Explanation, and the invention is not limited in following implementation.
Embodiment one
A kind of system of configuration server network IP information, including network interface identification module, network compiling module, creation module and IPv4 setup modules;
Network interface identification module, the state for checking identification network interface;
Network compiling module, the normal network interface information of network connection for receiving the output of Network Recognition module, and by normal net Mouth carries out the editor of IP information;
Creation module, for selecting the connection type addition network equipment to carry out network creation;
IPv4 setup modules, for being network configuration DHCP either static ip address.
The system further includes network IP active modules and display module;
Network IP active modules, for the network IP that will be arranged into line activating;
Display module, the network connection created for preserving display.
Network compiling module includes receiving unit, judging unit and edit cell;
Receiving unit, the network interface status information for receiving the output of Network Recognition module;
Whether judging unit, the network interface status information for judging to receive are normal;
Edit cell, the editor for carrying out IP information to the normal network interface of output.
Network compiling module further includes net list creating unit and net list display unit;
Net list creating unit, for creating net list and depositing editor's IP information that the edit cell of reception exports and net list In;
Net list display unit, for showing the net list for being stored with IP information.
Creation module includes selecting unit and adding device;
Selecting unit, for selecting network connection type;
Adding device, for adding the network equipment.
Embodiment two
As shown in Figure 1 and Figure 2, technical solution of the present invention also provides a kind of method of configuration server network IP information, including as follows Step:
S1:Check the state of identification network interface;
S2:Normal network interface is carried out to the editor of IP information;
S21:Receive the network interface status information of Network Recognition module output;
S22:Judge whether the network interface status information received is normal;
S23:The editor of IP information is carried out to the normal network interface of output.
S24:Create net list and by editor's IP information of reception deposit in net list;
S25:The net list for being stored with IP information is shown;
S3:The network equipment, which is added, according to connection type carries out network creation;
S31:Select network connection type;
S32:In the address areas MAC of equipment, selection belongs to the interface of network configuration, adds the network equipment;
S4:For network configuration DHCP either static ip address;
S5:By the network IP of setting into line activating;
S6:Preserve and show the network connection of establishment.
Above system is packaged into graphical interfaces environment, by network manager come the configuration server network information.Scheming Nm-connection-editor orders are used under shape interface environments, network configuration interface can be popped up after execution, add net Network title selects network port driving, and configuration of IP, network IP will come into force automatically after preservation.
The method of Configuration network IP information is specific as follows under above-mentioned graphical interfaces environment:
Ensure normally recognize network interface under linux, checks network interface title.
ifconfig -a |more
The network interface for finding out slotting cable carries out network interface positioning by the order that linux itself is carried.Further ensure that network interface state It is whether normal.Check the order of network interface state:ethtool enp94s0f1.(Here the Linux system that enp94s0f1 refers to The lower network interface name for checking out, such as:enp94s0f0/enp94s0f1...)
The window of the editing machine can be shown to your list, list the network connection configured at present.Click " adding for the upper right corner Add " button, create a network.
It selects " Ethernet " as connection type, adds the network equipment.In " addresses MAC of equipment " region, you is selected Want the interface for being subordinated to network configuration.In this example, it is assumed that the interface is enp94sf1.
It is switched to " IPv4 settings " label, is network configuration DHCP either static ip address.Note that you should be from The Ethernet card interface en94s0f1 of category is set using identical IPv4.In this example, it will be assumed that enp94s0f1 is used Static configurations.Therefore, selection is " static herein(Manual)".If a dynamic IP addressing is designated in enp94s0f1, So you should also specify identical IP address.
Finally, the setting of network is preserved.Now, you can see that a newly-increased network interface configuration is created in " network connection " In window.At this time, network IP can be automatically activated, and can be checked by ifconfig.
Term " first ", " second ", " third " " in description and claims of this specification and above-mentioned attached drawing Four " etc.(If there is)It is for distinguishing similar object, without being used to describe specific sequence or precedence.It should manage The data that solution uses in this way can be interchanged in the appropriate case, so as to the embodiment of the present invention described herein can in addition to Here the sequence other than those of diagram or description is implemented.In addition, term " comprising " and " having " and their any deformation, It is intended to cover and non-exclusive includes.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest range caused.

Claims (10)

1. a kind of system of configuration server network IP information, it is characterised in that including network interface identification module, network editing mould Block, creation module and IPv4 setup modules;
Network interface identification module, the state for checking identification network interface;
Network compiling module, the normal network interface information of network connection for receiving the output of Network Recognition module, and by normal net Mouth carries out the editor of IP information;
Creation module, for selecting the connection type addition network equipment to carry out network creation;
IPv4 setup modules, for being network configuration DHCP either static ip address.
2. a kind of system of configuration server network IP information according to claim 1, which is characterized in that the system is also wrapped Include network IP active modules and display module;
Network IP active modules, for the network IP that will be arranged into line activating;
Display module, the network connection created for preserving display.
3. a kind of system of configuration server network IP information according to claim 1, which is characterized in that network editing mould Block includes receiving unit, judging unit and edit cell;
Receiving unit, the network interface status information for receiving the output of Network Recognition module;
Whether judging unit, the network interface status information for judging to receive are normal;
Edit cell, the editor for carrying out IP information to the normal network interface of output.
4. a kind of system of configuration server network IP information according to claim 3, which is characterized in that network editing mould Block further includes net list creating unit and net list display unit;
Net list creating unit, for creating net list and depositing editor's IP information that the edit cell of reception exports and net list In;
Net list display unit, for showing the net list for being stored with IP information.
5. a kind of system of configuration server network IP information according to claim 2, which is characterized in that creation module packet Include selecting unit and adding device;
Selecting unit, for selecting network connection type;
Adding device, for adding the network equipment.
6. a kind of method of configuration server network IP information, it is characterised in that include the following steps:
Check the state of identification network interface;
Normal network interface is carried out to the editor of IP information;
The network equipment, which is added, according to connection type carries out network creation;
For network configuration DHCP either static ip address.
7. a kind of method of configuration server network IP information according to claim 6, which is characterized in that step is network Further include after configuration DHCP either static ip address:
By the network IP of setting into line activating;
Preserve and show the network connection of establishment.
8. a kind of method of configuration server network IP information according to claim 6, which is characterized in that step will be normal The editor that network interface carries out IP information specifically includes:
Receive the network interface status information of Network Recognition module output;
Judge whether the network interface status information received is normal;
The editor of IP information is carried out to the normal network interface of output.
9. a kind of method of configuration server network IP information according to claim 8, which is characterized in that step will be normal Network interface carry out IP information editor further include:
Create net list and by editor's IP information of reception deposit in net list;
The net list for being stored with IP information is shown.
10. a kind of method of configuration server network IP information according to claim 6, which is characterized in that step according to Connection type adds the network equipment and carries out network creation, including:
Select network connection type;
In the address areas MAC of equipment, selection belongs to the interface of network configuration, adds the network equipment.
CN201811068031.5A 2018-09-13 2018-09-13 A kind of system and method for configuration server network IP information Pending CN108777645A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811068031.5A CN108777645A (en) 2018-09-13 2018-09-13 A kind of system and method for configuration server network IP information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811068031.5A CN108777645A (en) 2018-09-13 2018-09-13 A kind of system and method for configuration server network IP information

Publications (1)

Publication Number Publication Date
CN108777645A true CN108777645A (en) 2018-11-09

Family

ID=64029052

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811068031.5A Pending CN108777645A (en) 2018-09-13 2018-09-13 A kind of system and method for configuration server network IP information

Country Status (1)

Country Link
CN (1) CN108777645A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101600001A (en) * 2009-06-29 2009-12-09 中兴通讯股份有限公司 Acquisition methods and device based on the configuration information of dynamic host allocation protocol
CN102148879A (en) * 2010-10-22 2011-08-10 华为技术有限公司 Port mapping method and device and communication system
CN102984295A (en) * 2012-12-07 2013-03-20 中兴通讯股份有限公司 Mobile terminal and address allocation method thereof
CN105721189A (en) * 2014-12-04 2016-06-29 中兴通讯股份有限公司 Network port configuration method and device for network equipment
US20170373928A1 (en) * 2016-06-24 2017-12-28 Fujitsu Limited Computer-readable recording medium, information processing apparatus, and vm switching method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101600001A (en) * 2009-06-29 2009-12-09 中兴通讯股份有限公司 Acquisition methods and device based on the configuration information of dynamic host allocation protocol
CN102148879A (en) * 2010-10-22 2011-08-10 华为技术有限公司 Port mapping method and device and communication system
CN102984295A (en) * 2012-12-07 2013-03-20 中兴通讯股份有限公司 Mobile terminal and address allocation method thereof
CN105721189A (en) * 2014-12-04 2016-06-29 中兴通讯股份有限公司 Network port configuration method and device for network equipment
US20170373928A1 (en) * 2016-06-24 2017-12-28 Fujitsu Limited Computer-readable recording medium, information processing apparatus, and vm switching method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
VILLAAAAAA: "Linux基本操作(九)-网络配置", 《CSDN》 *

Similar Documents

Publication Publication Date Title
CN100379220C (en) Shared port address translation on a router behaving as NAT and NAT-PT gateway
CN102355667B (en) Application program network connection control method and system in mobile intelligent terminal system
CN102801599B (en) A kind of communication means and system
CN104919762B (en) Control method in software defined network, controls equipment and processor
CN106998286A (en) A kind of VXLAN message forwarding methods and device
CN101764757B (en) Method, device and system for content accessing
CN106209557B (en) Message forwarding method and device
CN104283980A (en) Address resolution protocol (ARP) reply on-behalf method and device
CN101924699B (en) Message forwarding method, system and provider edge equipment
CN104468368B (en) Configure the method and device of bgp neighbor
CN105991433B (en) The method and apparatus of Layer3 Virtual Private Network access Layer 2 virtual private network
CN105635190B (en) Service executing apparatus in data center network and device
CN104580029B (en) Address distribution method and device
CN109391502A (en) A kind of information configuring methods and administrative unit
CN102821165A (en) Method and device for converting internet protocol (IP) address
CN108600074A (en) The retransmission method and device of multicast data message
CN112187958A (en) Method and device for registering, discovering and forwarding microservice
WO2017137067A1 (en) Federated virtual datacenter apparatus
CN103503413B (en) Method and device for transmitting network information
CN104579889B (en) A kind of method and device for being used to call network function
CN103501282B (en) Network message sending control method, virtual switch and physical machine
CN108574613A (en) The double layer intercommunication method and device of SDN data centers
CN109981819A (en) MDNS message processing method, device and group network system
CN105450494A (en) Virtual network and method for implementing same
CN109309633A (en) A kind of whole machine cabinet server node management method and device based on management interchanger

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: 20181109

RJ01 Rejection of invention patent application after publication