03-25-2018 05:36 PM
Team - I'm trying to run stateless GUI (v4.0) for TRex (v2.39) on Windows 10 workstation and cannot see anything after connection to server.
Log View shows correct connections to all services (TRex server, Scapy, Trex async), but I cannot see any config in windows above:
Any hints on where to look (java version, some libraries - it looks like some compatibility problem)?
Solved! Go to Solution.
03-26-2018 02:27 AM
Hi Piotr,
Got it, you want to use linux interfaces, which appeared in v2.37. This version should also be ok with GUI, as the problem appeared in v2.38.
If you have issues running v2.37, simply apply the following fix: https://github.com/cisco-system-traffic-generator/trex-core/pull/88/files
wget -O - http://trex-tgn.cisco.com/trex/release/v2.37.tar.gz | tar xzvf -
cd v2.37
# Applying the fix from the PR
sed -i.bak 's/hugepages_count/wanted_count/' ./dpdk_setup_ports.py
sudo ./t-rex64 -i
Thanks,
Anton
03-25-2018 07:37 PM
Is it possible that you have “dummy” port?
Hanoh
Sent from my iPhone
03-26-2018 12:03 AM
No, I do not - all ports are PCI passthrough on ESXi 6.5 (using linux drivers).
Piotr
03-26-2018 12:45 AM
Hi Piotr,
I can reproduce this issue with the GUI and latest T-Rex ( 2.38, 2.39 ).
We're working on resolving it, I'll update the ticket once the fix is ready.
As a workaround you could use TRex v2.36 for now
wget -O - http://trex-tgn.cisco.com/trex/release/v2.36.tar.gz | tar xzvf -
cd v2.36
sudo ./t-rex64 -i
Thanks,
Anton
03-26-2018 01:33 AM
Thanks Anton.
Tried v2.36, but with no luck - it fails at interface configuration. I'm using linux drivers with interface names in TRex config and it returns "ens192f0 is not a valid pci address". (it's valid if name as given by ifconfig, ip addr, etc.)
Tried reconfiguring with PCI addresses, but those interfaces are Broadcom BCM5709-based (it's DPDK compatible, but TRex does not support those with DPDK drivers).
Regards
Piotr
03-26-2018 02:27 AM
Hi Piotr,
Got it, you want to use linux interfaces, which appeared in v2.37. This version should also be ok with GUI, as the problem appeared in v2.38.
If you have issues running v2.37, simply apply the following fix: https://github.com/cisco-system-traffic-generator/trex-core/pull/88/files
wget -O - http://trex-tgn.cisco.com/trex/release/v2.37.tar.gz | tar xzvf -
cd v2.37
# Applying the fix from the PR
sed -i.bak 's/hugepages_count/wanted_count/' ./dpdk_setup_ports.py
sudo ./t-rex64 -i
Thanks,
Anton
03-26-2018 03:25 AM
Thanks - works now
Regards
Piotr
03-26-2018 04:31 AM
Good,
Also here is a new GUI build, which has the problem with TRex 2.38+ fixed: https://github.com/cisco-system-traffic-generator/trex-stateless-gui/releases/tag/v4.2.2
Thanks,
Anton
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide