On Wed, May 19, 2010 at 1:33 PM, shake kvc <kvcsh...@yahoo.com> wrote: > > Hi, > > I am using tcpreplay for the first time. The version that I am using is 3.3.1. > > Basically, I am trying to replay traffic between a linux client and a > loadbalancer (which does not NAT the server side ip address and which is, for > all practical purposes, transparent to the client). > > Basically, the client sends a HTTP request to the loadbalancer which acts as > a proxy server to the client. The loadbalancer then sends the request out to > the real server on the backend. > > I have: > > client ------------------------ loadbalancer------------------real server > 100.1.1.120 100.1.1.5 101.1.1.5 101.1.1.120 > > So I am trying to replay the traffic between 100.1.1.120 and 100.1.1.5. > > The basic issue that I am seeing is that tcpreplay is just replaying the > capture sequence within the linux box instead of actually sending out the > packets to the loadbalancer. > > I modified the src ip, src mac, dst ip and dst mac correctly to match with > the client and loadbalancer. > > Any idea on what I might be doing wrong ? > > I went through the FAQ but could not find the answer.
Did you read this part of the FAQ? http://tcpreplay.synfin.net/wiki/FAQ#Doestcpreplaysupportsendingtraffictoaserver Sorry, but tcpreplay isn't the correct tool for what you're trying to accomplish. If you find a tool which does this, let me know. -- 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" ------------------------------------------------------------------------------ _______________________________________________ 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