17 T-Rex installation is managed via Ansible role.
19 TG Startup Configuration
20 ~~~~~~~~~~~~~~~~~~~~~~~~
24 $ sudo -E -S sh -c 'cat << EOF > /etc/trex_cfg.yaml
28 interfaces: ["${pci1}","${pci2}"]
30 - dest_mac: [${dest_mac1}]
31 src_mac: [${src_mac1}]
32 - dest_mac: [${dest_mac2}]
33 src_mac: [${src_mac2}]
39 threads: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
47 $ sh -c 'cd <t-rex-install-dir>/scripts/ && \
48 sudo nohup ./t-rex-64 -i --prefix $(hostname) --hdrh --no-scapy-server \
49 > /tmp/trex.log 2>&1 &' > /dev/null