User Manual
TRex 36 / 113
Table 4.8: IMIX example limit=3
pkt time sec template fid flow-
pkt-id
client_ip client_port server_ip desc
1 0.010000 0 1 1 16.0.0.1 1024 48.0.0.1 →
2 0.210000 0 2 0 16.0.0.2 1024 48.0.0.2 →
3 0.310000 0 3 0 16.0.0.3 1024 48.0.0.3 →
4 0.310000 0 1 0 16.0.0.1 1024 48.0.0.1 →
5 0.510000 0 2 0 16.0.0.2 1024 48.0.0.2 →
6 0.610000 0 3 0 16.0.0.3 1024 48.0.0.3 →
7 0.610000 0 1 0 16.0.0.1 1024 48.0.0.1 →
8 0.810000 0 2 0 16.0.0.2 1024 48.0.0.2 →
9 0.910000 0 1 0 16.0.0.1 1024 48.0.0.1 →
10 0.910000 0 3 0 16.0.0.3 1024 48.0.0.3 →
11 1.110000 0 2 0 16.0.0.2 1024 48.0.0.2 →
12 1.210000 0 3 0 16.0.0.3 1024 48.0.0.3 →
13 1.210000 0 1 0 16.0.0.1 1024 48.0.0.1 →
14 1.410000 0 2 0 16.0.0.2 1024 48.0.0.2 →
15 1.510000 0 1 0 16.0.0.1 1024 48.0.0.1 →
16 1.510000 0 3 0 16.0.0.3 1024 48.0.0.3 →
17 1.710000 0 2 0 16.0.0.2 1024 48.0.0.2 →
18 1.810000 0 3 0 16.0.0.3 1024 48.0.0.3 →
19 1.810000 0 1 0 16.0.0.1 1024 48.0.0.1 →
20 2.010000 0 2 0 16.0.0.2 1024 48.0.0.2 →
21 2.110000 0 1 0 16.0.0.1 1024 48.0.0.1 →
22 2.110000 0 3 0 16.0.0.3 1024 48.0.0.3 →
23 2.310000 0 2 0 16.0.0.2 1024 48.0.0.2 →
24 2.410000 0 3 0 16.0.0.3 1024 48.0.0.3 →
25 2.410000 0 1 0 16.0.0.1 1024 48.0.0.1 →
26 2.610000 0 2 0 16.0.0.2 1024 48.0.0.2 →
27 2.710000 0 1 0 16.0.0.1 1024 48.0.0.1 →
28 2.710000 0 3 0 16.0.0.3 1024 48.0.0.3 →
29 2.910000 0 2 0 16.0.0.2 1024 48.0.0.2 →
30 3.010000 0 3 0 16.0.0.3 1024 48.0.0.3 →
31 3.010000 0 1 0 16.0.0.1 1024 48.0.0.1 →
• Average CPS: 10 packets per second (30 packets in 3 sec).
• Total of 3 flows, as specified in the configuration file.
• The flows come in bursts, as specified in the configuration file.
4.11 Clients/Servers IP allocation scheme
Currently, there is one global IP pool for clients and servers. It serves all templates. All templates will allocate IP from this
global pool. Each TRex client/server "dual-port" (pair of ports, such as port 0 for client, port 1 for server) has its own generator
offset, taken from the config file. The offset is called dual_port_mask.
Example:
generator :
distribution : "seq"
clients_start : "16.0.0.1"
clients_end : "16.0.0.255"










