If I had to guess (which I do since I don't have your pcap file), it's a Layer 2 issue. The destination MAC of the packets are incorrect.
-Aaron On Oct 8, 2007 3:17 PM, Eyon Land <[EMAIL PROTECTED]> wrote: > > Hey, > I just learned about tcpreplay. I had some files created with tcpdump > that captured udp traffic from a multicast. Using tcpreplay I was able to > play back the files on a different network and I am able to see the traffic > with tcpdump on the machine running tcpreplay. But for some reason I cannot > capture the udp packets using standard c code. I use both select and > recvfrom() and I know my code works correctly. > > I also noticed that if a run tcpreplay on another machine, I don't see the > packets from tcpdump. > > I've attempted to use tcprewrite but have had no success... > tcprewrite --pnat=<original source ip>:<the machine for tcpreplay> > --infile=myfile.tcpdump --outfile=myfile.pcap --fixcsum --skipl2broadcast > > Does anyone know how to do this? > > Eyon ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Tcpreplay-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
