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.

S
------------------------------------------------------------------------------
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

Reply via email to