How to replay nanoseconds PCAP file

71 views
Skip to first unread message

Sagume Kishin

unread,
Jun 6, 2022, 9:49:31 PM6/6/22
to TRex Traffic Generator
I started with a regular microsecond PCAP file whose magic number in file header is  0xA1B2C3D4, I make it a nanosecond file by changing the magic number to 0xA1B23C4D and for every packet record I multiply its second time stamp by 1000.
I can easily replay the microsecond one by using push --port 1 -r -f 190_packet.pcap -c 1 in trex-console, but pushing 190_packet-ns.pcap does not produce any traffic. 
The files can be found in https://github.com/zyddnys/pcap-test/
Does TRex support nanosecond pcap file replay? or my method for creating nanosecond pcap file is wrong?
Thank you so much!

Reply all
Reply to author
Forward
0 new messages