CN104461697B - A kind of online IP address automatic capture system of virtual machine batch and method - Google Patents
A kind of online IP address automatic capture system of virtual machine batch and method Download PDFInfo
- Publication number
- CN104461697B CN104461697B CN201410827790.0A CN201410827790A CN104461697B CN 104461697 B CN104461697 B CN 104461697B CN 201410827790 A CN201410827790 A CN 201410827790A CN 104461697 B CN104461697 B CN 104461697B
- Authority
- CN
- China
- Prior art keywords
- dhcp
- address
- bag
- virtual machine
- bags
- 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.)
- Active
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
The present invention relates to a kind of online IP address automatic capture system of virtual machine batch and method, give out a contract for a project device, DHCP response bags constructor and system management module of bag device, DHCP responses is caught by DHCP request and constituted.The present invention flexibly can set IP address automatically for online virtual machine, and be not used in installing any additional programs in virtual machine, maintain authenticity of virtual machine when as experimental situation;Both can be that virtual machine sets fixed IP address by MAC Address, or virtual machine is freely randomly assigned IP address in an IP address section.
Description
Technical field
The present invention relates to large scale network simulation node automatically dispose field, and in particular to a kind of virtual machine batch is online
IP address automatic capture system and method.
Background technology
In the safety problem in attempting solution complex network environment, it usually needs provide effective means come the side of demonstration
Case, the feasibility of technology, verify the validity of system, the practical application efficiency of assessment system.In network security practice process,
The method that academia forms some test checkings with industrial quarters.Common includes:Analysis model (analytical model),
Simulate (Simulation), emulation (Emulation), live network (Live Networks) etc..Analysis model is attempted by number
Method sets up the model of network, and the feasibility and validity of safe practice are derived with mathematical tool;Analogy method passes through soft
Various actions in part analog network are simultaneously subject to analysis and evaluation;Simulation means then " duplication " research object in a controllable environment
Environment, is tested safe practice by loading experiment load with product;Live network is then to be deployed to really to apply ring
In border, by practical application, and aid in examining the function and performance of product with effective monitoring instrument.Emulated in these methods
Closely live network, and it is relatively low to emulate required cost.Recently as continuing to develop for virtualization technology, big rule
The emulation of lay wire network is often used as the node in artificial network using virtual machine.Built in large-scale virtual machine with disposing process
In, often there is certain challenge in virtual machine IP address automation batch setting, this is mainly reflected in two aspects.First,
IP address distribution is considered as the problem of operating system management needs solution by general virtual machine Hypervisor, is not considered;Secondly,
In order to keep the authenticity of virtual machine environment, it is impossible to complete this side of IP address setting using background program is installed in virtual machine
Method;Again, even if memory block used in VME operating system can be obtained by virtual machine Hypervisor, due to operation
The diversity of system, and some operating systems do not disclose source code, it is difficult to by parsing and changing in used in operating system
The method of counterfoil realizes that IP address is set.
At this stage most of virtual machine Hypervisor do not support the automatic method that virtual machine IP address is set and
Interface, common method has following two in engineering:One is to change virtual hard disk image file in virtual machine off-mode;
One is by running background process, such as VMWare Tools in virtual machine.The shortcoming of this several middle method is:1 branch of method
Hold virtual machine off-mode set IP address, in addition the file structure in virtual hard disk image file because of operating system not
Different together, acquirement, which preserves the file of IP address information and changed, has certain risk;Method 2 have modified virtual machine operations system
System, is the really degree that have impact on emulation to a certain degree, limits the use scope of virtual machine.
The content of the invention
The technology of the present invention solves problem:Overcome the deficiencies in the prior art there is provided a kind of online IP address of virtual machine batch from
It is dynamic that system and method is set, in virtual machine presence, large-scale virtual machine IP address can be realized under virtual machine environment
Automatic configuration
The technology of the present invention solution:A kind of online IP address automatic capture system of virtual machine batch, including:DHCP request
Bag device, DHCP responses is caught to give out a contract for a project device, DHCP response bags constructor, virtual machine information database and system management module;Wherein:
System management module completes the configuration management of whole system for keeper there is provided interface, when there is virtual machine batch IP
When the task that address is set is reached, task description is parsed, and set rule and related data to be saved in virtual machine letter IP address
Cease in database, then notify DHCP response constructors to there is new task to reach;
DHCP request catches bag device, please from the DHCP that capture virtual machine is sent on the bridge or host network card of bridge joint virtual machine
Bag is sought, the packet of capture is then packaged into TCP bags, makes the DHCP response bags that capture as the number of TCP data bag
According to being sent to DHCP response bag constructors;
DHCP response bag constructors, read the task data in virtual machine information database, by MAC Address and IP address
Corresponding relation and IP set rule to be saved in internal memory;The packet that bag device is sended over is caught for DHCP request, is solved
Analysis, extracts necessary information, builds response bag, and response bag is sent into DHCP responses given out a contract for a project device;DHCP responses simultaneously are given out a contract for a project
Constructor records IP address distribution daily record in database;
DHCP responses are given out a contract for a project device, receive the DHCP response bags for having DHCP response bags constructor to send, and with raw socket
Form bridge bridge from virtual machine or host network card is sent.
The DHCP request catches being implemented as follows for bag device:
(1) it is used to bridge initialization on the bridge or host network card of virtual machine each, builds packet filtering rules, only catch
DHCP request bag, i.e. DHCP DISCOVER bags and DHCP REQUEST bags;
(2) start and start to catch bag;
(3) judge whether that bag is caught in end, if then terminating, otherwise progress catches bag and obtains next packet, performs step
(4);
(4) TCP bags are packaged into obtained packet, make the DHCP response bags captured as TCP data bag
Data;
(5) the TCP bags encapsulated are sent to DHCP response composer, step (3) is gone to and continues executing with.
The DHCP responses are given out a contract for a project being implemented as follows of device:
(1) TCP data bag is received from DHCP response bags constructor;
(2) TCP data bag is parsed, the DHCP response bags of the enough constructor constructions of DHCP responses are obtained;
(3) UDP packet header is increased to the DHCP response bags;
(4) IP packet header is increased to the DHCP response bags;
(5) ethernet packet header is increased to the DHCP response bags;
(6) packet is sent by raw socket;
(7) judge whether that terminating DHCP responses gives out a contract for a project device, if then terminating, otherwise goes to step (1) and continues executing with.
The DHCP response bags constructor is implemented as follows:
(1) two threads are created at the beginning of operation, thread one and thread two are held since step (2) and step (5) respectively
OK;
(2) IP address that the monitoring system management module of thread one is sent sets task message;
(3) make, when there is IP address to set task to reach, to inquire about virtual machine information database, read the setting rule of IP address
Then, including MAC Address and the corresponding relation of IP address, this time IP address the MAC Address and IP address range that task is included are set;
(4) judge whether to terminate thread one, if so, then terminating thread one, otherwise go to step (2) and continue executing with;
(5) thread two catches bag device from DHCP request and receives TCP data bag;
(6) TCP data bag is parsed, the DHCP request bag that DHCP request catches Packet capturing is obtained;
(7) whether the MAC Address and IP address range data read according to thread one from database judges the request bag
Within process range, if then going to step (8), the bag is otherwise directly abandoned;
(8) type of the DHCP request bag is judged, if DHCP DISCOVER then go to step (9), if DHCP
REQUEST goes to step (10) execution;
(9) DHCP OFFER packets are built according to data in DISCOVER bags and thread one, goes to step (11) and hold
OK;
(10) DHCP ack msg bags are built according to data in DISCOVER bags and thread one, goes to step (11) and hold
OK;
(11) TCP bags are packaged into obtained DHCP reply data bags, make the DHCP response bags captured as TCP
The data of packet;
(12) the TCP bags that have encapsulated are sent to DHCP responses to give out a contract for a project device;
(13) judge whether to terminate thread two, if so, then terminating thread two, otherwise go to step (5) and continue executing with.
The function of the system management module manages for IP configuration tasks, and the management of IP configuration tasks includes newly-built IP configurations and appointed
Business, execution IP configuration tasks, cancellation IP configuration tasks and the inquiry of IP configuration tasks;
Newly-built IP configuration tasks are user's newly-built tasks manually, can also be criticized by other systems calling interface to virtual machine
Measure online IP address automatic capture system transmission IP configuration tasks;Newly-built IP configuration tasks need to specify IP configuration rules, including
MAC Address and the corresponding relation of IP address etc., system are supported to be automatically imported IP configuration rules by way of configuration file;
Perform the information storage that IP configuration tasks function completes IP configuration tasks, and disappearing to DHCP response bag constructors
Breath transmission, DHCP response bags constructor is after IP configuration task message is received, reading database, updates local IP configuration rules
Collection;
Cancelling IP configuration tasks function is used to cancel IP configuration tasks, and the function occurs IP to DHCP response bags constructor and matched somebody with somebody
The message of task revocation is put, DHCP response bags constructor is after IP configuration task revocation messages are received, from local IP configuration rules
Concentrate the rule set for deleting revocation task;
IP configuration tasks inquire about the query statistic for IP configuration tasks, and the function was configured by inquiring about IP in database
The data preserved in journey, complete the packet system produced in the status inquiry of IP configuration tasks, progress queries and IP configuration process
Meter.
System management module completes the configuration management of whole system for keeper there is provided interface, when there is virtual machine batch IP
When the task that address is set is reached, task description is parsed, and set rule and related data to be saved in virtual machine letter IP address
Cease in database, then notify DHCP response constructors to there is new task to reach.
The online batch IP address automatic setting method of virtual machine, realizes that step is as follows:
(1) when task of having virtual machine batch IP address to set reaches system management module, system management module parsing
Task description, and set rule and related data to be saved in virtual machine information database IP address, then notify DHCP should
Answering constructor has new task to reach;
(2) DCHP responses constructor reads the task data in virtual machine information database, by MAC Address and IP address
Corresponding relation and IP set rule to be saved in internal memory;
(3) when this batch dispose virtual machine in starting up when, due to virtual machine network interface card obtain IP address mode all by
DHCP is set to, therefore virtual machine can send DHCP request bag, these requests are surrounded by DHCP request and catch the capture of bag device;
(4) packet of capture is packaged by DHCP request grabber, is sent to DHCP response constructors;
(5) DHCP responses constructor parses DHCP request bag, analyze the request source whether the IP address safeguarded from
It is dynamic to set in list, DHCP response bags are if it is constructed, and encapsulate and be sent to DHCP responses and give out a contract for a project device, otherwise directly abandon and be somebody's turn to do
Bag;While DHCP responses are given out a contract for a project, constructor records IP address distribution daily record in database;
(6) DHCP responses device of giving out a contract for a project receives the DHCP reply data bags that DHCP response constructors are sent, and builds answering net
Network message, and sent by raw socket;
(7) according to DHCP protocol, DHCP operations are divided into four basic processes, respectively ask DHCP discoveries, DHCP to provide,
DHCP request and DHCP confirm, the automatic setting of virtual machine IP address is completed by catching bag and response twice.
The advantage of invention compared with prior art is:
(1) present invention, in virtual machine presence, can realize large-scale virtual machine IP address under virtual machine environment
Automatic configuration.Compared with published method, this method has the following advantages that:1) this method is not used in virtual machine and operated in itself
Any program of installation and operation in system, maintains authenticity of virtual machine when as experimental situation;2) this method can be
Line virtual machine sets IP address automatically, and asking for offline virtual machine can only be set by changing virtual hard disk image file by solving
Topic;3) this method is more flexible, both can be that virtual machine sets fixed IP address by MAC Address, or virtual machine
In an IP address section, IP address is freely randomly assigned.
Brief description of the drawings
Fig. 1 is the structure chart of the online batch setting IP address system of virtual machine of the present invention;
Fig. 2 catches bag device process chart for DHCP request in the present invention;
Fig. 3 gives out a contract for a project device process chart for DHCP responses in the present invention;
Fig. 4 is DHCP response bag constructor flow charts in the present invention;
Fig. 5 is system management module functional structure chart in the present invention.
Embodiment
As shown in figure 1, the online batch setting IP address system of virtual machine of the present invention includes:DHCP request catches bag device, DHCP
Response is given out a contract for a project device, DHCP response bags constructor, virtual machine information database and system management module.With reference to specific example
The present invention is described in detail.DHCP (Dynamic Host Configuration Protocol, dynamic host configuration association
View) be a LAN procotol, worked using udp protocol.
Fig. 1 gives the structure chart of the online batch setting IP address system of virtual machine, wherein DHCP request catch bag device and
DHCP responses device of giving out a contract for a project is deployed in deploying virtual machine server, is each bridge for being used to bridge virtual machine or host network card deployment
Two threads are respectively used to processing packet-capturing and network is given out a contract for a project.Asking for DCHP distribution is uniformly processed in DHCP response bag constructors
Ask, it is only necessary to which deployment is a.The major function of system is virtual machine in the automatic setting of deployment phase IP address batch.
As shown in Fig. 2 the specific implementation step that DHCP request catches bag device is as follows:
(1) DHCP request catches the initialization on each bridge or host network card for bridging virtual machine of bag device and catches bag device,
Packet filtering rules are built, DHCP request bag, i.e. DHCP DISCOVER bags and DHCP REQUEST bags is only caught;
(2) startup catches bag device and starts to catch bag;
(3) judge whether that bag is caught in end, if then terminating, otherwise progress catches bag and obtains next packet, performs (4);
(4) TCP bags are packaged into obtained packet, make the DHCP bags that capture as the data of TCP data bag;
(5) the TCP bags encapsulated are sent to DHCP response composer, (3) is gone to and continues executing with.
As shown in figure 3, DHCP responses are given out a contract for a project, the specific implementation step of device is as follows:
(1) DHCP responses give out a contract for a project device from DHCP response bags constructor receive TCP data bag;
(2) TCP data bag is parsed, the DHCP response bags of the enough constructor constructions of DHCP responses are obtained;
(3) UDP packet header is increased to the response bag;
(4) IP packet header is increased to the response bag;
(5) ethernet packet header is increased to the response bag;
(6) packet is sent by raw socket;
(7) judge whether that terminating DHCP responses gives out a contract for a project device, if then terminating device of giving out a contract for a project, otherwise goes to (1) and continues executing with.
As shown in figure 4, the specific implementation step of DHCP response bag constructors is as follows:
(1) DHCP response bags constructor creates two threads at the beginning of operation, thread one and thread two respectively from (2) and
(5) start to perform;
(2) IP address that monitoring system management module is sent sets task message;
(3) make when there is IP address to set task to reach, DHCP response bags constructor inquiry database reads IP address and set
Rule is put, the main corresponding relation including MAC Address and IP address, this time IP address set the MAC Address and IP that task is included
Address realm etc.;
(4) judge whether to terminate this thread, if so, then terminating this thread, otherwise go to (2) and continue executing with;
(5) DHCP response bags constructor catches bag device from DHCP request and receives TCP data bag;
(6) TCP data bag is parsed, the DHCP request bag that DHCP request catches Packet capturing is obtained;
(7) request bag is judged whether within process range according to the data of thread one, if then going to (8), otherwise
Directly abandon the bag;
(8) type of the DHCP request bag is judged, if DHCP DISCOVER then go to (9), if DHCP
REQUEST goes to (10) execution;
(9) DHCP OFFER packets are built according to data in DISCOVER bags and thread one, goes to (11) execution;
(10) DHCP ack msg bags are built according to data in DISCOVER bags and thread one, goes to (11) execution;
(11) TCP bags are packaged into obtained DHCP reply data bags, make the DHCP response bags captured as TCP
The data of packet;
(12) the TCP bags that have encapsulated are sent to DHCP responses to give out a contract for a project device;
(13) judge whether to terminate this thread, if so, then terminating this thread, otherwise go to (5) and continue executing with;
As shown in figure 5, the major function of system management module manages for IP configuration tasks.The management of IP configuration tasks includes new
IP configuration tasks are built, IP configuration tasks is performed, cancels IP configuration tasks and the inquiry of IP configuration tasks.
(1) the newly-built IP configuration tasks of system management module can be user's newly-built task manually, can also be by other
System call interfaces transmit IP configuration tasks to the system.Newly-built IP configuration tasks need to specify IP configuration rules, including MAC
Corresponding relation of location and IP address etc., system is supported to be automatically imported IP configuration rules by way of configuration file.
(2) the information storage that IP configuration tasks functions completes IP configuration tasks is performed, and to DHCP response bag constructors
Message transmission, DHCP response bags constructor is after IP configuration task message is received, reading database, updates local IP configuration rule
Then collect.
(3) cancelling IP configuration tasks function is used to cancel IP configuration tasks, and the function occurs to DHCP response bags constructor
The message of IP configuration tasks revocation, DHCP response bags constructor is after IP configuration task revocation messages are received, from local IP configurations
The rule set of revocation task is deleted in rule set.
(4) IP configuration tasks inquire about the query statistic for IP configuration tasks, and the function is matched somebody with somebody by inquiring about IP in database
The data preserved during putting, complete the data produced in the status inquiry of IP configuration tasks, progress queries and IP configuration process
Bag statistics.
In a word, the present invention flexibly can set IP address automatically for online virtual machine, and be not used in installation in virtual machine and appoint
What additional programs, maintains authenticity of virtual machine when as experimental situation;Both it can be set by MAC Address for virtual machine
Fixed IP address, or virtual machine is freely randomly assigned IP address in an IP address section.
Above example is provided just for the sake of the description purpose of the present invention, and is not intended to limit the scope of the present invention.This
The scope of invention is defined by the following claims.The various equivalent substitutions that do not depart from spirit and principles of the present invention and make and repair
Change, all should cover within the scope of the present invention.
Claims (2)
1. a kind of online IP address automatic capture system of virtual machine batch, it is characterised in that including:DHCP request catches bag device, DHCP
Response is given out a contract for a project device, DHCP response bags constructor, virtual machine information database and system management module;Wherein:
System management module completes the configuration management of whole system for keeper there is provided interface, when there is virtual machine batch IP address
When the task of setting is reached, task description is parsed, and set rule and related data to be saved in virtual machine information number IP address
According in storehouse, then DHCP response constructors are notified to have new task to reach;
DHCP request catches bag device, from the DHCP request that capture virtual machine is sent on the bridge or host network card of bridge joint virtual machine
Bag, is then packaged into TCP bags by the packet of capture, makes the DHCP response bags that capture as the data of TCP data bag
It is sent to DHCP response bag constructors;
DHCP response bag constructors, read the task data in virtual machine information database, by MAC Address and the correspondence of IP address
Relation and IP set rule to be saved in internal memory;The packet that bag device is sended over is caught for DHCP request, is parsed, carried
Take necessary information, build response bag, and response bag is sent to DHCP responses and give out a contract for a project device;The constructor while DHCP responses are given out a contract for a project
IP address distribution daily record is recorded in database;
DHCP responses are given out a contract for a project device, receive the DHCP response bags for having DHCP response bags constructor to send, and with the shape of raw socket
Formula bridges bridge from virtual machine or host network card is sent;
The DHCP request catches being implemented as follows for bag device:
(11)It is used to bridge initialization on the bridge or host network card of virtual machine each, builds packet filtering rules, only catch
DHCP request bag, i.e. DHCP DISCOVER bags and DHCP REQUEST bags;
(12)Startup starts to catch bag;
(13)Judge whether that bag is caught in end, if then terminating, otherwise progress catches bag and obtains next packet, performs step
(14);
(14)TCP bags are packaged into obtained packet, make the DHCP response bags that capture as the number of TCP data bag
According to;
(15)The TCP bags encapsulated are sent to DHCP response composer, step is gone to(13)Continue executing with;
Institute
DHCP responses are stated to give out a contract for a project being implemented as follows of device:
(21)TCP data bag is received from DHCP response bags constructor;
(22)TCP data bag is parsed, the DHCP response bags of the enough constructor constructions of DHCP responses are obtained;
(23)To DHCP response bags increase UDP packet header;
(24)To DHCP response bags increase IP packet header;
(25)Ethernet packet header is increased to the DHCP response bags;
(26)Packet is sent by raw socket;
(27)Judge whether that terminating DHCP responses gives out a contract for a project device, if then terminating, otherwise goes to step(21)Continue executing with;
Institute
State being implemented as follows for DHCP response bag constructors:
(31)Two threads are created at the beginning of operation, thread one and thread two are respectively from step(32)And step(35)Start to hold
OK;
(32)The IP address that the monitoring system management module of thread one is sent sets task message;
(33)Make, when there is IP address to set task to reach, to inquire about virtual machine information database, read the setting rule of IP address
Then, including MAC Address and the corresponding relation of IP address, this time IP address the MAC Address and IP address range that task is included are set;
(34)Judge whether to terminate thread one, if so, then terminating thread one, otherwise go to step(32)Continue executing with;
(35)Thread two catches bag device from DHCP request and receives TCP data bag;
(36)TCP data bag is parsed, the DHCP request bag that DHCP request catches Packet capturing is obtained;
(37)The MAC Address and IP address range data read according to thread one from database judge the request bag whether
Within process range, if then going to step(38), otherwise directly abandon the bag;
(38)The type of the DHCP request bag is judged, if DHCP DISCOVER then go to step(39)If, DHCP
REQUEST goes to step(310)Perform;
(39)DHCP OFFER packets are built according to data in DISCOVER bags and thread one, step is gone to(311)Hold
OK;
(310)DHCP ack msg bags are built according to data in DISCOVER bags and thread one, step is gone to(311)Perform;
(311)TCP bags are packaged into obtained DHCP reply data bags, make the DHCP response bags captured as TCP numbers
According to the data of bag;
(312)The TCP bags that have encapsulated are sent to DHCP responses to give out a contract for a project device;
(313)Judge whether to terminate thread two, if so, then terminating thread two, otherwise go to step(35)Continue executing with;It is described
The function of system management module manages for IP configuration tasks, and the management of IP configuration tasks includes newly-built IP configuration tasks, execution IP and matched somebody with somebody
Put task, cancel IP configuration tasks and the inquiry of IP configuration tasks;
Newly-built IP configuration tasks are user's newly-built tasks manually, can also be existed by other systems calling interface to virtual machine batch
Line IP address automatic capture system transmits IP configuration tasks;Newly-built IP configuration tasks need to specify IP configuration rules, including MAC
Location and the corresponding relation of IP address, system are supported to be automatically imported IP configuration rules by way of configuration file;
The information storage that IP configuration tasks function completes IP configuration tasks is performed, and is passed to the message of DHCP response bag constructors
Pass, DHCP response bags constructor is after IP configuration task message is received, reading database, update local IP configuration rule sets;
Cancelling IP configuration tasks function is used to cancel IP configuration tasks, and the function occurs IP configurations to DHCP response bags constructor and appointed
The message of business revocation, DHCP response bags constructor is after IP configuration task revocation messages are received, from local IP configuration rule sets
Delete the rule set of revocation task;
IP configuration tasks inquire about the query statistic for IP configuration tasks, and the function is by inquiring about in database in IP configuration process
The data of preservation, complete the packet statistics produced in the status inquiry of IP configuration tasks, progress queries and IP configuration process;
System management module completes the configuration management of whole system for keeper there is provided interface, when there is virtual machine batch IP address
When the task of setting is reached, task description is parsed, and set rule and related data to be saved in virtual machine information number IP address
According in storehouse, then DHCP response constructors are notified to have new task to reach.
2. the online batch IP address automatic setting method of the virtual machine of system described in a kind of use claim 1, it is characterised in that
Realize that step is as follows:
(1)When task of having virtual machine batch IP address to set reaches system management module, system management module parsing task
Description, and set rule and related data to be saved in virtual machine information database IP address, then notify DHCP response structures
Making device has new task to reach;
(2)DCHP responses constructor reads the task data in virtual machine information database, by MAC Address and the correspondence of IP address
Relation and IP set rule to be saved in internal memory;
(3)When the virtual machine of batch deployment is in starting up, because the mode that virtual machine network interface card obtains IP address is all set
Into DHCP, therefore virtual machine can send DHCP request bag, and these requests are surrounded by DHCP request and catch the capture of bag device;
(4)The packet of capture is packaged by DHCP request grabber, is sent to DHCP response constructors;
(5)DHCP response constructors parse DHCP request bag, analyze whether the request source sets automatically in the IP address safeguarded
Put in list, if it is construct DHCP response bags, and encapsulate and be sent to DHCP responses and give out a contract for a project device, otherwise directly abandon the bag;
While DHCP responses are given out a contract for a project, constructor records IP address distribution daily record in database;
(6)DHCP responses device of giving out a contract for a project receives the DHCP reply data bags that DHCP response constructors are sent, and builds response network report
Text, and sent by raw socket;
(7)According to DHCP protocol, DHCP operations are divided into four basic processes, respectively ask DHCP to find, DHCP is provided, DHCP
Request and DHCP confirm, the automatic setting of virtual machine IP address is completed by catching bag and response twice.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410827790.0A CN104461697B (en) | 2014-12-25 | 2014-12-25 | A kind of online IP address automatic capture system of virtual machine batch and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410827790.0A CN104461697B (en) | 2014-12-25 | 2014-12-25 | A kind of online IP address automatic capture system of virtual machine batch and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104461697A CN104461697A (en) | 2015-03-25 |
CN104461697B true CN104461697B (en) | 2017-09-22 |
Family
ID=52907801
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410827790.0A Active CN104461697B (en) | 2014-12-25 | 2014-12-25 | A kind of online IP address automatic capture system of virtual machine batch and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104461697B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109933411A (en) * | 2019-03-31 | 2019-06-25 | 山东超越数控电子股份有限公司 | A kind of online modification virtual machine internal configuration system and method |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106059888A (en) * | 2016-07-29 | 2016-10-26 | 浪潮(北京)电子信息产业有限公司 | IP (Internet Protocol) address assignment method and device based on open network operating system |
CN108268300B (en) * | 2016-12-30 | 2022-01-25 | 中移(苏州)软件技术有限公司 | Virtual machine migration method and device |
CN107968725B (en) * | 2017-11-20 | 2021-02-26 | 瑞斯康达科技发展股份有限公司 | Method and device for returning and configuring configuration information of home gateway unit type terminal device |
CN110990117A (en) * | 2019-11-22 | 2020-04-10 | 北京浪潮数据技术有限公司 | Method, device and computer readable storage medium for deploying virtual machine |
CN112165537B (en) * | 2020-09-17 | 2021-08-27 | 广州锦行网络科技有限公司 | Virtual IP method for ping reply |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101651722A (en) * | 2009-08-28 | 2010-02-17 | 华为技术有限公司 | Method, device and system for automatically allocating IP address |
CN101931661A (en) * | 2010-08-24 | 2010-12-29 | 北京飞利信科技股份有限公司 | Serial bus-based terminal device in streaming media transmission system |
CN102710814A (en) * | 2012-06-21 | 2012-10-03 | 奇智软件(北京)有限公司 | Method and device for controlling Internet protocol (IP) address of virtual machine |
-
2014
- 2014-12-25 CN CN201410827790.0A patent/CN104461697B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101651722A (en) * | 2009-08-28 | 2010-02-17 | 华为技术有限公司 | Method, device and system for automatically allocating IP address |
CN101931661A (en) * | 2010-08-24 | 2010-12-29 | 北京飞利信科技股份有限公司 | Serial bus-based terminal device in streaming media transmission system |
CN102710814A (en) * | 2012-06-21 | 2012-10-03 | 奇智软件(北京)有限公司 | Method and device for controlling Internet protocol (IP) address of virtual machine |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109933411A (en) * | 2019-03-31 | 2019-06-25 | 山东超越数控电子股份有限公司 | A kind of online modification virtual machine internal configuration system and method |
CN109933411B (en) * | 2019-03-31 | 2021-03-30 | 山东超越数控电子股份有限公司 | System and method for modifying internal configuration of virtual machine on line |
Also Published As
Publication number | Publication date |
---|---|
CN104461697A (en) | 2015-03-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104461697B (en) | A kind of online IP address automatic capture system of virtual machine batch and method | |
US8667119B2 (en) | System and method for re-generating packet load for load test | |
CN105303112B (en) | The detection method and device of component call loophole | |
CN109525540A (en) | A kind of smart machine binding method and device | |
CN101605348B (en) | Data service simulation method and application system | |
CN109495870A (en) | The method and apparatus of bluetooth test | |
CN107168844B (en) | Performance monitoring method and device | |
CN104125119B (en) | A kind of test method and test macro of server | |
CN103246606A (en) | Method and system for testing performances of ESB (enterprises service bus) platform | |
CN109802842B (en) | Application topology generation method and related equipment | |
CN110413329A (en) | IOT equipment remote debugging method, apparatus and system | |
CN105099733B (en) | The method and system of equipment safety management in safety control platform | |
CN110225064A (en) | Monitor method, apparatus, equipment and the storage medium of Botnet attack | |
CN110224897A (en) | Vulnerable network test method, device, mobile device and the storage medium of application program | |
CN104065534A (en) | Test system and test method for router blacklist adding by mobile terminal | |
CN113489603A (en) | Interactive background traffic generation method and system in network shooting range | |
Guan et al. | A model-based testing technique for component-based real-time embedded systems | |
Pfrang et al. | Towards a modular security testing framework for industrial automation and control systems: Isutest | |
WO2015084140A1 (en) | A system and method for emulating multiple independent wireless client devices in the cloud | |
CN107113199A (en) | Analytical equipment for analyzing and handling communication sequence | |
CN110876155B (en) | Simulation system and method for wireless mesh network | |
CN107463493A (en) | A kind of test system and method for testing towards host antivirus software product | |
CN107733743A (en) | Realize the method and system that industry ethernet data are tested automatically | |
TW201519598A (en) | Process system for constructing network structure deployment diagram and the method thereof and computer program product storing network structure deployment analysis program are provided to analyze the network structure deployment of target network | |
CN105743675A (en) | Method and device for acquiring information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |