Hi Christy, 

 

We have a script that logs into the destination host and grabs all the
necessary information to use the following tcpreplay-edit command.  Use
the portmap to change your captured port to whichever port the collector
is listening on.

 

/usr/local/bin/tcpreplay-edit --loop=0 --srcipmap=0.0.0.0/0:<current host
ip>/32 --dstipmap=0.0.0.0/0:<collector ip>/32 --enet-smac=<current host
mac> --enet-dmac=<collector mac> --portmap=2055:9191 --fixcsum
--intf1=eth0 --pps=20 <capturefile.pcap>

 

Hope this helps,

 

Eric

 

From: Christy Jones (christyj) [mailto:chris...@cisco.com] 
Sent: May-01-13 7:29 AM
To: tcpreplay-users@lists.sourceforge.net
Subject: [Tcpreplay-users] Relay to specific port

 

 

Hi,

 

I have installed tcpreplay. I have a pcap file with NetFlow packets and I
have a net flow collector service running at specific port. Is it possible
to replay the pcap to a specific port using tcpreplay ?

 

Thanks

Christy

 

------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
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