User Manual

TRex 55 / 113
2. Choose template by CPS, 50% probability for each. take template #1
3. SRC_IP=12.1.1.2, DEST_IP=13.1.1.2
4. Allocate src_port for 12.1.1.2 =src_port=1025 for the first flow of client=12.1.1.2
5. Associate the next-hop from cluster pool. In this case 12.1.1.2 has the following information 5.1 client side : VLAN=4050
and MAC of 11.10.0.1 (Initiator) 5.2 server side : VLAN=4054 and MAC of 10.10.0.1 (Responder)
to run this using FirePower and NAT learning and checksum offload
[bash]>sudo ./t-rex-64 -f profile.yaml --client_cfg cluster.yaml -m 10 -d 1000 -l 1000 --l- -
pkt-mode 2 --learn-mode 1 --checksum-offload
5.5.3 Clustering example - four ports
In this example there TRex has two dual ports. We can use traffic mask to differentiate the ip range.
Cluster example with four ports
The profile file is the similar to the previous one with the difference that we need to add more mapping in the cluster file. Latency
can be tested on another path in the configuration.
Traffic profile
- duration : 10.0
generator :
distribution : "seq"
clients_start : "12.1.1.1"
clients_end : "12.1.1.1"
servers_start : "13.1.1.1"
servers_end : "13.1.1.1"
dual_port_mask : "0.1.0.0"
v
1
generator_clients :