User Manual

TRex 28 / 113
Table 4.6: DNS ipg from pcap file
pkt time sec fid flow-
pkt-id
client_ip client_port server_ip desc
1 0.010000 1 1 16.0.0.1 1024 48.0.0.1
2 0.030944 1 2 16.0.0.1 1024 48.0.0.1
3 2.010000 2 1 16.0.0.1 1025 48.0.0.1
4 2.030944 2 2 16.0.0.1 1025 48.0.0.1
5 3.010000 3 1 16.0.0.2 1024 48.0.0.2
6 3.030944 3 2 16.0.0.2 1024 48.0.0.2
7 4.010000 4 1 16.0.0.2 1025 48.0.0.2
8 4.030944 4 2 16.0.0.2 1025 48.0.0.2
9 5.010000 5 1 16.0.0.3 1024 48.0.0.3
10 5.030944 5 2 16.0.0.3 1024 48.0.0.3
11 6.010000 6 1 16.0.0.3 1025 48.0.0.3
12 6.030944 6 2 16.0.0.3 1025 48.0.0.3
13 7.010000 7 1 16.0.0.4 1024 48.0.0.4
14 7.030944 7 2 16.0.0.4 1024 48.0.0.4
15 8.010000 8 1 16.0.0.4 1025 48.0.0.4
16 8.030944 8 2 16.0.0.4 1025 48.0.0.4
17 9.010000 9 1 16.0.0.5 1024 48.0.0.5
18 9.030944 9 2 16.0.0.5 1024 48.0.0.5
19 10.010000 a 1 16.0.0.5 1025 48.0.0.5
20 10.030944 a 2 16.0.0.5 1025 48.0.0.5
4.6 Mixing HTTP and DNS templates
The following example combines elements of HTTP and DNS templates:
- duration : 1.0
generator :
distribution : "seq"
clients_start : "16.0.0.1"
clients_end : "16.0.0.10"
servers_start : "48.0.0.1"
servers_end : "48.0.0.3"
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_ipg : true
cap_info :
- name: cap2/dns.pcap
cps : 10.0
v
1
ipg : 10000
rtt : 10000
w : 1
- name: avl/delay_10_http_browsing_0.pcap
cps : 2.0
v
2
ipg : 10000
rtt : 10000
w : 1