On Mon, Feb 9, 2009 at 10:14 PM, Rayne <lancer6...@yahoo.com> wrote: > Hi, > > I'm running tcpreplay 3.4.0 on Windows XP using cygwin and WinPcap 4.0.2. > > When I run tcpreplay using the command > > tcpreplay -i %2 -t FILENAME > > I get the message > "Warning: Unable to send packet: Error with pcap_sendpacket() [170262]: send > error: PacketSendPacket failed (errno = 0)". There are several such messages, > each with a different [XX] number.
Each of those [xx] numbers represents a given packet. When you say "several" are you talking 10? 100? 1000? Sounds like you're sending over 170K packets so a few packets being dropped could just be you're sending faster then your hardware and system config allows. Unfortunately, I don't know Windows well enough to suggest IP stack tuning options to help resolve that issue. > When I terminate the program, I see > "Actual: 171652 packets (114034654 bytes) sent in 54.14 seconds > Rated: 2106292.0 bps, 16.07 Mbps, 3170.52 pps" > > I checked the receiving server and I do see packets coming in, but at the > very slow rate of 16 Mbps. I should at least be able to get ~400 Mbps. The numbers shown do seem really really low. Unfortunately, I don't have a good feel of what the Cygwin port of tcpreplay is really capable of to tell you how far off it is. Assuming you have a decent network card, 100K pps should be doable on just about any hardware under Linux/etc on a decent gigabit ethernet card. > What is wrong? I don't really have enough information to say. The most common cause of packets unable to send is that they're larger then the MTU of the interface. After that, it's packet sending buffers, but I don't know how to check/fix that under Windows. One other known issue is Realtek network cards- they suck really really bad and I've seen them give crappy performance like that. -- Aaron Turner http://synfin.net/ 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 ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ 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