My company could get trex up and running in two days with a DUT as VPP for IPv4. In another two days, we could make trex work for IPv6. I do get worried when scripts included with trex don’t work or we don’t know what we are doing wrong.
I have used scripts/stl/imix.py and see its failure with trex-console below.
trex>start -f stl/imix.py -m 20pps
start - Port 0 dest MAC is invalid and there are streams without explicit dest MAC.
I edited imix.py Ether() to include src, dst, and type and then the above error was fixed. Then I started traffic but Rx packets are getting dropped in large quantity. Debugging VPP, I see VPP is trying ARP and doesn’t receive a reply and drops the packet.
I used this CLI to run trex: sudo ./t-rex-64 -i -c 1
How is one supposed to run imix.py and have testing pass?
Thanks,
Hemant
I am all set.
I went back to v2.86 trex and now have DNS example working with DUT as a VPP node and using 2-node topology.
sudo ./t-rex-64 -f cap2/dns.yaml -d 1 -l 1000
summary stats
--------------
Total-pkt-drop : 0 pkts
Total-tx-bytes : 165566 bytes
Total-tx-sw-bytes : 165396 bytes
Total-rx-bytes : 165566 byte
Total-tx-pkt : 2508 pkts
Total-rx-pkt : 2508 pkts
Total-sw-tx-pkt : 2506 pkts
Total-sw-err : 0 pkts
Total ARP sent : 4 pkts
Total ARP received : 2 pkts
maximum-latency : 19 usec
average-latency : 17 usec
latency-any-error : OK
Hemant
--
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 on the web visit https://groups.google.com/d/msgid/trex-tgn/003601d71613%248eb9cd10%24ac2d6730%24%40mnkcg.com.