Failed resolving dest MAC for default gateway

1,796 views
Skip to first unread message

snam....@gmail.com

unread,
Oct 11, 2017, 1:24:06 AM10/11/17
to TRex Traffic Generator


This issue seems that it has not been resolved yet since March, 2017.
-----------------
ISSUE : TREX won't resolve destination MAC while it is getting ARP reply.
-----------------
TREX VER. : V2.30
-----------------
Config File : /etc/trex_cfg.yaml
[root@trex-test v2.30]# cat /etc/trex_cfg.yaml
### Config file generated by dpdk_setup_ports.py ###

- port_limit: 2
version: 2
interfaces: ['02:00.0', '02:00.1']
port_info:
- ip: 11.11.11.2
default_gw: 11.11.11.1
- ip: 12.12.12.2
default_gw: 12.12.12.1

platform:
master_thread_id: 0
latency_thread_id: 12
dual_if:
- socket: 0
threads: [4,5,6,7,8,9,10,11]

-------------------------
DETAILED LOG:
-----------------------------------------------------------------------------------
[root@trex-test v2.30]# ./t-rex-64 -f cap2/dns.yaml -c 4 -m 100 -d 10 -v 7
The ports are bound/configured.
Starting TRex v2.30 please wait ...
Using configuration file /etc/trex_cfg.yaml
port limit : 2
port_bandwidth_gb : 10
if_mask : None
thread_per_dual_if : 1
if : 02:00.0, 02:00.1,
enable_zmq_pub : 1
zmq_pub_port : 4500
m_zmq_rpc_port : 4501
src : 00:00:00:00:00:00
dest : 00:00:00:00:00:00
src : 00:00:00:00:00:00
dest : 00:00:00:00:00:00
memory per 2x10G ports
MBUF_64 : 16380
MBUF_128 : 8190
MBUF_256 : 8190
MBUF_512 : 8190
MBUF_1024 : 8190
MBUF_2048 : 4095
MBUF_4096 : 128
MBUF_9K : 512
TRAFFIC_MBUF_64 : 65520
TRAFFIC_MBUF_128 : 32760
TRAFFIC_MBUF_256 : 8190
TRAFFIC_MBUF_512 : 8190
TRAFFIC_MBUF_1024 : 8190
TRAFFIC_MBUF_2048 : 65520
TRAFFIC_MBUF_4096 : 128
TRAFFIC_MBUF_9K : 512
MBUF_DP_FLOWS : 524288
MBUF_GLOBAL_FLOWS : 5120
master thread : 0
rx thread : 12
dual_if : 0
socket : 0
[ 4 5 6 7 8 9 10 11 ]
CTimerWheelYamlInfo does not exist
flags : 8040f00
write_file : 0
verbose : 7
realtime : 1
flip : 0
cores : 4
single core : 0
flow-flip : 0
no clean close : 0
zmq_publish : 1
vlan mode : 0
client_cfg : 0
mbuf_cache_disable : 0
tcp_mode : 0
cfg file : cap2/dns.yaml
mac file :
out file :
client cfg file :
duration : 10
factor : 100
mbuf_factor : 1
latency : 0 pkt/sec
zmq_port : 4500
telnet_port : 4501
expected_ports : 2
tw_bucket_usec : 20.000000 usec
tw_buckets : 1024 usec
tw_levels : 3 usec
port : 0 dst:00:00:00:00:00:00 src:00:00:00:00:00:00
port : 1 dst:00:00:00:00:00:00 src:00:00:00:00:00:00
port : 2 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
port : 3 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
port : 4 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
port : 5 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
port : 6 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
port : 7 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
port : 8 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
port : 9 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
port : 10 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
port : 11 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
port : 12 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
port : 13 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
port : 14 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
port : 15 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
Total Memory :
MBUF_64 : 81900
MBUF_128 : 40950
MBUF_256 : 16380
MBUF_512 : 16380
MBUF_1024 : 16380
MBUF_2048 : 69615
MBUF_4096 : 1024
MBUF_9K : 1024
MBUF_DP_FLOWS : 524288
MBUF_GLOBAL_FLOWS : 5120
get_each_core_dp_flows : 524288
Total memory : 104.00 Mbytes
core_mask 10f1
sockets : 0
active sockets : 1
ports_sockets : 1
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
phy | virt
4 1
5 2
6 3
7 4
DPDK args
xx -c 0x10f1 -n 4 --log-level 8 --master-lcore 0 -w 0000:02:00.0 -w 0000:02:00.1
EAL: Detected lcore 0 as core 0 on socket 0
EAL: Detected lcore 1 as core 1 on socket 0
EAL: Detected lcore 2 as core 2 on socket 0
EAL: Detected lcore 3 as core 3 on socket 0
EAL: Detected lcore 4 as core 4 on socket 0
EAL: Detected lcore 5 as core 5 on socket 0
EAL: Detected lcore 6 as core 8 on socket 0
EAL: Detected lcore 7 as core 9 on socket 0
EAL: Detected lcore 8 as core 10 on socket 0
EAL: Detected lcore 9 as core 11 on socket 0
EAL: Detected lcore 10 as core 12 on socket 0
EAL: Detected lcore 11 as core 13 on socket 0
EAL: Detected lcore 12 as core 0 on socket 1
EAL: Detected lcore 13 as core 1 on socket 1
EAL: Detected lcore 14 as core 2 on socket 1
EAL: Detected lcore 15 as core 3 on socket 1
EAL: Detected lcore 16 as core 4 on socket 1
EAL: Detected lcore 17 as core 5 on socket 1
EAL: Detected lcore 18 as core 8 on socket 1
EAL: Detected lcore 19 as core 9 on socket 1
EAL: Detected lcore 20 as core 10 on socket 1
EAL: Detected lcore 21 as core 11 on socket 1
EAL: Detected lcore 22 as core 12 on socket 1
EAL: Detected lcore 23 as core 13 on socket 1
EAL: Support maximum 128 logical core(s) by configuration.
EAL: Detected 24 lcore(s)
EAL: Probing VFIO support...
EAL: Module /sys/module/vfio_pci not found! error 2 (No such file or directory)
EAL: VFIO modules not loaded, skipping VFIO support...
EAL: Module /sys/module/vfio_pci not found! error 2 (No such file or directory)
EAL: Setting up physically contiguous memory...
EAL: Ask a virtual area of 0x400000000 bytes
EAL: Virtual area found at 0x7f3f00000000 (size = 0x400000000)
EAL: Ask a virtual area of 0x400000000 bytes
EAL: Virtual area found at 0x7f3ac0000000 (size = 0x400000000)
EAL: Requesting 16 pages of size 1024MB from socket 0
EAL: Requesting 16 pages of size 1024MB from socket 1
EAL: TSC frequency is ~2494226 KHz
EAL: Master lcore 0 is ready (tid=1f6b2980;cpuset=[0])
EAL: lcore 7 is ready (tid=1bbe9700;cpuset=[7])
EAL: lcore 5 is ready (tid=1cbeb700;cpuset=[5])
EAL: lcore 12 is ready (tid=1b3e8700;cpuset=[12])
EAL: lcore 6 is ready (tid=1c3ea700;cpuset=[6])
EAL: lcore 4 is ready (tid=1d3ec700;cpuset=[4])
EAL: PCI device 0000:02:00.0 on NUMA socket 0
EAL: probe driver: 8086:1572 net_i40e
EAL: PCI memory mapped at 0x7f4300000000
EAL: PCI memory mapped at 0x7f4300800000
PMD: eth_i40e_dev_init(): FW 6.0 API 1.7 NVM 06.00.01 eetrack 800034af
PMD: i40e_dcb_init_configure(): Failed to stop lldp
EAL: PCI device 0000:02:00.1 on NUMA socket 0
EAL: probe driver: 8086:1572 net_i40e
EAL: PCI memory mapped at 0x7f4300808000
EAL: PCI memory mapped at 0x7f4301008000
PMD: eth_i40e_dev_init(): FW 6.0 API 1.7 NVM 06.00.01 eetrack 800034af
PMD: i40e_dcb_init_configure(): Failed to stop lldp
set driver name net_i40e
driver capability : TCP_UDP_OFFLOAD TSO
checksum-offload disabled by user
input : [0000:02:00.0, 0000:02:00.1]
dpdk : [0000:02:00.0, 0000:02:00.1]
pci_scan : [0000:02:00.0, 0000:02:00.1]
map : [ 0, 1]
TRex port mapping
-----------------
TRex vport: 0 dpdk_rte_eth: 0
TRex vport: 1 dpdk_rte_eth: 1
no client generator pool configured, using default pool
no server generator pool configured, using default pool
flags : 8040f00
write_file : 0
verbose : 7
realtime : 1
flip : 0
cores : 4
single core : 0
flow-flip : 0
no clean close : 0
zmq_publish : 1
vlan mode : 0
client_cfg : 0
mbuf_cache_disable : 0
tcp_mode : 0
cfg file : cap2/dns.yaml
mac file :
out file :
client cfg file :
duration : 10
factor : 100
mbuf_factor : 1
latency : 0 pkt/sec
zmq_port : 4500
telnet_port : 4501
expected_ports : 2
tw_bucket_usec : 20.000000 usec
tw_buckets : 1024 usec
tw_levels : 3 usec
port : 0 dst:00:00:00:00:00:00 src:00:00:00:00:00:00
port : 1 dst:00:00:00:00:00:00 src:00:00:00:00:00:00
port : 2 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
port : 3 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
port : 4 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
port : 5 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
port : 6 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
port : 7 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
port : 8 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
port : 9 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
port : 10 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
port : 11 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
port : 12 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
port : 13 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
port : 14 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
port : 15 dst:00:00:00:01:00:00 src:00:00:00:00:00:00
Total Memory :
MBUF_64 : 81900
MBUF_128 : 40950
MBUF_256 : 16380
MBUF_512 : 16380
MBUF_1024 : 16380
MBUF_2048 : 69615
MBUF_4096 : 1024
MBUF_9K : 1024
MBUF_DP_FLOWS : 524288
MBUF_GLOBAL_FLOWS : 5120
get_each_core_dp_flows : 524288
Total memory : 104.00 Mbytes
zmq publisher at: tcp://*:4500
Number of ports found: 2


if_index : 0
driver name : net_i40e
min_rx_bufsize : 1024
max_rx_pktlen : 9728
max_rx_queues : 192
max_tx_queues : 192
max_mac_addrs : 64
rx_offload_capa : 0x2f
tx_offload_capa : 0x1fbf
rss reta_size : 512
flow_type_rss : 0x7ef8
port 0: FW ver 06.00.01
port 1: FW ver 06.00.01
port 0 desc: Ethernet Controller X710 for 10GbE SFP+
PMD: i40e_dev_rx_queue_setup(): Rx Burst Bulk Alloc Preconditions are satisfied. Rx Burst Bulk Alloc function will be used on port=0, queue=0.
PMD: i40e_dev_rx_queue_setup(): Rx Burst Bulk Alloc Preconditions are satisfied. Rx Burst Bulk Alloc function will be used on port=0, queue=1.
PMD: i40e_set_tx_function(): Xmit tx finally be used.
PMD: i40e_set_rx_function(): Port[0] doesn't meet Vector Rx preconditions
PMD: i40e_set_rx_function(): Using a Scattered with bulk allocation callback (port=0).
port 1 desc: Ethernet Controller X710 for 10GbE SFP+
PMD: i40e_dev_rx_queue_setup(): Rx Burst Bulk Alloc Preconditions are satisfied. Rx Burst Bulk Alloc function will be used on port=1, queue=0.
PMD: i40e_dev_rx_queue_setup(): Rx Burst Bulk Alloc Preconditions are satisfied. Rx Burst Bulk Alloc function will be used on port=1, queue=1.
PMD: i40e_set_tx_function(): Xmit tx finally be used.
PMD: i40e_set_rx_function(): Port[1] doesn't meet Vector Rx preconditions
PMD: i40e_set_rx_function(): Using a Scattered with bulk allocation callback (port=1).
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
port : 0
------------
opackets : 0
obytes : 0
ipackets : 0
ibytes : 0
Tx : 0.0Mb/sec
port : 1
------------
opackets : 0
obytes : 0
ipackets : 0
ibytes : 0
Tx : 0.0Mb/sec
-------------------------------
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
-------------------------------
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
-- loading cap file cap2/dns.pcap
id,name , tps, cps,f-pkts,f-bytes, duration, Mb/sec, MB/sec, c-flows, PPS,total-Mbytes-duration,errors,flows
00, cap2/dns.pcap ,100.00,100.00, 2 , 170 , 0.02 , 0.14 , 0.02 , 2 , 200 , 0 , 0 , 1

00, sum ,100.00,100.00, 2 , 170 , 0.02 , 0.14 , 0.02 , 2 , 200 , 0 , 0 , 1
Memory usage
size_64 : 2
size_128 : 0
size_256 : 0
size_512 : 0
size_1024 : 0
size_2048 : 0
size_4096 : 0
size_8192 : 0
size_16384 : 0
Total : 128.00 bytes 376% util due to buckets


TX grat ARP on port 0 - ip: 11.11.11.2 mac: 68:05:ca:38:6f:50
TX grat ARP on port 1 - ip: 12.12.12.2 mac: 68:05:ca:38:6f:51
TX ARP request on port 0 - ip: 11.11.11.1 mac: Unknown
[ff ff ff ff] [ff ff 68 05] [ca 38 6f 50] [08 06 00 01]
[08 00 06 04] [00 01 68 05] [ca 38 6f 50] [0b 0b 0b 02]
[01 03 05 07] [09 00 0b 0b] [0b 01 00 00] [00 00 00 00]
[00 00 00 00] [00 00 00 00] [00 00 00 00]
TX ARP request on port 1 - ip: 12.12.12.1 mac: Unknown
[ff ff ff ff] [ff ff 68 05] [ca 38 6f 51] [08 06 00 01]
[08 00 06 04] [00 01 68 05] [ca 38 6f 51] [0c 0c 0c 02]
[01 03 05 07] [09 01 0c 0c] [0c 01 00 00] [00 00 00 00]
[00 00 00 00] [00 00 00 00] [00 00 00 00]
TX ARP request on port 0 - ip: 11.11.11.1 mac: Unknown
[ff ff ff ff] [ff ff 68 05] [ca 38 6f 50] [08 06 00 01]
[08 00 06 04] [00 01 68 05] [ca 38 6f 50] [0b 0b 0b 02]
[01 03 05 07] [09 00 0b 0b] [0b 01 00 00] [00 00 00 00]
[00 00 00 00] [00 00 00 00] [00 00 00 00]
TX ARP request on port 1 - ip: 12.12.12.1 mac: Unknown
[ff ff ff ff] [ff ff 68 05] [ca 38 6f 51] [08 06 00 01]
[08 00 06 04] [00 01 68 05] [ca 38 6f 51] [0c 0c 0c 02]
[01 03 05 07] [09 01 0c 0c] [0c 01 00 00] [00 00 00 00]
[00 00 00 00] [00 00 00 00] [00 00 00 00]
TX ARP request on port 0 - ip: 11.11.11.1 mac: Unknown
[ff ff ff ff] [ff ff 68 05] [ca 38 6f 50] [08 06 00 01]
[08 00 06 04] [00 01 68 05] [ca 38 6f 50] [0b 0b 0b 02]
[01 03 05 07] [09 00 0b 0b] [0b 01 00 00] [00 00 00 00]
[00 00 00 00] [00 00 00 00] [00 00 00 00]
TX ARP request on port 1 - ip: 12.12.12.1 mac: Unknown
[ff ff ff ff] [ff ff 68 05] [ca 38 6f 51] [08 06 00 01]
[08 00 06 04] [00 01 68 05] [ca 38 6f 51] [0c 0c 0c 02]
[01 03 05 07] [09 01 0c 0c] [0c 01 00 00] [00 00 00 00]
[00 00 00 00] [00 00 00 00] [00 00 00 00]
TX ARP request on port 0 - ip: 11.11.11.1 mac: Unknown
[ff ff ff ff] [ff ff 68 05] [ca 38 6f 50] [08 06 00 01]
[08 00 06 04] [00 01 68 05] [ca 38 6f 50] [0b 0b 0b 02]
[01 03 05 07] [09 00 0b 0b] [0b 01 00 00] [00 00 00 00]
[00 00 00 00] [00 00 00 00] [00 00 00 00]
TX ARP request on port 1 - ip: 12.12.12.1 mac: Unknown
[ff ff ff ff] [ff ff 68 05] [ca 38 6f 51] [08 06 00 01]
[08 00 06 04] [00 01 68 05] [ca 38 6f 51] [0c 0c 0c 02]
[01 03 05 07] [09 01 0c 0c] [0c 01 00 00] [00 00 00 00]
[00 00 00 00] [00 00 00 00] [00 00 00 00]
TX ARP request on port 0 - ip: 11.11.11.1 mac: Unknown
[ff ff ff ff] [ff ff 68 05] [ca 38 6f 50] [08 06 00 01]
[08 00 06 04] [00 01 68 05] [ca 38 6f 50] [0b 0b 0b 02]
[01 03 05 07] [09 00 0b 0b] [0b 01 00 00] [00 00 00 00]
[00 00 00 00] [00 00 00 00] [00 00 00 00]
TX ARP request on port 1 - ip: 12.12.12.1 mac: Unknown
[ff ff ff ff] [ff ff 68 05] [ca 38 6f 51] [08 06 00 01]
[08 00 06 04] [00 01 68 05] [ca 38 6f 51] [0c 0c 0c 02]
[01 03 05 07] [09 01 0c 0c] [0c 01 00 00] [00 00 00 00]
[00 00 00 00] [00 00 00 00] [00 00 00 00]
TX ARP request on port 0 - ip: 11.11.11.1 mac: Unknown
[ff ff ff ff] [ff ff 68 05] [ca 38 6f 50] [08 06 00 01]
[08 00 06 04] [00 01 68 05] [ca 38 6f 50] [0b 0b 0b 02]
[01 03 05 07] [09 00 0b 0b] [0b 01 00 00] [00 00 00 00]
[00 00 00 00] [00 00 00 00] [00 00 00 00]
TX ARP request on port 1 - ip: 12.12.12.1 mac: Unknown
[ff ff ff ff] [ff ff 68 05] [ca 38 6f 51] [08 06 00 01]
[08 00 06 04] [00 01 68 05] [ca 38 6f 51] [0c 0c 0c 02]
[01 03 05 07] [09 01 0c 0c] [0c 01 00 00] [00 00 00 00]
[00 00 00 00] [00 00 00 00] [00 00 00 00]
TX ARP request on port 0 - ip: 11.11.11.1 mac: Unknown
[ff ff ff ff] [ff ff 68 05] [ca 38 6f 50] [08 06 00 01]
[08 00 06 04] [00 01 68 05] [ca 38 6f 50] [0b 0b 0b 02]
[01 03 05 07] [09 00 0b 0b] [0b 01 00 00] [00 00 00 00]
[00 00 00 00] [00 00 00 00] [00 00 00 00]
TX ARP request on port 1 - ip: 12.12.12.1 mac: Unknown
[ff ff ff ff] [ff ff 68 05] [ca 38 6f 51] [08 06 00 01]
[08 00 06 04] [00 01 68 05] [ca 38 6f 51] [0c 0c 0c 02]
[01 03 05 07] [09 01 0c 0c] [0c 01 00 00] [00 00 00 00]
[00 00 00 00] [00 00 00 00] [00 00 00 00]
TX ARP request on port 0 - ip: 11.11.11.1 mac: Unknown
[ff ff ff ff] [ff ff 68 05] [ca 38 6f 50] [08 06 00 01]
[08 00 06 04] [00 01 68 05] [ca 38 6f 50] [0b 0b 0b 02]
[01 03 05 07] [09 00 0b 0b] [0b 01 00 00] [00 00 00 00]
[00 00 00 00] [00 00 00 00] [00 00 00 00]
TX ARP request on port 1 - ip: 12.12.12.1 mac: Unknown
[ff ff ff ff] [ff ff 68 05] [ca 38 6f 51] [08 06 00 01]
[08 00 06 04] [00 01 68 05] [ca 38 6f 51] [0c 0c 0c 02]
[01 03 05 07] [09 01 0c 0c] [0c 01 00 00] [00 00 00 00]
[00 00 00 00] [00 00 00 00] [00 00 00 00]
TX ARP request on port 0 - ip: 11.11.11.1 mac: Unknown
[ff ff ff ff] [ff ff 68 05] [ca 38 6f 50] [08 06 00 01]
[08 00 06 04] [00 01 68 05] [ca 38 6f 50] [0b 0b 0b 02]
[01 03 05 07] [09 00 0b 0b] [0b 01 00 00] [00 00 00 00]
[00 00 00 00] [00 00 00 00] [00 00 00 00]
TX ARP request on port 1 - ip: 12.12.12.1 mac: Unknown
[ff ff ff ff] [ff ff 68 05] [ca 38 6f 51] [08 06 00 01]
[08 00 06 04] [00 01 68 05] [ca 38 6f 51] [0c 0c 0c 02]
[01 03 05 07] [09 01 0c 0c] [0c 01 00 00] [00 00 00 00]
[00 00 00 00] [00 00 00 00] [00 00 00 00]
TX ARP request on port 0 - ip: 11.11.11.1 mac: Unknown
[ff ff ff ff] [ff ff 68 05] [ca 38 6f 50] [08 06 00 01]
[08 00 06 04] [00 01 68 05] [ca 38 6f 50] [0b 0b 0b 02]
[01 03 05 07] [09 00 0b 0b] [0b 01 00 00] [00 00 00 00]
[00 00 00 00] [00 00 00 00] [00 00 00 00]
TX ARP request on port 1 - ip: 12.12.12.1 mac: Unknown
[ff ff ff ff] [ff ff 68 05] [ca 38 6f 51] [08 06 00 01]
[08 00 06 04] [00 01 68 05] [ca 38 6f 51] [0c 0c 0c 02]
[01 03 05 07] [09 01 0c 0c] [0c 01 00 00] [00 00 00 00]
[00 00 00 00] [00 00 00 00] [00 00 00 00]
*******Pretest after resolving ********
Pre test info start ===================
Port 0:
Sources:
ip: 11.11.11.2 mac: 68:05:ca:38:6f:50
Destinations:
ip: 11.11.11.1 mac: Unknown
Port 1:
Sources:
ip: 12.12.12.2 mac: 68:05:ca:38:6f:51
Destinations:
ip: 12.12.12.1 mac: Unknown
Pre test info end ===================
Failed resolving dest MAC for default gateway:11.11.11.1 on port 0
==============================================================

DUT side :
-------------
CONFIRMED that DUT (Linux Router) replied ARP properly as follows:

[root@sang ~]# ifconfig enp1s0f0
enp1s0f0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 11.11.11.1 netmask 255.255.255.0 broadcast 0.0.0.0
ether 00:0f:53:0c:73:a4 txqueuelen 1000 (Ethernet)
RX packets 77 bytes 4928 (4.8 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 156 bytes 16875 (16.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 16

[root@sang ~]# ifconfig enp1s0f1
enp1s0f1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 12.12.12.1 netmask 255.255.255.0 broadcast 0.0.0.0
inet6 fe80::20f:53ff:fe0c:73a5 prefixlen 64 scopeid 0x20<link>
ether 00:0f:53:0c:73:a5 txqueuelen 1000 (Ethernet)
RX packets 80 bytes 5120 (5.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 87 bytes 7843 (7.6 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 17

[root@sang ~]# tcpdump -i enp1s0f0
listening on enp1s0f0, link-type EN10MB (Ethernet), capture size 65535 bytes
13:38:04.303193 ARP, Request who-has 11.11.11.2 (01:03:05:07:09:00 (oui Unknown)) tell 11.11.11.2, length 46
13:38:04.303244 ARP, Request who-has sang (01:03:05:07:09:00 (oui Unknown)) tell 11.11.11.2, length 46
13:38:04.303248 ARP, Reply sang is-at 00:0f:53:0c:73:a4 (oui Unknown), length 28
13:38:05.402840 ARP, Request who-has sang (01:03:05:07:09:00 (oui Unknown)) tell 11.11.11.2, length 46
...............
^C


[root@sang ~]# tcpdump -i enp1s0f1
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on enp1s0f1, link-type EN10MB (Ethernet), capture size 65535 bytes
13:39:03.945494 ARP, Request who-has 12.12.12.2 (01:03:05:07:09:00 (oui Unknown)) tell 12.12.12.2, length 46
13:39:03.945498 ARP, Request who-has sang (01:03:05:07:09:01 (oui Unknown)) tell 12.12.12.2, length 46
13:39:03.945500 ARP, Reply sang is-at 00:0f:53:0c:73:a5 (oui Unknown), length 28
13:39:05.047765 ARP, Request who-has sang (01:03:05:07:09:01 (oui Unknown)) tell 12.12.12.2, length 46
13:39:05.047768 ARP, Reply sang is-at 00:0f:53:0c:73:a5 (oui Unknown), length 28
……

Thanks and appreciate for your great product and support.

hanoh haim

unread,
Oct 11, 2017, 5:33:11 AM10/11/17
to TRex Traffic Generator, snam....@gmail.com
Hi,
Can you capture in the Linux side in raw mode?
It does not seems that the Linux response get back to TRex probably due to a wrong 
destination MAC address, not sure why.

Another thing worth checking is doing the same in Stateless mode (from the Console using l3 command)
I assume we can reconstruct this.
BTW usually we are not using Linux as a DUT so we haven’t observed this however 
while doing The NGINX vs ASTF TRex we encountered some similar issues.

Thanks,
Hanoh

--
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 post to this group, send email to trex...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/9e7575f5-7fef-440d-bab6-6f24070ab803%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Hanoh
Sent from my iPhone

Sang Nam

unread,
Oct 11, 2017, 7:01:48 AM10/11/17
to hanoh haim, TRex Traffic Generator
Thanks for your prompt update,
The raw capture is :
----------------------------
[root@sang ~]# tcpdump -i enp1s0f0 -ttttnnvvS
tcpdump: listening on enp1s0f0, link-type EN10MB (Ethernet), capture size 65535 bytes
2017-10-11 19:42:15.866569 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 11.11.11.2 (01:03:05:07:09:00) tell 11.11.11.2, length 46
2017-10-11 19:42:15.866588 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 11.11.11.1 (01:03:05:07:09:00) tell 11.11.11.2, length 46
2017-10-11 19:42:15.866598 ARP, Ethernet (len 6), IPv4 (len 4), Reply 11.11.11.1 is-at 00:0f:53:0c:73:a4, length 28
2017-10-11 19:42:16.968677 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 11.11.11.1 (01:03:05:07:09:00) tell 11.11.11.2, length 46
2017-10-11 19:42:16.968692 ARP, Ethernet (len 6), IPv4 (len 4), Reply 11.11.11.1 is-at 00:0f:53:0c:73:a4, length 28
2017-10-11 19:42:18.071861 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 11.11.11.1 (01:03:05:07:09:00) tell 11.11.11.2, length 46
2017-10-11 19:42:18.071874 ARP, Ethernet (len 6), IPv4 (len 4), Reply 11.11.11.1 is-at 00:0f:53:0c:73:a4, length 28

[root@sang ~]# tcpdump -i enp1s0f0 -nnvXSs 0
tcpdump: listening on enp1s0f0, link-type EN10MB (Ethernet), capture size 65535 bytes
19:45:37.678521 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 11.11.11.2 (01:03:05:07:09:00) tell 11.11.11.2, length 46
0x0000:  0001 0800 0604 0001 6805 ca38 6f50 0b0b  ........h..8oP..
0x0010:  0b02 0103 0507 0900 0b0b 0b02 0000 0000  ................
0x0020:  0000 0000 0000 0000 0000 0000 0000       ..............
19:45:37.678540 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 11.11.11.1 (01:03:05:07:09:00) tell 11.11.11.2, length 46
0x0000:  0001 0800 0604 0001 6805 ca38 6f50 0b0b  ........h..8oP..
0x0010:  0b02 0103 0507 0900 0b0b 0b01 0000 0000  ................
0x0020:  0000 0000 0000 0000 0000 0000 0000       ..............
19:45:37.678550 ARP, Ethernet (len 6), IPv4 (len 4), Reply 11.11.11.1 is-at 00:0f:53:0c:73:a4, length 28
0x0000:  0001 0800 0604 0002 000f 530c 73a4 0b0b  ..........S.s...
0x0010:  0b01 6805 ca38 6f50 0b0b 0b02            ..h..8oP....
19:45:38.777373 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 11.11.11.1 (01:03:05:07:09:00) tell 11.11.11.2, length 46
0x0000:  0001 0800 0604 0001 6805 ca38 6f50 0b0b  ........h..8oP..
0x0010:  0b02 0103 0507 0900 0b0b 0b01 0000 0000  ................
0x0020:  0000 0000 0000 0000 0000 0000 0000       ..............
19:45:38.777390 ARP, Ethernet (len 6), IPv4 (len 4), Reply 11.11.11.1 is-at 00:0f:53:0c:73:a4, length 28
0x0000:  0001 0800 0604 0002 000f 530c 73a4 0b0b  ..........S.s...
0x0010:  0b01 6805 ca38 6f50 0b0b 0b02            ..h..8oP....

[root@sang ~]# arp -n
Address                  HWtype  HWaddress           Flags Mask            Iface
10.61.11.1               ether   e8:e7:32:df:52:00   C                     br-mgmt
16.0.0.2                 ether   11:22:33:44:44:02   CM                    enp1s0f0
12.12.12.2               ether   68:05:ca:38:6f:51   C                     enp1s0f1
48.0.0.2                 ether   11:22:33:66:44:02   CM                    enp1s0f1
11.11.11.2               ether   68:05:ca:38:6f:50   C                     enp1s0f0
16.0.0.1                 ether   11:22:33:44:44:01   CM                    enp1s0f0
48.0.0.1                 ether   11:22:33:66:44:01   CM                    enp1s0f1
10.61.11.37              ether   94:de:80:b5:e0:c5   C                     br-mgmt

[root@sang ~]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         gateway         0.0.0.0         UG    0      0        0 br-mgmt
10.61.11.0      0.0.0.0         255.255.255.0   U     0      0        0 br-mgmt
11.11.11.0      0.0.0.0         255.255.255.0   U     0      0        0 enp1s0f0
12.12.12.0      0.0.0.0         255.255.255.0   U     0      0        0 enp1s0f1
16.0.0.0        0.0.0.0         255.0.0.0       U     0      0        0 enp1s0f0
48.0.0.0        0.0.0.0         255.0.0.0       U     0      0        0 enp1s0f1
link-local      0.0.0.0         255.255.0.0     U     1002   0        0 eno1
link-local      0.0.0.0         255.255.0.0     U     1006   0        0 br-mgmt
[root@sang ~]#
[root@sang ~]# ifconfig enp1s0f0
enp1s0f0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 11.11.11.1  netmask 255.255.255.0  broadcast 0.0.0.0
        ether 00:0f:53:0c:73:a4  txqueuelen 1000  (Ethernet)
        RX packets 802741  bytes 65195354 (62.1 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 36820  bytes 2384367 (2.2 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 16
======================
I will update additional info with regard to stateless mode with l3 (I need to figure out how to do it.)

Thanks


To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+unsubscribe@googlegroups.com.

To post to this group, send email to trex...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/9e7575f5-7fef-440d-bab6-6f24070ab803%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

hanoh haim

unread,
Oct 11, 2017, 7:11:11 AM10/11/17
to Sang Nam, TRex Traffic Generator
Can you capture to pcap file? The L2 headers are missing. I’m interested to understand why TRex does not receive the response packets.

Hanoh

To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+u...@googlegroups.com.

To post to this group, send email to trex...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/9e7575f5-7fef-440d-bab6-6f24070ab803%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Hanoh
Sent from my iPhone

--
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 post to this group, send email to trex...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Sang Nam

unread,
Oct 11, 2017, 8:16:05 PM10/11/17
to hanoh haim, TRex Traffic Generator
Hi Hanoh,
Please find pcap file (ARP Req/Reply) attached, and let me know if you have any problem with it.
Thanks and have a great day,
Sang

To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+unsubscribe@googlegroups.com.

To post to this group, send email to trex...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/9e7575f5-7fef-440d-bab6-6f24070ab803%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Hanoh
Sent from my iPhone

--
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+unsubscribe@googlegroups.com.

To post to this group, send email to trex...@googlegroups.com.
rt-arp.pcap

hanoh haim

unread,
Oct 24, 2017, 7:26:22 AM10/24/17
to Sang Nam, TRex Traffic Generator
Hi Sang, 
The issue is related to Intel FW 6.0.1

{{
EAL:   PCI memory mapped at 0x7fe0edb69000
PMD: eth_i40e_dev_init(): FW 6.0 API 1.7 NVM 06.00.01 eetrack 80003493
PMD: i40e_dcb_init_configure(): Failed to stop lldp
EAL: PCI device 0000:84:00.1 on NUMA socket 1
EAL:   probe driver: 8086:1572 net_i40e
EAL:   PCI memory mapped at 0x7fdee83ff000
EAL:   PCI memory mapped at 0x7fe0edb61000
PMD: eth_i40e_dev_init(): FW 6.0 API 1.7 NVM 06.00.01 eetrack 80003493
PMD: i40e_dcb_init_configure(): Failed to stop lldp
EAL: PCI device 0000:84:00.2 on NUMA socket 1
EAL:   probe driver: 8086:1572 net_i40e
EAL:   PCI memory mapped at 0x7fdee3800000
EAL:   PCI memory mapped at 0x7fe0edb59000
PMD: eth_i40e_dev_init(): FW 6.0 API 1.7 NVM 06.00.01 eetrack 80003493
PMD: i40e_dcb_init_configure(): Failed to stop lldp
EAL: PCI device 0000:84:00.3 on NUMA socket 1
EAL:   probe driver: 8086:1572 net_i40e
EAL:   PCI memory mapped at 0x7fdee3000000
EAL:   PCI memory mapped at 0x7fe0edb51000
PMD: eth_i40e_dev_init(): FW 6.0 API 1.7 NVM 06.00.01 eetrack 80003493
PMD: i40e_dcb_init_configure(): Failed to stop lldp
}}

We have a setup to look into this, you can track it here

thanks,
Hanoh

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to trex...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/9e7575f5-7fef-440d-bab6-6f24070ab803%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sang Nam

unread,
Oct 24, 2017, 8:54:54 PM10/24/17
to hanoh haim, TRex Traffic Generator
Hi Hanoh,
Thanks for your update.

You received this message because you are subscribed to a topic in the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/trex-tgn/LOYxOXdZuKY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to trex-tgn+unsubscribe@googlegroups.com.

To post to this group, send email to trex...@googlegroups.com.

hanoh haim

unread,
Oct 26, 2017, 7:30:55 AM10/26/17
to Sang Nam, TRex Traffic Generator
The issue is solved in version v2.31

thanks,
Hanoh

Sang Nam

unread,
Oct 26, 2017, 9:15:08 PM10/26/17
to hanoh haim, TRex Traffic Generator
Hi Hanoh,
It's good to hear that the issue has been resolved, and I will try it shortly.
Appreciate for your great product and support again.

Best Regards,
Sang
Reply all
Reply to author
Forward
0 new messages