Hi,
I am testing RFC2544 based scenario with TRex and 2-port Intel 560 NIC.
I configured the yaml file for 2 scenarios, one ip based and the other mac based.
The command used: ./t-rex-64 -f cap2/imix_64_100k.yaml -c 4 -d 30
IP based: Failed resolving dest MAC for default gateway:10.70.3.1 on port 1
[root@trexnode v2.36]# cat /etc/trex_cfg.yaml
- port_limit : 2
version : 2
#List of interfaces. Change to suit your setup. Use ./dpdk_setup_ports.py -s to see available options
interfaces : ["05:00.0","05:00.1"]
port_info : # Port IPs. Change to suit your needs. In case of loopback, you can leave as is.
- ip : 10.70.12.205
default_gw : 10.70.12.1
- ip : 10.70.3.205
default_gw : 10.70.3.1
[root@trexnode v2.36]#
The ip's 10.70.12.205 and 10.70.3.205 fall in the same network as the ip assigned to ens2f0 and ens2f1.
Ip assigned to ens2f0 and ens2f1 is 10.70.12.200 and 10.70.3.200 as mentioned above.
[root@trexnode v2.36]# ./t-rex-64 -f cap2/imix_64_100k.yaml -c 4 -d 30
The ports are bound/configured.
Starting TRex v2.36 please wait ...
set driver name net_ixgbe
driver capability : TCP_UDP_OFFLOAD TSO
Number of ports found: 2
zmq publisher at: tcp://*:4500
wait 1 sec .
port : 0
------------
link : link : Link Up - speed 10000 Mbps - full-duplex
promiscuous : 0
port : 1
------------
link : link : Link Up - speed 10000 Mbps - full-duplex
promiscuous : 0
number of ports : 2
max cores for 2 ports : 4
max queue per port : 6
no client generator pool configured, using default pool
no server generator pool configured, using default pool
-------------------------------
RX core uses TX queue number 5 on all ports
core, c-port, c-queue, s-port, s-queue, lat-queue
------------------------------------------
1 0 0 1 0 255
2 0 1 1 1 255
3 0 2 1 2 255
4 0 3 1 3 255
-------------------------------
no client generator pool configured, using default pool
no server generator pool configured, using default pool
-- loading cap file cap2/udp_64B.pcap
-- loading cap file cap2/udp_64B.pcap
-- loading cap file cap2/udp_64B.pcap
-- loading cap file cap2/udp_64B.pcap
-- loading cap file cap2/udp_64B.pcap
-- loading cap file cap2/udp_64B.pcap
-- loading cap file cap2/udp_64B.pcap
-- loading cap file cap2/udp_64B.pcap
Failed resolving dest MAC for default gateway:10.70.3.1 on port 1
[root@trexnode v2.36]#
MAC based: No traffic on Port 1
[root@trexnode v2.36]# cat ../trex_cfg_files/trex_mac_cfg.yaml
- port_limit : 2 # this option can limit the number of port of the platform
version : 2
interfaces : ["05:00.0","05:00.1"] # list of the interfaces to bind run ./dpdk_nic_bind.py --status
port_info : # set eh mac addr
- dest_mac : '14:02:ec:74:2b:ed'
src_mac : '14:02:ec:74:2b:ec'
- dest_mac : '14:02:ec:74:2b:ec'
src_mac : '14:02:ec:74:2b:ed'
[root@trexnode v2.36]#
ens2f0: 14:02:ec:74:2b:ec
ens2f1: 14:02:ec:74:2b:ed
Am i missing any configuration. Any pointers what needs to be done so traffic is generated on Port 1 also.
Thanks,
Sandeep.