cisco-system-traffic-generator / trex-core

trex-core site
https://trex-tgn.cisco.com/
Other
1.28k stars 461 forks source link

If possible use TREX with one port ? #1117

Open alex-airspan opened 6 months ago

alex-airspan commented 6 months ago

If possible use TREX with one port ?

I want send UDP/TCP/HTTP traffic from one server and receive it on other server. Like iperf.

It possible ?

Thanks, Alex

bersoare commented 6 months ago

user here. it is possible to run it with only one interface. for that, you need to specify one real interface plus one "dummy" interface in the config. example:

    - port_limit      : 2         # this option can limit the number of port of the platform
      version         : 2
      interfaces      : ["enp4s0f1", "dummy"]