Hi, I am still confused. Below is my command: myn...@xxxx:~/Desktop/tcpreplay-3.4.3$ sudo tcprewrite --user-dlt=1 --dlt=enet --enet-smac=00:22:19:17:68:94 --enet-dmac=00:22:19:17:AB:2F --fixlen=del --skip-soft-errors -i /home/myname/Research_Works/OpenFlowMR/equinix-sanjose.dirB.20081218-045904.UTC.anon.pcap -o /home/myname/Research_Works/OpenFlowMR/output.pcap
Fatal Error: Error rewriting packets: From edit_packet.c:untrunc_packet() line 314: Invalid fixlen value: 0x3 I donot know what does this stand for. Did you mean I should first use the above commands to change smac and dmac and also dlt type, then I can use --endpoint, right? Also, regarding the --endpoints arg, I dont want to split the traffic to client and server, I only want to send all of it from one host to another host, why still I need cache file? Thank you. On Tue, Dec 1, 2009 at 8:05 AM, yassine antir <[email protected]> wrote: > Hi, > > you should rewrite your RAW IP first > > The following would cause all traffic to have a destination host MAC address > (example 00:55:22:AF:C6:37) (the gateway MAC address if your destination is > not in the same network) and your source MAC address (example > 00:44:66:FC:29:AF): > > $ tcprewrite --enet-dmac=00:55:22:AF:C6:37 --enet-smac=00:44:66:FC:29:AF > --infile=input.pcap --outfile=output.pcap > > > > then just relay the output file. > > For more informations see http://tcpreplay.synfin.net/trac/wiki/tcprewrite > > > >> Date: Tue, 1 Dec 2009 01:40:55 -0800 >> From: [email protected] >> To: [email protected] >> Subject: [Tcpreplay-users] Help regarding sending raw IP pcap file to >> ethernet >> >> Hi, >> >> I now want to tcpreplay some raw IP on the DLT_EN10MB (Ethernet) . I >> dont know what changes I should make on the pcap file. It seems to me >> "Forcing Traffic Between Two Hosts" is enough. >> >> Do you have any ideas what else I should do. Currently, I can not >> successfully send the pcap file. The pcap file was from some high >> speed link. Even if I use a speed option, I can see from tcpdump that >> the tcpreplaying of flows is not successful. >> >> For my case, if I Forcing Traffic Between Two Hosts, how can I get the >> correct cache file? >> >> Thanks. >> >> >> ------------------------------------------------------------------------------ >> Join us December 9, 2009 for the Red Hat Virtual Experience, >> a free event focused on virtualization and cloud computing. >> Attend in-depth sessions from your desk. Your couch. Anywhere. >> http://p.sf.net/sfu/redhat-sfdev2dev >> _______________________________________________ >> Tcpreplay-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/tcpreplay-users >> Support Information: http://tcpreplay.synfin.net/trac/wiki/Support > > ________________________________ > Gratuit : Hotmail plus rapide avec Internet Explorer 8 ! Cliquez ici ! > ------------------------------------------------------------------------------ > Join us December 9, 2009 for the Red Hat Virtual Experience, > a free event focused on virtualization and cloud computing. > Attend in-depth sessions from your desk. Your couch. Anywhere. > http://p.sf.net/sfu/redhat-sfdev2dev > _______________________________________________ > Tcpreplay-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/tcpreplay-users > Support Information: http://tcpreplay.synfin.net/trac/wiki/Support > ------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev _______________________________________________ Tcpreplay-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tcpreplay-users Support Information: http://tcpreplay.synfin.net/trac/wiki/Support
