Difference between revisions of "Rewrite PCAPs"

From Observer GigaFlow Support | VIAVI Solutions Inc.
Jump to: navigation, search
(Created page with "The below will change the pcap. Reading from the file Denver_10.238.12.30_10MinsNAT.pcap Writing to the file Denver_10.238.12.30_10MinsNATTo15_1.pcap Changing the destination ...")

Revision as of 15:30, 27 September 2023

The below will change the pcap. Reading from the file Denver_10.238.12.30_10MinsNAT.pcap Writing to the file Denver_10.238.12.30_10MinsNATTo15_1.pcap Changing the destination mac (enet-dmac) to 00:e0:4c:71:78:d3 (this should be changed to the mac address of the server) Changing the destination ip (dstipmap) to 172.21.1.1 (this should be changed to the ip address of the server)

tcprewrite --enet-dmac=00:e0:4c:71:78:d3 --dstipmap=0.0.0.0/0:172.21.1.1/32 --infile=Denver_10.238.12.30_10MinsNAT.pcap --outfile=Denver_10.238.12.30_10MinsNATTo15_1.pcap -C