CN110505110A - Test method, device and the Multi-netmouth host of network interface - Google Patents
Test method, device and the Multi-netmouth host of network interface Download PDFInfo
- Publication number
- CN110505110A CN110505110A CN201810479517.1A CN201810479517A CN110505110A CN 110505110 A CN110505110 A CN 110505110A CN 201810479517 A CN201810479517 A CN 201810479517A CN 110505110 A CN110505110 A CN 110505110A
- Authority
- CN
- China
- Prior art keywords
- network
- network interface
- netmouth
- interfaces
- host
- 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.)
- Granted
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/50—Testing arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the invention provides the test method of network interface, device and Multi-netmouth hosts, this method comprises: for two network interfaces to be tested in Multi-netmouth host, two network interfaces to be tested are respectively set to the network interface of mutually isolated two separate networks in Multi-netmouth host internal network, obtain network interface pair;The performance of test network interface two network interfaces of centering.In the test method of the network interface of the embodiment of the present invention, for two network interfaces to be tested in Multi-netmouth host, set the two network interfaces to the network interface of separate network mutually isolated in Multi-netmouth host internal network, the test of network interface performance can be completed using the mutual sending and receiving data of the two network interfaces, need not external interchanger and client device, the testing cost of network interface can be reduced.
Description
Technical field
The present invention relates to field of computer technology, more particularly to the test method of network interface, device and Multi-netmouth master
Machine.
Background technique
In order to obtain the performance of each network interface in Multi-netmouth host, the performance to each network interface is needed to test.
In the test method of existing network interface, need using Multi-netmouth host to be tested as server, and will be more
Each network interface of network interface host is connected respectively on interchanger, while client device being connected on the interchanger, knot
Structure is as shown in Figure 1.In the performance of test network interface, current test method is beaten using network, is passed sequentially through using polling mode
Each network interface sends data to client device, to test the performance of each network interface.
But such test method is used, external interchanger and client device are needed, the testing cost of network interface is high.
Summary of the invention
The test method for being designed to provide a kind of network interface, device and the Multi-netmouth host of the embodiment of the present invention, with
Realize the testing cost for reducing network interface.Specific technical solution is as follows:
In a first aspect, being applied to Multi-netmouth host, institute the embodiment of the invention provides a kind of test method of network interface
The method of stating includes:
For two network interfaces to be tested in the Multi-netmouth host, this two network interfaces to be tested are distinguished
It is set as the network interface of two separate networks mutually isolated in the Multi-netmouth host internal network, obtains network interface
It is right;
Test the performance of two network interfaces of network interface centering.
Optionally, described for two network interfaces to be tested in the Multi-netmouth host, it is to be tested by this two
Network interface is respectively set to the network interface of mutually isolated two separate networks in the Multi-netmouth host internal network,
Obtain network interface pair, comprising:
Respectively by the network where each network interface, be set as in the Multi-netmouth host internal network mutually every
From separate network, obtain independent network interfaces;
The connection for testing each independent network interfaces determines each network interface pair to be tested, wherein the net
Network interface is to the independent network interfaces for including two connections.
Optionally, described respectively by the network where each network interface, it is set as inside the Multi-netmouth host
Mutually isolated separate network, obtains independent network interfaces in network, comprising:
By network namespace virtualization technology, the network interface card where each network interface is virtually turned into independence respectively
The network interface card of network environment will virtually turn to the network interface of the network interface card of separate network environment as independent network interfaces.
Optionally, the performance of test two network interfaces of network interface centering, comprising:
For each network interface pair, set same for the address of two independent network interfaces of the network interface pair
Two different addresses in one network segment;
Current test method is beaten using preset network, tests the property of each two independent network interfaces of the network interface centering
Energy.
Optionally, the performance of test two network interfaces of network interface centering, comprising:
For each network interface pair, virtual gateway is configured;
By the virtual gateway, current test method is beaten using preset network, tests each network interface centering two
The performance of a independent network interfaces.
Second aspect, the embodiment of the invention provides a kind of test devices of network interface, are applied to Multi-netmouth host, institute
Stating device includes:
Network conf iotag module, for for two network interfaces to be tested in the Multi-netmouth host, by this two to
The network interface of test is respectively set to the net of mutually isolated two separate networks in the Multi-netmouth host internal network
Network interface, obtains network interface pair;
Performance test module, for testing the performance of each network interface centering independent network interfaces.
Optionally, the Network conf iotag module, comprising:
Interface network independent sub-modules, for being respectively set as the network where each network interface described more
Mutually isolated separate network, obtains independent network interfaces in network interface host internal network;
Interface determines each to be tested determining submodule for testing the connection of each independent network interfaces
Network interface pair, wherein the network interface is to the independent network interfaces for including two connections.
Optionally, the interface network independent sub-modules, are specifically used for:
By network namespace virtualization technology, the network interface card where each network interface is virtually turned into independence respectively
The network interface card of network environment will virtually turn to the network interface of the network interface card of separate network environment as independent network interfaces.
Optionally, the performance test module, comprising:
Address configuration submodule, for being directed to each network interface pair, by two separate mesh of the network interface pair
The address of network interface is set as two different addresses in same network segment;
First dozen of stream submodule tests each network interface centering for beating current test method using preset network
The performance of two independent network interfaces.
Optionally, the performance test module, comprising:
Gateway configures submodule, for being directed to each network interface pair, configures virtual gateway;
Second dozen of stream submodule, for beating current test method using preset network, test is each by the virtual gateway
The performance of two independent network interfaces of network interface centering.
The third aspect, the embodiment of the invention provides a kind of Multi-netmouth hosts, including processor, network interface and storage
Device, wherein the network interface, for sending and receiving data, the memory, for storing computer program;The place
Device being managed, when for executing the program stored on the memory, realizing any network interface of above-mentioned first aspect
Test method.
Test method, device and the Multi-netmouth host of network interface provided in an embodiment of the present invention, Multi-netmouth host include
Multiple network interfaces, for two network interfaces to be tested in Multi-netmouth host, by two network interfaces to be tested point
It is not set as the network interface of two separate networks mutually isolated in Multi-netmouth host internal network, obtains network interface
It is right;The performance of test network interface two network interfaces of centering.It, will for two network interfaces to be tested in Multi-netmouth host
The two network interfaces are set as the network interface of separate network mutually isolated in Multi-netmouth host internal network, Neng Gouli
The test of network interface performance is completed with the mutual sending and receiving data of the two network interfaces, it is not necessary to which external interchanger and client are set
It is standby, the testing cost of network interface can be reduced.Certainly, implement any of the products of the present invention or method it is not absolutely required to simultaneously
Reach all the above advantage.
Detailed description of the invention
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 technical 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
It obtains other drawings based on these drawings.
Fig. 1 is a kind of system schematic of test network interface capability in the prior art;
Fig. 2 a is a kind of flow diagram of the test method of the network interface of the embodiment of the present invention;
Fig. 2 b is another flow diagram of the test method of the network interface of the embodiment of the present invention;
Fig. 3 is a kind of system schematic of the test network interface capability of the embodiment of the present invention;
Fig. 4 is a kind of schematic diagram of the test device of the network interface of the embodiment of the present invention;
Fig. 5 is a kind of schematic diagram of the Multi-netmouth host of the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
In the prior art, when the performance to network interface is tested, by each network of Multi-netmouth host to be tested
Interface is connected respectively on interchanger, while client device being connected on the interchanger, and structure is as shown in Figure 1.It is surveying
When trying the performance of network interface, current test method is beaten using network, each network interface is passed sequentially through to client using polling mode
End equipment sends data, to test the performance of each network interface.But such test method is used, need external interchanger and visitor
The testing cost of family end equipment, network interface is high, while successively testing the performance of each network interface, and testing efficiency is low.
In view of this, a, is applied to more nets referring to fig. 2 the embodiment of the invention provides a kind of test method of network interface
Mouth host, this method comprises:
S201 connects two networks to be tested for two network interfaces to be tested in above-mentioned Multi-netmouth host
Mouth is respectively set to the network interface of mutually isolated two separate networks in above-mentioned Multi-netmouth host internal network, obtains net
Network interface pair.
Multi-netmouth host includes multiple network interfaces, chooses two network interfaces to be tested, the two to be measured time nets
Network interface is connected by cable.By virtualization technology, for example, passing through Netns (Network Namespaces, network naming
Space) virtualization technology or VLAN (Virtual Local Area Network, virtual LAN) virtualization technology, respectively
By the separate network that the network settings where two network interfaces to be tested are inside Multi-netmouth host, by the two independences
Two network interfaces in network, as a network interface pair.
S202 tests the performance of above-mentioned two network interfaces of network interface centering.
For above-mentioned network interface pair, current test method is beaten using preset network, by a network interface to another
A network interface sends data, to complete the test of network interface performance.
In Multi-netmouth host when network interface more than two to be tested, Multi-netmouth host can successively choose network and connect
Mouth is right, and the performance of test network interface two network interfaces of centering.
In embodiments of the present invention, for two network interfaces to be tested in Multi-netmouth host, the two networks are connect
Mouth is set as the network interface of separate network mutually isolated in Multi-netmouth host internal network, can utilize the two networks
The mutual sending and receiving data of interface is to complete the test of network interface performance, it is not necessary to which external interchanger and client device can reduce
The testing cost of network interface.
Optionally, b referring to fig. 2, it is above-mentioned for two network interfaces to be tested in above-mentioned Multi-netmouth host, by this two
Network interface to be tested is respectively set to mutually isolated two separate networks in above-mentioned Multi-netmouth host internal network
Network interface obtains network interface pair, comprising:
S2011 is set as in above-mentioned Multi-netmouth host internal network respectively by the network where each above-mentioned network interface
Mutually isolated separate network, obtains independent network interfaces.
For each network interface to be tested, the network interface at least with other networks in addition to the network interface
Interface connection.Optionally, as shown in figure 3, multiple network interfaces in Multi-netmouth host, two is two interconnected.For example, passing through net
Line is connected etc. two-by-two by each network interface in Multi-netmouth host.Multi-netmouth host computer virtualization technology, such as Netns are virtual
Network settings where the network interface are independent net for each network interface by change technology or VLAN virtualization technology
Network, by the network interface in each separate network, referred to as independent network interfaces.
S2012 tests the connection of each above-mentioned independent network interfaces, determines each network interface pair to be tested, wherein
Above-mentioned network interface is to the independent network interfaces for including two connections.
Respectively virtualization matches the network interface card postponed by each independent network interfaces transmission data packet, to determine respectively in Multi-netmouth host
The connection state of independent network interfaces matches independent network interfaces interconnected two-by-two, obtains network interface to be tested
It is right.
Optionally, when there are the independent network interfaces not connecting with other independent network interfaces, alarm prompt is issued.
When Multi-netmouth Host Detection is to the independent network interfaces not connecting with other independent network interfaces, issues alarm and mention
Show, which can be any form of alarm, for example, beep, bright light or show that network connects over the display
It is mouthful not connected etc., so that testing staff after receiving warning message, completes the connection of network interface.
For each network interface pair, beat current test method using preset network, by an independent network interfaces to
Another independent network interfaces sends data, to complete the test of network interface performance.Multi-netmouth host can be each with concurrent testing
The performance of above-mentioned network interface centering independent network interfaces, to increase the efficiency of network interface test.
In embodiments of the present invention, set mutually isolated in Multi-netmouth host internal network for each network interface respectively
Independent network interfaces, the test of network interface performance can be completed using two independent network interfaces in Multi-netmouth host,
Need not external interchanger and client device, the testing cost of network interface can be reduced, and can be with each network of concurrent testing
The performance of interface centering independent network interfaces can increase the efficiency of network interface test.
Optionally, above-mentioned respectively by the network where each above-mentioned network interface, it is set as inside above-mentioned Multi-netmouth host
Mutually isolated separate network, obtains independent network interfaces in network, comprising:
By network namespace virtualization technology, the network interface card where each above-mentioned network interface is virtually turned into independence respectively
The network interface card of network environment will virtually turn to the network interface of the network interface card of separate network environment as independent network interfaces.
Multi-netmouth host is by network namespace virtualization technology, by the network environment of each network interface card in Multi-netmouth host
Virtualization is configured to mutually independent network environment, and the network interface by virtualization with the network interface card postponed connects as separate network
Mouthful.
In embodiments of the present invention, using network namespace virtualization technology, each network card configuration is independent network
Environment, can be realized in same Multi-netmouth host, the communication between each network interface, and use Netns virtualization technology can be with
The change to Multi-netmouth host is reduced, with save the cost.
Optionally, the performance of above-mentioned two network interfaces of network interface centering of above-mentioned test, comprising:
Step 1, for each above-mentioned network interface pair, by the address of two independent network interfaces of the network interface pair
It is set as two different addresses in same network segment.
By the network configuration where network interface be separate network after, each independent network interfaces can correspond to a ground
It location can be by the ground of two independent network interfaces of consolidated network interface centering in order to realize the direct communication of each separate network
Location is arranged in same network segment, and the address of the two independent network interfaces is different.
Step 2 beats current test method using preset network, tests each two separate networks of above-mentioned network interface centering
The performance of interface.
In embodiments of the present invention, same net is set by the address of two independent network interfaces of consolidated network interface pair
Two different addresses in section can be directly realized by the logical of two independent network interfaces of consolidated network interface pair by cable
Letter does not have to additional gateway, can save testing cost.
Optionally, the performance of above-mentioned two network interfaces of network interface centering of above-mentioned test, comprising:
Step 1 configures virtual gateway for each above-mentioned network interface pair.
Virtual gateway is arranged, to realize two independences of each network interface centering in Multi-netmouth host computer virtualization technology
The communication of network interface.
Step 2 beats current test method using preset network, tests each above-mentioned network interface by above-mentioned virtual gateway
The performance of two independent network interfaces of centering.
In embodiments of the present invention, virtual gateway is configured, does not have to addition external hardware device, is directly realized by together by cable
The communication of two independent network interfaces of one network interface pair, can save testing cost.
The embodiment of the invention also provides a kind of test devices of network interface, referring to fig. 4, are applied to Multi-netmouth host,
The device includes:
Network conf iotag module 401, for being directed to two network interfaces to be tested in the Multi-netmouth host, by this two
Network interface to be tested is respectively set to mutually isolated two separate networks in the Multi-netmouth host internal network
Network interface obtains network interface pair;
Performance test module 402 tests the performance of two network interfaces of network interface centering.
In embodiments of the present invention, for two network interfaces to be tested in Multi-netmouth host, the two networks are connect
Mouth is set as the network interface of separate network mutually isolated in Multi-netmouth host internal network, can utilize the two networks
The mutual sending and receiving data of interface is to complete the test of network interface performance, it is not necessary to which external interchanger and client device can reduce
The testing cost of network interface.
Optionally, in the test device of the network interface of the embodiment of the present invention, above-mentioned Network conf iotag module 401, comprising:
Interface network independent sub-modules, for being respectively set as the network where each above-mentioned network interface above-mentioned more
Mutually isolated separate network, obtains independent network interfaces in network interface host internal network;
Interface determines each to be tested determining submodule for testing the connection of each above-mentioned independent network interfaces
Network interface pair, wherein above-mentioned network interface is to the independent network interfaces for including two connections.
In embodiments of the present invention, set mutually isolated in Multi-netmouth host internal network for each network interface respectively
Independent network interfaces, the test of network interface performance can be completed using two independent network interfaces in Multi-netmouth host,
Need not external interchanger and client device, the testing cost of network interface can be reduced, and can be with each network of concurrent testing
The performance of interface centering independent network interfaces can increase the efficiency of network interface test.
Optionally, interface network independent sub-modules are specifically used for:
By network namespace virtualization technology, the network interface card where each above-mentioned network interface is virtually turned into independence respectively
The network interface card of network environment will virtually turn to the network interface of the network interface card of separate network environment as independent network interfaces.
In embodiments of the present invention, using network namespace virtualization technology, each network card configuration is independent network
Environment, can be realized in same Multi-netmouth host, the communication between each network interface.
Optionally, above-mentioned performance test module 402, comprising:
Address configuration submodule, for being directed to each above-mentioned network interface pair, by two separate mesh of the network interface pair
The address of network interface is set as two different addresses in same network segment;
First dozen of stream submodule tests each above-mentioned network interface centering for beating current test method using preset network
The performance of two independent network interfaces.
In embodiments of the present invention, same net is set by the address of two independent network interfaces of consolidated network interface pair
Two different addresses in section can be directly realized by the logical of two independent network interfaces of consolidated network interface pair by cable
Letter does not have to additional gateway, can save testing cost.
Optionally, above-mentioned performance test module 402, comprising:
Gateway configures submodule, for being directed to each above-mentioned network interface pair, configures virtual gateway;
Second dozen of stream submodule, for beating current test method using preset network, test is each by above-mentioned virtual gateway
The performance of above-mentioned two independent network interfaces of network interface centering.
In embodiments of the present invention, virtual gateway is configured, difference addition external hardware device is directly realized by together by cable
The communication of two independent network interfaces of one network interface pair, can save testing cost.
The embodiment of the invention also provides a kind of Multi-netmouth hosts, referring to Fig. 5, including processor 501, network interface 502
With memory 503, wherein above-mentioned network interface 502, for sending and receiving data, above-mentioned memory 503, based on storing
Calculation machine program;Above-mentioned processor 501 when for executing the program stored on above-mentioned memory 503, realizes following steps:
For two network interfaces to be tested in above-mentioned Multi-netmouth host, this two network interfaces to be tested are distinguished
It is set as the network interface of two separate networks mutually isolated in above-mentioned Multi-netmouth host internal network, obtains network interface
It is right;
Test the performance of above-mentioned two network interfaces of network interface centering.
In embodiments of the present invention, for two network interfaces to be tested in Multi-netmouth host, the two networks are connect
Mouth is set as the network interface of separate network mutually isolated in Multi-netmouth host internal network, can utilize the two networks
The mutual sending and receiving data of interface is to complete the test of network interface performance, it is not necessary to which external interchanger and client device can reduce
The testing cost of network interface.
Optionally, the Multi-netmouth host of the embodiment of the present invention further include: communication bus, wherein processor 501, network connects
Mouth 502, memory 503 completes mutual communication by communication bus.
Optionally, above-mentioned processor 501 is in the program stored on executing above-mentioned memory 503, additionally it is possible in realization
State the test method of any network interface.
The communication bus that above-mentioned Multi-netmouth host is mentioned can be Peripheral Component Interconnect standard (Peripheral
Component Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard
Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, control bus etc..For just
It is only indicated with a thick line in expression, figure, it is not intended that an only bus or a type of bus.
Memory may include random access memory (Random Access Memory, RAM), also may include non-easy
The property lost memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory may be used also
To be storage device that at least one is located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit,
CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal
Processing, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing
It is field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete
Door or transistor logic, discrete hardware components.
The embodiment of the invention also provides a kind of computer readable storage medium, stored in the computer readable storage medium
There is computer program, above-mentioned computer program realizes following steps when being executed by processor:
For two network interfaces to be tested in above-mentioned Multi-netmouth host, this two network interfaces to be tested are distinguished
It is set as the network interface of two separate networks mutually isolated in above-mentioned Multi-netmouth host internal network, obtains network interface
It is right;
Test the performance of above-mentioned two network interfaces of network interface centering.
In embodiments of the present invention, for two network interfaces to be tested in Multi-netmouth host, the two networks are connect
Mouth is set as the network interface of separate network mutually isolated in Multi-netmouth host internal network, can utilize the two networks
The mutual sending and receiving data of interface is to complete the test of network interface performance, it is not necessary to which external interchanger and client device can reduce
The testing cost of network interface.
Optionally, when above-mentioned computer program is executed by processor, additionally it is possible to realize the test of any of the above-described network interface
Method.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device,
For the embodiment of Multi-netmouth host and storage medium, since it is substantially similar to the method embodiment, so the comparison of description is simple
Single, the relevent part can refer to the partial explaination of embodiments of method.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention
It is interior.
Claims (11)
1. a kind of test method of network interface, which is characterized in that be applied to Multi-netmouth host, which comprises
For two network interfaces to be tested in the Multi-netmouth host, which is respectively set
For the network interface of mutually isolated two separate networks in the Multi-netmouth host internal network, network interface pair is obtained;
Test the performance of two network interfaces of network interface centering.
2. the method according to claim 1, wherein described to be tested for two in the Multi-netmouth host
Two network interfaces to be tested are respectively set to mutually isolated in the Multi-netmouth host internal network by network interface
Two separate networks network interface, obtain network interface pair, comprising:
Respectively by the network where each network interface in the Multi-netmouth host, it is set as in the Multi-netmouth host internal network
In mutually isolated separate network, obtain independent network interfaces;
The connection for testing each independent network interfaces determines each network interface pair to be tested, wherein the network connects
Mouth is to the independent network interfaces for including two connections.
3. according to the method described in claim 2, it is characterized in that, described respectively by the network where each network interface,
It is set as separate network mutually isolated in the Multi-netmouth host internal network, obtains independent network interfaces, comprising:
By network namespace virtualization technology, the network interface card where each network interface is virtually turned into separate network respectively
The network interface card of environment will virtually turn to the network interface of the network interface card of separate network environment as independent network interfaces.
4. according to the method described in claim 2, it is characterized in that, described described two network interfaces of network interface centering of test
Performance, comprising:
For each network interface pair, set the address of two network interfaces of the network interface pair in same network segment
Two different addresses;
Current test method is beaten using preset network, tests the performance of each two independent network interfaces of network interface centering.
5. according to the method described in claim 2, it is characterized in that, described described two network interfaces of network interface centering of test
Performance, comprising:
For each network interface pair, virtual gateway is configured;
By the virtual gateway, current test method is beaten using preset network, tests each two nets of the network interface centering
The performance of network interface.
6. a kind of test device of network interface, which is characterized in that be applied to Multi-netmouth host, described device includes:
Network conf iotag module, it is to be tested by this two for being directed to two network interfaces to be tested in the Multi-netmouth host
Network interface be respectively set to the networks of mutually isolated two separate networks in the Multi-netmouth host internal network and connect
Mouthful, obtain network interface pair;
Performance test module tests the performance of two network interfaces of network interface centering.
7. device according to claim 6, which is characterized in that the Network conf iotag module, comprising:
Interface network independent sub-modules, for being respectively set as the network where each network interface in the Multi-netmouth
Mutually isolated separate network, obtains independent network interfaces in host internal network;
Interface determines each network to be tested for testing the connection of each independent network interfaces to determining submodule
Interface pair, wherein the network interface is to the independent network interfaces for including two connections.
8. device according to claim 7, which is characterized in that the interface network independent sub-modules are specifically used for:
By network namespace virtualization technology, the network interface card where each network interface is virtually turned into separate network respectively
The network interface card of environment will virtually turn to the network interface of the network interface card of separate network environment as independent network interfaces.
9. device according to claim 7, which is characterized in that the performance test module, comprising:
Address configuration submodule connects two separate networks of the network interface pair for being directed to each network interface pair
The address of mouth is set as two different addresses in same network segment;
First dozen of stream submodule tests each network interface centering two for beating current test method using preset network
The performance of independent network interfaces.
10. device according to claim 7, which is characterized in that the performance test module, comprising:
Gateway configures submodule, for being directed to each network interface pair, configures virtual gateway;
Second dozen of stream submodule is tested each described for beating current test method using preset network by the virtual gateway
The performance of two independent network interfaces of network interface centering.
11. a kind of Multi-netmouth host, which is characterized in that including processor, network interface and memory, wherein the network connects
Mouthful, for sending and receiving data, the memory, for storing computer program;The processor, for executing described deposit
When the program stored on reservoir, any method and step of claim 1-5 is realized.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810479517.1A CN110505110B (en) | 2018-05-18 | 2018-05-18 | Network interface test method and device and multi-network-port host |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810479517.1A CN110505110B (en) | 2018-05-18 | 2018-05-18 | Network interface test method and device and multi-network-port host |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110505110A true CN110505110A (en) | 2019-11-26 |
CN110505110B CN110505110B (en) | 2021-07-20 |
Family
ID=68585009
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810479517.1A Active CN110505110B (en) | 2018-05-18 | 2018-05-18 | Network interface test method and device and multi-network-port host |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110505110B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111224847A (en) * | 2020-01-15 | 2020-06-02 | 广州视源电子科技股份有限公司 | Network port test method and test system of sending card |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1917452A (en) * | 2005-08-19 | 2007-02-21 | 上海亿人通信终端有限公司 | Method for testing forwarding performance of Ethernet exchange, and method for configuring network |
CN101594222A (en) * | 2009-06-29 | 2009-12-02 | 中兴通讯股份有限公司 | A kind of interface test method and device |
US7872988B1 (en) * | 2009-09-21 | 2011-01-18 | Spirent Communications, Inc. | Methods and apparatuses for generating network test packets and parts of network test packets |
CN102223268A (en) * | 2011-06-17 | 2011-10-19 | 福建星网锐捷网络有限公司 | Network equipment as well as method and device for starting hardware testing of same |
CN103188116A (en) * | 2011-12-31 | 2013-07-03 | 中国移动通信集团公司 | Network performance detection method and system of blade server |
CN103532785A (en) * | 2013-10-18 | 2014-01-22 | 上海斐讯数据通信技术有限公司 | Full load test method for Ethernet switch |
CN104954205A (en) * | 2015-07-22 | 2015-09-30 | 上海斐讯数据通信技术有限公司 | Soft routing performance test method |
US20160011894A1 (en) * | 2014-07-11 | 2016-01-14 | Vmware, Inc. | Methods and apparatus to configure virtual resource managers for use in virtual server rack deployments for virtual computing environments |
CN107278362A (en) * | 2016-11-09 | 2017-10-20 | 华为技术有限公司 | The method of Message processing, main frame and system in cloud computing system |
CN107547304A (en) * | 2017-07-13 | 2018-01-05 | 紫光华山信息技术有限公司 | Network card testing method, device and machinable medium |
CN107566152A (en) * | 2017-06-13 | 2018-01-09 | 中国银联股份有限公司 | Method and device for virtual network link detection |
US20180069778A1 (en) * | 2016-08-25 | 2018-03-08 | Huawei Technologies Co., Ltd. | Dialing Test Method, Dialing Test System, and Computing Node |
CN107979504A (en) * | 2016-10-25 | 2018-05-01 | 中兴通讯股份有限公司 | A kind of detection method of Ethernet switch network interface, apparatus and system |
-
2018
- 2018-05-18 CN CN201810479517.1A patent/CN110505110B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1917452A (en) * | 2005-08-19 | 2007-02-21 | 上海亿人通信终端有限公司 | Method for testing forwarding performance of Ethernet exchange, and method for configuring network |
CN101594222A (en) * | 2009-06-29 | 2009-12-02 | 中兴通讯股份有限公司 | A kind of interface test method and device |
US7872988B1 (en) * | 2009-09-21 | 2011-01-18 | Spirent Communications, Inc. | Methods and apparatuses for generating network test packets and parts of network test packets |
CN102223268A (en) * | 2011-06-17 | 2011-10-19 | 福建星网锐捷网络有限公司 | Network equipment as well as method and device for starting hardware testing of same |
CN103188116A (en) * | 2011-12-31 | 2013-07-03 | 中国移动通信集团公司 | Network performance detection method and system of blade server |
CN103532785A (en) * | 2013-10-18 | 2014-01-22 | 上海斐讯数据通信技术有限公司 | Full load test method for Ethernet switch |
US20160011894A1 (en) * | 2014-07-11 | 2016-01-14 | Vmware, Inc. | Methods and apparatus to configure virtual resource managers for use in virtual server rack deployments for virtual computing environments |
CN104954205A (en) * | 2015-07-22 | 2015-09-30 | 上海斐讯数据通信技术有限公司 | Soft routing performance test method |
US20180069778A1 (en) * | 2016-08-25 | 2018-03-08 | Huawei Technologies Co., Ltd. | Dialing Test Method, Dialing Test System, and Computing Node |
CN107979504A (en) * | 2016-10-25 | 2018-05-01 | 中兴通讯股份有限公司 | A kind of detection method of Ethernet switch network interface, apparatus and system |
CN107278362A (en) * | 2016-11-09 | 2017-10-20 | 华为技术有限公司 | The method of Message processing, main frame and system in cloud computing system |
CN107566152A (en) * | 2017-06-13 | 2018-01-09 | 中国银联股份有限公司 | Method and device for virtual network link detection |
CN107547304A (en) * | 2017-07-13 | 2018-01-05 | 紫光华山信息技术有限公司 | Network card testing method, device and machinable medium |
Non-Patent Citations (1)
Title |
---|
郑杰: "基于DPDK的云AC系统设计与实现", 《中国优秀硕士学位论文全文数据库》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111224847A (en) * | 2020-01-15 | 2020-06-02 | 广州视源电子科技股份有限公司 | Network port test method and test system of sending card |
CN111224847B (en) * | 2020-01-15 | 2023-02-28 | 西安青松光电技术有限公司 | Network port test method and test system of sending card |
Also Published As
Publication number | Publication date |
---|---|
CN110505110B (en) | 2021-07-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1482712B1 (en) | Virtual network addresses | |
US8260588B2 (en) | Virtualizing complex network topologies | |
US20160294632A1 (en) | Using spanning tree protocol to determine a layer 2 topology of an ethernet type network | |
CN103188112B (en) | Network flow detection method and device | |
CN107566152A (en) | Method and device for virtual network link detection | |
US20150110128A1 (en) | System and method for hierarchical link aggregation | |
CN109194617A (en) | The automatically parsing of XML message, packaging method and device | |
CN109951325A (en) | A kind of network cable connection inspection method and device | |
CN109842694A (en) | A kind of method, the network equipment and the computer readable storage medium of synchronous MAC Address | |
CN109586959A (en) | A kind of method and device of fault detection | |
CN109474495A (en) | A kind of tunnel detection method and device | |
CN108390856A (en) | A kind of ddos attack detection method, device and electronic equipment | |
CN108075943A (en) | Test packet building method and device | |
CN106021085B (en) | Performance test method and device and data server | |
CN109495369A (en) | A kind of message forwarding method and device | |
CN108111367A (en) | Performance test methods and device | |
CN109889411A (en) | A kind of method and device of data transmission | |
CN103152274B (en) | Efficiency and secure data wireless networking route device, system and method | |
CN110505110A (en) | Test method, device and the Multi-netmouth host of network interface | |
CN109151075A (en) | Log processing method, device and electronic equipment | |
CN110196780A (en) | Determine method, apparatus, storage medium and the electronic device of server state | |
CN108989101A (en) | A kind of log output system, method and electronic equipment | |
CN105119778B (en) | The method and apparatus for measuring time delay | |
CN104539631A (en) | Method and module for realizing information exchange and high-speed transmission | |
CN108650337A (en) | A kind of server detection method, system and storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |