User Manual
TRex 21 / 113
Table 4.1: (continued)
pkt time sec fid flow-
pkt-id
client_ip client_port server_ip direction
4 2.020000 2 2 16.0.0.2 1024 48.0.0.2 ←
5 3.010000 3 1 16.0.0.3 1024 48.0.0.3 →
6 3.020000 3 2 16.0.0.3 1024 48.0.0.3 ←
7 4.010000 4 1 16.0.0.4 1024 48.0.0.4 →
8 4.020000 4 2 16.0.0.4 1024 48.0.0.4 ←
9 5.010000 5 1 16.0.0.5 1024 48.0.0.5 →
10 5.020000 5 2 16.0.0.5 1024 48.0.0.5 ←
11 6.010000 6 1 16.0.0.6 1024 48.0.0.6 →
12 6.020000 6 2 16.0.0.6 1024 48.0.0.6 ←
13 7.010000 7 1 16.0.0.7 1024 48.0.0.7 →
14 7.020000 7 2 16.0.0.7 1024 48.0.0.7 ←
15 8.010000 8 1 16.0.0.8 1024 48.0.0.8 →
16 8.020000 8 2 16.0.0.8 1024 48.0.0.8 ←
17 9.010000 9 1 16.0.0.9 1024 48.0.0.9 →
18 9.020000 9 2 16.0.0.9 1024 48.0.0.9 ←
19 10.010000 a 1 16.0.0.10 1024 48.0.0.10 →
20 10.020000 a 2 16.0.0.10 1024 48.0.0.10 ←
where: fid:: Flow ID - different IDs for each flow.
low-pkt-id
Packet ID within the flow. Numbering begins with 1.
client_ip
Client IP address.
client_port
Client IP port.
server_ip
Server IP address.
direction
Direction. "→" is client-to-server; "←" is server-to-client.
The following enlarges the CPS and reduces the duration.
[bash]>more cap2/dns_test.yaml
- duration : 1.0
v
1
generator :
distribution : "seq"
clients_start : "16.0.0.1"
clients_end : "16.0.0.255"
servers_start : "48.0.0.1"
servers_end : "48.0.0.255"
clients_per_gb : 201
min_clients : 101
dual_port_mask : "1.0.0.0"
tcp_aging : 1
udp_aging : 1
mac : [0x00,0x00,0x00,0x01,0x00,0x00]
cap_info :
- name: cap2/dns.pcap










