Question: how to install trex packet generator?
Answer: Install VM using this manual.
Configure VM: Open VM Settings -> Network -> Advanced -> Port forwarding. Add VM port forwarding for ports: 4501(async), 4507(scapy-server)
Update trex: Start VM and connect via ssh: ssh -p 3022 trex@127.0.0.1 (password: trex)