Ethernet-USB converter

88 views
Skip to first unread message

Amir Reza Azmoode

unread,
Feb 16, 2021, 7:20:10 AM2/16/21
to TRex Traffic Generator
Hi all,

I have set up TRex on my CentOS laptop to getting familiar with this traffic generator. I also bought an Ethernet-USB converter to have two ports for TRex (this link).
By " ifconfig" or "ip address show" in the Linux terminal, both interfaces are detected.
But when I do "sudo ./dpdk_setup_ports.py  -i ", TRex just detects the built-in laptop NIC.

+----+------+---------+-------------------+-----------------------------------------------------------+--------+----------+--------+
| ID | NUMA |   PCI   |        MAC        |                           Name                            | Driver | Linux IF | Active |
+====+======+=========+===================+===========================================================+========+==========+========+
| 0  | -1   | 04:00.0 | 2c:fd:a1:5a:7f:4a | RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller | r8169  | enp4s0   |        |
+----+------+---------+-------------------+-----------------------------------------------------------+--------+----------+--------+


Is there any way to help TRex to detect Ethernet-USB convertors too?

hanoh haim

unread,
Feb 16, 2021, 9:22:34 AM2/16/21
to Amir Reza Azmoode, TRex Traffic Generator
Hi, 
You can use the linux interface instead of PCI (DPDK)

see here:

Thanks
Hanoh
Reply all
Reply to author
Forward
0 new messages