trex on proxmox and PCI passthrough

32 views
Skip to first unread message

brendana...@gmail.com

unread,
Sep 15, 2026, 4:12:30 PM (11 days ago) Sep 15
to TRex Traffic Generator
Team, I have moved off ESXi and on to Proxmox.  I have the VM set to q35 machine type and IOMMU enabled on the host and guest(trex).  I can't get arp to work.  It seems the broadcast traffic is somewhere dropped before it gets to the Trex instance.  I ran this setup very successfully on ESXi with PCI passthrough.  I can run in L2 mode and pass traffic between ports when arp is not involved.

Any insight?

Thanks
Brendan

Цветков Андрей

unread,
Sep 17, 2026, 6:04:14 PM (9 days ago) Sep 17
to TRex Traffic Generator
hi
trex version ? I see it  in 3.6

вторник, 15 сентября 2026 г. в 23:12:30 UTC+3, brendana...@gmail.com:

opiekelly

unread,
Sep 17, 2026, 8:11:23 PM (9 days ago) Sep 17
to after...@gmail.com, TRex Traffic Generator
I am using 3.8.

On Sep 17, 2026, at 16:04, Цветков Андрей <after...@gmail.com> wrote:

hi
--
You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/trex-tgn/eebdf7f0-dc0c-4d72-b71b-c8df958158c2n%40googlegroups.com.

Цветков Андрей

unread,
Sep 17, 2026, 8:44:53 PM (9 days ago) Sep 17
to TRex Traffic Generator
Trex in stl mode do not send arp response when traffic send - only in service. try bind ip-mac on dut
Trex in astf mode send arp response when traffic send.

пятница, 18 сентября 2026 г. в 03:11:23 UTC+3, opiekelly:

brendana...@gmail.com

unread,
Sep 19, 2026, 3:54:29 PM (7 days ago) Sep 19
to TRex Traffic Generator
This is what I see.

DUT switch sees the ARP entries.  However the ARP reply seems to be dropped by trex.

bkelly@sw1> show arp | match xe
3c:fd:fe:a4:cd:10 10.0.102.2      10.0.102.2                irb.102 [xe-0/2/0.0]    none
3c:fd:fe:a4:cd:11 10.0.103.2      10.0.103.2                irb.103 [xe-0/2/1.0]    none

bkelly@trex1:/opt/trex/v3.08$ sudo ./t-rex-64 -i --astf

trex>portattr
Port Status

     port       |          0           |          1
----------------+----------------------+---------------------
driver          |       net_i40e       |       net_i40e
description     |  Ethernet Controlle  |  Ethernet Controlle
link status     |          UP          |          UP
link speed      |       10 Gb/s        |       10 Gb/s
port status     |         IDLE         |         IDLE
promiscuous     |         off          |         off
multicast       |         off          |         off
flow ctrl       |         none         |         none
vxlan fs        |          -           |          -
--              |                      |
layer mode      |         IPv4         |         IPv4
src IPv4        |      10.0.102.2      |      10.0.103.2
IPv6            |         off          |         off
src MAC         |  3c:fd:fe:a4:cd:10   |  3c:fd:fe:a4:cd:11
---             |                      |
Destination     |      10.0.102.1      |      10.0.103.1
ARP Resolution  |      unresolved      |      unresolved
----            |                      |
VLAN            |         102          |         103
-----           |                      |
PCI Address     |     0000:01:00.0     |     0000:02:00.0
NUMA Node       |          -1          |          -1
RX Filter Mode  |    hardware match    |    hardware match
RX Queueing     |         off          |         off
Grat ARP        |         off          |         off
------          |                      |


bkelly@trex1:~$ cat /etc/trex_cfg.yaml
### Config file generated by dpdk_setup_ports.py ###

- version: 2
  interfaces: ['01:00.0', '02:00.0']
  port_info:
      - ip: 10.0.102.2
        default_gw: 10.0.102.1
        vlan: 102
      - ip: 10.0.103.2
        default_gw: 10.0.103.1
        vlan: 103

  platform:
      master_thread_id: 0
      latency_thread_id: 1
      dual_if:
        - socket: 0
          threads: [2,3,4,5,6,7]
Reply all
Reply to author
Forward
0 new messages