On Thu, Mar 21, 2013 at 10:59 PM, Indhumathy T <indhumathy.in...@gmail.com> wrote: > > > I am having two interfaces (eg.eth4 & eth5) and I am trying to split the > traffic between two interfaces using the following command, > tcpreplay --cachefile=input.cache --intf1=eth4 --intf2=eth5 sample.pcap > > Cache file has been created using the following tcpprep command, > $ tcpprep --auto=client --pcap=sample.pcap --cachefile=input.cache > > This is the output of playing the whole file: > > #tcpreplay --cachefile=cache.cache --intf1=eth4 --intf2=eth5 sample.pcap > > sending out eth4 eth5 > processing file:sample.pcap > Actual: 1 packets (73 bytes) sent in 0.00 seconds. Rated: inf > bps, inf Mbps, inf pps > Statistics for network device: eth4 > Attempted packets: 0 > Successful packets: 0 > Failed packets: 0 > Retried packets (ENOBUFS): 0 > Retried packets (EAGAIN): 0 > Statistics for network device: eth5 > Attempted packets: 1 > Successful packets: 1 > Failed packets: 0 > Retried packets (ENOBUFS): 0 > Retried packets (EAGAIN): 0 > > My sample cap having 10 packets but only one cap is sending out through the > interface. > > My cache file showing the below content, > # tcpprep --print-info=cache3.cache > Packet 1 -> Secondary > I want to send all 10 packets through the interface. How can i send all > packets at a time? > Awaiting for your replies.
Seems like tcpprep only sees one packet in your pcap file. I'd have to look at your pcap file to be able to comment on why. Could be a bug in the code or could be malformed pcap file. -- 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" ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ Tcpreplay-users mailing list Tcpreplay-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tcpreplay-users Support Information: http://tcpreplay.synfin.net/trac/wiki/Support