1-
2- NOTE:
3-
4- Physical Topology
5- =================
6-
7- These tests require two machines. And each machine needs to have 2 or more
8- interfaces. These tests assume that they run on the following topology.
9-
10- Control Link
11- +------------------------------------+
12- | |
13- +-------+-------+ +-------+-------+
14- | +---- Test Link 0 ---+ |
15- | Local Host + : + Remote Host |
16- | +---- Test Link n ---+ |
17- +---------------+ +---------------+
18-
19- Control Link is used by the local host to control the remote host.
20- `control' means, for example, changing the setting of the interfaces that are
21- connected to the test links. The setting of the interfaces connected to the
22- control link is never changed.
23-
24- Test Links are the place where the stress tests run. For example, test packets
25- flow those links. The number of test links must be at least 1. The setting of
26- the interfaces connected to the test links would be changed by the tests.
27- Therefore, each test link should not belong to any external network. It is
28- recommended to connect each pair of interfaces with the ether cross cables.
29-
30- Currently, different NIC testcases for ICMP/UDP/TCP/Multicast require plural
31- test links. Other testcases uses only 1 test link. (Test Link 0)
32-
33-
34-
35- Installation
36- ============
37-
38- Like the other network tests, the remote host must have the LTP installed
39- in the same exact location as the local host have. Please refer the `Detailed
40- Installation 5.' section in INSTALL.
41-
42-
43-
441Execution
452=========
463
47- To run the network stress testcases, use network.sh script, located in
48- testscripts directory. For documentation about using network.sh see INSTALL
49- and testcases/network/README.md
4+ To run the network stress testcases see testcases/network/README.md.
505
516The behaviour of network stress tests is configurable with environment
527variables (See `Environment Variable' section).
@@ -71,11 +26,13 @@ specify the environment variable (See `Environment Variable' section).
7126Environment Variable
7227====================
7328
29+ For general shell network test variables see testcases/network/README.md.
30+ All variables have meaningful defaults values.
31+
7432The nestwork stress testcases require the following environment variables:
7533
76- RHOST
77- LHOST_HWADDRS
78- RHOST_HWADDRS
34+ LHOST_HWADDRS (for broken IP stress test)
35+ RHOST_HWADDRS (for broken IP stress test)
7936 HTTP_DOWNLOAD_DIR (for http stress test)
8037 FTP_DOWNLOAD_DIR (for ftp stress test)
8138 FTP_UPLOAD_DIR (for ftp stress test)
@@ -103,9 +60,6 @@ In these value, NS_DURATION is important if you'd like to reduce the test time.
10360Required environment variables
10461------------------------------
10562
106- o RHOST
107- The host name of the remote host to access it via the control link.
108-
10963 o LHOST_HWADDRS
11064 The blank-separated hardware address list of the interfaces which are
11165 connected to a test link at the local host.
0 commit comments