On Thu, Dec 15, 2011 at 11:08 AM, Prosiac Akin <[email protected]> wrote: > i followed your instructions with the commands mentioned below > tcprewrite --enet-dmac=00:55:22:AF:C6:37 --enet-smac=00:44:66:FC:29:AF > --infile=input.pcap --outfile=output.pcap > > tcpreplay --intf1=eth0 "output.pcap" > > no error was seeen with this command, however, i cannot see the packets > through wireshark.
What is the report at the end of the tcpreplay command? How many packets were sent? > Is it because i am doing this all in Vmware platform??? ( I am using the > virtual mac address for smac taken from ubuntu installed in vmware). If yes, > what could be its possible solution??? Honestly, I don't use VMWware so I don't know, but it's quite possible. > (I was wondering about its usage. can you please clarify me what this > command is actually doing. Why do we need that --outfile??? Even if we give > the same pcap name as input.pcap, the command works fine. So i am really > confused) --outfile is for specifying the new, modified pcap file name. If you don't specify --outfile and tcprewrite doesn't complain that it's a required option, then that's a bug and you likely have an old version of tcprewrite (I don't believe the current version has this bug). You really shouldn't use the same value as infile as bad things will likely happen (you'll probably truncate the pcap so it has no packets) which may explain why wireshark didn't see any. -- Aaron Turner http://synfin.net/ Twitter: @synfinatic http://tcpreplay.synfin.net/ - Pcap editing and replay tools for Unix & Windows Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin "carpe diem quam minimum credula postero" ------------------------------------------------------------------------------ 10 Tips for Better Server Consolidation Server virtualization is being driven by many needs. But none more important than the need to reduce IT complexity while improving strategic productivity. Learn More! http://www.accelacomm.com/jaw/sdnl/114/51507609/ _______________________________________________ Tcpreplay-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tcpreplay-users Support Information: http://tcpreplay.synfin.net/trac/wiki/Support
