cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2805
Views
0
Helpful
7
Replies

Stateless GUI on Windows

pchomczy
Cisco Employee
Cisco Employee

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:

Capture.JPG

Any hints on where to look (java version, some libraries - it looks like some compatibility problem)?

1 Accepted Solution

Accepted Solutions

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

View solution in original post

7 Replies 7

hhaim@cisco.com
Cisco Employee
Cisco Employee

Is it possible that you have “dummy” port?

Hanoh

Sent from my iPhone

No, I do not - all ports are PCI passthrough on ESXi 6.5 (using linux drivers).

Piotr

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

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

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

Thanks - works now

Regards

Piotr

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: