Hi
I have followed the Trex setup introduction. When I try to run
sudo ./t-rex-64 -f cap2/dns.yaml -c 4 -m 1 -d 10
I get this error message:
Failed resolving dest MAC for default gateway:2.2.2.2 on port 0
I have tried both Trex version v2.87 and v2.88 with the same result.
Operating system Ubuntu 20.04.2 LTS, kernel: 5.8.0-43-generic #49~20.04.1-Ubuntu SMP
ethernet card is a four port Intel I350
/etc/trex_cfg.yaml
### Config file generated by dpdk_setup_ports.py ###
- version: 2
interfaces: ['03:00.0', '03:00.1', '03:00.2', '03:00.3']
port_info:
- ip: 1.1.1.1
default_gw: 2.2.2.2
- ip: 2.2.2.2
default_gw: 1.1.1.1
- ip: 3.3.3.3
default_gw: 4.4.4.4
- ip: 4.4.4.4
default_gw: 3.3.3.3
platform:
master_thread_id: 0
latency_thread_id: 1
dual_if:
- socket: 0
threads: [2,3,4,5,6,7,8]
- socket: 0
threads: [9,10,11,12,13,14,15]
I have also tried to run sudo ./run_functional_tests
which gives 10 errors (136 tests passed) "This cat is sad, test failed."
It seems like most errors are:
ImportError: cannot import name 'CAPWAP_PKTS' from 'scapy.contrib.capwap' (/opt/trex/v2.88/external_libs/scapy-2.4.3/scapy/contrib/capwap.py)
Probably something I forgotten to setup
Hope some one can help me out
Best regards