CN107968734A - A kind of method of the automatic test Network Packet Loss performance under network card binding pattern - Google Patents
A kind of method of the automatic test Network Packet Loss performance under network card binding pattern Download PDFInfo
- Publication number
- CN107968734A CN107968734A CN201711225238.4A CN201711225238A CN107968734A CN 107968734 A CN107968734 A CN 107968734A CN 201711225238 A CN201711225238 A CN 201711225238A CN 107968734 A CN107968734 A CN 107968734A
- Authority
- CN
- China
- Prior art keywords
- network
- packet loss
- binding
- card binding
- network card
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0823—Errors, e.g. transmission errors
- H04L43/0829—Packet loss
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
Abstract
A kind of method of the automatic test Network Packet Loss performance under network card binding pattern, the method sets the Parameter File of network card binding, configures different network bound patterns by changing network profile, it is whether up to standard by test network packet loss performance, detection network stabilization performance.The method of the present invention can realize the network card binding and stability test of the various patterns of automatic configuration.Whole process is easy to operate, the degree of automation is high, practicality is stronger, manpower can be saved, improve testing efficiency, it is the effective ways instrument of test verification network card binding, suitable for the network interface card of the different size under the mainstream linux system of current all types server, the application suitable for double network interfaces to be done to binding configuration.With good versatility and generalization, complex work is simplified, improves work efficiency.
Description
Technical field
The present invention relates to Network Packet Loss technical field of performance test, and in particular to one kind automates under network card binding pattern
The method of test network packet loss performance.
Background technology
Network card binding, also referred to as network interface card binding.The physical network card of two or more is exactly bound into a virtual net
Card.To provide load balancing or redundancy, increase the effect of bandwidth.When a network interface card breaks down, business is not interfered with.
More network card binding mode have seven kinds (mode0-mode6), by network interface binding technology, can easily realize net
The technologies such as mouth redundancy, load balancing, so as to achieve the purpose that High Availabitity is highly reliable.
The server industries developed rapidly now, increasingly higher demands are proposed to the performance of network interface card.In Client application
End, more and more clients realize that redundancy or load balancing etc. are applied using more network card bindings.This requires surveyed in network interface card
During examination, need covering more comprehensive for the method for network card binding test.
The procedure of traditional configuration network card binding is cumbersome, and several steps need to be divided to complete and error-prone.
The content of the invention
The technical problem to be solved in the present invention is:In view of the above-mentioned problems, the present invention provides one kind under network card binding pattern
The method of automatic test Network Packet Loss performance.
The technical solution adopted in the present invention is:
A kind of method of the automatic test Network Packet Loss performance under network card binding pattern, the method is by changing network
Configuration file, sets the Parameter File of network card binding, configures different network bound patterns, by test network packet loss performance,
Whether up to standard detect network stabilization performance.
The method content includes:
Loading binding bonding modules;
Change the Parameter File of network profile and network card binding, the configuration file of configuration binding network interface;
Network environment is set;
Whether test configurations are stablized, network whether packet loss.
The method configures parameter by inputting, and determines the network name after binding, the network interface 1 of binding, the network interface of binding
2nd, network interface IP address, network card binding pattern after binding, configuration MII link monitoring frequencies.
The network profile includes master binding mouth files ifcfg-bondx.
The network profile includes slave network interface files ifcfg-eth1, ifcfg-eth2.
The method passes through Run Script, input configuration parameter, Configuration network configuration file.
The method realizes that flow includes:
NIC driver is installed;
Run Script, input configuration parameter;
Configure master binding mouth files ifcfg-bondx;
Configure slave network interface files ifcfg-ETH1&ifcfg-ETH2;
Configure network card binding pattern and frequency parameter is monitored in link;
Enable bond network interfaces;
Connection network simultaneously does ping test;
Assess test result.
Beneficial effects of the present invention are:
The method of the present invention can realize the network card binding and stability test of the various patterns of automatic configuration.Whole process is grasped
Make simply, the degree of automation is high, and practicality is stronger, can save manpower, improves testing efficiency, is test verification network card binding
Effective ways instrument, suitable for the network interface card of the different size under the mainstream linux system of current all types server, is suitable for
Double network interfaces are done to the application of binding configuration.With good versatility and generalization, complex work is simplified, improves work effect
Rate.
Brief description of the drawings
Fig. 1 is the method for the present invention flow chart.
Embodiment
With reference to the accompanying drawings, with reference to embodiment, the present invention is further described:
As shown in Figure 1, a kind of method of the automatic test Network Packet Loss performance under network card binding pattern, the method is real
Existing flow includes:
NIC driver is installed:Log in (SuSE) Linux OS and simultaneously obtain root authority, according to test network interface card difference and
The difference of operating system version, installs the driving of corresponding version, it would be desirable to which the network interface for doing network card binding setting builds network physical
Connection, observation network connection state lamp normally light;
Run Script, input configuration parameter;
Configure master binding mouth files ifcfg-bondx;
Configure slave network interface files ifcfg-ETH1&ifcfg-ETH2;
Configure network card binding pattern and frequency parameter is monitored in link;
Enable bond network interfaces;
Connection network simultaneously does ping test;
Assess test result.
The test script program is as follows:
When test, it is only necessary to install trawl performance, and choose the network interface for needing to configure binding, then according to need
Network physical connection is configured, then according to prompting Run Script program.
In test process ,-b parameters are the network name after the binding of the network interface card needed to configure, such as bond0;- d parameters are
The required network interface 1 for being configured to binding;- x is the required network interface 2 for being configured to binding;- i is the IP for being configured to the network interface after binding
Location;- m parameter is used for selecting network card binding pattern, and-t parameter links monitoring frequency for configuration MII.Finally can synchronous averaging network interface
Bondx, so that network mouth comes into force.
Embodiment is merely to illustrate the present invention, and not limitation of the present invention, the ordinary skill in relation to technical field
Personnel, without departing from the spirit and scope of the present invention, can also make a variety of changes and modification, therefore all equivalent
Technical solution fall within scope of the invention, scope of patent protection of the invention should be defined by the claims.
Claims (7)
- A kind of 1. method of the automatic test Network Packet Loss performance under network card binding pattern, it is characterised in that the method is led to Modification network profile is crossed, the Parameter File of network card binding is set, different network bound patterns is configured, passes through test network Whether packet loss performance, detection network stabilization performance are up to standard.
- 2. a kind of method of automatic test Network Packet Loss performance under network card binding pattern according to claim 1, its It is characterized in that, the method content includes:Load binding module;Change the Parameter File of network profile and network card binding, the configuration file of configuration binding network interface;Network environment is set;Whether test configurations are stablized, network whether packet loss.
- 3. a kind of method of automatic test Network Packet Loss performance under network card binding pattern according to claim 2, its It is characterized in that, the method configures parameter by inputting, and determines the net after the network name after binding, the network interface of binding, binding Mouth IP address, network card binding pattern, configuration MII link monitoring frequencies.
- 4. a kind of method of automatic test Network Packet Loss performance under network card binding pattern according to claim 3, its It is characterized in that, the network profile includes master binding mouth files.
- 5. a kind of method of automatic test Network Packet Loss performance under network card binding pattern according to claim 4, its It is characterized in that, the network profile includes slave network interface files.
- 6. a kind of method of automatic test Network Packet Loss performance under network card binding pattern according to claim 5, its It is characterized in that, the method passes through Run Script, input configuration parameter, Configuration network configuration file.
- 7. a kind of method of automatic test Network Packet Loss performance under network card binding pattern according to claim 6, its It is characterized in that, the method realizes that flow includes:NIC driver is installed;Run Script, input configuration parameter;Configure master binding mouth files ifcfg-bondx;Configure slave network interface files ifcfg-ETH1&ifcfg-ETH2;Configure network card binding pattern and frequency parameter is monitored in link;Enable bond network interfaces;Connection network simultaneously does ping test;Assess test result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711225238.4A CN107968734A (en) | 2017-11-29 | 2017-11-29 | A kind of method of the automatic test Network Packet Loss performance under network card binding pattern |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711225238.4A CN107968734A (en) | 2017-11-29 | 2017-11-29 | A kind of method of the automatic test Network Packet Loss performance under network card binding pattern |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107968734A true CN107968734A (en) | 2018-04-27 |
Family
ID=61998318
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711225238.4A Pending CN107968734A (en) | 2017-11-29 | 2017-11-29 | A kind of method of the automatic test Network Packet Loss performance under network card binding pattern |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107968734A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109002376A (en) * | 2018-07-25 | 2018-12-14 | 郑州云海信息技术有限公司 | A kind of network interface card multipath connection test method and system based on linux system |
CN109088768A (en) * | 2018-08-17 | 2018-12-25 | 郑州云海信息技术有限公司 | A kind of method and device of automatic configuration Linux network interface card bonding |
CN109818830A (en) * | 2019-02-27 | 2019-05-28 | 苏州浪潮智能科技有限公司 | A method of based on the network interface card rate and dual-mode test under Linux platform |
CN110213095A (en) * | 2019-05-30 | 2019-09-06 | 苏州浪潮智能科技有限公司 | The method and device of network card binding automatic configuration is realized based on Python |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070058655A1 (en) * | 2005-09-12 | 2007-03-15 | Cassatt Corporation | Detecting network interfaces capable of channel bonding |
CN101610283A (en) * | 2009-07-17 | 2009-12-23 | 浪潮电子信息产业股份有限公司 | A kind of method of dynamically balancing received load under network card binding state |
CN103744743A (en) * | 2014-01-17 | 2014-04-23 | 浪潮电子信息产业股份有限公司 | Heartbeat signal redundant configuration method based on RAC model of database |
CN104468388A (en) * | 2014-11-04 | 2015-03-25 | 浪潮电子信息产业股份有限公司 | Method for testing load balancing of network card based on Linux system |
CN105162629A (en) * | 2015-08-26 | 2015-12-16 | 浪潮电子信息产业股份有限公司 | Method for achieving automatic binding of double network cards under LINUX system |
-
2017
- 2017-11-29 CN CN201711225238.4A patent/CN107968734A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070058655A1 (en) * | 2005-09-12 | 2007-03-15 | Cassatt Corporation | Detecting network interfaces capable of channel bonding |
CN101610283A (en) * | 2009-07-17 | 2009-12-23 | 浪潮电子信息产业股份有限公司 | A kind of method of dynamically balancing received load under network card binding state |
CN103744743A (en) * | 2014-01-17 | 2014-04-23 | 浪潮电子信息产业股份有限公司 | Heartbeat signal redundant configuration method based on RAC model of database |
CN104468388A (en) * | 2014-11-04 | 2015-03-25 | 浪潮电子信息产业股份有限公司 | Method for testing load balancing of network card based on Linux system |
CN105162629A (en) * | 2015-08-26 | 2015-12-16 | 浪潮电子信息产业股份有限公司 | Method for achieving automatic binding of double network cards under LINUX system |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109002376A (en) * | 2018-07-25 | 2018-12-14 | 郑州云海信息技术有限公司 | A kind of network interface card multipath connection test method and system based on linux system |
CN109088768A (en) * | 2018-08-17 | 2018-12-25 | 郑州云海信息技术有限公司 | A kind of method and device of automatic configuration Linux network interface card bonding |
CN109818830A (en) * | 2019-02-27 | 2019-05-28 | 苏州浪潮智能科技有限公司 | A method of based on the network interface card rate and dual-mode test under Linux platform |
CN110213095A (en) * | 2019-05-30 | 2019-09-06 | 苏州浪潮智能科技有限公司 | The method and device of network card binding automatic configuration is realized based on Python |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107968734A (en) | A kind of method of the automatic test Network Packet Loss performance under network card binding pattern | |
CN103970650B (en) | Distributed testing method and device | |
US7814192B2 (en) | System and method for automatically deploying a network design | |
CN103812726B (en) | Automated testing method and device for data communication equipment | |
TWI759423B (en) | Automated test equipment, automated test equipment (ate) apparatus and method of capturing and reporting communications information for failure analysis | |
CN102185733B (en) | Network card testing method and system | |
US20190260664A1 (en) | Hardware architecture for universal testing system: wireless router test | |
CN104168160B (en) | Server-compatible method of testing and system | |
CN105071982A (en) | Method for rapid measurement of performance of network card under Linux | |
CN102684946B (en) | Dual-network-interface-card switching performance testing method for information integration system | |
CN104461854B (en) | A kind of Ship Equipment software generic simulation test platform | |
EP2531867B1 (en) | Cable test method | |
CN104237699B (en) | A kind of USB interface communication test system and method | |
JP2019501553A5 (en) | ||
US9606950B2 (en) | Verifying runtime switch-over between multiple I/O protocols on shared I/O connection | |
US20220405180A1 (en) | Cloud simulation and validation system | |
CN103546344A (en) | Wireless router performance testing system and method | |
CN108449236A (en) | A kind of router feature test system | |
CN106603259B (en) | The configuration data method of calibration and device of network element, network management device | |
CN103731663A (en) | Method and device for testing smart television | |
US10613963B2 (en) | Intelligent packet analyzer circuits, systems, and methods | |
CN111683044A (en) | Method and device for automatically detecting forward isolation device strategy | |
CN108009086B (en) | System automation test method based on case decomposition and function learning | |
CN102984034A (en) | Testing structure | |
CN201917293U (en) | PCB through hole detection clamp |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180427 |