Hi Aaron ,
I tried with some other TCP cap.
TCPReplay is working fine now,
tcpreplay --cachefile=cache6.cache --intf1=eth4 --intf2=eth5 Hyves_Chat.cap
sending out eth4 eth5
processing file: Hyves_Chat.cap
Actual: 10 packets (1470 bytes) sent in 0.98 seconds. Rated:
1500.0 bps, 0.01 Mbps, 10.20 pps
Statistics for network device: eth4
Attempted packets: 5
Successful packets: 5
Failed packets: 0
Retried packets (ENOBUFS): 0
Retried packets (EAGAIN): 0
Statistics for network device: eth5
Attempted packets: 5
Successful packets: 5
Failed packets: 0
Retried packets (ENOBUFS): 0
Retried packets (EAGAIN): 0
[root@cm-s6 ~]#
[root@cm-s6 ~]#
[root@cm-s6 ~]# tcpprep --print-info=cache6.cache
Packet 1 -> Primary
Packet 2 -> Secondary
Packet 3 -> Primary
Packet 4 -> Primary
Packet 5 -> Secondary
Packet 6 -> Secondary
Packet 7 -> Secondary
Packet 8 -> Primary
Packet 9 -> Primary
Packet 10 -> SecondaryHerewith i attched the udp cap which was not working for me. Kindly look at my cap and comment. Thanks, Indhu On Fri, Mar 22, 2013 at 6:27 PM, < [email protected]> wrote: > Send Tcpreplay-users mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/tcpreplay-users > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Tcpreplay-users digest..." > > > Today's Topics: > > 1. Re: TCPreplay - Unable to replay all packets at a time > (Aaron Turner) > 2. weird traffic distribution (Rawi Ramdhan) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 21 Mar 2013 23:05:44 -0700 > From: Aaron Turner <[email protected]> > Subject: Re: [Tcpreplay-users] TCPreplay - Unable to replay all > packets at a time > To: Main forum for tcpreplay <[email protected]> > Message-ID: > < > canazdzxqctro0cim7c3sgjtqn-7a-cayfutrohd7gxfwxnh...@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > On Thu, Mar 21, 2013 at 10:59 PM, Indhumathy T > <[email protected]> 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" > > > > ------------------------------ > > Message: 2 > Date: Fri, 22 Mar 2013 13:57:47 +0100 > From: Rawi Ramdhan <[email protected]> > Subject: [Tcpreplay-users] weird traffic distribution > To: [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset="us-ascii" > > Hi All, > > I have an issue with TCPReplay. I increment my PPS every N seconds. But > the traffic is being transmitted in weird way. > > I expect it to be linearly but as you can see in the graph, its nothing > like that. I've run multiple tests but the they all have the same > characteristics. > > [code] > > #!/bin/bash > for n in {1000..2000000..5000} > do > timer=30 > max=$(( $n * $timer )) > > tcpreplay -p $n -l 9999 -L $max -q -i eth0 total.pcap >> results4.txt & > > my_PID=$! > sleep $timer > kill -15 $my_PID > done > > [/code] > > > > Is there anyone who has an idea why and how this happens? > > kind regards, > > Rawi Ramdhan > > -------------- next part -------------- > An HTML attachment was scrubbed... > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: Screenshot_3_22_13_1_46_PM.png > Type: image/png > Size: 18583 bytes > Desc: not available > > ------------------------------ > > > ------------------------------------------------------------------------------ > 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 > [email protected] > https://lists.sourceforge.net/lists/listinfo/tcpreplay-users > > > End of Tcpreplay-users Digest, Vol 75, Issue 2 > ********************************************** >
iTel_control_udp.pcap
Description: Binary data
------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/tcpreplay-users Support Information: http://tcpreplay.synfin.net/trac/wiki/Support
